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