HomeSort by relevance Sort by last modified time
    Searched refs:Array_Data (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/mojo/public/bindings/lib/
array_internal.h 96 class Array_Data {
104 static Array_Data<T>* New(size_t num_elements, Buffer* buf) {
105 size_t num_bytes = sizeof(Array_Data<T>) +
107 return new (buf->Allocate(num_bytes)) Array_Data<T>(num_bytes,
134 friend class internal::ObjectTraits<Array_Data<T> >;
136 Array_Data(size_t num_bytes, size_t num_elements) {
140 ~Array_Data() {}
146 MOJO_COMPILE_ASSERT(sizeof(Array_Data<char>) == 8, bad_sizeof_Array_Data);
149 typedef Array_Data<char> String_Data;
154 typedef Array_Data<typename T::Data*> DataType
    [all...]
bindings_serialization.h 103 // Array_Data<T>. There are two interesting cases: arrays of primitives and
191 class ObjectTraits<Array_Data<T> > {
193 static size_t ComputeSizeOf(const Array_Data<T>* array) {
199 static Array_Data<T>* Clone(const Array_Data<T>* array, Buffer* buf) {
200 Array_Data<T>* clone = Array_Data<T>::New(array->header_.num_elements, buf);
203 array->header_.num_bytes - sizeof(Array_Data<T>));
209 static void CloseHandles(Array_Data<T>* array) {
213 static void EncodePointersAndHandles(Array_Data<T>* array
    [all...]
bindings_internal.h 14 template <typename T> class Array_Data;
40 Array_Data<T>* ptr;
46 Array_Data<char>* ptr;

Completed in 520 milliseconds