Searched defs:array (Results 1 - 7 of 7) sorted by relevance
/system/core/libpixelflinger/tinyutils/ |
H A D | SortedVector.h | 70 * C-style array access 74 inline const TYPE* array() const; 76 //! read-write C-style access. BE VERY CAREFUL when modifying the array 101 * modifing the array 173 const TYPE* SortedVector<TYPE>::array() const { function in class:android::SortedVector 186 return *(array() + index); 197 return *(array() + ((index<0) ? (size()-index) : index)); 202 return *(array() + size() - 1);
|
H A D | Vector.h | 70 * C-style array access 74 inline const TYPE* array() const; 92 * modifing the array 144 * sort (stable) the array 201 const TYPE* Vector<TYPE>::array() const { function in class:android::Vector 215 return *(array() + index); 228 return *(array() + ((index<0) ? (size()-index) : index)); 233 return *(array() + size() - 1);
|
H A D | VectorImpl.cpp | 252 void* array = sb->data(); 253 _do_copy(array, mStorage, size()); 255 mStorage = const_cast<void*>(array); 296 void* array = sb->data(); variable 298 _do_copy(array, mStorage, where); 302 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; 306 mStorage = const_cast<void*>(array); 312 void* array = editArrayImpl(); variable 313 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; 314 const void* from = reinterpret_cast<const uint8_t *>(array) [all...] |
/system/core/libcutils/ |
H A D | array.c | 17 #include <cutils/array.h> 36 void arrayFree(Array* array) { argument 37 assert(array != NULL); 39 // Free internal array. 40 free(array->contents); 43 free(array); 47 static int ensureCapacity(Array* array, int capacity) { argument 48 int oldCapacity = array->capacity; 71 if (array->contents == NULL) { 72 // Allocate new array 92 arrayAdd(Array* array, void* pointer) argument 104 checkBounds(Array* array, int index) argument 110 arrayGet(Array* array, int index) argument 115 arrayRemove(Array* array, int index) argument 133 arraySet(Array* array, int index, void* pointer) argument 140 arraySetSize(Array* array, int newSize) argument 163 arraySize(Array* array) argument 168 arrayUnwrap(Array* array) argument [all...] |
/system/extras/latencytop/ |
H A D | latencytop.c | 369 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/core/libnetutils/ |
H A D | dhcpclient.c | 239 static void hex2str(char *buf, const unsigned char *array, int len) argument 245 cp += sprintf(cp, " %02x ", array[i]);
|
/system/core/toolbox/ |
H A D | top.c | 75 struct proc_info **array; member in struct:proc_list 357 if (!new_procs) die("Could not expand procs array.\n");
|
Completed in 217 milliseconds