Lines Matching refs:pairIndex
37 int32_t pairIndex;
78 static void push(UScriptRun *scriptRun, int32_t pairIndex, UScriptCode scriptCode)
84 scriptRun->parenStack[scriptRun->parenSP].pairIndex = pairIndex;
164 int32_t pairIndex = 0;
167 pairIndex = pairedCharExtra;
173 if (ch >= pairedChars[pairIndex + probe]) {
174 pairIndex += probe;
178 if (pairedChars[pairIndex] != ch) {
179 pairIndex = -1;
182 return pairIndex;
274 int32_t pairIndex;
294 pairIndex = getPairIndex(ch);
304 if (pairIndex >= 0) {
305 if ((pairIndex & 1) == 0) {
306 push(scriptRun, pairIndex, scriptRun->scriptCode);
308 int32_t pi = pairIndex & ~1;
310 while (STACK_IS_NOT_EMPTY(scriptRun) && TOP(scriptRun).pairIndex != pi) {
331 if (pairIndex >= 0 && (pairIndex & 1) != 0) {