Home
last modified time | relevance | path

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

/external/proguard/src/proguard/optimize/evaluation/
DVariableOptimizer.java118 for (int oldIndex = 0; oldIndex < variableSize; oldIndex++) in visitCodeAttribute()
121 variableMap[oldIndex] = oldIndex; in visitCodeAttribute()
124 if (oldIndex >= parameterSize && in visitCodeAttribute()
125 oldIndex < MAX_VARIABLES_SIZE) in visitCodeAttribute()
128 for (int newIndex = startIndex; newIndex < oldIndex; newIndex++) in visitCodeAttribute()
130 if (areNonOverlapping(oldIndex, newIndex, codeLength)) in visitCodeAttribute()
132 variableMap[oldIndex] = newIndex; in visitCodeAttribute()
134 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/chromium/chrome/browser/resources/shared/js/cr/ui/table/
Dtable_data_model.js102 var oldIndex = this.indexes_[i];
103 if (oldIndex < index) {
104 newIndexes.push(oldIndex);
106 } else if (oldIndex >= index + deleteCount) {
107 newIndexes.push(oldIndex - deleteCount + addCount);
Dtable_selection_model.js36 this.selectedIndexes = oldSelectedIndexes.map(function(oldIndex) { argument
37 return permutation[oldIndex];
/external/icu4c/tools/toolutil/
Dtoolutil.cpp308 int32_t oldIndex=mem->idx; in utm_alloc() local
309 int32_t newIndex=oldIndex+1; in utm_alloc()
311 p=(char *)mem->array+oldIndex*mem->size; in utm_alloc()
321 int32_t oldIndex=mem->idx; in utm_allocN() local
322 int32_t newIndex=oldIndex+n; in utm_allocN()
324 p=(char *)mem->array+oldIndex*mem->size; in utm_allocN()
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRegisterSpecList.java314 for (int oldIndex = 0; oldIndex < size(); oldIndex++) { in subset()
315 if (!exclusionSet.get(oldIndex)) { in subset()
316 result.set0(newIndex, get0(oldIndex)); in subset()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DSsaBasicBlock.java494 public void replaceSuccessor(int oldIndex, int newIndex) { in replaceSuccessor() argument
495 if (oldIndex == newIndex) { in replaceSuccessor()
502 if (primarySuccessor == oldIndex) { in replaceSuccessor()
507 if (successorList.get(i) == oldIndex) { in replaceSuccessor()
512 successors.clear(oldIndex); in replaceSuccessor()
518 parent.getBlocks().get(oldIndex).predecessors.clear(index); in replaceSuccessor()
526 public void removeSuccessor(int oldIndex) { in removeSuccessor() argument
530 if (successorList.get(i) == oldIndex) { in removeSuccessor()
538 successors.clear(oldIndex); in removeSuccessor()
539 parent.getBlocks().get(oldIndex).predecessors.clear(index); in removeSuccessor()
/external/chromium/chrome/browser/ui/cocoa/
Dobjc_zombie.mm331 size_t oldIndex = g_zombieIndex;
345 g_zombieIndex = oldIndex;
356 oldIndex = (oldIndex + oldCount - sharedCount) % oldCount;
360 DCHECK_LT(oldIndex, oldCount);
361 std::swap(g_zombies[g_zombieIndex], oldZombies[oldIndex]);
362 oldIndex = (oldIndex + 1) % oldCount;
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java1077 int oldIndex = indexBuf.get(i); in extractVertexData() local
1079 if (!oldIndicesToNewIndices.containsKey(oldIndex)) { in extractVertexData()
1082 oldIndicesToNewIndices.put(oldIndex, newIndex); in extractVertexData()
1083 newIndicesToOldIndices.add(oldIndex); in extractVertexData()
1109 int oldIndex = indexBuf.get(i); in extractVertexData() local
1110 newIndex = oldIndicesToNewIndices.get(oldIndex); in extractVertexData()
1141 int oldIndex = newIndicesToOldIndices.get(i); in extractVertexData() local
1145 oldVb.copyElement(oldIndex, newVb, i); in extractVertexData()
/external/chromium/chrome/browser/resources/ntp/
Dmost_visited.js123 var oldIndex = -1;
129 oldIndex = i;
157 } else if (oldIndex != -1) {
159 oldData.splice(oldIndex, 1, newItem);
174 addPinnedUrl(oldItem, oldIndex);
/external/skia/src/gpu/effects/
DGrTextureStripAtlas.cpp141 int oldIndex = this->searchByKey(oldKey); in lockRow() local
142 if (oldIndex < index) { in lockRow()
146 fKeyTable.remove(oldIndex); in lockRow()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
DCTableCombo.java389 int oldIndex = getSelectionIndex(); in handleTextEvent() local
391 select(Math.max(oldIndex - 1, 0)); in handleTextEvent()
393 select(Math.min(oldIndex + 1, getItemCount() - 1)); in handleTextEvent()
395 if (oldIndex != getSelectionIndex()) { in handleTextEvent()
409 int oldIndex = getSelectionIndex(); in handleTextEvent() local
420 if (oldIndex != getSelectionIndex()) { in handleTextEvent()
/external/icu4c/common/
Ducnv_io.cpp1215 uint16_t oldIndex; in ucnv_swapAliases() local
1298 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1299 ds->swapArray16(ds, p+oldIndex, 2, q+i, pErrorCode); in ucnv_swapAliases()
1300 ds->swapArray16(ds, p2+oldIndex, 2, q2+i, pErrorCode); in ucnv_swapAliases()
1311 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1312 ds->swapArray16(ds, p+oldIndex, 2, r+i, pErrorCode); in ucnv_swapAliases()
1317 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1318 ds->swapArray16(ds, p2+oldIndex, 2, r+i, pErrorCode); in ucnv_swapAliases()
Duresdata.c772 int32_t i, oldIndex; in ures_swapResource() local
887 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
888 ds->swapArray16(ds, pKey16+oldIndex, 2, rKey16+i, pErrorCode); in ures_swapResource()
902 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
903 ds->swapArray32(ds, pKey32+oldIndex, 4, rKey32+i, pErrorCode); in ures_swapResource()
921 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
922 ds->swapArray32(ds, p+oldIndex, 4, r+i, pErrorCode); in ures_swapResource()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_bridge_unittest.mm55 oldParent:(const BookmarkNode*)oldParent oldIndex:(int)oldIndex
Dbookmark_bar_controller.h365 oldParent:(const BookmarkNode*)oldParent oldIndex:(int)oldIndex
Dbookmark_bar_bridge.mm41 oldParent:old_parent oldIndex:old_index
Dbookmark_bar_controller.mm2080 oldParent:(const BookmarkNode*)oldParent oldIndex:(int)oldIndex
2088 [oldController moveButtonFromIndex:oldIndex toIndex:newIndex];
2090 [oldController removeButton:oldIndex animate:NO];
/external/chromium/chrome/browser/resources/bookmark_manager/js/bmm/
Dbookmark_list.js276 var bookmarkNode = this.dataModel.item(moveInfo.oldIndex);
277 this.dataModel.splice(moveInfo.oldIndex, 1);
/external/webkit/Source/WebCore/inspector/front-end/
DScriptsPanel.js547 var oldIndex = this._currentBackForwardIndex;
548 if (oldIndex >= 0)
549 this._backForwardList.splice(oldIndex + 1, this._backForwardList.length - oldIndex);
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java2625 for (int oldIndex = 0; oldIndex < oldCapacity; ++oldIndex) { in expand()
2628 ReferenceEntry<K, V> head = oldTable.get(oldIndex); in expand()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java2947 for (int oldIndex = 0; oldIndex < oldCapacity; ++oldIndex) { in expand()
2950 ReferenceEntry<K, V> head = oldTable.get(oldIndex); in expand()
/external/icu4c/test/intltest/
Dregextst.cpp156 int64_t oldIndex = utext_getNativeIndex(text); in utextToPrintable() local
181 utext_setNativeIndex(text, oldIndex); in utextToPrintable()
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller.mm1169 NSInteger oldIndex = [self indexFromModelIndex:oldModelIndex];
1171 [tabContentsArray_ objectAtIndex:oldIndex];