/external/dtc/libfdt/ |
D | fdt_rw.c | 59 int mem_rsv_size, int struct_size) in _fdt_blocks_misordered() argument 65 (fdt_off_dt_struct(fdt) + struct_size)) in _fdt_blocks_misordered() 394 int mem_rsv_size, int struct_size) in _fdt_packblocks() argument 400 strings_off = struct_off + struct_size; in _fdt_packblocks() 405 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in _fdt_packblocks() 407 fdt_set_size_dt_struct(new, struct_size); in _fdt_packblocks() 418 int mem_rsv_size, struct_size; in fdt_open_into() local 430 struct_size = fdt_size_dt_struct(fdt); in fdt_open_into() 432 struct_size = 0; in fdt_open_into() 433 while (fdt_next_tag(fdt, struct_size, &struct_size) != FDT_END) in fdt_open_into() [all …]
|
/external/libmojo/mojo/edk/system/ |
D | options_validation.h | 37 static_assert(offsetof(Options, struct_size) == 0, in UserOptionsReader() 60 return options().struct_size >= offset + size; in HasMember() 65 uint32_t struct_size = *reinterpret_cast<const uint32_t*>(options); in GetSizeForReader() local 66 if (struct_size < sizeof(uint32_t)) in GetSizeForReader() 69 return std::min(static_cast<size_t>(struct_size), sizeof(Options)); in GetSizeForReader()
|
D | options_validation_unittest.cc | 23 uint32_t struct_size; member 43 offsetof(TestOptions, struct_size) + sizeof(uint32_t))}; in TEST() 63 options->struct_size = kSizeOfTestOptions + 1; in TEST() 73 options->struct_size = kSizeOfTestOptions + 4; in TEST() 126 options->struct_size = static_cast<uint32_t>(sizeof(TestOptions)); in TEST()
|
D | shared_buffer_dispatcher_unittest.cc | 34 EXPECT_EQ(kSizeOfCreateOptions, validated_options.struct_size); in RevalidateCreateOptions() 41 EXPECT_EQ(validated_options.struct_size, revalidated_options.struct_size); in RevalidateCreateOptions()
|
D | core.cc | 63 if (platform_handle->struct_size != sizeof(MojoPlatformHandle)) in MojoPlatformHandleToScopedPlatformHandle() 103 if (platform_handle->struct_size != sizeof(MojoPlatformHandle)) in ScopedPlatformHandleToMojoPlatformHandle() 786 if (options && options->struct_size != sizeof(MojoCreateDataPipeOptions)) in CreateDataPipe() 790 create_options.struct_size = sizeof(MojoCreateDataPipeOptions); in CreateDataPipe()
|
/external/libmojo/mojo/public/cpp/system/ |
D | platform_handle.cc | 36 platform_handle.struct_size = sizeof(MojoPlatformHandle); in WrapPlatformFile() 49 platform_handle.struct_size = sizeof(MojoPlatformHandle); in UnwrapPlatformFile() 77 platform_handle.struct_size = sizeof(MojoPlatformHandle); in WrapSharedMemoryHandle() 109 platform_handle.struct_size = sizeof(MojoPlatformHandle); in UnwrapSharedMemoryHandle() 153 platform_handle.struct_size = sizeof(MojoPlatformHandle); in WrapMachPort() 166 platform_handle.struct_size = sizeof(MojoPlatformHandle); in UnwrapMachPort()
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_state_surface.c | 128 assert(info->struct_size % alignment == 0); in surface_get_gen6_buffer_offset_alignment() 143 if (info->struct_size > 1) in surface_get_gen6_buffer_offset_alignment() 144 assert(info->struct_size % alignment == 0); in surface_get_gen6_buffer_offset_alignment() 188 assert(info->struct_size == fixed); in surface_get_gen6_buffer_offset_alignment() 200 assert(info->struct_size % alignment == 0); in surface_get_gen6_buffer_offset_alignment() 230 if (!info->struct_size || info->struct_size > 2048) { in surface_validate_gen6_buffer() 242 if (info->format == GEN6_FORMAT_RAW && info->struct_size > 1) in surface_validate_gen6_buffer() 276 c = info->size / info->struct_size; in surface_get_gen6_buffer_struct_count() 277 if (info->format_size < info->size - info->struct_size * c) in surface_get_gen6_buffer_struct_count() 300 if (info->format == GEN6_FORMAT_RAW && info->struct_size == 1) { in surface_get_gen6_buffer_struct_count() [all …]
|
D | ilo_state_surface.h | 60 uint16_t struct_size; member
|
/external/libmojo/mojo/public/c/system/ |
D | buffer.h | 45 uint32_t struct_size; member 80 uint32_t struct_size; member
|
D | platform_handle.h | 57 uint32_t struct_size; member
|
D | data_pipe.h | 46 MOJO_ALIGNAS(4) uint32_t struct_size;
|
D | message_pipe.h | 51 uint32_t struct_size; member
|
/external/libmojo/mojo/android/system/ |
D | core_impl.cc | 76 DCHECK_EQ(options->struct_size, buffer_size); in CreateMessagePipe() 96 DCHECK_EQ(options->struct_size, buffer_size); in CreateDataPipe() 117 DCHECK_EQ(options->struct_size, buffer_size); in CreateSharedBuffer() 301 DCHECK_EQ(options->struct_size, buffer_size); in Duplicate()
|
/external/vulkan-validation-layers/scripts/ |
D | helper_file_generator.py | 489 struct_size = self.GenerateStructSizePreamble() 495 struct_size += '#ifdef %s\n' % item.ifdef_protect 502 struct_size += ' case %s: \n' % self.structTypes[item.name].value 503 … struct_size += ' return vk_size_%s((%s*)struct_ptr);\n' % (item.name.lower(), item.name) 543 struct_size += '#endif // %s\n' % item.ifdef_protect 546 struct_size += self.GenerateStructSizePostamble() 547 return_value = struct_size_funcs + chain_size + struct_size;
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | memory.c | 136 mpd_sh_alloc(mpd_size_t struct_size, mpd_size_t nmemb, mpd_size_t size) in mpd_sh_alloc() argument 145 req = add_size_t_overflow(req, struct_size, &overflow); in mpd_sh_alloc()
|
/external/python/cpython3/Modules/_ctypes/libffi/src/s390/ |
D | ffi.c | 342 size_t struct_size = 0; in ffi_prep_cif_machdep() local 430 struct_size += ROUND_SIZE ((*ptr)->size); in ffi_prep_cif_machdep() 485 cif->bytes = ROUND_SIZE (n_ov * sizeof (long)) + struct_size; in ffi_prep_cif_machdep()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/s390/ |
D | ffi.c | 342 size_t struct_size = 0; in ffi_prep_cif_machdep() local 430 struct_size += ROUND_SIZE ((*ptr)->size); in ffi_prep_cif_machdep() 485 cif->bytes = ROUND_SIZE (n_ov * sizeof (long)) + struct_size; in ffi_prep_cif_machdep()
|
/external/libffi/src/s390/ |
D | ffi.c | 345 size_t struct_size = 0; in ffi_prep_cif_machdep() local 437 struct_size += ROUND_SIZE ((*ptr)->size); in ffi_prep_cif_machdep() 492 cif->bytes = ROUND_SIZE (n_ov * sizeof (long)) + struct_size; in ffi_prep_cif_machdep()
|
/external/vboot_reference/tests/ |
D | vboot_common_tests.c | 215 TEST_EQ(d->struct_size, sizeof(VbSharedDataHeader), in VbSharedDataTest() 219 TEST_EQ(d->data_used, d->struct_size, "VbSharedDataInit data_used"); in VbSharedDataTest()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common_init.c | 38 header->struct_size = sizeof(VbSharedDataHeader); in VbSharedDataInit()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_pipeline_cache.c | 126 size_t struct_size = in anv_shader_bin_write_data() local 132 memcpy(data, shader, struct_size); in anv_shader_bin_write_data() 133 data += struct_size; in anv_shader_bin_write_data()
|
/external/mesa3d/src/gallium/drivers/ilo/ |
D | ilo_render_surface.c | 82 info.struct_size = in gen6_so_SURFACE_STATE() 493 info.struct_size = 1; in gen6_emit_launch_grid_surface_const() 555 info.struct_size = 1; in gen6_emit_launch_grid_surface_global()
|
D | ilo_render_gen6.c | 555 const int struct_size = so_info->stride[output_buffer] * 4; in gen6_draw_update_max_svbi() local 566 count = buf_size / struct_size; in gen6_draw_update_max_svbi() 567 if (buf_size % struct_size >= elem_size) in gen6_draw_update_max_svbi()
|
/external/libmojo/mojo/edk/js/ |
D | core.cc | 114 options.struct_size = 8; in CreateMessagePipe() 211 options.struct_size = 16; in CreateDataPipe()
|
/external/vboot_reference/firmware/include/ |
D | vboot_struct.h | 465 uint64_t struct_size; member
|