/system/media/wilhelm/doc/ |
H A D | Makefile | 1 html/index.html : Doxyfile clean
|
/system/core/libcutils/ |
H A D | array.c | 104 static inline void checkBounds(Array* array, int index) { argument 106 assert(index < array->size); 107 assert(index >= 0); 110 void* arrayGet(Array* array, int index) { argument 111 checkBounds(array, index); 112 return array->contents[index]; 115 void* arrayRemove(Array* array, int index) { argument 116 checkBounds(array, index); 118 void* pointer = array->contents[index]; 123 if (index ! 133 arraySet(Array* array, int index, void* pointer) argument [all...] |
H A D | hashmap.c | 118 size_t index = calculateIndex(newBucketCount, entry->hash); local 119 entry->next = newBuckets[index]; 120 newBuckets[index] = entry; 191 size_t index = calculateIndex(map->bucketCount, hash); local 193 Entry** p = &(map->buckets[index]); 223 size_t index = calculateIndex(map->bucketCount, hash); local 225 Entry* entry = map->buckets[index]; 238 size_t index = calculateIndex(map->bucketCount, hash); local 240 Entry* entry = map->buckets[index]; 254 size_t index local 286 size_t index = calculateIndex(map->bucketCount, hash); local [all...] |
/system/core/include/cutils/ |
H A D | array.h | 42 /** Gets the pointer at the specified index. */ 43 void* arrayGet(Array* array, int index); 45 /** Removes the pointer at the given index and returns it. */ 46 void* arrayRemove(Array* array, int index); 48 /** Sets pointer at the given index. Returns old pointer. */ 49 void* arraySet(Array* array, int index, void* pointer);
|
/system/core/nexus/ |
H A D | SupplicantConnectedEvent.cpp | 30 if ((p = index(event + 2, ' ')) && (++p = index(p, ' '))) { 39 if ((p = index(p, ' ')) && ((++p = index(p, ' ')))) {
|
H A D | SupplicantStateChangeEvent.cpp | 29 char *p = index(event, ' ');
|
/system/core/libpixelflinger/tinyutils/ |
H A D | Vector.h | 82 //! read-only access to an item at a given index 83 inline const TYPE& operator [] (size_t index) const; 85 inline const TYPE& itemAt(size_t index) const; 88 //! same as operator [], but allows to access the vector backward (from the end) with a negative index 89 const TYPE& mirrorItemAt(ssize_t index) const; 96 TYPE& editItemAt(size_t index); 104 //! insert another vector at a given index 105 ssize_t insertVectorAt(const Vector<TYPE>& vector, size_t index); 116 inline ssize_t insertAt(size_t index, size_t numItems = 1); 118 ssize_t insertAt(const TYPE& prototype_item, size_t index, size_ 141 removeAt(size_t index) argument 237 editItemAt(size_t index) argument 247 insertVectorAt(const Vector<TYPE>& vector, size_t index) argument 257 insertAt(const TYPE& item, size_t index, size_t numItems) argument 272 replaceAt(const TYPE& item, size_t index) argument 277 insertAt(size_t index, size_t numItems) argument 297 replaceAt(size_t index) argument 302 removeItemsAt(size_t index, size_t count) argument [all...] |
H A D | VectorImpl.cpp | 110 ssize_t VectorImpl::insertVectorAt(const VectorImpl& vector, size_t index) argument 112 if (index > size()) 114 void* where = _grow(index, vector.size()); 118 return where ? index : (ssize_t)NO_MEMORY; 126 ssize_t VectorImpl::insertAt(size_t index, size_t numItems) argument 128 return insertAt(0, index, numItems); 131 ssize_t VectorImpl::insertAt(const void* item, size_t index, size_t numItems) argument 133 if (index > size()) 135 void* where = _grow(index, numItems); 143 return where ? index 172 replaceAt(size_t index) argument 177 replaceAt(const void* prototype, size_t index) argument [all...] |
H A D | KeyedVector.h | 56 const VALUE& valueAt(size_t index) const; 57 const KEY& keyAt(size_t index) const; 65 VALUE& editValueAt(size_t index); 73 ssize_t replaceValueAt(size_t index, const VALUE& item); 80 ssize_t removeItemsAt(size_t index, size_t count = 1); 123 const VALUE& KeyedVector<KEY,VALUE>::valueAt(size_t index) const { 124 return mVector.itemAt(index).value; 128 const KEY& KeyedVector<KEY,VALUE>::keyAt(size_t index) const { 129 return mVector.itemAt(index).key; 140 VALUE& KeyedVector<KEY,VALUE>::editValueAt(size_t index) { argument 157 replaceValueAt(size_t index, const VALUE& item) argument 171 removeItemsAt(size_t index, size_t count) argument [all...] |
H A D | SortedVector.h | 80 //! finds the index of an item 91 //! read-only access to an item at a given index 92 inline const TYPE& operator [] (size_t index) const; 94 inline const TYPE& itemAt(size_t index) const; 97 //! same as operator [], but allows to access the vector backward (from the end) with a negative index 98 const TYPE& mirrorItemAt(ssize_t index) const; 108 TYPE& editItemAt(size_t index) { argument 109 return *( static_cast<TYPE *>(VectorImpl::editItemLocation(index)) ); 120 inline ssize_t removeItemsAt(size_t index, size_t count = 1); 122 inline ssize_t removeAt(size_t index) { retur argument [all...] |
H A D | VectorImpl.h | 61 ssize_t insertVectorAt(const VectorImpl& vector, size_t index); 72 ssize_t replaceAt(size_t index); 73 ssize_t replaceAt(const void* item, size_t index); 76 ssize_t removeItemsAt(size_t index, size_t count = 1); 79 const void* itemLocation(size_t index) const; 80 void* editItemLocation(size_t index); 134 //! finds the index of an item 172 ssize_t insertVectorAt(const VectorImpl& vector, size_t index); 176 ssize_t replaceAt(size_t index); 177 ssize_t replaceAt(const void* item, size_t index); [all...] |
/system/media/wilhelm/src/itf/ |
H A D | ILEDArray.c | 55 static SLresult ILEDArray_SetColor(SLLEDArrayItf self, SLuint8 index, const SLHSL *pColor) argument 61 if (!(index < MAX_LED_COUNT) || NULL == pColor) 73 thiz->mColors[index] = color; 82 static SLresult ILEDArray_GetColor(SLLEDArrayItf self, SLuint8 index, SLHSL *pColor) argument 86 if (!(index < MAX_LED_COUNT) || NULL == pColor) { 92 SLHSL color = thiz->mColors[index]; 115 SLuint8 index; local 116 for (index = 0; index < MAX_LED_COUNT; ++index, [all...] |
H A D | IEngineCapabilities.c | 109 SLuint32 index; local 113 index = *pIndex; 114 if (index >= thiz->mMaxIndexLED) { 117 id_descriptor = &LED_id_descriptors[index]; 129 for (index = 0; index < thiz->mMaxIndexLED; ++index) { 130 id_descriptor = &LED_id_descriptors[index]; 151 SLuint32 index; local 155 index [all...] |
H A D | IDynamicInterfaceManagement.c | 36 int index = clazz->mMPH_to_index[MPH]; local 37 assert(0 <= index && index < (int) clazz->mInterfaceCount); 38 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index]; 53 const struct iid_vtable *x = &clazz->mInterfaces[index]; 117 int MPH, index; local 121 (0 > (index = clazz->mMPH_to_index[MPH]))) { 124 assert(index < (int) clazz->mInterfaceCount); 125 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index]; 161 const struct iid_vtable *x = &clazz->mInterfaces[index]; 213 int MPH, index; local 292 int index = clazz->mMPH_to_index[MPH]; local 365 int MPH, index; local [all...] |
H A D | IMetadataTraversal.c | 66 SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) 85 static SLresult IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, argument 97 static SLresult IMetadataTraversal_SetActiveNode(SLMetadataTraversalItf self, SLuint32 index) argument 101 if (SL_NODE_PARENT == index) { 105 thiz->mIndex = index; 65 IMetadataTraversal_GetChildMIMETypeSize( SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) argument
|
H A D | IMetadataExtraction.c | 43 SLuint32 index, SLuint32 *pKeySize) 53 index, pKeySize); 64 SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) 74 index, keySize, pKey); 85 SLuint32 index, SLuint32 *pValueSize) 95 index, pValueSize); 106 SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue) 116 index, valueSize, pValue); 42 IMetadataExtraction_GetKeySize(SLMetadataExtractionItf self, SLuint32 index, SLuint32 *pKeySize) argument 63 IMetadataExtraction_GetKey(SLMetadataExtractionItf self, SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) argument 84 IMetadataExtraction_GetValueSize(SLMetadataExtractionItf self, SLuint32 index, SLuint32 *pValueSize) argument 105 IMetadataExtraction_GetValue(SLMetadataExtractionItf self, SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue) argument
|
H A D | IAndroidEffectCapabilities.c | 44 SLuint32 index, SLInterfaceID *pEffectType, SLInterfaceID *pEffectImplementation, 50 if (index > thiz->mNumFx) { 55 *pEffectType = (SLInterfaceID) &thiz->mFxDescriptors[index].type; 58 *pEffectImplementation = (SLInterfaceID) &thiz->mFxDescriptors[index].uuid; 61 int len = strlen(thiz->mFxDescriptors[index].name); 62 strncpy((char*)pName, thiz->mFxDescriptors[index].name, 43 IAndroidEffectCapabilities_QueryEffect(SLAndroidEffectCapabilitiesItf self, SLuint32 index, SLInterfaceID *pEffectType, SLInterfaceID *pEffectImplementation, SLchar * pName, SLuint16 *pNameSize) argument
|
/system/media/wilhelm/tests/sandbox/ |
H A D | engine.c | 41 SLuint32 index; local 42 for (index = 0; index < numSupportedInterfaces + 1; ++index) { 45 result = slQuerySupportedEngineInterfaces(index, &interfaceID); 46 if (index < numSupportedInterfaces) { 48 printf("interface[%u] ", index); 50 engine_ids[index] = interfaceID; 51 engine_req[index] = SL_BOOLEAN_TRUE; 55 result = slQuerySupportedEngineInterfaces(index, NUL [all...] |
/system/extras/fatblock/ |
H A D | fatblock.c | 80 static int set_ums_file(int index) argument 94 WARN("writing '/dev/block/ublock%d' to %s.\n", index, filename); 96 fprintf(file, "/dev/block/ublock%d", index); 154 int index; local 182 index = ublock_index(ub); 183 if (index < 0) 184 DIE("fatblock: invalid ublock index %d; aborting\n", index); 186 INFO("fatblock: block device ublock%d created\n", index); 187 set_ums_file(index); [all...] |
/system/media/wilhelm/src/ |
H A D | sl_entry.c | 52 SL_API SLresult SLAPIENTRY slQuerySupportedEngineInterfaces(SLuint32 index, argument 57 result = liQuerySupportedInterfaces(index, pInterfaceId, objectIDtoClass(SL_OBJECTID_ENGINE));
|
H A D | xa_entry.c | 51 XA_API XAresult XAAPIENTRY xaQuerySupportedEngineInterfaces(XAuint32 index, argument 56 result = liQuerySupportedInterfaces(index, (SLInterfaceID *) pInterfaceId,
|
H A D | devices.c | 214 SLuint32 index; local 216 for (index = 0 ; NULL != cd->mDescriptor; ++cd) { 218 ++index; 221 *pIndex = index; 224 index = *pIndex; 227 if (0 == index) { 244 --index;
|
H A D | entry.c | 106 SLuint32 index; local 107 for (index = 0; index < pCEngine_class->mInterfaceCount; ++index, ++x, 215 LI_API SLresult liQuerySupportedInterfaces(SLuint32 index, SLInterfaceID *pInterfaceId, argument 240 if (index == 0) { 245 --index;
|
/system/media/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.h | 106 SLuint32 index, SLuint32 *pKeySize); 109 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey); 112 SLuint32 index, SLuint32 *pValueSize); 115 SLuint32 index, SLuint32 size, SLMetadataInfo *pValue);
|
/system/core/sh/ |
H A D | exec.h | 48 int index; member in union:cmdentry::param
|