• Home
  • Raw
  • Download

Lines Matching refs:testName

98 testTrieEnum(const char *testName,  in testTrieEnum()  argument
111 testTrieGetters(const char *testName, in testTrieGetters() argument
140 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
151 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
161 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
167 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
188 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
201 typeName, testName, (long)start, (long)value2, (long)errorValue); in testTrieGetters()
207 if(0!=strncmp(testName, "dummy", 5) && 0!=strncmp(testName, "trie1", 5)) { in testTrieGetters()
236 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
242 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
258 typeName, testName); in testTrieGetters()
265 typeName, testName); in testTrieGetters()
270 testTrieUTF16(const char *testName, in testTrieUTF16() argument
315 testName, (long)c, (long)value, (long)values[i]); in testTrieUTF16()
319 testName, (long)c, (long)c2); in testTrieUTF16()
340 testName, (long)c, (long)value, (long)values[i]); in testTrieUTF16()
344 testName, c, c2); in testTrieUTF16()
350 testTrieUTF8(const char *testName, in testTrieUTF8() argument
472 testName, (int)prev8, (unsigned long)bytes, (long)c, (int)((p-s)-prev8), in testTrieUTF8()
477 testName, (int)prev8, (unsigned long)bytes, (long)c, (long)(p-s), (long)i8); in testTrieUTF8()
505 testName, (int)prev8, (unsigned long)bytes, (long)c, (int)(prev8-(p-s)), in testTrieUTF8()
510 testName, (int)prev8, (unsigned long)bytes, (long)c, (long)(p-s), (long)i8); in testTrieUTF8()
517 testFrozenTrie(const char *testName, in testFrozenTrie() argument
525 testName); in testFrozenTrie()
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()
540 testName, u_errorName(errorCode)); in testFrozenTrie()
549 testName, u_errorName(errorCode)); in testFrozenTrie()
560 testName, u_errorName(errorCode)); in testFrozenTrie()
566 testNewTrie(const char *testName, const UTrie2 *trie, in testNewTrie() argument
569 testTrieGetters(testName, trie, UTRIE2_COUNT_VALUE_BITS, checkRanges, countCheckRanges); in testNewTrie()
570 testTrieEnum(testName, trie, checkRanges, countCheckRanges); in testNewTrie()
574 testTrieSerialize(const char *testName, in testTrieSerialize() argument
588 testName, u_errorName(errorCode)); in testTrieSerialize()
601 testName, u_errorName(errorCode)); in testTrieSerialize()
608 testName, u_errorName(errorCode), utrie2_isFrozen(trie)); in testTrieSerialize()
616 testName, u_errorName(errorCode)); in testTrieSerialize()
625 testName, u_errorName(errorCode)); in testTrieSerialize()
635 testName, u_errorName(errorCode)); in testTrieSerialize()
641 log_err("error: utrie2_serialize(%s) needs more memory\n", testName); in testTrieSerialize()
645 log_err("error: utrie2_serialize(%s) failed: %s\n", testName, u_errorName(errorCode)); in testTrieSerialize()
650 "preflight vs. serialize\n", testName); in testTrieSerialize()
654 testFrozenTrie(testName, trie, valueBits, checkRanges, countCheckRanges); in testTrieSerialize()
672 testName, u_errorName(errorCode)); in testTrieSerialize()
680 testName, u_errorName(errorCode)); in testTrieSerialize()
692 testName, u_errorName(errorCode)); in testTrieSerialize()
700 testName, u_errorName(errorCode)); in testTrieSerialize()
707 … log_err("error: utrie2_openFromSerialized(%s) failed, %s\n", testName, u_errorName(errorCode)); in testTrieSerialize()
711 log_err("error: trie serialization (%s) did not preserve 32-bitness\n", testName); in testTrieSerialize()
716 "serialize vs. unserialize\n", testName); in testTrieSerialize()
725 testName, u_errorName(errorCode), utrie2_isFrozen(trie)); in testTrieSerialize()
732 testName, u_errorName(errorCode)); in testTrieSerialize()
741 testName, u_errorName(errorCode)); in testTrieSerialize()
750 testFrozenTrie(testName, trie, valueBits, checkRanges, countCheckRanges); in testTrieSerialize()
757 testName, u_errorName(errorCode), clone!=NULL && utrie2_isFrozen(trie)); in testTrieSerialize()
773 testName, u_errorName(errorCode)); in testTrieSerialize()
776 testNewTrie(testName, trie, checkRanges, countCheckRanges); in testTrieSerialize()
783 testTrieSerializeAllValueBits(const char *testName, in testTrieSerializeAllValueBits() argument
789 testNewTrie(testName, trie, checkRanges, countCheckRanges); in testTrieSerializeAllValueBits()
795 uprv_strcpy(name, testName); in testTrieSerializeAllValueBits()
810 testName, u_errorName(errorCode)); in testTrieSerializeAllValueBits()
815 testNewTrie(testName, trie, checkRanges, countCheckRanges); in testTrieSerializeAllValueBits()
819 uprv_strcpy(name, testName); in testTrieSerializeAllValueBits()
829 makeTrieWithRanges(const char *testName, UBool withClone, in makeTrieWithRanges() argument
840 log_verbose("\ntesting Trie '%s'\n", testName); in makeTrieWithRanges()
845 log_err("error: utrie2_open(%s) failed: %s\n", testName, u_errorName(errorCode)); in makeTrieWithRanges()
856 testName, u_errorName(errorCode)); in makeTrieWithRanges()
882 testName, u_errorName(errorCode)); in makeTrieWithRanges()
889 testTrieRanges(const char *testName, UBool withClone, in testTrieRanges() argument
892 UTrie2 *trie=makeTrieWithRanges(testName, withClone, in testTrieRanges()
896 trie=testTrieSerializeAllValueBits(testName, trie, withClone, in testTrieRanges()
1091 static const char *const testName="enum-for-lead"; in EnumNewTrieForLeadSurrogateTest() local
1092 UTrie2 *trie=makeTrieWithRanges(testName, FALSE, in EnumNewTrieForLeadSurrogateTest()
1118 log_err("error: utrie2_freeze(%s) failed\n", testName); in EnumNewTrieForLeadSurrogateTest()
1143 const char *testName; in dummyTest() local
1147 testName="dummy.16"; in dummyTest()
1151 testName="dummy.32"; in dummyTest()
1165 testFrozenTrie(testName, trie, valueBits, checkRanges, UPRV_LENGTHOF(checkRanges)); in dummyTest()
1187 static const char *const testName="free-blocks"; in FreeBlocksTest() local
1196 log_err("error: utrie2_open(%s) failed: %s\n", testName, u_errorName(errorCode)); in FreeBlocksTest()
1220 testName, u_errorName(errorCode)); in FreeBlocksTest()
1225 trie=testTrieSerializeAllValueBits(testName, trie, FALSE, in FreeBlocksTest()
1240 static const char *const testName="grow-data"; in GrowDataArrayTest() local
1249 log_err("error: utrie2_open(%s) failed: %s\n", testName, u_errorName(errorCode)); in GrowDataArrayTest()
1278 testName, u_errorName(errorCode)); in GrowDataArrayTest()
1283 trie=testTrieSerializeAllValueBits(testName, trie, FALSE, in GrowDataArrayTest()
1291 makeNewTrie1WithRanges(const char *testName, in makeNewTrie1WithRanges() argument
1302 log_verbose("\ntesting Trie '%s'\n", testName); in makeNewTrie1WithRanges()
1309 log_err("error: utrie_open(%s) failed: %s\n", testName, u_errorName(errorCode)); in makeNewTrie1WithRanges()
1329 log_err("error: setting values into a trie1 (%s) failed\n", testName); in makeNewTrie1WithRanges()
1336 testTrie2FromTrie1(const char *testName, in testTrie2FromTrie1() argument
1351 newTrie1_16=makeNewTrie1WithRanges(testName, in testTrie2FromTrie1()
1373 testName, u_errorName(errorCode)); in testTrie2FromTrie1()
1379 uprv_strcpy(name, testName); in testTrie2FromTrie1()
1398 uprv_strcpy(name, testName); in testTrie2FromTrie1()