/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.cpp | 98 size_t lastIndex = 0; in getColumnIndices() local 102 lastIndex = line.find(s, lastIndex); in getColumnIndices() 103 if (lastIndex == std::string::npos) { in getColumnIndices() 107 lastIndex += s.length(); in getColumnIndices() 108 indices.push_back(lastIndex); in getColumnIndices() 117 int lastIndex = 0; in parseRecordByColumns() local 122 if (idx <= lastIndex) { in parseRecordByColumns() 125 idx = lastIndex + 1; in parseRecordByColumns() 128 if (lastIndex < idx && lastIndex < lineSize) { in parseRecordByColumns() 134 … fprintf(stderr, "index wrong: lastIndex: %d, idx: %d, lineSize: %d\n", lastIndex, idx, lineSize); in parseRecordByColumns() [all …]
|
/frameworks/ml/nn/common/operations/ |
D | MaximumMinimum.cpp | 44 bool lastIndex = false; in evalGeneric() local 56 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalGeneric() 57 } while (!lastIndex); in evalGeneric() 70 bool lastIndex = false; in evalQuant8() local 84 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalQuant8() 85 } while (!lastIndex); in evalQuant8()
|
D | Pow.cpp | 42 bool lastIndex = false; in evalGeneric() local 54 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalGeneric() 55 } while (!lastIndex); in evalGeneric()
|
D | LogicalAndOr.cpp | 45 bool lastIndex = false; in compute() local 56 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in compute() 57 } while (!lastIndex); in compute()
|
D | PRelu.cpp | 53 bool lastIndex = false; in eval() local 64 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in eval() 65 } while (!lastIndex); in eval()
|
D | Slice.cpp | 66 bool lastIndex = false; in evalGeneric() local 77 NN_RET_CHECK(indexedOutput.nextIndexInplace(&outputIndex, &lastIndex)); in evalGeneric() 78 } while (!lastIndex); in evalGeneric()
|
D | Comparisons.cpp | 50 bool lastIndex = false; in compute() local 68 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in compute() 69 } while (!lastIndex); in compute()
|
D | Broadcast.cpp | 216 bool lastIndex = false; in executeInt32() local 227 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in executeInt32() 228 } while (!lastIndex); in executeInt32()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuUidBpfMapReader.java | 102 int lastIndex = mData.indexOfKey(endUid); in removeUidsInRange() local 103 if (lastIndex < 0) { in removeUidsInRange() 105 lastIndex = mData.indexOfKey(endUid); in removeUidsInRange() 107 mData.removeAtRange(firstIndex, lastIndex - firstIndex + 1); in removeUidsInRange()
|
D | KernelCpuUidTimeReader.java | 164 int lastIndex = mLastTimes.indexOfKey(endUid); in removeUidsInRange() local 165 mLastTimes.removeAtRange(firstIndex, lastIndex - firstIndex + 1); in removeUidsInRange()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | VNodeBuilder.java | 93 int lastIndex = mVNodeList.size() - 1; in onEntryEnded() local 94 mVNodeList.remove(lastIndex--); in onEntryEnded() 95 mCurrentVNode = lastIndex >= 0 ? mVNodeList.get(lastIndex) : null; in onEntryEnded()
|
/frameworks/base/core/jni/android/graphics/ |
D | GIFMovie.cpp | 384 int lastIndex = fCurrIndex; in onGetBitmap() local 385 if (lastIndex < 0) { in onGetBitmap() 387 lastIndex = 0; in onGetBitmap() 388 } else if (lastIndex > fGIF->ImageCount - 1) { in onGetBitmap() 390 lastIndex = fGIF->ImageCount - 1; in onGetBitmap() 400 for (int i = startIndex; i <= lastIndex; i++) { in onGetBitmap() 423 if (i == lastIndex || !checkIfWillBeCleared(cur)) { in onGetBitmap() 429 fLastDrawIndex = lastIndex; in onGetBitmap()
|
/frameworks/base/core/java/android/app/admin/ |
D | FreezePeriod.java | 242 final int lastIndex = result.size() - 1; in canonicalizePeriods() local 243 if (lastIndex > 0 && result.get(lastIndex).mEndDay == DAYS_IN_YEAR in canonicalizePeriods() 245 FreezePeriod wrappedInterval = new FreezePeriod(result.get(lastIndex).mStartDay, in canonicalizePeriods() 247 result.set(lastIndex, wrappedInterval); in canonicalizePeriods()
|
/frameworks/base/test-runner/src/junit/textui/ |
D | TestRunner.java | 164 int lastIndex= arg.lastIndexOf('.'); in start() local 165 testCase= arg.substring(0, lastIndex); in start() 166 method= arg.substring(lastIndex + 1); in start()
|
/frameworks/ml/nn/common/ |
D | IndexedShapeWrapper.cpp | 32 bool IndexedShapeWrapper::nextIndexInplace(std::vector<uint32_t>* index, bool* lastIndex) const { in nextIndexInplace() 43 *lastIndex = true; in nextIndexInplace()
|
/frameworks/base/tests/net/java/com/android/internal/util/ |
D | RingBufferTest.java | 105 int lastIndex = capacity - 1; in testRingBufferWithWrapping() local 126 expected2[lastIndex] = "a"; in testRingBufferWithWrapping()
|
/frameworks/ml/nn/common/include/ |
D | IndexedShapeWrapper.h | 39 bool nextIndexInplace(std::vector<uint32_t>* index, bool* lastIndex) const;
|
/frameworks/base/libs/hwui/tests/scripts/ |
D | prep_generic.sh | 191 lastIndex=$(($index - 1)) 198 chosenIndex=$(($lastIndex - $chosenIndex))
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PseudoGridView.java | 186 int lastIndex = viewGroup.getChildCount() - 1; in refresh() local 187 viewGroup.removeViewAt(lastIndex); in refresh()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 800 int lastIndex = 0; 897 lastIndex = Integer.parseInt(args[i]); 1064 } else if (lastIndex > 0) { 1065 pw.print("LAST STATS AT INDEX "); pw.print(lastIndex); pw.println(":"); 1067 if (lastIndex >= files.size()) { 1071 AtomicFile file = new AtomicFile(new File(files.get(lastIndex))); 1076 pw.print("Failure reading "); pw.print(files.get(lastIndex));
|
D | BroadcastQueue.java | 1931 int lastIndex = mHistoryNext; in writeToProto() local 1932 int ringIndex = lastIndex; in writeToProto() 1941 } while (ringIndex != lastIndex); in writeToProto() 1943 lastIndex = ringIndex = mSummaryHistoryNext; in writeToProto() 1960 } while (ringIndex != lastIndex); in writeToProto() 2008 int lastIndex = mHistoryNext; in dumpLocked() local 2009 int ringIndex = lastIndex; in dumpLocked() 2047 } while (ringIndex != lastIndex); in dumpLocked() 2050 lastIndex = ringIndex = mSummaryHistoryNext; in dumpLocked() 2057 j > 0 && ringIndex != lastIndex;) { in dumpLocked() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardUserSwitcher.java | 223 int lastIndex = mUserSwitcher.getChildCount() - 1; in refresh() local 224 mUserSwitcher.removeViewAt(lastIndex); in refresh()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 440 int lastIndex = 0; in parseCSV() local 443 while ((lastIndex = value.indexOf(",", lastIndex + 1)) > 0) { in parseCSV()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 387 int firstIndex = -1, lastIndex = -2; in appendFrom() local 413 lastIndex = i; in appendFrom() 416 int numObjects = lastIndex - firstIndex + 1; in appendFrom() 452 for (int i = firstIndex; i <= lastIndex; i++) { in appendFrom()
|
/frameworks/base/core/java/android/widget/ |
D | ListView.java | 3314 int lastIndex = getChildCount() - 1; 3315 View last = getChildAt(lastIndex); 3321 recycleBin.addScrapView(last, mFirstPosition+lastIndex); 3324 last = getChildAt(--lastIndex);
|