Home
last modified time | relevance | path

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

/external/icu4c/common/
Dusc_impl.c37 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/chromium/third_party/icu/source/common/
Dusc_impl.c37 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/icu4c/extra/scrptrun/
Dscrptrun.cpp143 int32_t pairIndex = getPairIndex(ch); in next() local
151 if (pairIndex >= 0) { in next()
152 if ((pairIndex & 1) == 0) { in next()
153 parenStack[++parenSP].pairIndex = pairIndex; in next()
156 int32_t pi = pairIndex & ~1; in next()
158 while (parenSP >= 0 && parenStack[parenSP].pairIndex != pi) { in next()
185 if (pairIndex >= 0 && (pairIndex & 1) != 0 && parenSP >= 0) { in next()
Dscrptrun.h30 int32_t pairIndex; member