Lines Matching refs:ch

73 #define isZWSP(c) (ch == 0x200B)
77 sal_uInt32 ch=0; in skipSpace() local
82 …while (nPos < len && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, 1)) || isZWSP(ch))) nPos=po… in skipSpace()
84 …while (nPos > 0 && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, -1)) || isZWSP(ch))) nPos=pos; in skipSpace()
88 … while (nPos < len && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, 1)) || isZWSP(ch) || in skipSpace()
89 ! (ch == 0x002E || u_isalnum(ch)))) nPos=pos; in skipSpace()
91 … while (nPos > 0 && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, -1)) || isZWSP(ch) || in skipSpace()
92 ! (ch == 0x002E || u_isalnum(ch)))) nPos=pos; in skipSpace()
96 …while (nPos < len && (u_isUWhiteSpace(ch = Text.iterateCodePoints(&pos, 1)) || isZWSP(ch))) nPos=p… in skipSpace()
98 …while (nPos > 0 && (u_isUWhiteSpace(ch = Text.iterateCodePoints(&pos, -1)) || isZWSP(ch))) nPos=po… in skipSpace()
261 …CALL iterateCodePoints(const OUString& Text, sal_Int32 &nStartPos, sal_Int32 inc, sal_uInt32& ch) { in iterateCodePoints() argument
264 ch = 0; in iterateCodePoints()
267 ch = Text.iterateCodePoints(&nStartPos, inc); in iterateCodePoints()
279 ch = (nStartPos < nLen ? Text.iterateCodePoints(&nStartPos, 0) : 0); in iterateCodePoints()
295 sal_uInt32 ch=0; in beginOfScript() local
296 … while (iterateCodePoints(Text, nStartPos, -1, ch) >= 0 && ScriptType == getScriptClass(ch)) { in beginOfScript()
300 return iterateCodePoints(Text, nStartPos, 1, ch); in beginOfScript()
313 sal_uInt32 ch=0; in endOfScript() local
314 while(iterateCodePoints(Text, nStartPos, 1, ch) < strLen ) { in endOfScript()
315 sal_Int16 currentCharScriptType = getScriptClass(ch); in endOfScript()
332 sal_uInt32 ch=0; in previousScript() local
333 while (numberOfChange > 0 && iterateCodePoints(Text, nStartPos, -1, ch) >= 0) { in previousScript()
334 if ((((numberOfChange % 2) == 0) ^ (ScriptType != getScriptClass(ch)))) in previousScript()
345 return numberOfChange == 0 ? iterateCodePoints(Text, nStartPos, 1, ch) : -1; in previousScript()
360 sal_uInt32 ch=0; in nextScript() local
361 while (numberOfChange > 0 && iterateCodePoints(Text, nStartPos, 1, ch) < strLen) { in nextScript()
362 sal_Int16 currentCharScriptType = getScriptClass(ch); in nextScript()
391 sal_uInt32 ch=0; in endOfCharBlock() local
392 …while(iterateCodePoints(Text, nStartPos, 1, ch) < strLen && CharType == (sal_Int16)u_charType(ch))… in endOfCharBlock()
405 sal_uInt32 ch=0; in nextCharBlock() local
406 while (numberOfChange > 0 && iterateCodePoints(Text, nStartPos, 1, ch) < strLen) { in nextCharBlock()
407 if ((CharType != (sal_Int16)u_charType(ch)) ^ (numberOfChange == 1)) in nextCharBlock()
421 sal_uInt32 ch=0; in previousCharBlock() local
422 while (numberOfChange > 0 && iterateCodePoints(Text, nStartPos, -1, ch) >= 0) { in previousCharBlock()
423 if (((numberOfChange % 2) == 0) ^ (CharType != (sal_Int16)u_charType(ch))) in previousCharBlock()
430 return numberOfChange == 0 ? iterateCodePoints(Text, nStartPos, 1, ch) : -1; in previousCharBlock()