Home
last modified time | relevance | path

Searched refs:code_size (Results 1 – 25 of 76) sorted by relevance

1234

/external/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c35 uint32_t code_size; member
83 return sizeof(*entry) + entry->code_size; in entry_size()
171 variant->bo = device->ws->buffer_create(device->ws, entry->code_size, 256, in radv_create_shader_variant_from_pipeline_cache()
175 memcpy(ptr, entry->code, entry->code_size); in radv_create_shader_variant_from_pipeline_cache()
259 const void *code, unsigned code_size) in radv_pipeline_cache_insert_shader() argument
275 entry = vk_alloc(&cache->alloc, sizeof(*entry) + code_size, 8, in radv_pipeline_cache_insert_shader()
283 memcpy(entry->code, code, code_size); in radv_pipeline_cache_insert_shader()
288 entry->code_size = code_size; in radv_pipeline_cache_insert_shader()
333 if(end - p < sizeof(*entry) + entry->code_size) in radv_pipeline_cache_load()
336 dest_entry = vk_alloc(&cache->alloc, sizeof(*entry) + entry->code_size, in radv_pipeline_cache_load()
[all …]
/external/syslinux/com32/gfxboot/
Dgfxboot.c166 unsigned magic_ok(unsigned char *buf, unsigned *code_size);
167 …signed char *buf, unsigned len, unsigned *gfx_file_start, unsigned *file_len, unsigned *code_size);
478 unsigned magic_ok(unsigned char *buf, unsigned *code_size) in magic_ok() argument
484 *code_size = *(unsigned *) (buf + 12); in magic_ok()
495 …nsigned char *buf, unsigned len, unsigned *gfx_file_start, unsigned *file_len, unsigned *code_size) in find_file() argument
500 *code_size = 0; in find_file()
502 if((code_start = magic_ok(buf, code_size))) return code_start; in find_file()
510 if((code_start = magic_ok(buf + i, code_size))) { in find_file()
536 unsigned code_start, code_size, file_start, file_len, u; in gfx_init() local
555 if(!(code_start = find_file(archive, archive_size, &file_start, &file_len, &code_size))) { in gfx_init()
[all …]
/external/google-breakpad/src/processor/
Dsource_line_resolver_base_types.h71 Line(MemAddr addr, MemAddr code_size, int file_id, int source_line) in Line()
73 , size(code_size) in Line()
87 MemAddr code_size, in Function()
89 : name(function_name), address(function_address), size(code_size), in Function()
Dbasic_source_line_resolver_types.h62 MemAddr code_size, in Function()
65 code_size, in Function()
Dwindows_frame_info.h118 uint64_t &code_size) { in ParseFromString()
134 code_size = strtoull(tokens[2], NULL, 16); in ParseFromString()
/external/syslinux/com32/lib/jpeg/
Dtinyjpeg.c232 unsigned int code_size = huffman_table->code_size[value]; in get_next_huffman_code() local
233 skip_nbits(priv->reservoir, priv->nbits_in_reservoir, priv->stream, code_size); in get_next_huffman_code()
332 unsigned int i, j, code, code_size, val, nbits; in build_huffman_table() local
377 code_size = huffsize[i]; in build_huffman_table()
379 trace("val=%2.2x code=%8.8x codesize=%2.2d\n", val, code, code_size); in build_huffman_table()
381 table->code_size[val] = code_size; in build_huffman_table()
382 if (code_size <= HUFFMAN_HASH_NBITS) in build_huffman_table()
388 int repeat = 1UL<<(HUFFMAN_HASH_NBITS - code_size); in build_huffman_table()
389 code <<= HUFFMAN_HASH_NBITS - code_size; in build_huffman_table()
397 uint16_t *slowtable = table->slowtable[code_size-HUFFMAN_HASH_NBITS-1]; in build_huffman_table()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c482 unsigned code_size; in anv_pipeline_compile_vs() local
485 NULL, false, -1, &code_size, NULL); in anv_pipeline_compile_vs()
492 shader_code, code_size, in anv_pipeline_compile_vs()
638 unsigned code_size; in anv_pipeline_compile_tcs_tes() local
644 tcs_nir, shader_time_index, &code_size, NULL); in anv_pipeline_compile_tcs_tes()
652 shader_code, code_size, in anv_pipeline_compile_tcs_tes()
664 NULL, shader_time_index, &code_size, NULL); in anv_pipeline_compile_tcs_tes()
672 shader_code, code_size, in anv_pipeline_compile_tcs_tes()
740 unsigned code_size; in anv_pipeline_compile_gs() local
743 NULL, -1, &code_size, NULL); in anv_pipeline_compile_gs()
[all …]
/external/vixl/examples/aarch64/
Dliteral.cc62 size_t code_size = masm.GetSizeOfCodeGenerated(); in LiteralExample() local
63 uint8_t* code = reinterpret_cast<uint8_t*>(malloc(code_size)); in LiteralExample()
67 memcpy(code, masm.GetBuffer()->GetStartAddress<void*>(), code_size); in LiteralExample()
/external/valgrind/coregrind/m_debuginfo/
Dtinfl.c356 …mz_uint rev_code = 0, l, cur_code, code_size = pTable->m_code_size[sym_index]; if (!code_size) con… in tinfl_decompress() local
357 …cur_code = next_code[code_size]++; for (l = code_size; l > 0; l--, cur_code >>= 1) rev_code = (rev… in tinfl_decompress()
358code_size <= TINFL_FAST_LOOKUP_BITS) { mz_int16 k = (mz_int16)((code_size << 9) | sym_index); whil… in tinfl_decompress()
361 for (j = code_size; j > (TINFL_FAST_LOOKUP_BITS + 1); j--) in tinfl_decompress()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_shader.c94 cs->VS_END_PC = vs->code_size / 4; in etna_link_shaders()
126 cs->PS_END_PC = fs->code_size / 4; in etna_link_shaders()
164 cs->vs_inst_mem_size = vs->code_size; in etna_link_shaders()
166 cs->ps_inst_mem_size = fs->code_size; in etna_link_shaders()
/external/vixl/examples/aarch32/
Dgetting-started.cc57 uint32_t code_size = masm.GetSizeOfCodeGenerated(); in main() local
58 ExecutableMemory memory(code, code_size); in main()
Dabs.cc56 uint32_t code_size = masm.GetSizeOfCodeGenerated(); in main() local
57 ExecutableMemory memory(code, code_size); in main()
Dpi.cc95 uint32_t code_size = masm.GetSizeOfCodeGenerated(); in main() local
96 ExecutableMemory memory(code, code_size); in main()
/external/v8/src/
Deh-frame.cc156 void EhFrameWriter::WriteEhFrameHdr(int code_size) { in WriteEhFrameHdr() argument
228 WriteInt32(-(RoundUp(code_size, 8) + eh_frame_size)); in WriteEhFrameHdr()
336 void EhFrameWriter::Finish(int code_size) { in Finish() argument
350 -(RoundUp(code_size, 8) + GetProcedureAddressOffset())); in Finish()
351 PatchInt32(GetProcedureSizeOffset(), code_size); in Finish()
357 WriteEhFrameHdr(code_size); in Finish()
Dperf-jit.cc221 uint32_t code_size = code->is_crankshafted() ? code->safepoint_table_offset() in LogRecordedBuffer() local
231 code_load.size_ = sizeof(code_load) + length + 1 + code_size; in LogRecordedBuffer()
238 code_load.code_size_ = code_size; in LogRecordedBuffer()
246 LogWriteBytes(reinterpret_cast<const char*>(code_pointer), code_size); in LogRecordedBuffer()
/external/v8/src/compiler/arm/
Dunwinding-info-writer-arm.h42 void Finish(int code_size) { in Finish() argument
43 if (enabled()) eh_frame_writer_.Finish(code_size); in Finish()
/external/v8/src/compiler/arm64/
Dunwinding-info-writer-arm64.h42 void Finish(int code_size) { in Finish() argument
43 if (enabled()) eh_frame_writer_.Finish(code_size); in Finish()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_elf_util.c139 binary->code_size = section_data->d_size; in radeon_elf_read()
140 binary->code = MALLOC(binary->code_size * sizeof(unsigned char)); in radeon_elf_read()
141 memcpy(binary->code, section_data->d_buf, binary->code_size); in radeon_elf_read()
/external/v8/src/compiler/x64/
Dunwinding-info-writer-x64.h46 void Finish(int code_size) { in Finish() argument
47 if (enabled()) eh_frame_writer_.Finish(code_size); in Finish()
/external/capstone/include/
Dcapstone.h184 typedef size_t (CAPSTONE_API *cs_skipdata_cb_t)(const uint8_t *code, size_t code_size, size_t offse…
455 const uint8_t *code, size_t code_size,
467 const uint8_t *code, size_t code_size,
/external/tensorflow/tensorflow/contrib/coder/kernels/
Drange_coder_ops_test.cc502 void BM_RangeEncodeFullBroadcast(int iters, int code_size) { in BM_RangeEncodeFullBroadcast() argument
504 const TensorShape shape = {1, code_size, code_size, 256}; in BM_RangeEncodeFullBroadcast()
511 void BM_RangeDecodeFullBroadcast(int iters, int code_size) { in BM_RangeDecodeFullBroadcast() argument
513 const TensorShape shape = {1, code_size, code_size, 256}; in BM_RangeDecodeFullBroadcast()
/external/mesa3d/src/amd/common/
Dac_binary.c145 binary->code_size = section_data->d_size; in ac_elf_read()
146 binary->code = MALLOC(binary->code_size * sizeof(unsigned char)); in ac_elf_read()
147 memcpy(binary->code, section_data->d_buf, binary->code_size); in ac_elf_read()
/external/google-breakpad/src/common/windows/
Dpdb_source_line_writer.cc527 DWORD code_size; in PrintFrameDataUsingPDB() local
528 if (FAILED(frame_data->get_lengthBlock(&code_size))) in PrintFrameDataUsingPDB()
579 if (type != last_type || rva != last_rva || code_size != last_code_size || in PrintFrameDataUsingPDB()
598 code_size - prolog_size), in PrintFrameDataUsingPDB()
603 DWORD code_size; in PrintFrameDataUsingPDB() member
634 type, fi.rva, fi.code_size, fi.prolog_size, in PrintFrameDataUsingPDB()
646 last_code_size = code_size; in PrintFrameDataUsingPDB()
/external/capstone/bindings/vb6/
DvbCapstone.cpp55 size_t __stdcall bs_disasm(csh handle, const uint8_t *code, size_t code_size, uint64_t address, siz… in bs_disasm() argument
57 return cs_disasm(handle, code, code_size, address, count, insn); in bs_disasm()
/external/syslinux/gpxe/src/arch/i386/drivers/net/
Dundirom.c71 undirom->code_size = undi_rom_id.CodeSize; in undirom_parse_pxeromid()
77 undirom->code_size, undirom->data_size ); in undirom_parse_pxeromid()

1234