Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
Dptralloc.h39 ptralloc(size_t base_size, unsigned member_count, size_t *member_sizes, void ***members) in ptralloc() argument
41 size_t size = base_size; in ptralloc()
49 size_t accum = base_size; in ptralloc()
58 ptrzalloc(size_t base_size, unsigned member_count, size_t *member_sizes, void ***members) in ptrzalloc() argument
60 size_t size = base_size; in ptrzalloc()
68 size_t accum = base_size; in ptrzalloc()
/third_party/protobuf/src/google/protobuf/
Dunknown_field_set_unittest.cc543 size_t base_size = empty_message.SpaceUsedLong(); in TEST_F() local
545 EXPECT_EQ(base_size, empty_message.SpaceUsedLong()); in TEST_F()
549 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
550 base_size = empty_message.SpaceUsedLong(); in TEST_F()
553 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
554 base_size = empty_message.SpaceUsedLong(); in TEST_F()
557 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
558 base_size = empty_message.SpaceUsedLong(); in TEST_F()
561 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
562 base_size = empty_message.SpaceUsedLong(); in TEST_F()
[all …]
Dextension_set_unittest.cc742 const int base_size = message.SpaceUsedLong(); \ in TEST()
745 base_size + \ in TEST()
766 const int base_size = message.SpaceUsedLong(); in TEST() local
770 base_size + in TEST()
778 const int base_size = message.SpaceUsedLong(); in TEST() local
783 int min_expected_size = base_size + s.length(); in TEST()
789 const int base_size = message.SpaceUsedLong(); in TEST() local
794 int min_expected_size = base_size + foreign.SpaceUsedLong(); in TEST()
811 const size_t base_size = message.SpaceUsedLong(); \ in TEST()
812 size_t min_expected_size = sizeof(RepeatedField<cpptype>) + base_size; \ in TEST()
[all …]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_dri.c226 SVGA3dSize base_size; in vmw_drm_surface_from_handle() local
309 base_size.width = size.width; in vmw_drm_surface_from_handle()
310 base_size.height = size.height; in vmw_drm_surface_from_handle()
311 base_size.depth = size.depth; in vmw_drm_surface_from_handle()
312 vsrf->size = svga3dsurface_get_serialized_size(rep->format, base_size, in vmw_drm_surface_from_handle()
Dvmw_screen_ioctl.c254 req->base.base_size.width = size.width; in vmw_ioctl_gb_surface_create()
255 req->base.base_size.height = size.height; in vmw_ioctl_gb_surface_create()
256 req->base.base_size.depth = size.depth; in vmw_ioctl_gb_surface_create()
293 req->base_size.width = size.width; in vmw_ioctl_gb_surface_create()
294 req->base_size.height = size.height; in vmw_ioctl_gb_surface_create()
295 req->base_size.depth = size.depth; in vmw_ioctl_gb_surface_create()
Dvmwgfx_drm.h946 struct drm_vmw_size base_size; member
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_emit.c81 unsigned base_size = max_bitsize_for_alu(ins); in mir_pack_mod() local
83 bool half = (sz == (base_size >> 1)); in mir_pack_mod()
227 unsigned sz, unsigned base_size, in mir_pack_swizzle() argument
234 midgard_reg_mode reg_mode = reg_mode_for_bitsize(base_size); in mir_pack_swizzle()
307 if (base_size == 16) { in mir_pack_swizzle()
329 unsigned base_size = max_bitsize_for_alu(ins); in mir_pack_vector_srcs() local
339 assert((sz == base_size) || (sz == base_size / 2)); in mir_pack_vector_srcs()
342 if (sz == 8 && base_size == 8 && ins->op == midgard_alu_op_imov) { in mir_pack_vector_srcs()
344 base_size = 16; in mir_pack_vector_srcs()
349 sz, base_size, channeled, in mir_pack_vector_srcs()
Dmidgard_print.c122 unsigned base_size = max_bitsize_for_alu(ins); in mir_print_embedded_constant() local
124 bool half = (sz == (base_size >> 1)); in mir_print_embedded_constant()
/third_party/elfutils/backends/
Daarch64_retval.c285 Dwarf_Word base_size, count; in aarch64_return_value_location() local
286 switch (hfa_type (&typedie, tag, &base_size, &count)) in aarch64_return_value_location()
294 return pass_hfa (locp, base_size, count); in aarch64_return_value_location()
Dia64_retval.c220 Dwarf_Word base_size; in hfa_type() local
221 if (dwarf_aggregate_size (base_typedie, &base_size) != 0) in hfa_type()
224 int used = hfa_type (base_typedie, base_size, locp, 0); in hfa_type()
/third_party/ltp/tools/sparse/sparse-src/
Dsymbol.c126 int base_size; in lay_out_struct() local
129 base_size = sym->bit_size; in lay_out_struct()
135 if (base_size < 0) { in lay_out_struct()
138 base_size = 0; in lay_out_struct()
152 int width = base_size ? : (bit_offset ? room : 0); in lay_out_struct()
175 info->bit_size = bit_size + base_size; in lay_out_struct()
/third_party/ffmpeg/libavcodec/
Dilbcdec.c653 int16_t k, base_size; in get_codebook() local
659 base_size = lMem - cbveclen + 1; in get_codebook()
662 base_size += cbveclen / 2; in get_codebook()
672 } else if (index < base_size) { in get_codebook()
686 if (index - base_size < lMem - cbveclen + 1) { in get_codebook()
690 memIndTest = lMem - (index - base_size + cbveclen); in get_codebook()
708 lag = (cbveclen << 1) - 20 + index - base_size - lMem - 1; in get_codebook()
Dmovtextdec.c119 size_t base_size; member
533 if (m->tracksize + m->size_var + box_types[i].base_size > avpkt->size) in mov_text_decode_frame()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c309 size_t base_size = sizeof(*set) + layout->size * sizeof(set->descriptors[0]); in lvp_descriptor_set_create() local
310 size_t size = base_size; in lvp_descriptor_set_create()
330 uint8_t *uniform_mem = (uint8_t*)(set) + base_size; in lvp_descriptor_set_create()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c1245 LLVMValueRef base_size, in lp_build_minify() argument
1250 assert(lp_check_value(bld->type, base_size)); in lp_build_minify()
1255 return base_size; in lp_build_minify()
1262 size = LLVMBuildLShr(builder, base_size, level, "minify"); in lp_build_minify()
1289 base_size = lp_build_int_to_float(&fbld, base_size); in lp_build_minify()
1290 size = lp_build_mul(&fbld, base_size, lf); in lp_build_minify()
Dlp_bld_sample.h728 LLVMValueRef base_size,
/third_party/libbpf/src/
Dbtf.c305 const int base_size = sizeof(struct btf_type); in btf_type_size() local
318 return base_size; in btf_type_size()
320 return base_size + sizeof(__u32); in btf_type_size()
322 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()
324 return base_size + vlen * sizeof(struct btf_enum64); in btf_type_size()
326 return base_size + sizeof(struct btf_array); in btf_type_size()
329 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()
331 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
333 return base_size + sizeof(struct btf_var); in btf_type_size()
335 return base_size + vlen * sizeof(struct btf_var_secinfo); in btf_type_size()
[all …]
/third_party/libdrm/include/drm/
Dvmwgfx_drm.h937 struct drm_vmw_size base_size; member
/third_party/vulkan-loader/loader/
Dwsi.h65 uint32_t base_size; // Size of VkIcdSurfaceBase member
Dwsi.c534 static VkIcdSurface *AllocateIcdSurfaceStruct(struct loader_instance *instance, size_t base_size, s… in AllocateIcdSurfaceStruct() argument
540 pIcdSurface->base_size = (uint32_t)base_size; in AllocateIcdSurfaceStruct()
542 …pIcdSurface->non_platform_offset = (uint32_t)((uint8_t *)(&pIcdSurface->base_size) - (uint8_t *)pI… in AllocateIcdSurfaceStruct()
/third_party/mbedtls/docs/proposed/
Dpsa-driver-interface.md607 * `"base_size"` (integer or string, optional): this many bytes are included in every key context. I…
615 The integer properties must be C language constants. A typical value for `"base_size"` is `sizeof(a…
634 base_size + key_pair_size + public_key_overhead
640 base_size + public_key_size
645 base_size + symmetric_factor * key_bytes
651 …e element and the driver only needs to store a label for the key, use `"base_size"` as the size of…
657 …metadata has up to *N* bytes of overhead, use *N* as the value of the `"base_size"` property and s…
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_cmd_buffer.c61 const uint32_t base_size = sizeof(struct vk_command_buffer); in cmd_buffer_init() local
62 uint8_t *cmd_buffer_driver_start = ((uint8_t *) cmd_buffer) + base_size; in cmd_buffer_init()
63 memset(cmd_buffer_driver_start, 0, sizeof(*cmd_buffer) - base_size); in cmd_buffer_init()