Home
last modified time | relevance | path

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

12

/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/node/deps/icu-small/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.cpp1134 int32_t i, oldIndex; in ures_swapResource() local
1249 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1250 ds->swapArray16(ds, pKey16+oldIndex, 2, rKey16+i, pErrorCode); in ures_swapResource()
1264 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1265 ds->swapArray32(ds, pKey32+oldIndex, 4, rKey32+i, pErrorCode); in ures_swapResource()
1283 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1284 ds->swapArray32(ds, p+oldIndex, 4, r+i, pErrorCode); in ures_swapResource()
/third_party/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.cpp1134 int32_t i, oldIndex; in ures_swapResource() local
1249 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1250 ds->swapArray16(ds, pKey16+oldIndex, 2, rKey16+i, pErrorCode); in ures_swapResource()
1264 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1265 ds->swapArray32(ds, pKey32+oldIndex, 4, rKey32+i, pErrorCode); in ures_swapResource()
1283 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1284 ds->swapArray32(ds, p+oldIndex, 4, r+i, pErrorCode); in ures_swapResource()
/third_party/skia/third_party/externals/icu/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.cpp1134 int32_t i, oldIndex; in ures_swapResource() local
1249 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1250 ds->swapArray16(ds, pKey16+oldIndex, 2, rKey16+i, pErrorCode); in ures_swapResource()
1264 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1265 ds->swapArray32(ds, pKey32+oldIndex, 4, rKey32+i, pErrorCode); in ures_swapResource()
1283 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1284 ds->swapArray32(ds, p+oldIndex, 4, r+i, pErrorCode); in ures_swapResource()
/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Dtoolutil.cpp336 int32_t oldIndex=mem->idx; in utm_alloc() local
337 int32_t newIndex=oldIndex+1; in utm_alloc()
339 p=(char *)mem->array+oldIndex*mem->size; in utm_alloc()
349 int32_t oldIndex=mem->idx; in utm_allocN() local
350 int32_t newIndex=oldIndex+n; in utm_allocN()
352 p=(char *)mem->array+oldIndex*mem->size; in utm_allocN()
/third_party/node/deps/icu-small/source/tools/toolutil/
Dtoolutil.cpp359 int32_t oldIndex=mem->idx; in utm_alloc() local
360 int32_t newIndex=oldIndex+1; in utm_alloc()
362 p=(char *)mem->array+oldIndex*mem->size; in utm_alloc()
372 int32_t oldIndex=mem->idx; in utm_allocN() local
373 int32_t newIndex=oldIndex+n; in utm_allocN()
375 p=(char *)mem->array+oldIndex*mem->size; in utm_allocN()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/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()
/third_party/flutter/skia/third_party/externals/icu/source/common/
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.cpp1106 int32_t i, oldIndex; in ures_swapResource() local
1221 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1222 ds->swapArray16(ds, pKey16+oldIndex, 2, rKey16+i, pErrorCode); in ures_swapResource()
1236 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1237 ds->swapArray32(ds, pKey32+oldIndex, 4, rKey32+i, pErrorCode); in ures_swapResource()
1255 oldIndex=pTempTable->rows[i].sortIndex; in ures_swapResource()
1256 ds->swapArray32(ds, p+oldIndex, 4, r+i, pErrorCode); in ures_swapResource()
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/
Dreorderable_list_demo.dart165 void _onReorder(int oldIndex, int newIndex) {
167 if (newIndex > oldIndex) {
170 final _ListItem item = _items.removeAt(oldIndex);
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dreorderable_list.dart20 /// Implementations should remove the corresponding list item at [oldIndex]
23 /// If [oldIndex] is before [newIndex], removing the item at [oldIndex] from the
35 /// void handleReorder(int oldIndex, int newIndex) {
36 /// if (oldIndex < newIndex) {
37 /// // removing the item at oldIndex will shorten the list by 1.
40 /// final MyDataObject element = backingList.removeAt(oldIndex);
45 typedef ReorderCallback = void Function(int oldIndex, int newIndex);
/third_party/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()
/third_party/flutter/flutter/packages/flutter/test/material/
Dreorderable_list_test.dart16 void onReorder(int oldIndex, int newIndex) {
17 if (oldIndex < newIndex) {
20 final String element = listItems.removeAt(oldIndex);
135 onReorder: (int oldIndex, int newIndex) { },
201 onReorder: (int oldIndex, int newIndex) { },
218 onReorder: (int oldIndex, int newIndex) { },
235 onReorder: (int oldIndex, int newIndex) { },
273 onReorder: (int oldIndex, int newIndex) { },
455 onReorder: (int oldIndex, int newIndex) { },
563 onReorder: (int oldIndex, int newIndex) { },
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/view/
DAccessibilityBridge.java1418 int oldIndex = oldValue.length() - 1; in createTextChangedEvent() local
1420 while (oldIndex >= firstDifference && newIndex >= firstDifference) { in createTextChangedEvent()
1421 if (oldValue.charAt(oldIndex) != newValue.charAt(newIndex)) { in createTextChangedEvent()
1424 --oldIndex; in createTextChangedEvent()
1427 e.setRemovedCount(oldIndex - firstDifference + 1); in createTextChangedEvent()
/third_party/typescript/src/compiler/
Dcore.ts2174 let oldIndex = 0;
2178 while (newIndex < newLen && oldIndex < oldLen) {
2180 const oldItem = oldItems[oldIndex]; constant
2189 oldIndex++;
2195 oldIndex++;
2202 while (oldIndex < oldLen) {
2203 deleted(oldItems[oldIndex++]);

12