• Home
  • Raw
  • Download

Lines Matching refs:checkRanges

52 skipSpecialValues(const CheckRange checkRanges[], int32_t countCheckRanges) {  in skipSpecialValues()  argument
54 for(i=0; i<countCheckRanges && checkRanges[i].limit<=0; ++i) {} in skipSpecialValues()
59 getSpecialValues(const CheckRange checkRanges[], int32_t countCheckRanges, in getSpecialValues() argument
62 if(i<countCheckRanges && checkRanges[i].limit<0) { in getSpecialValues()
63 *pErrorValue=checkRanges[i++].value; in getSpecialValues()
67 if(i<countCheckRanges && checkRanges[i].limit==0) { in getSpecialValues()
68 *pInitialValue=checkRanges[i++].value; in getSpecialValues()
100 const CheckRange checkRanges[], int32_t countCheckRanges) { in testTrieEnum() argument
102 while(countCheckRanges>0 && checkRanges[0].limit<=0) { in testTrieEnum()
103 ++checkRanges; in testTrieEnum()
106 utrie2_enum(trie, testEnumValue, testEnumRange, &checkRanges); in testTrieEnum()
113 const CheckRange checkRanges[], int32_t countCheckRanges) { in testTrieGetters() argument
122 countSpecials=getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testTrieGetters()
126 limit=checkRanges[i].limit; in testTrieGetters()
127 value=checkRanges[i].value; in testTrieGetters()
177 limit=checkRanges[i].limit; in testTrieGetters()
178 value=checkRanges[i].value; in testTrieGetters()
272 const CheckRange checkRanges[], int32_t countCheckRanges) { in testTrieUTF16() argument
285 for(i=skipSpecialValues(checkRanges, countCheckRanges); i<countCheckRanges; ++i) { in testTrieUTF16()
286 value=checkRanges[i].value; in testTrieUTF16()
290 c=checkRanges[i].limit; in testTrieUTF16()
352 const CheckRange checkRanges[], int32_t countCheckRanges) { in testTrieUTF8() argument
387 countSpecials=getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testTrieUTF8()
399 value=checkRanges[i].value; in testTrieUTF8()
410 c=checkRanges[i].limit; in testTrieUTF8()
519 const CheckRange checkRanges[], int32_t countCheckRanges) { in testFrozenTrie() argument
529 testTrieGetters(testName, trie, valueBits, checkRanges, countCheckRanges); in testFrozenTrie()
530 testTrieEnum(testName, trie, checkRanges, countCheckRanges); in testFrozenTrie()
531 testTrieUTF16(testName, trie, valueBits, checkRanges, countCheckRanges); in testFrozenTrie()
532 testTrieUTF8(testName, trie, valueBits, checkRanges, countCheckRanges); in testFrozenTrie()
567 const CheckRange checkRanges[], int32_t countCheckRanges) { in testNewTrie() argument
569 testTrieGetters(testName, trie, UTRIE2_COUNT_VALUE_BITS, checkRanges, countCheckRanges); in testNewTrie()
570 testTrieEnum(testName, trie, checkRanges, countCheckRanges); in testNewTrie()
577 const CheckRange checkRanges[], int32_t countCheckRanges) { in testTrieSerialize() argument
654 testFrozenTrie(testName, trie, valueBits, checkRanges, countCheckRanges); in testTrieSerialize()
750 testFrozenTrie(testName, trie, valueBits, checkRanges, countCheckRanges); in testTrieSerialize()
776 testNewTrie(testName, trie, checkRanges, countCheckRanges); in testTrieSerialize()
785 const CheckRange checkRanges[], int32_t countCheckRanges) { in testTrieSerializeAllValueBits() argument
789 testNewTrie(testName, trie, checkRanges, countCheckRanges); in testTrieSerializeAllValueBits()
799 checkRanges, countCheckRanges); in testTrieSerializeAllValueBits()
815 testNewTrie(testName, trie, checkRanges, countCheckRanges); in testTrieSerializeAllValueBits()
823 checkRanges, countCheckRanges); in testTrieSerializeAllValueBits()
831 const CheckRange checkRanges[], int32_t countCheckRanges) { in makeTrieWithRanges() argument
842 getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in makeTrieWithRanges()
891 const CheckRange checkRanges[], int32_t countCheckRanges) { in testTrieRanges() argument
894 checkRanges, countCheckRanges); in testTrieRanges()
897 checkRanges, countCheckRanges); in testTrieRanges()
1096 const CheckRange *checkRanges; in EnumNewTrieForLeadSurrogateTest() local
1098 checkRanges=checkRanges2_d800+1; in EnumNewTrieForLeadSurrogateTest()
1101 &checkRanges); in EnumNewTrieForLeadSurrogateTest()
1102 checkRanges=checkRanges2_d87e+1; in EnumNewTrieForLeadSurrogateTest()
1105 &checkRanges); in EnumNewTrieForLeadSurrogateTest()
1106 checkRanges=checkRanges2_d87f+1; in EnumNewTrieForLeadSurrogateTest()
1109 &checkRanges); in EnumNewTrieForLeadSurrogateTest()
1110 checkRanges=checkRanges2_dbff+1; in EnumNewTrieForLeadSurrogateTest()
1113 &checkRanges); in EnumNewTrieForLeadSurrogateTest()
1134 checkRanges[]={ in dummyTest() local
1155 checkRanges[0].value=errorValue; in dummyTest()
1156 checkRanges[1].value=checkRanges[2].value=initialValue; in dummyTest()
1165 testFrozenTrie(testName, trie, valueBits, checkRanges, UPRV_LENGTHOF(checkRanges)); in dummyTest()
1180 checkRanges[]={ in FreeBlocksTest() local
1226 checkRanges, UPRV_LENGTHOF(checkRanges)); in FreeBlocksTest()
1233 checkRanges[]={ in GrowDataArrayTest() local
1284 checkRanges, UPRV_LENGTHOF(checkRanges)); in GrowDataArrayTest()
1293 const CheckRange checkRanges[], int32_t countCheckRanges) { in makeNewTrie1WithRanges() argument
1304 getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in makeNewTrie1WithRanges()
1338 const CheckRange checkRanges[], int32_t countCheckRanges) { in testTrie2FromTrie1() argument
1353 checkRanges, countCheckRanges); in testTrie2FromTrie1()
1377 getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testTrie2FromTrie1()
1383 testFrozenTrie(name, trie2, UTRIE2_16_VALUE_BITS, checkRanges, countCheckRanges); in testTrie2FromTrie1()
1402 testFrozenTrie(name, trie2, UTRIE2_32_VALUE_BITS, checkRanges, countCheckRanges); in testTrie2FromTrie1()