Searched refs:Array (Results 1 - 3 of 3) sorted by relevance
/system/core/include/cutils/ |
H A D | array.h | 31 typedef struct Array Array; typedef in typeref:struct:Array 34 Array* arrayCreate(); 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* arra [all...] |
/system/core/libcutils/ |
H A D | array.c | 26 struct Array { struct 32 Array* arrayCreate() { 33 return calloc(1, sizeof(struct Array)); 36 void arrayFree(Array* array) { 42 // Free the Array itself. 47 static int ensureCapacity(Array* array, int capacity) { 92 int arrayAdd(Array* array, void* pointer) { 104 static inline void checkBounds(Array* array, int index) { 110 void* arrayGet(Array* array, int index) { 115 void* arrayRemove(Array* arra [all...] |
H A D | selector.c | 33 Array* selectableFds; 151 Array* selectableFds = selector->selectableFds; 215 Array* selectableFds = selector->selectableFds;
|
Completed in 211 milliseconds