Home
last modified time | relevance | path

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

123

/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/chromium_org/chrome/browser/resources/file_manager/foreground/js/
Dfolder_shortcuts_data_model.js241 var oldIndex = 0; // Index of oldArray.
246 for (; oldIndex < oldArray.length; oldIndex++) {
249 permutation[oldIndex] = -1;
256 if (oldArray[oldIndex] == newArray[newIndex]) {
257 permutation[oldIndex] = newIndex;
263 if (this.compare(oldArray[oldIndex], newArray[newIndex]) < 0) {
264 permutation[oldIndex] = -1;
/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/chromium_org/third_party/icu/source/tools/toolutil/
Dtoolutil.cpp304 int32_t oldIndex=mem->idx; in utm_alloc() local
305 int32_t newIndex=oldIndex+1; in utm_alloc()
307 p=(char *)mem->array+oldIndex*mem->size; in utm_alloc()
317 int32_t oldIndex=mem->idx; in utm_allocN() local
318 int32_t newIndex=oldIndex+n; in utm_allocN()
320 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/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/ui/
Darray_data_model.js124 var oldIndex = this.indexes_[i];
125 if (oldIndex < index) {
126 newIndexes.push(oldIndex);
128 } else if (oldIndex >= index + deleteCount) {
129 newIndexes.push(oldIndex - deleteCount + addCount);
Dlist_selection_model.js252 this.selectedIndexes = oldSelectedIndexes.map(function(oldIndex) { argument
253 return permutation[oldIndex];
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DBookmarksBridge.java73 BookmarkItem oldParent, int oldIndex, BookmarkItem newParent, int newIndex); in bookmarkNodeMoved() argument
88 void bookmarkNodeRemoved(BookmarkItem parent, int oldIndex, BookmarkItem node); in bookmarkNodeRemoved() argument
226 BookmarkItem oldParent, int oldIndex, BookmarkItem newParent, int newIndex) { in bookmarkNodeMoved() argument
228 observer.bookmarkNodeMoved(oldParent, oldIndex, newParent, newIndex); in bookmarkNodeMoved()
240 private void bookmarkNodeRemoved(BookmarkItem parent, int oldIndex, BookmarkItem node) { in bookmarkNodeRemoved() argument
242 observer.bookmarkNodeRemoved(parent, oldIndex, node); in bookmarkNodeRemoved()
/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_org/third_party/WebKit/Source/core/dom/
DStyleSheetCollection.cpp119 for (unsigned oldIndex = 0; oldIndex < oldStyleSheetCount; ++oldIndex) { in compareStyleSheets() local
120 while (oldStyleSheets[oldIndex] != newStylesheets[newIndex]) { in compareStyleSheets()
/external/chromium_org/ui/app_list/cocoa/
Dapps_grid_controller.mm592 NSUInteger oldIndex = [self selectedItemIndex];
595 if (oldIndex == NSNotFound) {
601 if (indexDelta < 0 && static_cast<NSUInteger>(-indexDelta) > oldIndex)
605 if (oldIndex + indexDelta >= [items_ count]) {
614 [self selectItemAtIndex:oldIndex + indexDelta];
635 NSUInteger oldIndex = [self selectedItemIndex];
637 if (oldIndex == NSNotFound) {
643 return oldIndex % kFixedColumns == 0 ?
649 return oldIndex % kFixedColumns == kFixedColumns - 1 ?
655 return oldIndex / kFixedColumns % kFixedRows == 0 ?
[all …]
/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/chromium_org/third_party/WebKit/Source/wtf/
DPartitionAlloc.cpp442 size_t oldIndex; in partitionReallocGeneric() local
447 oldIndex = bucket - root->buckets(); in partitionReallocGeneric()
449 oldIndex = root->numBuckets; in partitionReallocGeneric()
458 if (oldIndex == newIndex) { in partitionReallocGeneric()
461 if (oldIndex == root->numBuckets) in partitionReallocGeneric()
467 size_t copySize = oldIndex << kBucketShift; in partitionReallocGeneric()
/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_org/chrome/common/mac/
Dobjc_zombie.mm348 size_t oldIndex = g_zombieIndex;
362 g_zombieIndex = oldIndex;
373 oldIndex = (oldIndex + oldCount - sharedCount) % oldCount;
377 DCHECK_LT(oldIndex, oldCount);
378 std::swap(g_zombies[g_zombieIndex], oldZombies[oldIndex]);
379 oldIndex = (oldIndex + 1) % oldCount;
/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/chromium_org/third_party/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/chromium_org/third_party/icu/source/common/
Ducnv_io.c1196 uint16_t oldIndex; in ucnv_swapAliases() local
1279 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1280 ds->swapArray16(ds, p+oldIndex, 2, q+i, pErrorCode); in ucnv_swapAliases()
1281 ds->swapArray16(ds, p2+oldIndex, 2, q2+i, pErrorCode); in ucnv_swapAliases()
1292 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1293 ds->swapArray16(ds, p+oldIndex, 2, r+i, pErrorCode); in ucnv_swapAliases()
1298 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1299 ds->swapArray16(ds, p2+oldIndex, 2, r+i, pErrorCode); in ucnv_swapAliases()
/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()
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dlist_selection_model.js330 this.selectedIndexes = this.selectedIndexes.map(function(oldIndex) { argument
331 return permutation[oldIndex];

123