Searched refs:ArrayHeader (Results 1 – 4 of 4) sorted by relevance
89 ArrayHeader* header = reinterpret_cast<ArrayHeader*>(data->data.Get()); in Deserialize()90 DCHECK_GE(header->num_bytes, sizeof(ArrayHeader)); in Deserialize()91 header->num_bytes -= sizeof(ArrayHeader); in Deserialize()98 header->num_bytes + sizeof(ArrayHeader)); in Deserialize()110 header->num_bytes += sizeof(ArrayHeader); in Deserialize()
50 (std::numeric_limits<uint32_t>::max() - sizeof(ArrayHeader)) /55 return sizeof(ArrayHeader) + sizeof(StorageType) * num_elements; in GetStorageSize()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);377 internal::ArrayHeader header_;
102 struct ArrayHeader { struct106 static_assert(sizeof(ArrayHeader) == 8, "Bad_sizeof(ArrayHeader)"); argument
471 mojo::internal::ArrayHeader* array_header = in TEST()472 reinterpret_cast<mojo::internal::ArrayHeader*>(ptr + *ptr); in TEST()