Home
last modified time | relevance | path

Searched refs:valueWidth (Results 1 – 20 of 20) sorted by relevance

/external/icu/icu4c/source/common/
Ducptrie.cpp22 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()
[all …]
Dutrie_swap.cpp190 UCPTrieValueWidth valueWidth; in ucptrie_swap() local
213 valueWidth = (UCPTrieValueWidth)(trie.options & UCPTRIE_OPTIONS_VALUE_BITS_MASK); in ucptrie_swap()
221 valueWidth > UCPTRIE_VALUE_BITS_8 || in ucptrie_swap()
230 switch(valueWidth) { in ucptrie_swap()
260 switch(valueWidth) { in ucptrie_swap()
Dcharacterproperties.cpp334 UCPTrieValueWidth valueWidth; in makeMap() local
338 valueWidth = UCPTRIE_VALUE_BITS_8; in makeMap()
340 valueWidth = UCPTRIE_VALUE_BITS_16; in makeMap()
342 valueWidth = UCPTRIE_VALUE_BITS_32; in makeMap()
345 umutablecptrie_buildImmutable(mutableTrie.getAlias(), type, valueWidth, &errorCode)); in makeMap()
Dumutablecptrie.cpp84 UCPTrie *build(UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode &errorCode);
212 switch (trie->valueWidth) { in fromUCPTrie()
1571 UCPTrie *MutableCodePointTrie::build(UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode &er… in build() argument
1576 valueWidth < UCPTRIE_VALUE_BITS_16 || UCPTRIE_VALUE_BITS_8 < valueWidth) { in build()
1584 switch (valueWidth) { in build()
1605 if (valueWidth == UCPTRIE_VALUE_BITS_32 && (indexLength & 1) != 0) { in build()
1612 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in build()
1622 } else if (valueWidth == UCPTRIE_VALUE_BITS_32) { in build()
1668 trie->valueWidth = valueWidth; in build()
1693 switch (valueWidth) { in build()
[all …]
/external/icu/icu4c/source/test/cintltst/
Ducptrietest.c185 UCPTrieType type, UCPTrieValueWidth valueWidth, in testTrieGetters() argument
204 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in testTrieGetters()
206 } else if (valueWidth == UCPTRIE_VALUE_BITS_32) { in testTrieGetters()
219 if(valueWidth==UCPTRIE_VALUE_BITS_16) { in testTrieGetters()
221 } else if(valueWidth==UCPTRIE_VALUE_BITS_32) { in testTrieGetters()
232 if(valueWidth==UCPTRIE_VALUE_BITS_16) { in testTrieGetters()
234 } else if(valueWidth==UCPTRIE_VALUE_BITS_32) { in testTrieGetters()
245 if(valueWidth==UCPTRIE_VALUE_BITS_16) { in testTrieGetters()
247 } else if(valueWidth==UCPTRIE_VALUE_BITS_32) { in testTrieGetters()
253 if(valueWidth==UCPTRIE_VALUE_BITS_16) { in testTrieGetters()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DCharacterProperties.java93 CodePointTrie.ValueWidth valueWidth; in makeMap() local
97 valueWidth = CodePointTrie.ValueWidth.BITS_8; in makeMap()
99 valueWidth = CodePointTrie.ValueWidth.BITS_16; in makeMap()
101 valueWidth = CodePointTrie.ValueWidth.BITS_32; in makeMap()
103 return mutableTrie.buildImmutable(type, valueWidth); in makeMap()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DCharacterProperties.java92 CodePointTrie.ValueWidth valueWidth; in makeMap() local
96 valueWidth = CodePointTrie.ValueWidth.BITS_8; in makeMap()
98 valueWidth = CodePointTrie.ValueWidth.BITS_16; in makeMap()
100 valueWidth = CodePointTrie.ValueWidth.BITS_32; in makeMap()
102 return mutableTrie.buildImmutable(type, valueWidth); in makeMap()
/external/icu/icu4c/source/tools/toolutil/
Dwritesrc.cpp253 pTrie->valueWidth==UCPTRIE_VALUE_BITS_16 ? 16 : in usrc_writeUCPTrieArrays()
254 pTrie->valueWidth==UCPTRIE_VALUE_BITS_32 ? 32 : in usrc_writeUCPTrieArrays()
255 pTrie->valueWidth==UCPTRIE_VALUE_BITS_8 ? 8 : 0; in usrc_writeUCPTrieArrays()
284 pTrie->type, pTrie->valueWidth, in usrc_writeUCPTrieStruct()
295 pTrie->valueWidth==UCPTRIE_VALUE_BITS_16 ? 16 : in usrc_writeUCPTrie()
296 pTrie->valueWidth==UCPTRIE_VALUE_BITS_32 ? 32 : in usrc_writeUCPTrie()
297 pTrie->valueWidth==UCPTRIE_VALUE_BITS_8 ? 8 : 0; in usrc_writeUCPTrie()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCodePointTrie.java136 public static CodePointTrie fromBinary(Type type, ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
219 if (valueWidth == null) { in fromBinary()
220 valueWidth = actualValueWidth; in fromBinary()
222 if (type != actualType || valueWidth != actualValueWidth) { in fromBinary()
234 if (valueWidth == ValueWidth.BITS_16) { in fromBinary()
236 } else if (valueWidth == ValueWidth.BITS_32) { in fromBinary()
246 switch (valueWidth) { in fromBinary()
767 public static Fast fromBinary(ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
768 return (Fast) CodePointTrie.fromBinary(Type.FAST, valueWidth, bytes); in fromBinary()
906 public static Small fromBinary(ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
[all …]
DMutableCodePointTrie.java352 …public CodePointTrie buildImmutable(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in buildImmutable() argument
353 if (type == null || valueWidth == null) { in buildImmutable()
358 return build(type, valueWidth); in buildImmutable()
1436 private CodePointTrie build(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in build() argument
1440 switch (valueWidth) { in build()
1458 if (valueWidth == CodePointTrie.ValueWidth.BITS_32 && (indexLength & 1) != 0) { in build()
1465 if (valueWidth == CodePointTrie.ValueWidth.BITS_16) { in build()
1475 } else if (valueWidth == CodePointTrie.ValueWidth.BITS_32) { in build()
1520 switch (valueWidth) { in build()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCodePointTrie.java141 public static CodePointTrie fromBinary(Type type, ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
224 if (valueWidth == null) { in fromBinary()
225 valueWidth = actualValueWidth; in fromBinary()
227 if (type != actualType || valueWidth != actualValueWidth) { in fromBinary()
239 if (valueWidth == ValueWidth.BITS_16) { in fromBinary()
241 } else if (valueWidth == ValueWidth.BITS_32) { in fromBinary()
251 switch (valueWidth) { in fromBinary()
779 public static Fast fromBinary(ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
780 return (Fast) CodePointTrie.fromBinary(Type.FAST, valueWidth, bytes); in fromBinary()
923 public static Small fromBinary(ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
[all …]
DMutableCodePointTrie.java359 …public CodePointTrie buildImmutable(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in buildImmutable() argument
360 if (type == null || valueWidth == null) { in buildImmutable()
365 return build(type, valueWidth); in buildImmutable()
1443 private CodePointTrie build(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in build() argument
1447 switch (valueWidth) { in build()
1465 if (valueWidth == CodePointTrie.ValueWidth.BITS_32 && (indexLength & 1) != 0) { in build()
1472 if (valueWidth == CodePointTrie.ValueWidth.BITS_16) { in build()
1482 } else if (valueWidth == CodePointTrie.ValueWidth.BITS_32) { in build()
1527 switch (valueWidth) { in build()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCodePointTrieTest.java222 CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, in testTrieGetters() argument
342 CodePointTrie trie, CodePointTrie.ValueWidth valueWidth, in testTrieUTF16() argument
429 CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, in testTrie() argument
431 testTrieGetters(testName, trie, type, valueWidth, checkRanges); in testTrie()
434 testTrieUTF16(testName, trie, valueWidth, checkRanges); in testTrie()
447 … CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, boolean withSwap, in testTrieSerialize() argument
460 trie = mutableTrie.buildImmutable(type, valueWidth); in testTrieSerialize()
467 testTrie(testName, trie, type, valueWidth, checkRanges); in testTrieSerialize()
473 trie = CodePointTrie.fromBinary(type, valueWidth, storage); in testTrieSerialize()
479 if(valueWidth != trie.getValueWidth()) { in testTrieSerialize()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCodePointTrieTest.java219 CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, in testTrieGetters() argument
339 CodePointTrie trie, CodePointTrie.ValueWidth valueWidth, in testTrieUTF16() argument
426 CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, in testTrie() argument
428 testTrieGetters(testName, trie, type, valueWidth, checkRanges); in testTrie()
431 testTrieUTF16(testName, trie, valueWidth, checkRanges); in testTrie()
444 … CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, boolean withSwap, in testTrieSerialize() argument
457 trie = mutableTrie.buildImmutable(type, valueWidth); in testTrieSerialize()
464 testTrie(testName, trie, type, valueWidth, checkRanges); in testTrieSerialize()
470 trie = CodePointTrie.fromBinary(type, valueWidth, storage); in testTrieSerialize()
476 if(valueWidth != trie.getValueWidth()) { in testTrieSerialize()
[all …]
/external/icu/icu4c/source/common/unicode/
Ducptrie.h79 int8_t valueWidth; // UCPTrieValueWidth member
206 ucptrie_openFromBinary(UCPTrieType type, UCPTrieValueWidth valueWidth,
Dumutablecptrie.h235 umutablecptrie_buildImmutable(UMutableCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth,
/external/tensorflow/tensorflow/examples/ios/camera/
DCameraExampleViewController.mm488 const float valueWidth = 48.0f;
516 width:valueWidth
520 const float labelOriginX = (leftMargin + valueWidth + labelMarginX);
/external/tensorflow/tensorflow/lite/examples/ios/camera/
DCameraExampleViewController.mm515 const float valueWidth = 48.0f;
540 width:valueWidth
544 const float labelOriginX = (leftMargin + valueWidth + labelMarginX);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1127 unsigned valueWidth = valueToShift.getBitWidth(); in getShiftAmount() local
1128 if (orgShiftAmount < (uint64_t)valueWidth) in getShiftAmount()
1132 return (NextPowerOf2(valueWidth-1) - 1) & orgShiftAmount; in getShiftAmount()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1128 unsigned valueWidth = valueToShift.getBitWidth(); in getShiftAmount() local
1129 if (orgShiftAmount < (uint64_t)valueWidth) in getShiftAmount()
1133 return (NextPowerOf2(valueWidth-1) - 1) & orgShiftAmount; in getShiftAmount()