Home
last modified time | relevance | path

Searched refs:parenSP (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/extra/scrptrun/
Dscrptrun.cpp117 int32_t startSP = parenSP; // used to find the first new open character in next()
156 parenStack[++parenSP].pairIndex = pairIndex; in next()
157 parenStack[parenSP].scriptCode = scriptCode; in next()
158 } else if (parenSP >= 0) { in next()
161 while (parenSP >= 0 && parenStack[parenSP].pairIndex != pi) { in next()
162 parenSP -= 1; in next()
165 if (parenSP < startSP) { in next()
166 startSP = parenSP; in next()
169 if (parenSP >= 0) { in next()
170 sc = parenStack[parenSP].scriptCode; in next()
[all …]
Dscrptrun.h87 int32_t parenSP; variable
139 parenSP = -1; in reset()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUScriptRun.java156 parenSP = -1; in reset()
485 parenSP = inc(parenSP); in push()
486 parenStack[parenSP] = new ParenStackEntry(pairIndex, scrptCode); in push()
496 parenStack[parenSP] = null; in pop()
503 parenSP = dec(parenSP); in pop()
508 parenSP = -1; in pop()
514 return parenStack[parenSP]; in top()
524 int fixupSP = dec(parenSP, fixupCount); in fixup()
546 private int parenSP = -1; field in UScriptRun
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUScriptRun.java158 parenSP = -1; in reset()
487 parenSP = inc(parenSP); in push()
488 parenStack[parenSP] = new ParenStackEntry(pairIndex, scrptCode); in push()
498 parenStack[parenSP] = null; in pop()
505 parenSP = dec(parenSP); in pop()
510 parenSP = -1; in pop()
516 return parenStack[parenSP]; in top()
526 int fixupSP = dec(parenSP, fixupCount); in fixup()
548 private int parenSP = -1; field in UScriptRun
/external/icu/icu4c/source/common/
Dusc_impl.cpp32 #define TOP(scriptRun) ((scriptRun)->parenStack[(scriptRun)->parenSP])
51 int32_t parenSP; member
83 scriptRun->parenSP = INC1(scriptRun->parenSP); in push()
84 scriptRun->parenStack[scriptRun->parenSP].pairIndex = pairIndex; in push()
85 scriptRun->parenStack[scriptRun->parenSP].scriptCode = scriptCode; in push()
99 scriptRun->parenSP = DEC1(scriptRun->parenSP); in pop()
105 scriptRun->parenSP = -1; in pop()
111 int32_t fixupSP = DEC(scriptRun->parenSP, scriptRun->fixupCount); in fixup()
233 scriptRun->parenSP = -1; in uscript_resetRun()