Lines Matching refs:pairIndex
37 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()
274 int32_t pairIndex; in uscript_nextRun() local
294 pairIndex = getPairIndex(ch); in uscript_nextRun()
304 if (pairIndex >= 0) { in uscript_nextRun()
305 if ((pairIndex & 1) == 0) { in uscript_nextRun()
306 push(scriptRun, pairIndex, scriptRun->scriptCode); in uscript_nextRun()
308 int32_t pi = pairIndex & ~1; in uscript_nextRun()
310 while (STACK_IS_NOT_EMPTY(scriptRun) && TOP(scriptRun).pairIndex != pi) { in uscript_nextRun()
331 if (pairIndex >= 0 && (pairIndex & 1) != 0) { in uscript_nextRun()