Home
last modified time | relevance | path

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

12

/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()
267 switch(valueWidth) { in ucptrie_swap()
Dcharacterproperties.cpp336 UCPTrieValueWidth valueWidth; in makeMap() local
340 valueWidth = UCPTRIE_VALUE_BITS_8; in makeMap()
342 valueWidth = UCPTRIE_VALUE_BITS_16; in makeMap()
344 valueWidth = UCPTRIE_VALUE_BITS_32; in makeMap()
347 umutablecptrie_buildImmutable(mutableTrie.getAlias(), type, valueWidth, &errorCode)); in makeMap()
Dumutablecptrie.cpp89 UCPTrie *build(UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode &errorCode);
217 switch (trie->valueWidth) { in fromUCPTrie()
1576 UCPTrie *MutableCodePointTrie::build(UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode &er… in build() argument
1581 valueWidth < UCPTRIE_VALUE_BITS_16 || UCPTRIE_VALUE_BITS_8 < valueWidth) { in build()
1589 switch (valueWidth) { in build()
1610 if (valueWidth == UCPTRIE_VALUE_BITS_32 && (indexLength & 1) != 0) { in build()
1617 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in build()
1627 } else if (valueWidth == UCPTRIE_VALUE_BITS_32) { in build()
1673 trie->valueWidth = valueWidth; in build()
1698 switch (valueWidth) { in build()
[all …]
/external/icu/icu4c/source/test/cintltst/
Ducptrietest.c186 UCPTrieType type, UCPTrieValueWidth valueWidth, in testTrieGetters() argument
205 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in testTrieGetters()
207 } else if (valueWidth == UCPTRIE_VALUE_BITS_32) { in testTrieGetters()
220 if(valueWidth==UCPTRIE_VALUE_BITS_16) { in testTrieGetters()
222 } else if(valueWidth==UCPTRIE_VALUE_BITS_32) { in testTrieGetters()
233 if(valueWidth==UCPTRIE_VALUE_BITS_16) { in testTrieGetters()
235 } else if(valueWidth==UCPTRIE_VALUE_BITS_32) { in testTrieGetters()
246 if(valueWidth==UCPTRIE_VALUE_BITS_16) { in testTrieGetters()
248 } else if(valueWidth==UCPTRIE_VALUE_BITS_32) { in testTrieGetters()
254 if(valueWidth==UCPTRIE_VALUE_BITS_16) { in testTrieGetters()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DCharacterProperties.java91 CodePointTrie.ValueWidth valueWidth; in makeMap() local
95 valueWidth = CodePointTrie.ValueWidth.BITS_8; in makeMap()
97 valueWidth = CodePointTrie.ValueWidth.BITS_16; in makeMap()
99 valueWidth = CodePointTrie.ValueWidth.BITS_32; in makeMap()
101 return mutableTrie.buildImmutable(type, valueWidth); in makeMap()
/external/icu/android_icu4j/src/main/java/android/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/icu4j/main/classes/core/src/com/ibm/icu/util/
DCodePointTrie.java132 public static CodePointTrie fromBinary(Type type, ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
215 if (valueWidth == null) { in fromBinary()
216 valueWidth = actualValueWidth; in fromBinary()
218 if (type != actualType || valueWidth != actualValueWidth) { in fromBinary()
230 if (valueWidth == ValueWidth.BITS_16) { in fromBinary()
232 } else if (valueWidth == ValueWidth.BITS_32) { in fromBinary()
242 switch (valueWidth) { in fromBinary()
762 public static Fast fromBinary(ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
763 return (Fast) CodePointTrie.fromBinary(Type.FAST, valueWidth, bytes); in fromBinary()
900 public static Small fromBinary(ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
[all …]
DMutableCodePointTrie.java350 …public CodePointTrie buildImmutable(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in buildImmutable() argument
351 if (type == null || valueWidth == null) { in buildImmutable()
356 return build(type, valueWidth); in buildImmutable()
1434 private CodePointTrie build(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in build() argument
1438 switch (valueWidth) { in build()
1456 if (valueWidth == CodePointTrie.ValueWidth.BITS_32 && (indexLength & 1) != 0) { in build()
1463 if (valueWidth == CodePointTrie.ValueWidth.BITS_16) { in build()
1473 } else if (valueWidth == CodePointTrie.ValueWidth.BITS_32) { in build()
1518 switch (valueWidth) { in build()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCodePointTrie.java124 public static CodePointTrie fromBinary(Type type, ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
207 if (valueWidth == null) { in fromBinary()
208 valueWidth = actualValueWidth; in fromBinary()
210 if (type != actualType || valueWidth != actualValueWidth) { in fromBinary()
222 if (valueWidth == ValueWidth.BITS_16) { in fromBinary()
224 } else if (valueWidth == ValueWidth.BITS_32) { in fromBinary()
234 switch (valueWidth) { in fromBinary()
747 public static Fast fromBinary(ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
748 return (Fast) CodePointTrie.fromBinary(Type.FAST, valueWidth, bytes); in fromBinary()
880 public static Small fromBinary(ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument
[all …]
DMutableCodePointTrie.java342 …public CodePointTrie buildImmutable(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in buildImmutable() argument
343 if (type == null || valueWidth == null) { in buildImmutable()
348 return build(type, valueWidth); in buildImmutable()
1426 private CodePointTrie build(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in build() argument
1430 switch (valueWidth) { in build()
1448 if (valueWidth == CodePointTrie.ValueWidth.BITS_32 && (indexLength & 1) != 0) { in build()
1455 if (valueWidth == CodePointTrie.ValueWidth.BITS_16) { in build()
1465 } else if (valueWidth == CodePointTrie.ValueWidth.BITS_32) { in build()
1510 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/angle/src/libANGLE/renderer/vulkan/shaders/src/
DOverlayDraw.comp50 uvec4 valueWidth; // yzw unused. x should necessarily divide coordinate's z-x
128 uint getValue(const uint graphWidget, const uvec2 coordInWidget, const uint valueWidth)
130 const uint valueIndex = coordInWidget.x / valueWidth.x;
206 const uint valueWidth = graphWidgetsData[graphWidget].valueWidth.x;
209 const uint value = getValue(graphWidget, coordInWidget, valueWidth);
/external/icu/libandroidicu/include/unicode/
Dumutablecptrie.h217 umutablecptrie_buildImmutable(UMutableCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth,
Ducptrie.h79 int8_t valueWidth; // UCPTrieValueWidth member
206 ucptrie_openFromBinary(UCPTrieType type, UCPTrieValueWidth valueWidth,
/external/icu/libicu/cts_headers/unicode/
Dumutablecptrie.h217 umutablecptrie_buildImmutable(UMutableCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth,
Ducptrie.h79 int8_t valueWidth; // UCPTrieValueWidth member
206 ucptrie_openFromBinary(UCPTrieType type, UCPTrieValueWidth valueWidth,
/external/icu/icu4c/source/common/unicode/
Dumutablecptrie.h217 umutablecptrie_buildImmutable(UMutableCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth,
Ducptrie.h79 int8_t valueWidth; // UCPTrieValueWidth member
206 ucptrie_openFromBinary(UCPTrieType type, UCPTrieValueWidth valueWidth,
/external/angle/src/libANGLE/renderer/vulkan/shaders/gen/
DOverlayDraw.comp.00000000.inc206 // uvec4 valueWidth;
281 // uint getValue(const uint graphWidget, const uvec2 coordInWidget, const uint valueWidth)
283 // const uint valueIndex = coordInWidget . x / valueWidth . x;
346 // const uint valueWidth = graphWidgetsData[graphWidget]. valueWidth . x;
348 // const uint value = getValue(graphWidget, coordInWidget, valueWidth);
DOverlayDraw.comp.00000001.inc206 // uvec4 valueWidth;
281 // uint getValue(const uint graphWidget, const uvec2 coordInWidget, const uint valueWidth)
283 // const uint valueIndex = coordInWidget . x / valueWidth . x;
346 // const uint valueWidth = graphWidgetsData[graphWidget]. valueWidth . x;
348 // const uint value = getValue(graphWidget, coordInWidget, valueWidth);
/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/angle/src/libANGLE/
DOverlayWidgets.cpp80 uint32_t valueWidth; member
263 &graphWidget->valueWidth); in AppendGraphCommon()

12