Lines Matching refs:iterateCodePoints
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()
91 … while (nPos > 0 && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, -1)) || isZWSP(ch) || 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()
151 … != nStartPos && nPos > 0 && !isCJK(rLocale) && getScriptClass(Text.iterateCodePoints(&nPos, -1)) … in previousWord()
254 getScriptClass(Text.iterateCodePoints(&nPos, 0)); in getScriptType()
261 static sal_Int32 SAL_CALL iterateCodePoints(const OUString& Text, sal_Int32 &nStartPos, sal_Int32 i… in iterateCodePoints() function
267 ch = Text.iterateCodePoints(&nStartPos, inc); in iterateCodePoints()
279 ch = (nStartPos < nLen ? Text.iterateCodePoints(&nStartPos, 0) : 0); in iterateCodePoints()
291 if(ScriptType != getScriptClass(Text.iterateCodePoints(&nStartPos, 0))) in beginOfScript()
296 … while (iterateCodePoints(Text, nStartPos, -1, ch) >= 0 && ScriptType == getScriptClass(ch)) { in beginOfScript()
300 return iterateCodePoints(Text, nStartPos, 1, ch); in beginOfScript()
309 if(ScriptType != getScriptClass(Text.iterateCodePoints(&nStartPos, 0))) in endOfScript()
314 while(iterateCodePoints(Text, nStartPos, 1, ch) < strLen ) { in endOfScript()
330 …sal_Int16 numberOfChange = (ScriptType == getScriptClass(Text.iterateCodePoints(&nStartPos, 0))) ?… in previousScript()
333 while (numberOfChange > 0 && iterateCodePoints(Text, nStartPos, -1, ch) >= 0) { in previousScript()
340 Text.iterateCodePoints(&nStartPos, -1); in previousScript()
345 return numberOfChange == 0 ? iterateCodePoints(Text, nStartPos, 1, ch) : -1; in previousScript()
358 …sal_Int16 numberOfChange = (ScriptType == getScriptClass(Text.iterateCodePoints(&nStartPos, 0))) ?… in nextScript()
361 while (numberOfChange > 0 && iterateCodePoints(Text, nStartPos, 1, ch) < strLen) { in nextScript()
375 if (CharType != (sal_Int16)u_charType( Text.iterateCodePoints(&nStartPos, 0))) return -1; in beginOfCharBlock()
378 …while(nStartPos > 0 && CharType == (sal_Int16)u_charType(Text.iterateCodePoints(&nPos, -1))) { nSt… in beginOfCharBlock()
389 if (CharType != (sal_Int16)u_charType(Text.iterateCodePoints(&nStartPos, 0))) return -1; in endOfCharBlock()
392 …while(iterateCodePoints(Text, nStartPos, 1, ch) < strLen && CharType == (sal_Int16)u_charType(ch))… in endOfCharBlock()
402 …sal_Int16 numberOfChange = (CharType == (sal_Int16)u_charType(Text.iterateCodePoints(&nStartPos, 0… in nextCharBlock()
406 while (numberOfChange > 0 && iterateCodePoints(Text, nStartPos, 1, ch) < strLen) { in nextCharBlock()
419 …sal_Int16 numberOfChange = (CharType == (sal_Int16)u_charType(Text.iterateCodePoints(&nStartPos, 0… in previousCharBlock()
422 while (numberOfChange > 0 && iterateCodePoints(Text, nStartPos, -1, ch) >= 0) { in previousCharBlock()
430 return numberOfChange == 0 ? iterateCodePoints(Text, nStartPos, 1, ch) : -1; in previousCharBlock()