/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 | 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
|
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 | IPlaybackRate.c | 152 static SLresult IPlaybackRate_GetRateRange(SLPlaybackRateItf self, SLuint8 index, argument 159 (0 < index)) {
|
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 | IEffectSend.c | 22 /** \brief Maps AUX index to OutputMix interface index */ 63 int index = MPH_to_OutputMix[MPH]; local 64 if (0 > index) { 68 unsigned mask = 1 << index; 70 SLuint32 state = outputMix->mObject.mInterfaceStates[index];
|
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...] |
/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;
|
H A D | data.c | 602 int index; local 619 index = clazz->mMPH_to_index[MPH_BUFFERQUEUE]; 621 assert(index == clazz->mMPH_to_index[MPH_ANDROIDSIMPLEBUFFERQUEUE]); 623 if (0 <= index) { 624 if (requiredMask & (1 << index)) { 642 index = clazz->mMPH_to_index[MPH_SEEK]; 643 if (0 <= index) { 644 if (requiredMask & (1 << index)) { 650 index = clazz->mMPH_to_index[MPH_MUTESOLO]; 651 if (0 <= index) { [all...] |
H A D | locks.c | 166 SLuint32 index = objectID; local 167 if ((XA_OBJECTID_ENGINE <= index) && (index <= XA_OBJECTID_CAMERADEVICE)) { 169 } else if ((SL_OBJECTID_ENGINE <= index) && (index <= SL_OBJECTID_METADATAEXTRACTOR)) { 170 index -= SL_OBJECTID_ENGINE - XA_OBJECTID_CAMERADEVICE - 1; 173 index = 0; 185 AttributeHandler handler = handlerTable[index][bit];
|
/system/core/libpixelflinger/tinyutils/ |
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 | 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...] |
/system/core/sh/ |
H A D | exec.h | 48 int index; member in union:cmdentry::param
|
/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/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/libctest/ |
H A D | ctest.c | 62 int index = testSuite->size; local 63 testSuite->testNames[index] = name; 64 testSuite->tests[index] = test;
|
/system/core/libpixelflinger/codeflinger/ |
H A D | CodeCache.cpp | 122 ssize_t index = mCacheData.indexOfKey(key_t(keyBase)); local 123 if (index >= 0) { 124 const cache_entry_t& e = mCacheData.valueAt(index);
|
/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/core/adb/ |
H A D | transport_local.c | 298 int index = get_available_local_transport_index_locked(); local 303 } else if (index < 0) { 309 local_transports[index] = t;
|
/system/core/libpixelflinger/ |
H A D | buffer.cpp | 117 int32_t index = x + (s->stride * y); local 118 uint8_t* const data = s->data + index * f->size; 174 int32_t index = x + (s->stride * y); local 175 uint8_t* const data = s->data + index * f->size;
|