/third_party/mesa3d/src/gallium/frontends/clover/spirv/ |
D | invocation.cpp | 336 unsigned struct_size = 0u; in create_binary_from_spirv() local 351 const auto padding = (-struct_size) & (alignment - 1u); in create_binary_from_spirv() 352 struct_size += padding + types_iter->second.target_size; in create_binary_from_spirv() 355 struct_size += (-struct_size) & (struct_align - 1u); in create_binary_from_spirv() 356 types[id] = { binary::argument::scalar, struct_size, struct_size, in create_binary_from_spirv()
|
/third_party/python/Modules/_decimal/libmpdec/ |
D | mpalloc.c | 133 mpd_sh_alloc(mpd_size_t struct_size, mpd_size_t nmemb, mpd_size_t size) in mpd_sh_alloc() argument 142 req = add_size_t_overflow(req, struct_size, &overflow); in mpd_sh_alloc()
|
D | mpdecimal.h | 823 void *mpd_sh_alloc(mpd_size_t struct_size, mpd_size_t nmemb, mpd_size_t size);
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_instance.c | 189 size_t struct_size = sizeof(instance->experimental); in vn_instance_init_experimental_features() local 194 &struct_size, &instance->experimental); in vn_instance_init_experimental_features() 206 &local_enc, VK_COMMAND_GENERATE_REPLY_BIT_EXT, &struct_size, in vn_instance_init_experimental_features() 219 &reply_dec, &struct_size, &instance->experimental); in vn_instance_init_experimental_features()
|
/third_party/mesa3d/include/android_stub/android/ |
D | log.h | 189 size_t struct_size; member
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver.cc | 2203 uint64_t struct_size = 0; in Structure() local 2232 uint64_t offset = struct_size; in Structure() 2248 if (o->offset < struct_size) { in Structure() 2299 struct_size = offset + size; in Structure() 2303 uint64_t size_no_padding = struct_size; in Structure() 2304 struct_size = utils::RoundUp(struct_align, struct_size); in Structure() 2306 if (struct_size > std::numeric_limits<uint32_t>::max()) { in Structure() 2310 << struct_size; in Structure() 2322 static_cast<uint32_t>(struct_size), in Structure()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_draw.c | 297 const size_t struct_size = info.index_size ? sizeof(uint32_t) * 5 : sizeof(uint32_t) * 4; in st_indirect_draw_vbo() local 298 if (indirect.stride && indirect.stride < struct_size) { in st_indirect_draw_vbo()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_device.c | 531 copy_vk_struct_guts(VkBaseOutStructure *dst, VkBaseInStructure *src, size_t struct_size) in copy_vk_struct_guts() argument 534 memcpy(dst + 1, src + 1, struct_size - sizeof(VkBaseOutStructure)); in copy_vk_struct_guts()
|
/third_party/littlefs/ |
D | Makefile | 332 -fstructs=struct_size \ 347 -fstructs=struct_size \
|
/third_party/python/Lib/test/ |
D | test_unicode.py | 2345 struct_size = ascii_struct_size 2348 struct_size = compact_struct_size 2351 struct_size = compact_struct_size 2355 maxlen = ((sys.maxsize - struct_size) // char_size)
|
/third_party/ffmpeg/libavutil/ |
D | vulkan.c | 903 size_t struct_size; /* Size of the opaque which updates the descriptor */ member 1018 des_entries[i].stride = descriptor_props[desc[i].type].struct_size; in ff_vk_add_descriptor_set()
|
/third_party/python/Objects/ |
D | unicodeobject.c | 1042 Py_ssize_t struct_size; in resize_compact() local 1056 struct_size = sizeof(PyASCIIObject); in resize_compact() 1058 struct_size = sizeof(PyCompactUnicodeObject); in resize_compact() 1061 if (length > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) { in resize_compact() 1065 new_size = (struct_size + (length + 1) * char_size); in resize_compact() 1417 Py_ssize_t struct_size; in PyUnicode_New() local 1421 struct_size = sizeof(PyCompactUnicodeObject); in PyUnicode_New() 1426 struct_size = sizeof(PyASCIIObject); in PyUnicode_New() 1456 if (size > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) in PyUnicode_New() 1463 obj = (PyObject *) PyObject_Malloc(struct_size + (size + 1) * char_size); in PyUnicode_New()
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_msl.cpp | 10561 uint32_t struct_size = get_declared_struct_size_msl(type, true, true); in emit_struct_padding_target() local 10563 if (target_size < struct_size) in emit_struct_padding_target() 10565 else if (target_size > struct_size) in emit_struct_padding_target() 10566 statement("char _m0_final_padding[", target_size - struct_size, "];"); in emit_struct_padding_target()
|