HomeSort by relevance Sort by last modified time
    Searched full:struct_size (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/libmojo/mojo/edk/system/
options_validation.h 6 // (public, C) API. These are "extensible" structs, which all have |struct_size|
7 // as their first member. All fields (other than |struct_size|) are optional,
37 static_assert(offsetof(Options, struct_size) == 0,
38 "struct_size not first member of Options");
40 // static_assert(sizeof(Options::struct_size) == sizeof(uint32_t),
41 // "Options::struct_size not a uint32_t");
60 return options().struct_size >= offset + size;
65 uint32_t struct_size = *reinterpret_cast<const uint32_t*>(options); local
66 if (struct_size < sizeof(uint32_t))
69 return std::min(static_cast<size_t>(struct_size), sizeof(Options))
    [all...]
options_validation_unittest.cc 23 uint32_t struct_size; variable
43 offsetof(TestOptions, struct_size) + sizeof(uint32_t))};
63 options->struct_size = kSizeOfTestOptions + 1;
73 options->struct_size = kSizeOfTestOptions + 4;
126 options->struct_size = static_cast<uint32_t>(sizeof(TestOptions));
shared_buffer_dispatcher_unittest.cc 34 EXPECT_EQ(kSizeOfCreateOptions, validated_options.struct_size);
41 EXPECT_EQ(validated_options.struct_size, revalidated_options.struct_size);
73 kSizeOfCreateOptions, // |struct_size|.
88 // Invalid |struct_size|.
91 1, // |struct_size|.
103 kSizeOfCreateOptions, // |struct_size|.
248 // Invalid |struct_size|.
shared_buffer_dispatcher.h 34 // |in_options->struct_size| bytes. |out_options| must point to a (current)
103 // a struct of at least |in_options->struct_size| bytes. |out_options| must
data_pipe_unittest.cc 142 kSizeOfOptions, // |struct_size|.
184 {kSizeOfOptions, // |struct_size|.
189 {kSizeOfOptions, // |struct_size|.
194 {kSizeOfOptions, // |struct_size|.
212 kSizeOfOptions, // |struct_size|.
332 kSizeOfOptions, // |struct_size|.
433 kSizeOfOptions, // |struct_size|.
455 kSizeOfOptions, // |struct_size|.
477 kSizeOfOptions, // |struct_size|.
616 kSizeOfOptions, // |struct_size|
    [all...]
  /frameworks/native/libs/vr/libdvr/
dvr_api.cpp 25 int dvrGetApi(void* api, size_t struct_size, int version) {
26 ALOGI("dvrGetApi: api=%p struct_size=%zu version=%d", api, struct_size,
32 size_t clamped_struct_size = std::min(struct_size, sizeof(DvrApi_v1));
  /device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/
fdt_rw.c 59 int mem_rsv_size, int struct_size)
65 (fdt_off_dt_struct(fdt) + struct_size))
393 int mem_rsv_size, int struct_size)
399 strings_off = struct_off + struct_size;
404 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size);
406 fdt_set_size_dt_struct(new, struct_size);
417 int mem_rsv_size, struct_size; local
429 struct_size = fdt_size_dt_struct(fdt);
431 struct_size = 0;
432 while (fdt_next_tag(fdt, struct_size, &struct_size) != FDT_END
    [all...]
  /device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/
fdt_rw.c 59 int mem_rsv_size, int struct_size)
65 (fdt_off_dt_struct(fdt) + struct_size))
398 int mem_rsv_size, int struct_size)
404 strings_off = struct_off + struct_size;
409 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size);
411 fdt_set_size_dt_struct(new, struct_size);
422 int mem_rsv_size, struct_size; local
434 struct_size = fdt_size_dt_struct(fdt);
436 struct_size = 0;
437 while (fdt_next_tag(fdt, struct_size, &struct_size) != FDT_END)
    [all...]
  /external/dtc/libfdt/
