/external/libchrome/mojo/public/c/system/ |
D | message_pipe.h | 33 uint32_t struct_size; member 52 uint32_t struct_size; member 70 uint32_t struct_size; member 88 uint32_t struct_size; member 105 uint32_t struct_size; member 122 uint32_t struct_size; member 144 uint32_t struct_size; member 165 uint32_t struct_size; member 182 uint32_t struct_size; member 199 uint32_t struct_size; member [all …]
|
D | invitation.h | 38 uint32_t struct_size; member 59 uint32_t struct_size; member 95 uint32_t struct_size; member 125 uint32_t struct_size; member 144 uint32_t struct_size; member 163 uint32_t struct_size; member 192 uint32_t struct_size; member 221 uint32_t struct_size; member
|
D | data_pipe.h | 28 uint32_t struct_size; member 62 uint32_t struct_size; member 80 uint32_t struct_size; member 98 uint32_t struct_size; member 137 uint32_t struct_size; member 155 uint32_t struct_size; member 173 uint32_t struct_size; member
|
D | buffer.h | 28 uint32_t struct_size; member 47 uint32_t struct_size; member 59 uint32_t struct_size; member 90 uint32_t struct_size; member 108 uint32_t struct_size; member
|
D | platform_handle.h | 61 uint32_t struct_size; member 83 uint32_t struct_size; member 101 uint32_t struct_size; member 162 uint32_t struct_size; member 181 uint32_t struct_size; member
|
D | trap.h | 28 uint32_t struct_size; member 101 uint32_t struct_size; member 121 uint32_t struct_size; member 141 uint32_t struct_size; member 161 uint32_t struct_size; member
|
D | quota.h | 23 uint32_t struct_size; member 40 uint32_t struct_size; member
|
/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/u-boot/scripts/dtc/libfdt/ |
D | fdt_rw.c | 14 int mem_rsv_size, int struct_size) in fdt_blocks_misordered_() argument 22 (fdt_off_dt_struct(fdt) + struct_size)) in fdt_blocks_misordered_() 395 int mem_rsv_size, int struct_size) in fdt_packblocks_() argument 401 strings_off = struct_off + struct_size; in fdt_packblocks_() 406 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in fdt_packblocks_() 408 fdt_set_size_dt_struct(new, struct_size); in fdt_packblocks_() 419 int mem_rsv_size, struct_size; in fdt_open_into() local 431 struct_size = fdt_size_dt_struct(fdt); in fdt_open_into() 433 struct_size = 0; in fdt_open_into() 434 while (fdt_next_tag(fdt, struct_size, &struct_size) != FDT_END) in fdt_open_into() [all …]
|
/external/libchrome/mojo/core/ |
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 | core.cc | 74 details.struct_size = sizeof(details); in InvokeProcessErrorCallbackOnTaskRunner() 318 if (options && options->struct_size < sizeof(*options)) in CreateTrap() 336 if (options && options->struct_size < sizeof(*options)) in AddTrigger() 355 if (options && options->struct_size < sizeof(*options)) in RemoveTrigger() 369 if (options && options->struct_size < sizeof(*options)) in ArmTrap() 383 if (options && options->struct_size < sizeof(*options)) in CreateMessage() 403 if (options && options->struct_size < sizeof(*options)) in SerializeMessage() 420 if (options && options->struct_size < sizeof(*options)) in AppendMessageData() 453 if (options && options->struct_size < sizeof(*options)) in GetMessageData() 502 if (options && options->struct_size < sizeof(*options)) in SetMessageContext() [all …]
|
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 | invitation_unittest.cc | 100 options.struct_size = sizeof(options); in TEST_F() 109 invalid_create_options.struct_size = 0; in TEST_F() 121 invalid_attach_options.struct_size = 0; in TEST_F() 133 invalid_extract_options.struct_size = 0; in TEST_F() 146 endpoint_handle.struct_size = sizeof(endpoint_handle); in TEST_F() 152 valid_endpoint.struct_size = sizeof(valid_endpoint); in TEST_F() 158 invalid_send_options.struct_size = 0; in TEST_F() 167 invalid_endpoint.struct_size = 0; in TEST_F() 175 invalid_endpoint.struct_size = sizeof(invalid_endpoint); in TEST_F() 182 invalid_platform_handle.struct_size = 0; in TEST_F() [all …]
|
D | platform_wrapper_unittest.cc | 81 os_file.struct_size = sizeof(MojoPlatformHandle); in TEST_F() 100 platform_handle.struct_size = sizeof(MojoPlatformHandle); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 127 os_buffer.struct_size = sizeof(MojoPlatformHandle); in TEST_F() 173 os_buffer.struct_size = sizeof(MojoPlatformHandle); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 229 invalid_handle.struct_size = sizeof(MojoPlatformHandle); in TEST_F() 242 platform_handle.struct_size = 0; in TEST_F()
|
D | message_unittest.cc | 80 options.struct_size = sizeof(options); in SerializeMessageContext() 257 options.struct_size = sizeof(options); in TEST_F() 393 append_data_options.struct_size = sizeof(append_data_options); in TEST_F() 407 get_data_options.struct_size = sizeof(get_data_options); in TEST_F() 619 options.struct_size = sizeof(options); in TEST_F() 655 options.struct_size = sizeof(options); in TEST_F() 730 options.struct_size = sizeof(options); in TEST_F() 800 options.struct_size = sizeof(options); in TEST_F() 841 options.struct_size = sizeof(options); in TEST_F() 897 options.struct_size = sizeof(options); in TEST_F()
|
D | shared_buffer_dispatcher_unittest.cc | 36 EXPECT_EQ(kSizeOfCreateOptions, validated_options.struct_size); in RevalidateCreateOptions() 42 EXPECT_EQ(validated_options.struct_size, revalidated_options.struct_size); in RevalidateCreateOptions()
|
/external/libchrome/mojo/public/cpp/system/ |
D | platform_handle.cc | 61 platform_handles[0].struct_size = sizeof(platform_handles[0]); in WrapPlatformSharedMemoryRegion() 81 platform_handles[1].struct_size = sizeof(platform_handles[1]); in WrapPlatformSharedMemoryRegion() 105 platform_handles[0].struct_size = sizeof(platform_handles[0]); in UnwrapPlatformSharedMemoryRegion() 106 platform_handles[1].struct_size = sizeof(platform_handles[1]); in UnwrapPlatformSharedMemoryRegion() 196 platform_handle.struct_size = sizeof(platform_handle); in UnwrapPlatformHandle() 207 platform_handle.struct_size = sizeof(MojoPlatformHandle); in WrapPlatformFile() 221 platform_handle.struct_size = sizeof(MojoPlatformHandle); in UnwrapPlatformFile() 244 platform_handle.struct_size = sizeof(MojoPlatformHandle); in WrapSharedMemoryHandle() 291 platform_handles[0].struct_size = sizeof(platform_handles[0]); in UnwrapSharedMemoryHandle() 292 platform_handles[1].struct_size = sizeof(platform_handles[1]); in UnwrapSharedMemoryHandle() [all …]
|
D | data_pipe.h | 36 options.struct_size = sizeof(options); in WriteData() 47 options.struct_size = sizeof(options); in BeginWriteData() 81 options.struct_size = sizeof(options); in ReadData() 92 options.struct_size = sizeof(options); in BeginReadData() 158 options.struct_size = sizeof(MojoCreateDataPipeOptions); in DataPipe()
|
D | invitation.cc | 21 handle->struct_size = sizeof(*handle); in ProcessHandleToMojoProcessHandle() 38 endpoint->struct_size = sizeof(*endpoint); in PlatformHandleToTransportEndpoint() 85 options.struct_size = sizeof(options); in SendInvitation() 224 transport_endpoint.struct_size = sizeof(transport_endpoint); in Accept() 248 transport_endpoint.struct_size = sizeof(transport_endpoint); in AcceptIsolated() 254 options.struct_size = sizeof(options); in AcceptIsolated()
|
D | message_pipe.cc | 22 append_options.struct_size = sizeof(append_options); in WriteMessageRaw() 38 write_options.struct_size = sizeof(write_options); in WriteMessageRaw()
|
D | message_pipe.h | 95 options.struct_size = sizeof(options); in WriteMessageNew() 107 options.struct_size = sizeof(options); in ReadMessageNew()
|
/external/libchrome/mojo/public/java/system/ |
D | core_impl.cc | 39 DCHECK_EQ(options->struct_size, buffer_size); in JNI_CoreImpl_CreateMessagePipe() 59 DCHECK_EQ(options->struct_size, buffer_size); in JNI_CoreImpl_CreateDataPipe() 80 DCHECK_EQ(options->struct_size, buffer_size); in JNI_CoreImpl_CreateSharedBuffer() 191 options.struct_size = sizeof(options); in JNI_CoreImpl_ReadData() 209 options.struct_size = sizeof(options); in JNI_CoreImpl_BeginReadData() 242 options.struct_size = sizeof(options); in JNI_CoreImpl_WriteData() 259 options.struct_size = sizeof(options); in JNI_CoreImpl_BeginWriteData() 292 DCHECK_EQ(options->struct_size, buffer_size); in JNI_CoreImpl_Duplicate() 308 options.struct_size = sizeof(options); in JNI_CoreImpl_Map()
|
/external/arm-trusted-firmware/drivers/arm/css/sds/ |
D | sds.c | 36 size_t struct_size = GET_SDS_HEADER_STRUCT_SIZE(header); in sds_struct_is_valid() local 47 if ((struct_size == 0) || ((struct_size % 8) != 0)) in sds_struct_is_valid() 50 if (struct_size > sds_mem_size) in sds_struct_is_valid()
|
/external/mesa3d/src/gallium/frontends/clover/spirv/ |
D | invocation.cpp | 294 unsigned struct_size = 0u; in create_module_from_spirv() local 309 const auto padding = (-struct_size) & (alignment - 1u); in create_module_from_spirv() 310 struct_size += padding + types_iter->second.target_size; in create_module_from_spirv() 313 struct_size += (-struct_size) & (struct_align - 1u); in create_module_from_spirv() 314 types[id] = { module::argument::scalar, struct_size, struct_size, in create_module_from_spirv()
|
/external/libchrome/mojo/core/test/ |
D | mojo_test_base.cc | 244 options.struct_size = static_cast<uint32_t>(sizeof(options)); in CreateDataPipe() 260 options.struct_size = sizeof(options); in WriteData() 274 options.struct_size = sizeof(options); in ReadData()
|