HomeSort by relevance Sort by last modified time
    Searched defs:struct_size (Results 1 - 19 of 19) sorted by null

  /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));
  /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
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
platform_handle.h 49 // |uint32_t struct_size|: The size of this structure. Used for versioning
57 uint32_t struct_size; variable
  /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/libffi/src/s390/
ffi.c 345 size_t struct_size = 0; local
437 struct_size += ROUND_SIZE ((*ptr)->size);
492 cif->bytes = ROUND_SIZE (n_ov * sizeof (long)) + struct_size;
  /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
  /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/python/cpython3/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;
  /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/mesa3d/src/gallium/drivers/ilo/
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/vboot_reference/firmware/include/
vboot_struct.h 465 uint64_t struct_size; member in struct:VbSharedDataHeader
  /external/tpm2/
tpm_generated.c 1072 UINT32 struct_size; local
1084 struct_size = start_size - *size - sizeof(target->t.size);
1085 if (struct_size != target->t.size) {
1207 UINT32 struct_size; local
1219 struct_size = start_size - *size - sizeof(target->t.size);
1220 if (struct_size != target->t.size) {
1547 UINT32 struct_size; local
3351 UINT32 struct_size; local
3607 UINT32 struct_size; local
    [all...]
  /external/python/cpython3/Objects/
unicodeobject.c 883 Py_ssize_t struct_size; local
897 struct_size = sizeof(PyASCIIObject);
899 struct_size = sizeof(PyCompactUnicodeObject);
902 if (length > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) {
906 new_size = (struct_size + (length + 1) * char_size);
1229 Py_ssize_t struct_size; local
    [all...]

Completed in 816 milliseconds