fdt_rw.c 59 int mem_rsv_size, int struct_size)
65 (fdt_off_dt_struct(fdt) + struct_size))
394 int mem_rsv_size, int struct_size)
400 strings_off = struct_off + struct_size;
405 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size);
407 fdt_set_size_dt_struct(new, struct_size);
418 int mem_rsv_size, struct_size; local
430 struct_size = fdt_size_dt_struct(fdt);
432 struct_size = 0;
433 while (fdt_next_tag(fdt, struct_size, &struct_size) != FDT_END
    [all...]
  /external/libmojo/mojo/public/cpp/system/
platform_handle.cc 36 platform_handle.struct_size = sizeof(MojoPlatformHandle);
49 platform_handle.struct_size = sizeof(MojoPlatformHandle);
77 platform_handle.struct_size = sizeof(MojoPlatformHandle);
109 platform_handle.struct_size = sizeof(MojoPlatformHandle);
153 platform_handle.struct_size = sizeof(MojoPlatformHandle);
166 platform_handle.struct_size = sizeof(MojoPlatformHandle);
  /frameworks/base/services/net/java/android/net/netlink/
StructNlMsgErr.java 34 public static final int STRUCT_SIZE = SizeOf.INT + StructNlMsgHdr.STRUCT_SIZE;
37 return byteBuffer != null && byteBuffer.remaining() >= STRUCT_SIZE;
ConntrackMessage.java 48 public static final int STRUCT_SIZE = StructNlMsgHdr.STRUCT_SIZE + StructNfGenMsg.STRUCT_SIZE;
89 final byte[] bytes = new byte[STRUCT_SIZE + payloadLength];
StructNlMsgHdr.java 32 public static final int STRUCT_SIZE = 16;
78 return byteBuffer != null && byteBuffer.remaining() >= STRUCT_SIZE;
94 if (struct.nlmsg_len < STRUCT_SIZE) {
RtNetlinkNeighborMessage.java 107 final int kMinConsumed = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE;
123 final int length = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE;
205 int spaceRequired = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE;
StructNfGenMsg.java 32 public static final int STRUCT_SIZE = 2 + SizeOf.SHORT;
StructNdaCacheInfo.java 34 public static final int STRUCT_SIZE = 16;
37 return byteBuffer != null && byteBuffer.remaining() >= STRUCT_SIZE;
NetlinkMessage.java 53 payloadLength -= StructNlMsgHdr.STRUCT_SIZE;
  /external/vboot_reference/firmware/lib/
vboot_common_init.c 38 header->struct_size = sizeof(VbSharedDataHeader);
  /external/mesa3d/src/gallium/drivers/ilo/core/
ilo_state_surface.h 55 /* format_size may be less than, equal to, or greater than struct_size */
60 uint16_t struct_size; member in struct:ilo_state_surface_buffer_info
ilo_state_surface.c 128 assert(info->struct_size % alignment == 0);
143 if (info->struct_size > 1)
144 assert(info->struct_size % alignment == 0);
188 assert(info->struct_size == fixed);
200 assert(info->struct_size % alignment == 0);
230 if (!info->struct_size || info->struct_size > 2048) {
242 if (info->format == GEN6_FORMAT_RAW && info->struct_size > 1)
276 c = info->size / info->struct_size;
277 if (info->format_size < info->size - info->struct_size * c
    [all...]
  /device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/sds/
sds.c 35 size_t struct_size = GET_SDS_HEADER_STRUCT_SIZE(header); local
46 if ((struct_size == 0) || ((struct_size % 8) != 0))
49 if (struct_size > sds_mem_size)
  /external/libmojo/mojo/public/c/system/
buffer.h 23 // |uint32_t struct_size|: Set to the size of the
45 uint32_t struct_size; variable
53 // |uint32_t struct_size|: Set to the size of the
80 uint32_t struct_size; member in struct:MojoDuplicateBufferHandleOptions
platform_handle.h 49 // |uint32_t struct_size|: The size of this structure. Used for versioning
57 uint32_t struct_size; variable
  /external/vboot_reference/tests/
vboot_common_tests.c 215 TEST_EQ(d->struct_size, sizeof(VbSharedDataHeader),
216 "VbSharedDataInit struct_size");
219 TEST_EQ(d->data_used, d->struct_size, "VbSharedDataInit data_used");
  /external/libmojo/mojo/android/system/
core_impl.cc 76 DCHECK_EQ(options->struct_size, buffer_size);
96 DCHECK_EQ(options->struct_size, buffer_size);
117 DCHECK_EQ(options->struct_size, buffer_size);
301 DCHECK_EQ(options->struct_size, buffer_size);

Completed in 977 milliseconds

1 2 3