Home
last modified time | relevance | path

Searched refs:oldIndex (Results 1 – 25 of 45) 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/chromium_org/ui/file_manager/file_manager/foreground/js/
Dfolder_shortcuts_data_model.js418 var oldIndex = 0; // Index of oldArray.
423 for (; oldIndex < oldArray.length; oldIndex++) {
426 permutation[oldIndex] = -1;
433 if (util.isSameEntry(oldArray[oldIndex], newArray[newIndex])) {
434 permutation[oldIndex] = newIndex;
440 if (this.compare(oldArray[oldIndex], newArray[newIndex]) < 0) {
441 permutation[oldIndex] = -1;
/external/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp331 int32_t oldIndex=mem->idx; in utm_alloc() local
332 int32_t newIndex=oldIndex+1; in utm_alloc()
334 p=(char *)mem->array+oldIndex*mem->size; in utm_alloc()
344 int32_t oldIndex=mem->idx; in utm_allocN() local
345 int32_t newIndex=oldIndex+n; in utm_allocN()
347 p=(char *)mem->array+oldIndex*mem->size; in utm_allocN()
/external/chromium_org/third_party/icu/source/tools/toolutil/
Dtoolutil.cpp330 int32_t oldIndex=mem->idx; in utm_alloc() local
331 int32_t newIndex=oldIndex+1; in utm_alloc()
333 p=(char *)mem->array+oldIndex*mem->size; in utm_alloc()
343 int32_t oldIndex=mem->idx; in utm_allocN() local
344 int32_t newIndex=oldIndex+n; in utm_allocN()
346 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/third_party/WebKit/Source/core/dom/
DTreeScopeStyleSheetCollection.cpp79 for (unsigned oldIndex = 0; oldIndex < oldStyleSheetCount; ++oldIndex) { in compareStyleSheets() local
80 while (oldStyleSheets[oldIndex] != newStylesheets[newIndex]) { in compareStyleSheets()
/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/wtf/
DDoubleBufferedDeque.h32 int oldIndex = m_activeIndex; in swapBuffers() local
35 return m_queue[oldIndex]; in swapBuffers()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DBookmarksBridge.java69 BookmarkItem oldParent, int oldIndex, BookmarkItem newParent, int newIndex) { in bookmarkNodeMoved() argument
90 public void bookmarkNodeRemoved(BookmarkItem parent, int oldIndex, BookmarkItem node, in bookmarkNodeRemoved() argument
94 bookmarkNodeRemoved(parent, oldIndex, node); in bookmarkNodeRemoved()
104 public void bookmarkNodeRemoved(BookmarkItem parent, int oldIndex, BookmarkItem node) { in bookmarkNodeRemoved() argument
514 BookmarkItem oldParent, int oldIndex, BookmarkItem newParent, int newIndex) { in bookmarkNodeMoved() argument
518 observer.bookmarkNodeMoved(oldParent, oldIndex, newParent, newIndex); in bookmarkNodeMoved()
532 private void bookmarkNodeRemoved(BookmarkItem parent, int oldIndex, BookmarkItem node) { in bookmarkNodeRemoved() argument
534 observer.bookmarkNodeRemoved(parent, oldIndex, node, in bookmarkNodeRemoved()
/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_org/chrome/common/mac/
Dobjc_zombie.mm350 size_t oldIndex = g_zombieIndex;
364 g_zombieIndex = oldIndex;
375 oldIndex = (oldIndex + oldCount - sharedCount) % oldCount;
379 DCHECK_LT(oldIndex, oldCount);
380 std::swap(g_zombies[g_zombieIndex], oldZombies[oldIndex]);
381 oldIndex = (oldIndex + 1) % oldCount;
/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/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/icu/icu4c/source/common/
Ducnv_io.cpp1201 uint16_t oldIndex; in ucnv_swapAliases() local
1284 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1285 ds->swapArray16(ds, p+oldIndex, 2, q+i, pErrorCode); in ucnv_swapAliases()
1286 ds->swapArray16(ds, p2+oldIndex, 2, q2+i, pErrorCode); in ucnv_swapAliases()
1297 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1298 ds->swapArray16(ds, p+oldIndex, 2, r+i, pErrorCode); in ucnv_swapAliases()
1303 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1304 ds->swapArray16(ds, p2+oldIndex, 2, r+i, pErrorCode); in ucnv_swapAliases()
Duresdata.c770 int32_t i, oldIndex; in ures_swapResource() local
885 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
886 ds->swapArray16(ds, pKey16+oldIndex, 2, rKey16+i, pErrorCode); in ures_swapResource()
900 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
901 ds->swapArray32(ds, pKey32+oldIndex, 4, rKey32+i, pErrorCode); in ures_swapResource()
919 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
920 ds->swapArray32(ds, p+oldIndex, 4, r+i, pErrorCode); in ures_swapResource()
/external/chromium_org/third_party/icu/source/common/
Ducnv_io.cpp1201 uint16_t oldIndex; in ucnv_swapAliases() local
1284 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1285 ds->swapArray16(ds, p+oldIndex, 2, q+i, pErrorCode); in ucnv_swapAliases()
1286 ds->swapArray16(ds, p2+oldIndex, 2, q2+i, pErrorCode); in ucnv_swapAliases()
1297 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1298 ds->swapArray16(ds, p+oldIndex, 2, r+i, pErrorCode); in ucnv_swapAliases()
1303 oldIndex=tempTable.rows[i].sortIndex; in ucnv_swapAliases()
1304 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_org/ui/webui/resources/js/cr/ui/
Dlist_selection_model.js330 this.selectedIndexes = this.selectedIndexes.map(function(oldIndex) { argument
331 return permutation[oldIndex];
/external/chromium_org/chrome/browser/ui/cocoa/media_picker/
Ddesktop_media_picker_bridge.h15 - (void)sourceMovedFrom:(int)oldIndex to:(int)newIndex;
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
Dt_vertex.c468 GLuint oldIndex; in _tnl_emit_indexed_vertices_to_buffer() local
471 update_input_ptrs(ctx, oldIndex = elts[start++]); in _tnl_emit_indexed_vertices_to_buffer()
476 adjust_input_ptrs(ctx, elts[start] - oldIndex); in _tnl_emit_indexed_vertices_to_buffer()
477 oldIndex = elts[start]; in _tnl_emit_indexed_vertices_to_buffer()
/external/mesa3d/src/mesa/tnl/
Dt_vertex.c468 GLuint oldIndex; in _tnl_emit_indexed_vertices_to_buffer() local
471 update_input_ptrs(ctx, oldIndex = elts[start++]); in _tnl_emit_indexed_vertices_to_buffer()
476 adjust_input_ptrs(ctx, elts[start] - oldIndex); in _tnl_emit_indexed_vertices_to_buffer()
477 oldIndex = elts[start]; in _tnl_emit_indexed_vertices_to_buffer()

12