Searched refs:idx (Results 126 - 150 of 239) sorted by relevance

12345678910

/frameworks/rs/
H A Drsg.spec74 param RsAllocation *idx
H A Drs.h27 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext, uint32_t idx, RsFile);
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dshared.rsh35 static inline float end(uint32_t idx) {
37 //g_results[idx].time = t;
H A DUT_reduce.java282 for (int idx = 0; idx < input.length; ++idx)
283 result += input[idx];
463 for (int idx = 1; idx < input.length; ++idx) {
464 final float val = input[idx];
533 for (int idx = 0; idx < inpu
[all...]
/frameworks/base/tests/JankBench/app/src/main/jni/
H A DBench.cpp55 void Bench::testWork(void *usr, uint32_t idx) argument
58 //__android_log_print(ANDROID_LOG_INFO, "bench", "test %i %p", idx, b);
65 float *ipk = b->mIpKernel[idx];
66 volatile float *src = b->mSrcBuf[idx];
67 volatile float *out = b->mOutBuf[idx];
/frameworks/compile/mclinker/include/mcld/Support/
H A DAllocators.h219 for (unsigned int idx = 0; idx != prev->bound; ++idx)
220 destroy(prev->data + idx);
/frameworks/base/cmds/statsd/src/anomaly/
H A DAnomalyTracker.cpp86 const int idx = index(i); local
87 subtractBucketFromSum(mPastBuckets[idx]);
88 mPastBuckets[idx] = nullptr; // release (but not clear) the old bucket.
/frameworks/base/libs/androidfw/include/androidfw/
H A DAssetManager.h274 bool getOverlay(size_t idx, asset_path* out) const;
329 bool getOverlay(const String8& path, size_t idx, asset_path* out) const;
332 void closeZip(int idx);
/frameworks/base/services/usage/java/com/android/server/usage/
H A DIntervalStats.java187 final int idx = usageStats.mChooserCounts.indexOfKey(action);
188 if (idx < 0) {
192 chooserCounts = usageStats.mChooserCounts.valueAt(idx);
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp133 static void freeBufferIndex(int32_t idx) argument
136 gTextBuffers.editItemAt(idx) = gFreeBufferIndex;
137 gFreeBufferIndex = idx;
/frameworks/base/core/jni/
H A Dcom_android_internal_net_NetworkStatsFactory.cpp105 int idx; local
113 idx = (int)strtol(pos, &endPos, 10);
114 //ALOGI("Index #%d: %s", idx, buffer);
120 if (idx != lastIdx + 1) {
121 ALOGE("inconsistent idx=%d after lastIdx=%d: %s", idx, lastIdx, buffer);
125 lastIdx = idx;
/frameworks/base/tools/aapt2/util/
H A DUtil.cpp412 StringPiece16 GetString16(const android::ResStringPool& pool, size_t idx) { argument
414 const char16_t* str = pool.stringAt(idx, &len);
421 std::string GetString(const android::ResStringPool& pool, size_t idx) { argument
423 const char* str = pool.string8At(idx, &len);
427 return Utf16ToUtf8(GetString16(pool, idx));
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp254 int i, j, rr, gg, bb, aa, idx; local
319 for (idx = 0; idx < num_colors; idx++) {
320 if (colors[idx] == col) {
329 *out++ = idx;
401 for (int idx = 0; idx < num_colors; idx++) {
402 col = colors[idx];
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp714 const char16_t* ResStringPool::stringAt(size_t idx, size_t* u16len) const argument
716 if (mError == NO_ERROR && idx < mHeader->stringCount) {
718 const uint32_t off = mEntries[idx]/(isUTF8?sizeof(uint8_t):sizeof(uint16_t));
729 (int)idx);
735 (int)idx, (int)(str+*u16len-strings), (int)mStringPoolSize);
748 if (mCache != NULL && mCache[idx] != NULL) {
749 return mCache[idx];
754 if (stringDecodeAt(idx, u8str, u8len, &u8len) == NULL) {
765 (long long)idx, (long long)actualLen, (long long)*u16len);
773 (int)idx);
819 string8At(size_t idx, size_t* outLen) const argument
860 stringDecodeAt(size_t idx, const uint8_t* str, const size_t encLen, size_t* outLen) const argument
1235 getAttributeNamespace(size_t idx, size_t* outLen) const argument
1245 getAttributeNamespace8(size_t idx, size_t* outLen) const argument
1270 getAttributeName(size_t idx, size_t* outLen) const argument
1280 getAttributeName8(size_t idx, size_t* outLen) const argument
1318 getAttributeStringValue(size_t idx, size_t* outLen) const argument
1372 getAttributeValue(size_t idx, Res_value* outValue) const argument
1491 const ssize_t idx = dtohs(((const ResXMLTree_attrExt*)mCurExt)->idIndex); local
1500 const ssize_t idx = dtohs(((const ResXMLTree_attrExt*)mCurExt)->classIndex); local
1509 const ssize_t idx = dtohs(((const ResXMLTree_attrExt*)mCurExt)->styleIndex); local
6625 size_t idx = mPackageMap[id]; local
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp678 for (unsigned int idx = 0; idx < NUMA(transformType); idx++) {
679 unsigned int id = transformType[idx].id;
703 for (unsigned int idx = 0; idx < NUMA(blendType); idx++) {
704 unsigned int id = blendType[idx].id;
1463 for (unsigned int idx = 0; idx < NUM
[all...]
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp1387 uint32_t idx; local
1388 for (idx = 0; idx < swapchain.num_images; idx++) {
1389 if (swapchain.images[idx].buffer.get() == buffer) {
1390 swapchain.images[idx].dequeued = true;
1391 swapchain.images[idx].dequeue_fence = fence_fd;
1395 if (idx == swapchain.num_images) {
1412 device, swapchain.images[idx].image, fence_clone, semaphore, vk_fence);
1422 swapchain.images[idx]
[all...]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A DUT_reduce.java284 for (int idx = 0; idx < input.length; ++idx)
285 result += input[idx];
465 for (int idx = 1; idx < input.length; ++idx) {
466 final float val = input[idx];
535 for (int idx = 0; idx < inpu
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DMesh.java353 long[] idx = new long[mIndexTypes.size()];
390 idx[ct] = allocID;
394 long id = mRS.nMeshCreate(vtx, idx, prim);
515 long[] idx = new long[mIndexTypes.size()];
534 idx[ct] = allocID;
538 long id = mRS.nMeshCreate(vtx, idx, prim);
/frameworks/av/camera/
H A DCameraParameters2.cpp126 ssize_t idx = mMap.indexOfKey(String8(key));
127 if (idx < 0) {
130 return mMap.valueAt(idx).string();
/frameworks/av/services/camera/libcameraservice/utils/
H A DTagMonitor.cpp52 if (ssize_t idx = tagNames.find("3a") != -1) {
53 ssize_t end = tagNames.find(",", idx);
55 start[idx] = '\0';
/frameworks/av/media/extractors/mkv/
H A DMatroskaExtractor.cpp1046 static void storeSize(uint8_t *data, size_t &idx, size_t size) { argument
1048 idx += numBytes;
1050 data += idx;
1071 size_t idx = 0; local
1072 esds[idx++] = 0x03;
1073 storeSize(esds, idx, esdsSize1);
1074 esds[idx++] = 0x00; // ES_ID
1075 esds[idx++] = 0x00; // ES_ID
1076 esds[idx++] = 0x00; // streamDependenceFlag, URL_Flag, OCRstreamFlag
1077 esds[idx
[all...]
/frameworks/av/media/libstagefright/webm/
H A DWebmWriter.h119 void initStream(size_t idx);
/frameworks/base/media/jni/
H A Dandroid_media_Utils.h128 status_t getLockedImageInfo(LockedImage* buffer, int idx, int32_t containerFormat,
/frameworks/base/tools/aapt/
H A DXMLNode.cpp1165 ssize_t idx = mAttributeOrder.valueAt(i);
1171 const attribute_entry& attr = mAttributes.itemAt(idx);
1404 ssize_t idx = -1;
1413 idx = strIdx;
1420 idx = strIdx;
1425 if (idx < 0) {
1426 idx = outPool->add(attr.name);
1428 printf("Adding attr %s (resid 0x%08x) to pool: idx=%zd\n",
1429 String8(attr.name).string(), id, SSIZE(idx));
1432 while ((ssize_t)outResIds->size() <= idx) {
[all...]
H A DZipFile.cpp135 ZipEntry* ZipFile::getEntryByIndex(int idx) const
137 if (idx < 0 || idx >= (int) mEntries.size())
140 return mEntries[idx];
158 int idx; local
160 for (idx = mEntries.size()-1; idx >= 0; idx--) {
161 ZipEntry* pEntry = mEntries[idx];

Completed in 607 milliseconds

12345678910