OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ArrayHeader
(Results
1 - 4
of
4
) sorted by null
/external/libchrome/mojo/public/cpp/bindings/lib/
native_struct_serialization.h
86
// Because
ArrayHeader
's num_bytes includes the length of the header and
89
ArrayHeader
* header = reinterpret_cast<
ArrayHeader
*>(data->data.Get());
90
DCHECK_GE(header->num_bytes, sizeof(
ArrayHeader
));
91
header->num_bytes -= sizeof(
ArrayHeader
);
98
header->num_bytes + sizeof(
ArrayHeader
));
110
header->num_bytes += sizeof(
ArrayHeader
);
array_internal.h
50
(std::numeric_limits<uint32_t>::max() - sizeof(
ArrayHeader
)) /
55
return sizeof(
ArrayHeader
) + sizeof(StorageType) * num_elements;
97
return sizeof(
ArrayHeader
) + ((num_elements + 7) / 8);
126
static bool ValidateElements(const
ArrayHeader
* header,
151
static bool ValidateElements(const
ArrayHeader
* header,
186
static bool ValidateElements(const
ArrayHeader
* header,
237
static bool ValidateElements(const
ArrayHeader
* header,
314
if (!validation_context->IsValidRange(data, sizeof(
ArrayHeader
))) {
319
const
ArrayHeader
* header = static_cast<const
ArrayHeader
*>(data)
[
all
...]
bindings_internal.h
102
struct
ArrayHeader
{
106
static_assert(sizeof(
ArrayHeader
) == 8, "Bad_sizeof(
ArrayHeader
)");
/external/libchrome/mojo/public/cpp/bindings/tests/
union_unittest.cc
471
mojo::internal::
ArrayHeader
* array_header =
472
reinterpret_cast<mojo::internal::
ArrayHeader
*>(ptr + *ptr);
[
all
...]
Completed in 138 milliseconds