Home
last modified time | relevance | path

Searched refs:format_size (Results 1 – 22 of 22) sorted by relevance

/external/google-breakpad/src/common/dwarf/
Ddwarf2reader_test_common.h56 void set_format_size(size_t format_size) { in set_format_size() argument
57 assert(format_size == 4 || format_size == 8); in set_format_size()
58 format_size_ = format_size; in set_format_size()
Ddwarf2reader_die_unittest.cc150 DwarfHeaderParams(Endianness endianness, size_t format_size, in DwarfHeaderParams()
152 : endianness(endianness), format_size(format_size), in DwarfHeaderParams()
155 size_t format_size; // 4-byte or 8-byte DWARF offsets member
171 info.set_format_size(GetParam().format_size); in TEST_P()
184 GetParam().format_size, _, in TEST_P()
246 info.set_format_size(params.format_size); in StartSingleAttributeDIE()
259 params.format_size, _, in ExpectBeginCompilationUnit()
376 if (GetParam().format_size == 4) { in TEST_P()
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw.c63 unsigned format_size; in util_draw_max_index() local
77 format_size = format_desc->block.bits/8; in util_draw_max_index()
93 if (format_size > buffer_size) { in util_draw_max_index()
98 buffer_size -= format_size; in util_draw_max_index()
/external/mesa3d/src/gallium/drivers/ilo/
Dilo_render_surface.c61 info.format_size = 4; in gen6_so_SURFACE_STATE()
65 info.format_size = 8; in gen6_so_SURFACE_STATE()
69 info.format_size = 12; in gen6_so_SURFACE_STATE()
73 info.format_size = 16; in gen6_so_SURFACE_STATE()
78 info.format_size = 4; in gen6_so_SURFACE_STATE()
492 info.format_size = 1; in gen6_emit_launch_grid_surface_const()
554 info.format_size = 1; in gen6_emit_launch_grid_surface_global()
Dilo_blitter_rectlist.c55 elem.format_size = 8; in ilo_blitter_set_invariants()
Dilo_state.c1441 attr->format_size = util_format_get_blocksize(elem->src_format); in ilo_create_vertex_elements_state()
1559 cso->info.format_size = 16; in ilo_set_constant_buffer()
2026 info.format_size = util_format_get_blocksize(templ->format); in ilo_create_sampler_view()
2027 info.struct_size = info.format_size; in ilo_create_sampler_view()
/external/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c116 static int format_size = -1; variable
272 if (sscanf(cp, "%i", &format_size) != 1) { in parse_options()
416 if (format_size == -1) in setup()
417 format_size = size; in setup()
606 prt_buf(&readbuf, readbuf, format_size, format); in check_rw_buf()
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c299 unsigned format_size = (i & 1) ? output_format_size : input_format_size; in main() local
303 for (k = 0; k < format_size; ++k) in main()
305 printf("%02x", buffer[i][j * format_size + k]); in main()
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_vf.c112 switch (elem->format_size) { in get_gen6_edge_flag_format()
574 const uint32_t format_size = get_index_format_size(info->format); in index_buffer_validate_gen6() local
585 assert(info->offset % format_size == 0); in index_buffer_validate_gen6()
588 assert(info->vma->vm_alignment % format_size == 0); in index_buffer_validate_gen6()
608 const uint32_t format_size = get_index_format_size(info->format); in index_buffer_get_gen6_size() local
609 size -= (size % format_size); in index_buffer_get_gen6_size()
Dilo_state_surface.h57 uint8_t format_size; member
Dilo_state_surface.c126 alignment = info->format_size; in surface_get_gen6_buffer_offset_alignment()
161 alignment = (info->format_size > 4) ? 16 : 4; in surface_get_gen6_buffer_offset_alignment()
187 const int fixed = (info->format_size > 1) ? 16 : 4; in surface_get_gen6_buffer_offset_alignment()
277 if (info->format_size < info->size - info->struct_size * c) in surface_get_gen6_buffer_struct_count()
Dilo_state_vf.h65 uint8_t format_size; member
/external/vixl/src/aarch64/
Ddebugger-aarch64.cc605 const uint64_t format_size = format->SizeOf() * 8; in PrintRegister() local
606 const uint64_t count = reg_size / format_size; in PrintRegister()
607 const uint64_t mask = 0xffffffffffffffff >> (64 - format_size); in PrintRegister()
614 uint64_t data = reg_value >> (reg_size - (i * format_size)); in PrintRegister()
627 const uint64_t format_size = format->SizeOf() * 8; in PrintFPRegister() local
628 const uint64_t count = fpreg_size / format_size; in PrintFPRegister()
629 const uint64_t mask = 0xffffffffffffffff >> (64 - format_size); in PrintFPRegister()
640 uint64_t data = fpreg_value >> (fpreg_size - (i * format_size)); in PrintFPRegister()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_surface_formats.c320 int format_size = _mesa_get_format_bytes(format); in brw_init_surface_formats() local
321 if (format_size == 3 || format_size == 6) in brw_init_surface_formats()
/external/autotest/client/bin/input/
Dinput_device.py73 self.format_size = struct.calcsize(self.format)
79 packed = stream.read(self.format_size)
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h111 uint32_t format_size[SI_MAX_ATTRIBS]; member
Dsi_descriptors.c1001 velems->format_size[i]) / in si_upload_vertex_buffer_descriptors()
Dsi_state.c3386 v->format_size[i] = desc->block.bits / 8; in si_create_vertex_elements()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c368 size[i] = r300->velems->format_size[i] / 4; in r300_draw_arrays_immediate()
767 value = r300->velems->format_size[i]; in r300_max_vertex_count()
Dr300_context.h413 unsigned format_size[PIPE_MAX_ATTRIBS]; member
Dr300_state.c1893 velems->format_size[i] = in r300_create_vertex_elements_state()
1895 velems->vertex_size_dwords += velems->format_size[i] / 4; in r300_create_vertex_elements_state()
Dr300_emit.c938 unsigned *hw_format_size = r300->velems->format_size; in r300_emit_vertex_arrays()