Home
last modified time | relevance | path

Searched refs:format_size (Results 1 – 20 of 20) 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/openssh/
Dprogressmeter.c53 static void format_size(char *, int, off_t);
107 format_size(char *buf, int size, off_t bytes) in format_size() function
182 format_size(buf + strlen(buf), win_size - strlen(buf), in refresh_progress_meter()
/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.c305 unsigned format_size = (i & 1) ? output_format_size : input_format_size; in main() local
309 for (k = 0; k < format_size; ++k) in main()
311 printf("%02x", buffer[i][j * format_size + k]); in main()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_surface_formats.c236 int format_size = _mesa_get_format_bytes(format); in intel_screen_init_surface_formats() local
237 if (format_size == 3 || format_size == 6) in intel_screen_init_surface_formats()
/external/igt-gpu-tools/tests/
Dperf.c976 size_t format_size = get_oa_format(oa_format).size; in i915_read_reports_until_timestamp() local
984 if ((max_size - total_len) < format_size) { in i915_read_reports_until_timestamp()
1201 size_t format_size = get_oa_format(format_id).size; in read_2_oa_reports() local
1203 format_size); in read_2_oa_reports()
1223 int max_reports = MAX_OA_BUF_SIZE / format_size; in read_2_oa_reports()
1293 memcpy(oa_report0, report, format_size); in read_2_oa_reports()
1295 memcpy(oa_report1, report, format_size); in read_2_oa_reports()
1696 size_t format_size = get_oa_format(test_oa_format).size; in test_oa_exponents() local
1698 format_size); in test_oa_exponents()
1699 int max_reports = MAX_OA_BUF_SIZE / format_size; in test_oa_exponents()
[all …]
/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/r300/
Dr300_context.h413 unsigned format_size[PIPE_MAX_ATTRIBS]; member
Dr300_render.c368 size[i] = r300->velems->format_size[i] / 4; in r300_draw_arrays_immediate()
768 value = r300->velems->format_size[i]; in r300_max_vertex_count()
Dr300_state.c1855 velems->format_size[i] = in r300_create_vertex_elements_state()
1857 velems->vertex_size_dwords += velems->format_size[i] / 4; in r300_create_vertex_elements_state()
Dr300_emit.c940 unsigned *hw_format_size = r300->velems->format_size; in r300_emit_vertex_arrays()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h147 uint8_t format_size[SI_MAX_ATTRIBS]; member
Dsi_state_draw.c1525 num_records = (num_records - velems->format_size[i]) / vb->stride + 1; in si_upload_vertex_buffer_descriptors()
Dsi_state.c4578 v->format_size[i] = desc->block.bits / 8; in si_create_vertex_elements()
/external/mesa3d/src/mesa/main/
Dformat_utils.c331 int format_size = _mesa_get_format_bytes(src_format); in _mesa_format_convert() local
333 memcpy(dst, src, width * format_size); in _mesa_format_convert()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp3870 const uint32_t format_size = FormatElementSize(pCreateInfo->format); in ValidateBufferViewRange() local
3871 if (SafeModulo(range, format_size) != 0) { in ValidateBufferViewRange()
3877 range, format_size); in ValidateBufferViewRange()
3880 if (SafeDivision(range, format_size) > device_limits->maxTexelBufferElements) { in ValidateBufferViewRange()
3886 range, format_size, device_limits->maxTexelBufferElements); in ValidateBufferViewRange()
/external/mesa3d/docs/relnotes/
D7.11.rst226 \`buffer_size - format_size <= buffer_size' failed.
/external/vulkan-validation-layers/tests/
Dvklayertests_buffer_image_memory_sampler.cpp3249 uint32_t format_size = FormatElementSize(buff_view_ci.format); in TEST_F() local
3251 buff_view_ci.range = format_size + 1; in TEST_F()
3256 buff_view_ci.range = 2 * format_size * dev_limits.maxTexelBufferElements; in TEST_F()