Home
last modified time | relevance | path

Searched refs:pairIndex (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/common/
Dusc_impl.cpp37 int32_t pairIndex; member
78 static void push(UScriptRun *scriptRun, int32_t pairIndex, UScriptCode scriptCode) in push() argument
84 scriptRun->parenStack[scriptRun->parenSP].pairIndex = pairIndex; in push()
164 int32_t pairIndex = 0; in getPairIndex() local
167 pairIndex = pairedCharExtra; in getPairIndex()
173 if (ch >= pairedChars[pairIndex + probe]) { in getPairIndex()
174 pairIndex += probe; in getPairIndex()
178 if (pairedChars[pairIndex] != ch) { in getPairIndex()
179 pairIndex = -1; in getPairIndex()
182 return pairIndex; in getPairIndex()
[all …]
/external/icu/icu4c/source/extra/scrptrun/
Dscrptrun.cpp146 int32_t pairIndex = getPairIndex(ch); in next() local
154 if (pairIndex >= 0) { in next()
155 if ((pairIndex & 1) == 0) { in next()
156 parenStack[++parenSP].pairIndex = pairIndex; in next()
159 int32_t pi = pairIndex & ~1; in next()
161 while (parenSP >= 0 && parenStack[parenSP].pairIndex != pi) { in next()
188 if (pairIndex >= 0 && (pairIndex & 1) != 0 && parenSP >= 0) { in next()
Dscrptrun.h34 int32_t pairIndex; member
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUScriptRun.java356 int pairIndex = getPairIndex(ch); in next() local
366 if (pairIndex >= 0) { in next()
367 if ((pairIndex & 1) == 0) { in next()
368 push(pairIndex, scriptCode); in next()
370 int pi = pairIndex & ~1; in next()
372 while (stackIsNotEmpty() && top().pairIndex != pi) { in next()
391 if (pairIndex >= 0 && (pairIndex & 1) != 0) { in next()
426 int pairIndex; field in UScriptRun.ParenStackEntry
431 pairIndex = thePairIndex; in ParenStackEntry()
480 private final void push(int pairIndex, int scrptCode) in push() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUScriptRun.java358 int pairIndex = getPairIndex(ch); in next() local
368 if (pairIndex >= 0) { in next()
369 if ((pairIndex & 1) == 0) { in next()
370 push(pairIndex, scriptCode); in next()
372 int pi = pairIndex & ~1; in next()
374 while (stackIsNotEmpty() && top().pairIndex != pi) { in next()
393 if (pairIndex >= 0 && (pairIndex & 1) != 0) { in next()
428 int pairIndex; field in UScriptRun.ParenStackEntry
433 pairIndex = thePairIndex; in ParenStackEntry()
482 private final void push(int pairIndex, int scrptCode) in push() argument
[all …]
/external/lzma/CPP/7zip/UI/Common/
DUpdateCallback.cpp537 unsigned pairIndex = _map.AddToUniqueSorted2(pair); in GetStream2() local
542 _hardIndex_To = pairIndex; in GetStream2()