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

1 2

  /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|.
core.cc 63 if (platform_handle->struct_size != sizeof(MojoPlatformHandle))
103 if (platform_handle->struct_size != sizeof(MojoPlatformHandle))
770 if (options && options->struct_size != sizeof(MojoCreateDataPipeOptions))
774 create_options.struct_size = sizeof(MojoCreateDataPipeOptions);
    [all...]
multiprocess_message_pipe_unittest.cc 285 options.struct_size = sizeof(options);
515 options.struct_size = sizeof(options);
645 options.struct_size = sizeof(options);
    [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));
  /external/vboot_reference/firmware/lib/
vboot_common_init.c 38 header->struct_size = sizeof(VbSharedDataHeader);
  /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/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
data_pipe.h 20 // |uint32_t struct_size|: Set to the size of the |MojoCreateDataPipeOptions|
46 MOJO_ALIGNAS(4) uint32_t struct_size; variable
message_pipe.h 32 // |uint32_t struct_size|: Set to the size of the
51 uint32_t struct_size; variable
  /external/libmojo/mojo/public/cpp/system/
platform_handle.cc 31 platform_handle.struct_size = sizeof(MojoPlatformHandle);
44 platform_handle.struct_size = sizeof(MojoPlatformHandle);
65 platform_handle.struct_size = sizeof(MojoPlatformHandle);
95 platform_handle.struct_size = sizeof(MojoPlatformHandle);
  /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...]
  /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/python/cpython2/Modules/_ctypes/libffi/src/s390/
ffi.c 342 size_t struct_size = 0; local
430 struct_size += ROUND_SIZE ((*ptr)->size);
485 cif->bytes = ROUND_SIZE (n_ov * sizeof (long)) + struct_size;
  /external/libmojo/mojo/android/system/
core_impl.cc 112 DCHECK_EQ(options->struct_size, buffer_size);
132 DCHECK_EQ(options->struct_size, buffer_size);
153 DCHECK_EQ(options->struct_size, buffer_size);
337 DCHECK_EQ(options->struct_size, buffer_size);
  /external/mesa3d/src/gallium/drivers/ilo/
ilo_render_surface.c 82 info.struct_size =
493 info.struct_size = 1;
555 info.struct_size = 1;
ilo_render_gen6.c 555 const int struct_size = so_info->stride[output_buffer] * 4; local
566 count = buf_size / struct_size;
567 if (buf_size % struct_size >= elem_size)
  /external/mesa3d/src/intel/vulkan/
anv_pipeline_cache.c 126 size_t struct_size = local
132 memcpy(data, shader, struct_size);
133 data += struct_size;
  /external/libmojo/mojo/edk/js/
core.cc 112 // For future struct_size, we can probably infer that from the presence of
114 options.struct_size = 8;
209 // For future struct_size, we can probably infer that from the presence of
211 options.struct_size = 16;
  /external/vboot_reference/firmware/include/
vboot_struct.h 465 uint64_t struct_size; member in struct:VbSharedDataHeader
  /external/libmojo/mojo/edk/test/
mojo_test_base.cc 272 options.struct_size = static_cast<uint32_t>(sizeof(options));

Completed in 520 milliseconds

1 2