Home
last modified time | relevance | path

Searched refs:code_bytes (Results 1 – 25 of 80) sorted by relevance

1234

/dports/games/retroarch/RetroArch-1.9.7/gfx/include/userland/host_applications/linux/apps/hello_pi/hello_fft/
H A Dgpu_fft_trans.c43 unsigned size, info_bytes, code_bytes, unif_bytes, mail_bytes; in gpu_fft_trans_prepare() local
50 info_bytes = code_bytes = unif_bytes = mail_bytes = 4096; // 4k align in gpu_fft_trans_prepare()
53 code_bytes + // shader, aligned in gpu_fft_trans_prepare()
66 memcpy(ptr.arm.vptr, shader_trans, code_bytes); in gpu_fft_trans_prepare()
67 base->vc_code = gpu_fft_ptr_inc(&ptr, code_bytes); in gpu_fft_trans_prepare()
H A Dgpu_fft.c44 unsigned info_bytes, twid_bytes, data_bytes, code_bytes, unif_bytes, mail_bytes; in gpu_fft_prepare() local
56 code_bytes = gpu_fft_shader_size(log2_N); in gpu_fft_prepare()
63 code_bytes + // shader, aligned in gpu_fft_prepare()
87 memcpy(ptr.arm.vptr, gpu_fft_shader_code(log2_N), code_bytes); in gpu_fft_prepare()
88 base->vc_code = gpu_fft_ptr_inc(&ptr, code_bytes); in gpu_fft_prepare()
/dports/sysutils/rpi-firmware/firmware-fcf8d2f/opt/vc/src/hello_pi/hello_fft/
H A Dgpu_fft_trans.c43 unsigned size, info_bytes, code_bytes, unif_bytes, mail_bytes; in gpu_fft_trans_prepare() local
50 info_bytes = code_bytes = unif_bytes = mail_bytes = 4096; // 4k align in gpu_fft_trans_prepare()
53 code_bytes + // shader, aligned in gpu_fft_trans_prepare()
66 memcpy(ptr.arm.vptr, shader_trans, code_bytes); in gpu_fft_trans_prepare()
67 base->vc_code = gpu_fft_ptr_inc(&ptr, code_bytes); in gpu_fft_trans_prepare()
H A Dgpu_fft.c44 unsigned info_bytes, twid_bytes, data_bytes, code_bytes, unif_bytes, mail_bytes; in gpu_fft_prepare() local
56 code_bytes = gpu_fft_shader_size(log2_N); in gpu_fft_prepare()
63 code_bytes + // shader, aligned in gpu_fft_prepare()
87 memcpy(ptr.arm.vptr, gpu_fft_shader_code(log2_N), code_bytes); in gpu_fft_prepare()
88 base->vc_code = gpu_fft_ptr_inc(&ptr, code_bytes); in gpu_fft_prepare()
/dports/sysutils/rpi-firmware/firmware-fcf8d2f/hardfp/opt/vc/src/hello_pi/hello_fft/
H A Dgpu_fft_trans.c43 unsigned size, info_bytes, code_bytes, unif_bytes, mail_bytes; in gpu_fft_trans_prepare() local
50 info_bytes = code_bytes = unif_bytes = mail_bytes = 4096; // 4k align in gpu_fft_trans_prepare()
53 code_bytes + // shader, aligned in gpu_fft_trans_prepare()
66 memcpy(ptr.arm.vptr, shader_trans, code_bytes); in gpu_fft_trans_prepare()
67 base->vc_code = gpu_fft_ptr_inc(&ptr, code_bytes); in gpu_fft_trans_prepare()
H A Dgpu_fft.c44 unsigned info_bytes, twid_bytes, data_bytes, code_bytes, unif_bytes, mail_bytes; in gpu_fft_prepare() local
56 code_bytes = gpu_fft_shader_size(log2_N); in gpu_fft_prepare()
63 code_bytes + // shader, aligned in gpu_fft_prepare()
87 memcpy(ptr.arm.vptr, gpu_fft_shader_code(log2_N), code_bytes); in gpu_fft_prepare()
88 base->vc_code = gpu_fft_ptr_inc(&ptr, code_bytes); in gpu_fft_prepare()
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/src/trusted/service_runtime/arch/x86_32/
H A Dnacl_app_32.c26 size_t code_bytes = nap->dynamic_text_end; in NaClAllocateSegmentForCodeRegion() local
27 size_t code_pages = code_bytes >> NACL_PAGESHIFT; in NaClAllocateSegmentForCodeRegion()
29 VCHECK((code_bytes & ((1 << NACL_PAGESHIFT) - 1)) == 0, in NaClAllocateSegmentForCodeRegion()
31 code_bytes)); in NaClAllocateSegmentForCodeRegion()
/dports/multimedia/assimp/assimp-5.1.3/contrib/Open3DGC/
H A Do3dgcArithmeticCodec.cpp561 unsigned shift = 0, code_bytes = 0; in read_from_file() local
567 code_bytes |= unsigned(file_byte & 0x7F) << shift; in read_from_file()
571 if (code_bytes > buffer_size) AC_Error("code buffer overflow"); in read_from_file()
572 if (fread(code_buffer, 1, code_bytes, code_file) != code_bytes) in read_from_file()
600 unsigned code_bytes = unsigned(ac_pointer - code_buffer); in stop_encoder() local
601 if (code_bytes > buffer_size) AC_Error("code buffer overflow"); in stop_encoder()
603 return code_bytes; // number of bytes used in stop_encoder()
610 unsigned header_bytes = 0, code_bytes = stop_encoder(), nb = code_bytes; in write_to_file() local
621 if (fwrite(code_buffer, 1, code_bytes, code_file) != code_bytes) in write_to_file()
624 return code_bytes + header_bytes; // bytes used in write_to_file()
/dports/devel/upp/upp/bazaar/plugin/assimp/contrib/Open3DGC/
H A Do3dgcArithmeticCodec.cpp562 unsigned shift = 0, code_bytes = 0; in read_from_file() local
568 code_bytes |= unsigned(file_byte & 0x7F) << shift; in read_from_file()
572 if (code_bytes > buffer_size) AC_Error("code buffer overflow"); in read_from_file()
573 if (fread(code_buffer, 1, code_bytes, code_file) != code_bytes) in read_from_file()
601 unsigned code_bytes = unsigned(ac_pointer - code_buffer); in stop_encoder() local
602 if (code_bytes > buffer_size) AC_Error("code buffer overflow"); in stop_encoder()
604 return code_bytes; // number of bytes used in stop_encoder()
611 unsigned header_bytes = 0, code_bytes = stop_encoder(), nb = code_bytes; in write_to_file() local
622 if (fwrite(code_buffer, 1, code_bytes, code_file) != code_bytes) in write_to_file()
625 return code_bytes + header_bytes; // bytes used in write_to_file()
/dports/graphics/qt5-3d/kde-qt3d-5.15.2p39/src/3rdparty/assimp/contrib/Open3DGC/
H A Do3dgcArithmeticCodec.cpp562 unsigned shift = 0, code_bytes = 0; in read_from_file() local
568 code_bytes |= unsigned(file_byte & 0x7F) << shift; in read_from_file()
572 if (code_bytes > buffer_size) AC_Error("code buffer overflow"); in read_from_file()
573 if (fread(code_buffer, 1, code_bytes, code_file) != code_bytes) in read_from_file()
601 unsigned code_bytes = unsigned(ac_pointer - code_buffer); in stop_encoder() local
602 if (code_bytes > buffer_size) AC_Error("code buffer overflow"); in stop_encoder()
604 return code_bytes; // number of bytes used in stop_encoder()
611 unsigned header_bytes = 0, code_bytes = stop_encoder(), nb = code_bytes; in write_to_file() local
622 if (fwrite(code_buffer, 1, code_bytes, code_file) != code_bytes) in write_to_file()
625 return code_bytes + header_bytes; // bytes used in write_to_file()
/dports/emulators/unicorn/unicorn-1.0.2/tests/regress/
H A Darm_fp_vfp_disabled.py35 code_bytes = code.decode('hex')
39 uc.mem_write(address, code_bytes)
41 uc.emu_start(address + 1, address + len(code_bytes))
/dports/emulators/py-unicorn/unicorn-1.0.2/tests/regress/
H A Darm_fp_vfp_disabled.py35 code_bytes = code.decode('hex')
39 uc.mem_write(address, code_bytes)
41 uc.emu_start(address + 1, address + len(code_bytes))
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/test/val/
H A Dval_webgpu_test.cpp293 uint8_t* code_bytes = reinterpret_cast<uint8_t*>(result->code); in GenerateTrivialBinary() local
295 code_bytes[4 * word] = binary_bytes[4 * word + 3]; in GenerateTrivialBinary()
296 code_bytes[4 * word + 1] = binary_bytes[4 * word + 2]; in GenerateTrivialBinary()
297 code_bytes[4 * word + 2] = binary_bytes[4 * word + 1]; in GenerateTrivialBinary()
298 code_bytes[4 * word + 3] = binary_bytes[4 * word]; in GenerateTrivialBinary()
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/test/val/
H A Dval_webgpu_test.cpp293 uint8_t* code_bytes = reinterpret_cast<uint8_t*>(result->code); in GenerateTrivialBinary() local
295 code_bytes[4 * word] = binary_bytes[4 * word + 3]; in GenerateTrivialBinary()
296 code_bytes[4 * word + 1] = binary_bytes[4 * word + 2]; in GenerateTrivialBinary()
297 code_bytes[4 * word + 2] = binary_bytes[4 * word + 1]; in GenerateTrivialBinary()
298 code_bytes[4 * word + 3] = binary_bytes[4 * word]; in GenerateTrivialBinary()
/dports/devel/py-python-application/python-application-2.8.0/application/debug/
H A Dtiming.py168 code_bytes = bytearray(o_code.co_code[code_start:code_end])
206 …struct.pack_into('<H', loop_header, 1, len(loop_header) + len(code_bytes) + 1) # SETUP_LOOP de…
209 …struct.pack_into('<H', loop_header, 14, len(loop_header) + len(code_bytes) - 13) # FOR_ITER delt…
215 code_length = len(code_bytes)
218 opcode = code_bytes[index]
222 jump_address = struct.unpack_from('<H', code_bytes, index)[0]
223 struct.pack_into('<H', code_bytes, index, jump_address + offset)
226 new_code_bytes = bytes(loop_header + code_bytes + loop_footer)
248 …earray(chain.from_iterable(takewhile(WithinCodeRange(len(loop_header + code_bytes)), izip(byte_inc…
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/SPIRV-Tools/test/val/
H A Dval_webgpu_test.cpp396 uint8_t* code_bytes = reinterpret_cast<uint8_t*>(result->code); in GenerateTrivialBinary() local
398 code_bytes[4 * word] = binary_bytes[4 * word + 3]; in GenerateTrivialBinary()
399 code_bytes[4 * word + 1] = binary_bytes[4 * word + 2]; in GenerateTrivialBinary()
400 code_bytes[4 * word + 2] = binary_bytes[4 * word + 1]; in GenerateTrivialBinary()
401 code_bytes[4 * word + 3] = binary_bytes[4 * word]; in GenerateTrivialBinary()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/SPIRV-Tools/src/test/val/
H A Dval_webgpu_test.cpp396 uint8_t* code_bytes = reinterpret_cast<uint8_t*>(result->code); in GenerateTrivialBinary() local
398 code_bytes[4 * word] = binary_bytes[4 * word + 3]; in GenerateTrivialBinary()
399 code_bytes[4 * word + 1] = binary_bytes[4 * word + 2]; in GenerateTrivialBinary()
400 code_bytes[4 * word + 2] = binary_bytes[4 * word + 1]; in GenerateTrivialBinary()
401 code_bytes[4 * word + 3] = binary_bytes[4 * word]; in GenerateTrivialBinary()
/dports/comms/lirc/lirc-0.9.0/drivers/lirc_gpio/
H A Dlirc_gpio.c185 static unsigned char code_bytes = 1; variable
360 if (!memcmp(prev_codes, cur_codes, code_bytes) && in add_to_buf()
366 memcpy(prev_codes, cur_codes, code_bytes); in add_to_buf()
420 code_bytes = (driver.code_length/8) + (driver.code_length % 8 ? 1 : 0); in gpio_remote_init()
421 if (MAX_BYTES < code_bytes) { in gpio_remote_init()
423 minor, code_bytes); in gpio_remote_init()
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/erts/emulator/beam/
H A Dbeam_catches.c151 void beam_catches_delmod(unsigned head, BeamInstr *code, unsigned code_bytes, in beam_catches_delmod() argument
162 if( (char*)p->beam_catches[i].cp - (char*)code >= code_bytes ) { in beam_catches_delmod()
166 i, p->beam_catches[i].cp, code, ((char*)code + code_bytes)); in beam_catches_delmod()
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/erts/emulator/beam/
H A Dbeam_catches.c151 void beam_catches_delmod(unsigned head, BeamInstr *code, unsigned code_bytes, in beam_catches_delmod() argument
162 if( (char*)p->beam_catches[i].cp - (char*)code >= code_bytes ) { in beam_catches_delmod()
166 i, p->beam_catches[i].cp, code, ((char*)code + code_bytes)); in beam_catches_delmod()
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/erts/emulator/beam/
H A Dbeam_catches.c151 void beam_catches_delmod(unsigned head, BeamInstr *code, unsigned code_bytes, in beam_catches_delmod() argument
162 if( (char*)p->beam_catches[i].cp - (char*)code >= code_bytes ) { in beam_catches_delmod()
166 i, p->beam_catches[i].cp, code, ((char*)code + code_bytes)); in beam_catches_delmod()
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/erts/emulator/beam/
H A Dbeam_catches.c166 unsigned code_bytes, in beam_catches_delmod() argument
185 if (!ErtsInArea(catch_addr, code_start, code_bytes)) { in beam_catches_delmod()
192 &code_start[code_bytes]); in beam_catches_delmod()
/dports/lang/erlang-wx/otp-OTP-24.1.7/erts/emulator/beam/
H A Dbeam_catches.c166 unsigned code_bytes, in beam_catches_delmod() argument
185 if (!ErtsInArea(catch_addr, code_start, code_bytes)) { in beam_catches_delmod()
192 &code_start[code_bytes]); in beam_catches_delmod()
/dports/lang/erlang/otp-OTP-24.1.7/erts/emulator/beam/
H A Dbeam_catches.c166 unsigned code_bytes, in beam_catches_delmod() argument
185 if (!ErtsInArea(catch_addr, code_start, code_bytes)) { in beam_catches_delmod()
192 &code_start[code_bytes]); in beam_catches_delmod()
/dports/lang/erlang-java/otp-OTP-24.1.7/erts/emulator/beam/
H A Dbeam_catches.c166 unsigned code_bytes, in beam_catches_delmod() argument
185 if (!ErtsInArea(catch_addr, code_start, code_bytes)) { in beam_catches_delmod()
192 &code_start[code_bytes]); in beam_catches_delmod()

1234