Home
last modified time | relevance | path

Searched refs:struct_size (Results 1 – 19 of 19) sorted by relevance

/external/dtc/libfdt/
Dfdt_rw.c59 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/
Doptions_validation.h37 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()
Doptions_validation_unittest.cc23 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()
Dshared_buffer_dispatcher_unittest.cc34 EXPECT_EQ(kSizeOfCreateOptions, validated_options.struct_size); in RevalidateCreateOptions()
41 EXPECT_EQ(validated_options.struct_size, revalidated_options.struct_size); in RevalidateCreateOptions()
Dcore.cc63 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()
Dmultiprocess_message_pipe_unittest.cc285 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/
Dplatform_handle.cc31 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/
Dbuffer.h45 uint32_t struct_size; member
80 uint32_t struct_size; member
Dplatform_handle.h57 uint32_t struct_size; member
Ddata_pipe.h46 MOJO_ALIGNAS(4) uint32_t struct_size;
Dmessage_pipe.h51 uint32_t struct_size; member
/external/libmojo/mojo/android/system/
Dcore_impl.cc112 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/
Dvboot_common_init.c38 header->struct_size = sizeof(VbSharedDataHeader); in VbSharedDataInit()
/external/vboot_reference/tests/
Dvboot_common_tests.c215 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/
Dcore.cc114 options.struct_size = 8; in CreateMessagePipe()
211 options.struct_size = 16; in CreateDataPipe()
/external/vboot_reference/firmware/include/
Dvboot_struct.h465 uint64_t struct_size; member
/external/libmojo/mojo/edk/test/
Dmojo_test_base.cc272 options.struct_size = static_cast<uint32_t>(sizeof(options)); in CreateDataPipe()
/external/tpm2/
Dtpm_generated.c1072 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/
Dsample_service_unittest.cc67 options.struct_size = sizeof(MojoCreateDataPipeOptions); in MakeFoo()