Lines Matching refs:valueWidth
22 ucptrie_openFromBinary(UCPTrieType type, UCPTrieValueWidth valueWidth, in ucptrie_openFromBinary() argument
31 valueWidth < UCPTRIE_VALUE_BITS_ANY || UCPTRIE_VALUE_BITS_8 < valueWidth) { in ucptrie_openFromBinary()
62 if (valueWidth < 0) { in ucptrie_openFromBinary()
63 valueWidth = actualValueWidth; in ucptrie_openFromBinary()
65 if (type != actualType || valueWidth != actualValueWidth) { in ucptrie_openFromBinary()
83 tempTrie.valueWidth = valueWidth; in ucptrie_openFromBinary()
87 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in ucptrie_openFromBinary()
89 } else if (valueWidth == UCPTRIE_VALUE_BITS_32) { in ucptrie_openFromBinary()
120 switch (valueWidth) { in ucptrie_openFromBinary()
157 return (UCPTrieValueWidth)trie->valueWidth; in ucptrie_getValueWidth()
216 inline uint32_t getValue(UCPTrieData data, UCPTrieValueWidth valueWidth, int32_t dataIndex) { in getValue() argument
217 switch (valueWidth) { in getValue()
242 return getValue(trie->data, (UCPTrieValueWidth)trie->valueWidth, dataIndex); in ucptrie_get()
265 UCPTrieValueWidth valueWidth = (UCPTrieValueWidth)trie->valueWidth; in getRange() local
269 uint32_t value = getValue(trie->data, valueWidth, di); in getRange()
369 uint32_t trieValue2 = getValue(trie->data, valueWidth, di); in getRange()
387 trieValue2 = getValue(trie->data, valueWidth, ++di); in getRange()
403 uint32_t highValue = getValue(trie->data, valueWidth, di); in getRange()
478 UCPTrieValueWidth valueWidth = (UCPTrieValueWidth)trie->valueWidth; in ucptrie_toBinary() local
480 valueWidth < UCPTRIE_VALUE_BITS_16 || UCPTRIE_VALUE_BITS_8 < valueWidth || in ucptrie_toBinary()
488 switch (valueWidth) { in ucptrie_toBinary()
514 valueWidth); in ucptrie_toBinary()
525 switch (valueWidth) { in ucptrie_toBinary()
549 switch (trie->valueWidth) { in countNull()
577 dataLength*(trie->valueWidth==UCPTRIE_VALUE_BITS_16 ? 2 : in ucptrie_printLengths()
578 trie->valueWidth==UCPTRIE_VALUE_BITS_32 ? 4 : 1); in ucptrie_printLengths()