Home
last modified time | relevance | path

Searched refs:ArrayHeader (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/mojo/public/cpp/bindings/lib/
Darray_internal.h45 (kMaxUint32 - sizeof(ArrayHeader)) / sizeof(StorageType);
49 return sizeof(ArrayHeader) + sizeof(StorageType) * num_elements; in GetStorageSize()
66 (kMaxUint32 - sizeof(ArrayHeader)) / sizeof(StorageType);
70 return sizeof(ArrayHeader) + sizeof(StorageType) * num_elements;
87 (kMaxUint32 - sizeof(ArrayHeader)) / sizeof(StorageType);
91 return sizeof(ArrayHeader) + sizeof(StorageType) * num_elements;
132 return sizeof(ArrayHeader) + ((num_elements + 7) / 8);
173 static void EncodePointersAndHandles(const ArrayHeader* header,
178 static void DecodePointersAndHandles(const ArrayHeader* header,
184 static bool ValidateElements(const ArrayHeader* header,
[all …]
Darray_internal.cc58 const ArrayHeader* header, in EncodePointersAndHandles()
67 const ArrayHeader* header, in DecodePointersAndHandles()
Dbindings_internal.h25 struct ArrayHeader { struct
29 MOJO_COMPILE_ASSERT(sizeof(ArrayHeader) == 8, bad_sizeof_ArrayHeader); argument