Home
last modified time | relevance | path

Searched refs:lastIndex (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/cmds/incident_helper/src/
Dih_util.cpp98 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/base/services/core/java/com/android/server/am/
DBroadcastHistory.java132 int lastIndex = mHistoryNext; in dumpDebug() local
133 int ringIndex = lastIndex; in dumpDebug()
142 } while (ringIndex != lastIndex); in dumpDebug()
144 lastIndex = ringIndex = mSummaryHistoryNext; in dumpDebug()
161 } while (ringIndex != lastIndex); in dumpDebug()
175 int lastIndex = mHistoryNext; in dumpLocked() local
176 int ringIndex = lastIndex; in dumpLocked()
214 } while (ringIndex != lastIndex); in dumpLocked()
217 lastIndex = ringIndex = mSummaryHistoryNext; in dumpLocked()
224 j > 0 && ringIndex != lastIndex;) { in dumpLocked()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuUidBpfMapReader.java103 int lastIndex = mData.indexOfKey(endUid); in removeUidsInRange() local
104 if (lastIndex < 0) { in removeUidsInRange()
106 lastIndex = mData.indexOfKey(endUid); in removeUidsInRange()
108 mData.removeAtRange(firstIndex, lastIndex - firstIndex + 1); in removeUidsInRange()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVNodeBuilder.java93 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/libs/hwui/jni/
DGIFMovie.cpp389 int lastIndex = fCurrIndex; in onGetBitmap() local
390 if (lastIndex < 0) { in onGetBitmap()
392 lastIndex = 0; in onGetBitmap()
393 } else if (lastIndex > fGIF->ImageCount - 1) { in onGetBitmap()
395 lastIndex = fGIF->ImageCount - 1; in onGetBitmap()
405 for (int i = startIndex; i <= lastIndex; i++) { in onGetBitmap()
428 if (i == lastIndex || !checkIfWillBeCleared(cur)) { in onGetBitmap()
434 fLastDrawIndex = lastIndex; in onGetBitmap()
/frameworks/base/core/java/android/app/admin/
DFreezePeriod.java242 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/services/permission/java/com/android/server/permission/access/immutable/
DIntSetExtensions.kt44 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
49 inline val IntSet.lastIndex: Int constant
DIndexedListExtensions.kt44 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
49 inline val <T> IndexedList<T>.lastIndex: Int constant
DIndexedListSetExtensions.kt44 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
49 inline val <T> IndexedListSet<T>.lastIndex: Int constant
DIndexedSetExtensions.kt50 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
55 inline val <T> IndexedSet<T>.lastIndex: Int constant
DIntReferenceMapExtensions.kt52 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
57 inline val <I : Immutable<M>, M : I> IntReferenceMap<I, M>.lastIndex: Int constant
DIndexedReferenceMapExtensions.kt52 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
57 inline val <K, I : Immutable<M>, M : I> IndexedReferenceMap<K, I, M>.lastIndex: Int constant
DIntMapExtensions.kt53 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
64 inline val <T> IntMap<T>.lastIndex: Int constant
DIndexedMapExtensions.kt53 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
64 inline val <K, V> IndexedMap<K, V>.lastIndex: Int constant
/frameworks/base/test-junit/src/junit/textui/
DTestRunner.java164 int lastIndex= arg.lastIndexOf('.'); in start() local
165 testCase= arg.substring(0, lastIndex); in start()
166 method= arg.substring(lastIndex + 1); in start()
/frameworks/base/services/permission/java/com/android/server/permission/access/collection/
DArraySetExtensions.kt48 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
53 inline val <T> ArraySet<T>.lastIndex: Int constant
DSparseLongArrayExtensions.kt46 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
60 inline val SparseLongArray.lastIndex: Int constant
DSparseIntArrayExtensions.kt46 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
60 inline val SparseIntArray.lastIndex: Int constant
DLongSparseArrayExtensions.kt46 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
60 inline val <T> LongSparseArray<T>.lastIndex: Int constant
DSparseBooleanArrayExtensions.kt46 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
60 inline val SparseBooleanArray.lastIndex: Int constant
DSparseArrayExtensions.kt46 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
60 inline val <T> SparseArray<T>.lastIndex: Int constant
DArrayMapExtensions.kt46 for (index in lastIndex downTo 0) { in forEachReversedIndexed()
58 inline val <K, V> ArrayMap<K, V>.lastIndex: Int constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherListView.java148 int lastIndex = getChildCount() - 1; in removeLastView() local
149 removeViewAt(lastIndex); in removeLastView()
/frameworks/base/core/tests/coretests/src/android/tracing/perfetto/
DTestDataSource.java76 public int stateIndex = lastIndex++;
78 public static int lastIndex = 0; field in TestDataSource.TestTlsState
/frameworks/base/core/java/android/view/
DCutoutSpecification.java433 int lastIndex = 0;
434 while ((currentIndex = specWithoutDp.indexOf(MARKER_START_CHAR, lastIndex)) != -1) {
438 sb.append(specWithoutDp, lastIndex, currentIndex);
487 lastIndex = currentIndex;
493 sb.append(specWithoutDp, lastIndex, specWithoutDp.length());

12