Searched refs:array (Results 1 – 13 of 13) sorted by relevance
/system/core/libcutils/ |
D | array.c | 36 void arrayFree(Array* array) { in arrayFree() argument 37 assert(array != NULL); in arrayFree() 40 free(array->contents); in arrayFree() 43 free(array); in arrayFree() 47 static int ensureCapacity(Array* array, int capacity) { in ensureCapacity() argument 48 int oldCapacity = array->capacity; in ensureCapacity() 71 if (array->contents == NULL) { in ensureCapacity() 79 newContents = realloc(array->contents, sizeof(void*) * newCapacity); in ensureCapacity() 85 array->capacity = newCapacity; in ensureCapacity() 86 array->contents = newContents; in ensureCapacity() [all …]
|
D | Android.mk | 27 array.c \
|
/system/core/include/cutils/ |
D | array.h | 37 void arrayFree(Array* array); 40 int arrayAdd(Array* array, void* pointer); 43 void* arrayGet(Array* array, int index); 46 void* arrayRemove(Array* array, int index); 49 void* arraySet(Array* array, int index, void* pointer); 52 int arraySetSize(Array* array, int size); 55 int arraySize(Array* array); 61 const void** arrayUnwrap(Array* array);
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
D | VectorImpl.cpp | 254 void* array = sb->data(); in setCapacity() local 255 _do_copy(array, mStorage, size()); in setCapacity() 257 mStorage = const_cast<void*>(array); in setCapacity() 298 void* array = sb->data(); in _grow() local 300 _do_copy(array, mStorage, where); in _grow() 304 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _grow() 308 mStorage = const_cast<void*>(array); in _grow() 314 void* array = editArrayImpl(); in _grow() local 315 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _grow() 316 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize; in _grow() [all …]
|
D | SortedVector.h | 75 inline const TYPE* array() const; 174 const TYPE* SortedVector<TYPE>::array() const { in array() function 187 return *(array() + index); 198 return *(array() + ((index<0) ? (size()-index) : index)); in mirrorItemAt() 203 return *(array() + size() - 1); in top()
|
D | Vector.h | 83 inline const TYPE* array() const; 210 const TYPE* Vector<TYPE>::array() const { in array() function 224 return *(array() + index); 237 return *(array() + ((index<0) ? (size()-index) : index)); in mirrorItemAt() 242 return *(array() + size() - 1); in top()
|
/system/extras/latencytop/ |
D | latencytop.c | 369 struct latency_entry *e, **array; in print_latency_entries() local 381 array = calloc(count, sizeof(struct latency_entry *)); in print_latency_entries() 382 if (!array) { in print_latency_entries() 387 array[i] = e; in print_latency_entries() 391 qsort(array, count, sizeof(struct latency_entry *), &lat_cmp); in print_latency_entries() 395 e = array[i]; in print_latency_entries() 404 free(array); in print_latency_entries()
|
/system/media/camera/docs/ |
D | metadata_parser_xml.py | 182 array = entry.find('array') 183 if array is not None: 185 for size in array.find_all('size'):
|
D | metadata_template.mako | 86 % if prop.container == 'array': 87 <array> 91 </array>
|
D | html.mako | 203 % if prop.container == 'array':
|
/system/extras/tests/sdcard/ |
D | plot_sdcard.py | 247 x = numpy.array(dataset.time, dtype='float_') 277 x = numpy.array(dataset.time, dtype='int_')
|
/system/core/libnetutils/ |
D | dhcpclient.c | 239 static void hex2str(char *buf, const unsigned char *array, int len) in hex2str() argument 245 cp += sprintf(cp, " %02x ", array[i]); in hex2str()
|
/system/core/toolbox/ |
D | top.c | 75 struct proc_info **array; member
|