/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() 393 int mem_rsv_size, int struct_size) in _fdt_packblocks() argument 399 strings_off = struct_off + struct_size; in _fdt_packblocks() 404 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in _fdt_packblocks() 406 fdt_set_size_dt_struct(new, struct_size); in _fdt_packblocks() 417 int mem_rsv_size, struct_size; in fdt_open_into() local 429 struct_size = fdt_size_dt_struct(fdt); in fdt_open_into() 431 struct_size = 0; in fdt_open_into() 432 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() 770 if (options && options->struct_size != sizeof(MojoCreateDataPipeOptions)) in CreateDataPipe() 774 create_options.struct_size = sizeof(MojoCreateDataPipeOptions); in CreateDataPipe()
|
D | multiprocess_message_pipe_unittest.cc | 285 options.struct_size = sizeof(options); in TEST_F() 515 options.struct_size = sizeof(options); in TEST_F() 645 options.struct_size = sizeof(options); in TEST_F()
|
/external/libmojo/mojo/public/cpp/system/ |
D | platform_handle.cc | 31 platform_handle.struct_size = sizeof(MojoPlatformHandle); in WrapPlatformFile() 44 platform_handle.struct_size = sizeof(MojoPlatformHandle); in UnwrapPlatformFile() 65 platform_handle.struct_size = sizeof(MojoPlatformHandle); in WrapSharedMemoryHandle() 95 platform_handle.struct_size = sizeof(MojoPlatformHandle); in UnwrapSharedMemoryHandle()
|
/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 | 112 DCHECK_EQ(options->struct_size, buffer_size); in CreateMessagePipe() 132 DCHECK_EQ(options->struct_size, buffer_size); in CreateDataPipe() 153 DCHECK_EQ(options->struct_size, buffer_size); in CreateSharedBuffer() 337 DCHECK_EQ(options->struct_size, buffer_size); in Duplicate()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common_init.c | 38 header->struct_size = sizeof(VbSharedDataHeader); in VbSharedDataInit()
|
/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/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
|
/external/libmojo/mojo/edk/test/ |
D | mojo_test_base.cc | 272 options.struct_size = static_cast<uint32_t>(sizeof(options)); in CreateDataPipe()
|
/external/tpm2/ |
D | tpm_generated.c | 1072 UINT32 struct_size; in TPM2B_CREATION_DATA_Unmarshal() local 1084 struct_size = start_size - *size - sizeof(target->t.size); in TPM2B_CREATION_DATA_Unmarshal() 1085 if (struct_size != target->t.size) { in TPM2B_CREATION_DATA_Unmarshal() 1207 UINT32 struct_size; in TPM2B_ECC_POINT_Unmarshal() local 1219 struct_size = start_size - *size - sizeof(target->t.size); in TPM2B_ECC_POINT_Unmarshal() 1220 if (struct_size != target->t.size) { in TPM2B_ECC_POINT_Unmarshal() 1547 UINT32 struct_size; in TPM2B_NV_PUBLIC_Unmarshal() local 1559 struct_size = start_size - *size - sizeof(target->t.size); in TPM2B_NV_PUBLIC_Unmarshal() 1560 if (struct_size != target->t.size) { in TPM2B_NV_PUBLIC_Unmarshal() 3351 UINT32 struct_size; in TPM2B_PUBLIC_Unmarshal() local [all …]
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | sample_service_unittest.cc | 67 options.struct_size = sizeof(MojoCreateDataPipeOptions); in MakeFoo()
|