Lines Matching refs:valueBits
112 const UTrie2 *trie, UTrie2ValueBits valueBits,
133 if(valueBits==UTRIE2_16_VALUE_BITS) {
144 if(valueBits==UTRIE2_16_VALUE_BITS) {
154 if(valueBits==UTRIE2_16_VALUE_BITS) {
181 if(valueBits==UTRIE2_16_VALUE_BITS) {
194 if(valueBits==UTRIE2_16_VALUE_BITS) {
229 if(valueBits==UTRIE2_16_VALUE_BITS) {
249 if(valueBits==UTRIE2_16_VALUE_BITS) {
271 const UTrie2 *trie, UTrie2ValueBits valueBits,
308 if(valueBits==UTRIE2_16_VALUE_BITS) {
333 if(valueBits==UTRIE2_16_VALUE_BITS) {
351 const UTrie2 *trie, UTrie2ValueBits valueBits,
457 if(valueBits==UTRIE2_16_VALUE_BITS) {
490 if(valueBits==UTRIE2_16_VALUE_BITS) {
518 UTrie2 *trie, UTrie2ValueBits valueBits,
529 testTrieGetters(testName, trie, valueBits, checkRanges, countCheckRanges);
531 testTrieUTF16(testName, trie, valueBits, checkRanges, countCheckRanges);
532 testTrieUTF8(testName, trie, valueBits, checkRanges, countCheckRanges);
568 /* The valueBits are ignored for an unfrozen trie. */
575 UTrie2 *trie, UTrie2ValueBits valueBits,
605 utrie2_freeze(trie, valueBits, &errorCode);
611 otherValueBits= valueBits==UTRIE2_16_VALUE_BITS ? UTRIE2_32_VALUE_BITS : UTRIE2_16_VALUE_BITS;
614 log_err("error: utrie2_freeze(already-frozen with other valueBits %s) "
654 testFrozenTrie(testName, trie, valueBits, checkRanges, countCheckRanges);
705 trie=utrie2_openFromSerialized(valueBits, storage, length2, &length3, &errorCode);
710 if((valueBits==UTRIE2_16_VALUE_BITS)!=(trie->data32==NULL)) {
722 utrie2_freeze(trie, valueBits, &errorCode);
730 log_err("error: utrie2_freeze(unserialized with other valueBits %s) "
750 testFrozenTrie(testName, trie, valueBits, checkRanges, countCheckRanges);
792 * Test with both valueBits serializations,
1132 dummyTest(UTrie2ValueBits valueBits) {
1146 if(valueBits==UTRIE2_16_VALUE_BITS) {
1159 trie=utrie2_openDummy(valueBits, initialValue, errorValue, &errorCode);
1161 log_err("utrie2_openDummy(valueBits=%d) failed - %s\n", valueBits, u_errorName(errorCode));
1165 testFrozenTrie(testName, trie, valueBits, checkRanges, UPRV_LENGTHOF(checkRanges));