Home
last modified time | relevance | path

Searched refs:oldIndex (Results 1 – 25 of 26) sorted by relevance

12

/external/proguard/src/proguard/optimize/evaluation/
DVariableOptimizer.java126 for (int oldIndex = 0; oldIndex < variableSize; oldIndex++) in visitCodeAttribute()
129 variableMap[oldIndex] = oldIndex; in visitCodeAttribute()
132 if (oldIndex >= parameterSize && in visitCodeAttribute()
133 oldIndex < MAX_VARIABLES_SIZE) in visitCodeAttribute()
136 for (int newIndex = startIndex; newIndex < oldIndex; newIndex++) in visitCodeAttribute()
138 if (areNonOverlapping(oldIndex, newIndex, codeLength)) in visitCodeAttribute()
140 variableMap[oldIndex] = newIndex; in visitCodeAttribute()
142 updateLiveness(oldIndex, newIndex, codeLength); in visitCodeAttribute()
/external/proguard/src/proguard/classfile/editor/
DConstantPoolSorter.java64 for (int oldIndex = 1; oldIndex < constantPoolCount; oldIndex++) in visitProgramClass()
66 Constant constant = programClass.constantPool[oldIndex]; in visitProgramClass()
70 new ComparableConstant(programClass, oldIndex, constant); in visitProgramClass()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleIDParser.java242 int oldIndex = index; // save original index in parseScript() local
260 if (index - oldIndex != 5) { // +1 to account for separator in parseScript()
261 index = oldIndex; in parseScript()
281 int oldIndex = index; in skipScript() local
288 if (index - oldIndex != 5) { // +1 to account for separator in skipScript()
289 index = oldIndex; in skipScript()
301 int oldIndex = index; in parseCountry() local
326 index = oldIndex; in parseCountry()
358 int oldIndex = index; in skipCountry() local
361 int charsSkipped = index - oldIndex; in skipCountry()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DLocaleIDParser.java244 int oldIndex = index; // save original index in parseScript() local
262 if (index - oldIndex != 5) { // +1 to account for separator in parseScript()
263 index = oldIndex; in parseScript()
283 int oldIndex = index; in skipScript() local
290 if (index - oldIndex != 5) { // +1 to account for separator in skipScript()
291 index = oldIndex; in skipScript()
303 int oldIndex = index; in parseCountry() local
328 index = oldIndex; in parseCountry()
360 int oldIndex = index; in skipCountry() local
363 int charsSkipped = index - oldIndex; in skipCountry()
[all …]
/external/icu/libicu/cts_headers/
Duniquecharstr.h66 int32_t oldIndex = uhash_geti(&map, p); in add() local
67 if (oldIndex != 0) { // found duplicate in add()
68 return oldIndex; in add()
/external/icu/icu4c/source/common/
Duniquecharstr.h66 int32_t oldIndex = uhash_geti(&map, p); in add() local
67 if (oldIndex != 0) { // found duplicate in add()
68 return oldIndex; in add()
Ducnv_io.cpp1214 uint16_t oldIndex; in ucnv_swapAliases() local
1297 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1298 ds->swapArray16(ds, p+oldIndex, 2, q+i, pErrorCode); in ucnv_swapAliases()
1299 ds->swapArray16(ds, p2+oldIndex, 2, q2+i, pErrorCode); in ucnv_swapAliases()
1310 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1311 ds->swapArray16(ds, p+oldIndex, 2, r+i, pErrorCode); in ucnv_swapAliases()
1316 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1317 ds->swapArray16(ds, p2+oldIndex, 2, r+i, pErrorCode); in ucnv_swapAliases()
Duresdata.cpp1142 int32_t i, oldIndex; in ures_swapResource() local
1257 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1258 ds->swapArray16(ds, pKey16+oldIndex, 2, rKey16+i, pErrorCode); in ures_swapResource()
1272 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1273 ds->swapArray32(ds, pKey32+oldIndex, 4, rKey32+i, pErrorCode); in ures_swapResource()
1291 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1292 ds->swapArray32(ds, p+oldIndex, 4, r+i, pErrorCode); in ures_swapResource()
/external/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp335 int32_t oldIndex=mem->idx; in utm_alloc() local
336 int32_t newIndex=oldIndex+1; in utm_alloc()
338 p=(char *)mem->array+oldIndex*mem->size; in utm_alloc()
348 int32_t oldIndex=mem->idx; in utm_allocN() local
349 int32_t newIndex=oldIndex+n; in utm_allocN()
351 p=(char *)mem->array+oldIndex*mem->size; in utm_allocN()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/
DSharedFlow.kt235 val oldIndex = index in freeLocked() constant
238 return flow.updateCollectorIndexLocked(oldIndex) in freeLocked()
454 internal fun updateCollectorIndexLocked(oldIndex: Long): Array<Continuation<Unit>?> { in updateCollectorIndexLocked()
455 assert { oldIndex >= minCollectorIndex } in updateCollectorIndexLocked()
456 if (oldIndex > minCollectorIndex) return EMPTY_RESUMES // nothing changes, it was not min in updateCollectorIndexLocked()
564 val oldIndex = slot.index in tryTakeValue() constant
567 resumes = updateCollectorIndexLocked(oldIndex) in tryTakeValue()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DCoroutineScheduler.kt149 internal fun parkedWorkersStackTopUpdate(worker: Worker, oldIndex: Int, newIndex: Int) { in <lambda>()
153 val updIndex = if (index == oldIndex) { in <lambda>()
812 val oldIndex = indexInArray in <lambda>() constant
821 parkedWorkersStackTopUpdate(this, oldIndex, 0) in <lambda>()
827 if (lastIndex != oldIndex) { in <lambda>()
829 workers[oldIndex] = lastWorker in <lambda>()
830 lastWorker.indexInArray = oldIndex in <lambda>()
838 parkedWorkersStackTopUpdate(lastWorker, lastIndex, oldIndex) in <lambda>()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDefaultDashChunkSource.java653 DashSegmentIndex oldIndex = representation.getIndex();
656 if (oldIndex == null) {
659 newPeriodDurationUs, newRepresentation, extractorWrapper, segmentNumShift, oldIndex);
662 if (!oldIndex.isExplicit()) {
668 int oldIndexSegmentCount = oldIndex.getSegmentCount(newPeriodDurationUs);
675 long oldIndexFirstSegmentNum = oldIndex.getFirstSegmentNum();
676 long oldIndexStartTimeUs = oldIndex.getTimeUs(oldIndexFirstSegmentNum);
679 oldIndex.getTimeUs(oldIndexLastSegmentNum)
680 + oldIndex.getDurationUs(oldIndexLastSegmentNum, newPeriodDurationUs);
700 oldIndex.getSegmentNum(newIndexStartTimeUs, newPeriodDurationUs)
/external/icu/android_icu4j/src/main/java/android/icu/text/
DScientificNumberFormatter.java129 int oldIndex = iterator.getIndex(); in append() local
135 iterator.setIndex(oldIndex); in append()
262 int oldIndex = iterator.getIndex(); in copyAsSuperscript() local
272 iterator.setIndex(oldIndex); in copyAsSuperscript()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DScientificNumberFormatter.java140 int oldIndex = iterator.getIndex(); in append() local
146 iterator.setIndex(oldIndex); in append()
273 int oldIndex = iterator.getIndex(); in copyAsSuperscript() local
283 iterator.setIndex(oldIndex); in copyAsSuperscript()
/external/mesa3d/src/mesa/tnl/
Dt_vertex.c485 GLuint oldIndex; in _tnl_emit_indexed_vertices_to_buffer() local
488 update_input_ptrs(ctx, oldIndex = elts[start++]); in _tnl_emit_indexed_vertices_to_buffer()
493 adjust_input_ptrs(ctx, elts[start] - oldIndex); in _tnl_emit_indexed_vertices_to_buffer()
494 oldIndex = elts[start]; in _tnl_emit_indexed_vertices_to_buffer()
/external/lzma/CPP/7zip/UI/Common/
DArchiveCommandLine.cpp459 int oldIndex = -1; in AddToCensorFromNonSwitchesStrings() local
473 if (oldIndex == -1) in AddToCensorFromNonSwitchesStrings()
474 oldIndex = i; in AddToCensorFromNonSwitchesStrings()
478 …AddRenamePair(renamePairs, nonSwitchStrings[oldIndex], s, NRecursedType::kNonRecursed, wildcardMat… in AddToCensorFromNonSwitchesStrings()
480 oldIndex = -1; in AddToCensorFromNonSwitchesStrings()
487 if (oldIndex != -1) in AddToCensorFromNonSwitchesStrings()
489 … CArcCmdLineException("There is no second file name for rename pair:", nonSwitchStrings[oldIndex]); in AddToCensorFromNonSwitchesStrings()
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DPlayerManager.java348 int oldIndex = this.currentItemIndex; in maybeSetCurrentItemAndNotify() local
350 listener.onQueuePositionChanged(oldIndex, currentItemIndex); in maybeSetCurrentItemAndNotify()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DTiling.cpp190 Value oldIndex = block.getArgument(i); in transformIndexedGenericOpIndices() local
193 Value newIndex = b.create<AddIOp>(indexedGenericOp.getLoc(), oldIndex, in transformIndexedGenericOpIndices()
195 for (auto &use : oldIndex.getUses()) { in transformIndexedGenericOpIndices()
DFusion.cpp143 Value oldIndex = block.getArgument(i); in cloneWithLoopRanges() local
145 AddIOp newIndex = b.create<AddIOp>(indexedGenericOp.getLoc(), oldIndex, in cloneWithLoopRanges()
147 oldIndex.replaceAllUsesExcept(newIndex, in cloneWithLoopRanges()
/external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/
DShadowDOM.js434 var oldIndex = oldStart;
443 oldIndex++;
450 splice.removed.push(old[oldIndex]);
451 oldIndex++;
462 splice.removed.push(old[oldIndex]);
463 oldIndex++;
3682 var newIndex = 0, oldIndex = 0;
3687 oldIndex++;
3692 var wrapper = wrap(oldChildren[oldIndex++]);
3696 var refNode = oldChildren[oldIndex] && wrap(oldChildren[oldIndex]);
Dwebcomponents.js479 var oldIndex = oldStart;
488 oldIndex++;
495 splice.removed.push(old[oldIndex]);
496 oldIndex++;
507 splice.removed.push(old[oldIndex]);
508 oldIndex++;
3689 var newIndex = 0, oldIndex = 0;
3694 oldIndex++;
3699 var wrapper = wrap(oldChildren[oldIndex++]);
3703 var refNode = oldChildren[oldIndex] && wrap(oldChildren[oldIndex]);
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java1551 for (int oldIndex = 0; oldIndex < oldCapacity; ++oldIndex) { in expand()
1554 E head = oldTable.get(oldIndex); in expand()
/external/guava/android/guava/src/com/google/common/collect/
DMapMakerInternalMap.java1556 for (int oldIndex = 0; oldIndex < oldCapacity; ++oldIndex) { in expand()
1559 E head = oldTable.get(oldIndex); in expand()
/external/guava/android/guava/src/com/google/common/cache/
DLocalCache.java2783 for (int oldIndex = 0; oldIndex < oldCapacity; ++oldIndex) { in expand()
2786 ReferenceEntry<K, V> head = oldTable.get(oldIndex); in expand()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java2867 for (int oldIndex = 0; oldIndex < oldCapacity; ++oldIndex) { in expand()
2870 ReferenceEntry<K, V> head = oldTable.get(oldIndex); in expand()

12