Lines Matching refs:valueBits
112 const UTrie2 *trie, UTrie2ValueBits valueBits, in testTrieGetters() argument
133 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
144 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
154 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
181 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
194 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
229 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
249 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
271 const UTrie2 *trie, UTrie2ValueBits valueBits, in testTrieUTF16() argument
308 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieUTF16()
333 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieUTF16()
351 const UTrie2 *trie, UTrie2ValueBits valueBits, in testTrieUTF8() argument
457 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieUTF8()
490 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieUTF8()
518 UTrie2 *trie, UTrie2ValueBits valueBits, in testFrozenTrie() argument
529 testTrieGetters(testName, trie, valueBits, checkRanges, countCheckRanges); in testFrozenTrie()
531 testTrieUTF16(testName, trie, valueBits, checkRanges, countCheckRanges); in testFrozenTrie()
532 testTrieUTF8(testName, trie, valueBits, checkRanges, countCheckRanges); in testFrozenTrie()
575 UTrie2 *trie, UTrie2ValueBits valueBits, in testTrieSerialize() argument
605 utrie2_freeze(trie, valueBits, &errorCode); in testTrieSerialize()
611 … otherValueBits= valueBits==UTRIE2_16_VALUE_BITS ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS; in testTrieSerialize()
654 testFrozenTrie(testName, trie, valueBits, checkRanges, countCheckRanges); in testTrieSerialize()
705 trie=utrie2_openFromSerialized(valueBits, storage, length2, &length3, &errorCode); in testTrieSerialize()
710 if((valueBits==UTRIE2_16_VALUE_BITS)!=(trie->data32==NULL)) { in testTrieSerialize()
722 utrie2_freeze(trie, valueBits, &errorCode); in testTrieSerialize()
750 testFrozenTrie(testName, trie, valueBits, checkRanges, countCheckRanges); in testTrieSerialize()
1132 dummyTest(UTrie2ValueBits valueBits) { in dummyTest() argument
1146 if(valueBits==UTRIE2_16_VALUE_BITS) { in dummyTest()
1159 trie=utrie2_openDummy(valueBits, initialValue, errorValue, &errorCode); in dummyTest()
1161 log_err("utrie2_openDummy(valueBits=%d) failed - %s\n", valueBits, u_errorName(errorCode)); in dummyTest()
1165 testFrozenTrie(testName, trie, valueBits, checkRanges, UPRV_LENGTHOF(checkRanges)); in dummyTest()