Lines Matching refs:prevCP
395 UChar32 prevCP, c, c2; in testTrieUTF16() local
399 prevCP=0; in testTrieUTF16()
404 if(!ACCIDENTAL_SURROGATE_PAIR(s, length, prevCP)) { in testTrieUTF16()
405 U16_APPEND_UNSAFE(s, length, prevCP); /* start of the range */ in testTrieUTF16()
410 prevCP=(prevCP+c)/2; /* middle of the range */ in testTrieUTF16()
411 if(!ACCIDENTAL_SURROGATE_PAIR(s, length, prevCP)) { in testTrieUTF16()
412 U16_APPEND_UNSAFE(s, length, prevCP); in testTrieUTF16()
415 prevCP=c; in testTrieUTF16()
520 UChar32 prevCP, c; in testTrieUTF8() local
527 prevCP=0; in testTrieUTF8()
538 U8_APPEND_UNSAFE(s, length, prevCP); /* start of the range */ in testTrieUTF8()
539 if(U_IS_SURROGATE(prevCP)) { in testTrieUTF8()
549 prevCP=(prevCP+c)/2; /* middle of the range */ in testTrieUTF8()
550 U8_APPEND_UNSAFE(s, length, prevCP); in testTrieUTF8()
551 if(U_IS_SURROGATE(prevCP)) { in testTrieUTF8()
559 prevCP=c; in testTrieUTF8()