Home
last modified time | relevance | path

Searched refs:prevCP (Results 1 – 5 of 5) sorted by relevance

/third_party/icu/icu4c/source/test/cintltst/
Dtrie2test.c281 UChar32 prevCP, c, c2; in testTrieUTF16() local
285 prevCP=0; in testTrieUTF16()
290 U16_APPEND_UNSAFE(s, length, prevCP); /* start of the range */ in testTrieUTF16()
293 prevCP=(prevCP+c)/2; /* middle of the range */ in testTrieUTF16()
294 U16_APPEND_UNSAFE(s, length, prevCP); in testTrieUTF16()
296 prevCP=c; in testTrieUTF16()
385 UChar32 prevCP, c; in testTrieUTF8() local
392 prevCP=0; in testTrieUTF8()
403 U8_APPEND_UNSAFE(s, length, prevCP); /* start of the range */ in testTrieUTF8()
404 if(U_IS_SURROGATE(prevCP)) { in testTrieUTF8()
[all …]
Ducptrietest.c396 UChar32 prevCP, c, c2; in testTrieUTF16() local
400 prevCP=0; in testTrieUTF16()
405 if(!ACCIDENTAL_SURROGATE_PAIR(s, length, prevCP)) { in testTrieUTF16()
406 U16_APPEND_UNSAFE(s, length, prevCP); /* start of the range */ in testTrieUTF16()
411 prevCP=(prevCP+c)/2; /* middle of the range */ in testTrieUTF16()
412 if(!ACCIDENTAL_SURROGATE_PAIR(s, length, prevCP)) { in testTrieUTF16()
413 U16_APPEND_UNSAFE(s, length, prevCP); in testTrieUTF16()
416 prevCP=c; in testTrieUTF16()
521 UChar32 prevCP, c; in testTrieUTF8() local
528 prevCP=0; in testTrieUTF8()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DCodePointTrieTest.java349 int prevCP, c, c2; in testTrieUTF16() local
353 prevCP=0; in testTrieUTF16()
358 if(!ACCIDENTAL_SURROGATE_PAIR(s, prevCP)) { in testTrieUTF16()
359 s.appendCodePoint(prevCP); /* start of the range */ in testTrieUTF16()
363 prevCP=(prevCP+c)/2; /* middle of the range */ in testTrieUTF16()
364 if(!ACCIDENTAL_SURROGATE_PAIR(s, prevCP)) { in testTrieUTF16()
365 s.appendCodePoint(prevCP); in testTrieUTF16()
368 prevCP=c; in testTrieUTF16()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCodePointTrieTest.java346 int prevCP, c, c2; in testTrieUTF16() local
350 prevCP=0; in testTrieUTF16()
355 if(!ACCIDENTAL_SURROGATE_PAIR(s, prevCP)) { in testTrieUTF16()
356 s.appendCodePoint(prevCP); /* start of the range */ in testTrieUTF16()
360 prevCP=(prevCP+c)/2; /* middle of the range */ in testTrieUTF16()
361 if(!ACCIDENTAL_SURROGATE_PAIR(s, prevCP)) { in testTrieUTF16()
362 s.appendCodePoint(prevCP); in testTrieUTF16()
365 prevCP=c; in testTrieUTF16()
/third_party/mesa3d/src/mesa/main/
Dstate.c183 const struct gl_program *prevCP = ctx->ComputeProgram._Current; in update_program() local
309 ctx->ComputeProgram._Current != prevCP) in update_program()