/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 | 38 bool lastIndex = false; in evalGeneric() local 50 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalGeneric() 51 } while (!lastIndex); in evalGeneric() 64 bool lastIndex = false; in evalQuant8() local 78 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalQuant8() 79 } while (!lastIndex); in evalQuant8()
|
D | Pow.cpp | 39 bool lastIndex = false; in evalGeneric() local 51 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalGeneric() 52 } while (!lastIndex); in evalGeneric()
|
D | LogicalAndOr.cpp | 43 bool lastIndex = false; in compute() local 54 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in compute() 55 } while (!lastIndex); in compute()
|
D | PRelu.cpp | 47 bool lastIndex = false; in eval() local 58 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in eval() 59 } while (!lastIndex); in eval()
|
D | Slice.cpp | 60 bool lastIndex = false; in evalGeneric() local 71 NN_RET_CHECK(indexedOutput.nextIndexInplace(&outputIndex, &lastIndex)); in evalGeneric() 72 } while (!lastIndex); in evalGeneric()
|
D | Comparisons.cpp | 45 bool lastIndex = false; in compute() local 62 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in compute() 63 } while (!lastIndex); in compute()
|
/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/ml/nn/common/include/ |
D | IndexedShapeWrapper.h | 39 bool nextIndexInplace(std::vector<uint32_t>* index, bool* lastIndex) const;
|
/frameworks/base/tests/net/java/com/android/internal/util/ |
D | RingBufferTest.java | 107 int lastIndex = capacity - 1; in testRingBufferWithWrapping() local 128 expected2[lastIndex] = "a"; in testRingBufferWithWrapping()
|
/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/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/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 | 1923 int lastIndex = mHistoryNext; in writeToProto() local 1924 int ringIndex = lastIndex; in writeToProto() 1933 } while (ringIndex != lastIndex); in writeToProto() 1935 lastIndex = ringIndex = mSummaryHistoryNext; in writeToProto() 1952 } while (ringIndex != lastIndex); in writeToProto() 2000 int lastIndex = mHistoryNext; in dumpLocked() local 2001 int ringIndex = lastIndex; in dumpLocked() 2039 } while (ringIndex != lastIndex); in dumpLocked() 2042 lastIndex = ringIndex = mSummaryHistoryNext; in dumpLocked() 2049 j > 0 && ringIndex != lastIndex;) { in dumpLocked() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuUidTimeReader.java | 155 final int lastIndex = mLastTimes.indexOfKey(endUid); in removeUidsInRange() local 156 mLastTimes.removeAtRange(firstIndex, lastIndex - firstIndex + 1); in removeUidsInRange()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialPickerLayout.java | 530 int lastIndex = getCurrentItemShowing(); in setCurrentItemShowing() local 533 if (animate && (index != lastIndex)) { in setCurrentItemShowing()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 473 int firstIndex = -1, lastIndex = -2; in appendFrom() local 499 lastIndex = i; in appendFrom() 502 int numObjects = lastIndex - firstIndex + 1; in appendFrom() 536 for (int i = firstIndex; i <= lastIndex; i++) { in appendFrom()
|
/frameworks/base/core/java/android/widget/ |
D | ListView.java | 3318 int lastIndex = getChildCount() - 1; 3319 View last = getChildAt(lastIndex); 3325 recycleBin.addScrapView(last, mFirstPosition+lastIndex); 3328 last = getChildAt(--lastIndex);
|
D | Editor.java | 1862 int lastIndex = numberOfBlocks; in drawHardwareAccelerated() local 1880 lastIndex = Math.max(indexFirstChangedBlock, i + 1); in drawHardwareAccelerated() 1899 dynamicLayout.setIndexFirstChangedBlock(lastIndex); in drawHardwareAccelerated()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 6312 uint32_t lastIndex = mCurrentRawState.rawPointerData.idToIndex[id]; in dispatchPointerMouse() local 6314 - mLastRawState.rawPointerData.pointers[lastIndex].x) in dispatchPointerMouse() 6317 - mLastRawState.rawPointerData.pointers[lastIndex].y) in dispatchPointerMouse()
|