Searched refs:array (Results 1 - 15 of 15) sorted by relevance

/system/core/libutils/
H A DVectorImpl.cpp119 ssize_t VectorImpl::insertArrayAt(const void* array, size_t index, size_t length) argument
125 _do_copy(where, array, length);
130 ssize_t VectorImpl::appendArray(const void* array, size_t length) argument
132 return insertArrayAt(array, size(), length);
172 void* array = const_cast<void*>(arrayImpl()); local
176 void* item = reinterpret_cast<char*>(array) + mItemSize*(i);
177 void* curr = reinterpret_cast<char*>(array) + mItemSize*(i-1);
181 // we're going to have to modify the array...
182 array = editArrayImpl();
183 if (!array) retur
[all...]
/system/core/libpixelflinger/codeflinger/tinyutils/
H A DVectorImpl.cpp254 void* array = sb->data();
255 _do_copy(array, mStorage, size());
257 mStorage = const_cast<void*>(array);
298 void* array = sb->data(); variable
300 _do_copy(array, mStorage, where);
304 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;
308 mStorage = const_cast<void*>(array);
314 void* array = editArrayImpl(); variable
315 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;
316 const void* from = reinterpret_cast<const uint8_t *>(array)
350 void* array = sb->data(); local
364 void* array = editArrayImpl(); local
[all...]
H A DSortedVector.h71 * C-style array access
75 inline const TYPE* array() const;
77 //! read-write C-style access. BE VERY CAREFUL when modifying the array
102 * modifing the array
174 const TYPE* SortedVector<TYPE>::array() const { function in class:android::tinyutils::SortedVector
187 return *(array() + index);
198 return *(array() + ((index<0) ? (size()-index) : index));
203 return *(array() + size() - 1);
H A DVector.h79 * C-style array access
83 inline const TYPE* array() const;
101 * modifing the array
153 * sort (stable) the array
210 const TYPE* Vector<TYPE>::array() const { function in class:android::tinyutils::Vector
224 return *(array() + index);
237 return *(array() + ((index<0) ? (size()-index) : index));
242 return *(array() + size() - 1);
/system/core/include/utils/
H A DVector.h90 * C-style array access
94 inline const TYPE* array() const;
110 * modifying the array
129 //! insert an array at a given index
130 ssize_t insertArrayAt(const TYPE* array, size_t index, size_t length);
132 //! append an array at the end of this vector
133 ssize_t appendArray(const TYPE* array, size_t length);
168 * sort (stable) the array
190 inline const_iterator begin() const { return array(); }
191 inline const_iterator end() const { return array()
268 const TYPE* Vector<TYPE>::array() const { function in class:android::Vector
317 insertArrayAt(const TYPE* array, size_t index, size_t length) argument
322 appendArray(const TYPE* array, size_t length) argument
[all...]
H A DVectorImpl.h58 /*! C-style array access */
69 /*! append/insert another vector or array */
72 ssize_t insertArrayAt(const void* array, size_t index, size_t length);
73 ssize_t appendArray(const void* array, size_t length);
170 ssize_t insertArrayAt(const void* array, size_t index, size_t length);
171 ssize_t appendArray(const void* array, size_t length);
H A DSortedVector.h74 * C-style array access
78 inline const TYPE* array() const;
80 //! read-write C-style access. BE VERY CAREFUL when modifying the array
103 * modifying the array
177 const TYPE* SortedVector<TYPE>::array() const { function in class:android::SortedVector
192 return *(array() + index);
202 return *(array() + size() - 1);
H A DKeyedVector.h75 * modifying the array
133 return mVector.array() == rhs.mVector.array();
/system/extras/latencytop/
H A Dlatencytop.c369 struct latency_entry *e, **array; local
381 array = calloc(count, sizeof(struct latency_entry *));
382 if (!array) {
383 fprintf(stderr, "Error allocating array: %s\n", strerror(errno));
387 array[i] = e;
391 qsort(array, count, sizeof(struct latency_entry *), &lat_cmp);
395 e = array[i];
404 free(array);
/system/media/camera/docs/
H A Dmetadata_parser_xml.py243 array = entry.find('array')
244 if array is not None:
246 for size in array.find_all('size'):
H A Dmetadata_template.mako120 % if prop.container == 'array':
121 <array>
125 </array>
/system/extras/verity/
H A DVerityVerifier.java48 byte[] bytes = ByteBuffer.allocate(4).putInt(value).array();
/system/extras/tests/sdcard/
H A Dplot_sdcard.py134 data = [] # array of dataset
247 x = numpy.array(dataset.time, dtype='float_')
277 x = numpy.array(dataset.time, dtype='int_')
/system/core/libnetutils/
H A Ddhcpclient.c239 static void hex2str(char *buf, const unsigned char *array, int len) argument
245 cp += sprintf(cp, " %02x ", array[i]);
/system/core/toolbox/
H A Dtop.c76 struct proc_info **array; member in struct:proc_list
370 if (!new_procs) die("Could not expand procs array.\n");

Completed in 168 milliseconds