Home
last modified time | relevance | path

Searched refs:Array_Data (Results 1 – 8 of 8) sorted by relevance

/external/libmojo/mojo/public/cpp/bindings/lib/
Darray_internal.h206 bool is_array_or_map = IsSpecializationOf<Array_Data, U>::value ||
255 class Array_Data {
272 static Array_Data<T>* New(size_t num_elements, Buffer* buf) {
279 Array_Data<T>(num_bytes, static_cast<uint32_t>(num_elements));
321 const Array_Data<T>* object = static_cast<const Array_Data<T>*>(data);
349 Array_Data(uint32_t num_bytes, uint32_t num_elements) {
353 ~Array_Data() = delete;
359 static_assert(sizeof(Array_Data<char>) == 8, "Bad sizeof(Array_Data)");
362 using String_Data = Array_Data<char>;
Dnative_struct_serialization.cc32 Array_Data<uint8_t>* data = nullptr; in Serialize()
44 Array_Data<uint8_t>* data = reinterpret_cast<Array_Data<uint8_t>*>(input); in Deserialize()
Dnative_struct_data.h25 Array_Data<uint8_t> data;
32 static_assert(sizeof(Array_Data<uint8_t>) == sizeof(NativeStruct_Data),
Dmap_data_internal.h70 Pointer<Array_Data<Key>> keys;
71 Pointer<Array_Data<Value>> values;
Dbindings_internal.h56 class Array_Data; variable
61 using String_Data = Array_Data<char>;
207 using Data = Array_Data<typename MojomTypeTraits<T>::DataAsArrayElement>;
Dnative_struct_data.cc17 return Array_Data<uint8_t>::Validate(data, validation_context, in Validate()
/external/libmojo/mojo/public/cpp/bindings/tests/
Darray_common_test.h174 mojo::internal::Array_Data<int32_t>* data; in Serialization_ArrayOfPOD()
194 mojo::internal::Array_Data<int32_t>* data; in Serialization_EmptyArrayOfPOD()
247 mojo::internal::Array_Data<bool>* data; in Serialization_ArrayOfBool()
Dunion_unittest.cc441 mojo::internal::Array_Data<internal::PodUnion_Data>* data; in TEST()
467 mojo::internal::Array_Data<internal::PodUnion_Data>* data; in TEST()
496 mojo::internal::Array_Data<internal::ObjectUnion_Data>* data; in TEST()
509 reinterpret_cast<mojo::internal::Array_Data<internal::ObjectUnion_Data>*>( in TEST()
513 ASSERT_TRUE(mojo::internal::Array_Data<internal::ObjectUnion_Data>::Validate( in TEST()