Home
last modified time | relevance | path

Searched refs:valueBits (Results 1 – 25 of 57) sorted by relevance

123

/third_party/icu/icu4c/source/test/cintltst/
Dtrie2test.c114 const UTrie2 *trie, UTrie2ValueBits valueBits, in testTrieGetters() argument
135 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
146 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
156 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
183 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
196 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
231 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
251 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
273 const UTrie2 *trie, UTrie2ValueBits valueBits, in testTrieUTF16() argument
310 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieUTF16()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DConvertVertex.comp217 uint valueBits = 10;
218 uint shiftBits = valueBits * component;
222 uint valueBits = Bs * 8;
223 uint valueMask = valueBits == 32 ? -1 : (1 << valueBits) - 1;
229 if (valueBits < 32)
231 bool isNegative = (valueAsUint & (1 << (valueBits - 1))) != 0;
233 // Note: if valueBits == 32, then 0xFFFFFFFF << valueBits is undefined,
235 uint signExtension = isNegative ? 0xFFFFFFFF << valueBits : 0;
242 if (valueBits < 32)
244 bool isNegative = (valueAsUint & (1 << (valueBits - 1))) != 0;
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DConvertVertex.comp215 uint valueBits;
221 valueBits = component == 3 ? 2 : 10;
230 shiftBits = component == 3 ? 0 : (valueBits * (2 - component) + 2);
236 valueBits = Bs * 8;
237 valueMask = valueBits == 32 ? -1 : (1 << valueBits) - 1;
253 if (valueBits < 32)
255 bool isNegative = (valueAsUint & (1 << (valueBits - 1))) != 0;
257 // Note: if valueBits == 32, then 0xFFFFFFFF << valueBits is undefined,
259 uint signExtension = isNegative ? 0xFFFFFFFF << valueBits : 0;
266 if (valueBits < 32)
[all …]
/third_party/icu/icu4c/source/common/
Dutrie2.cpp129 utrie2_openFromSerialized(UTrie2ValueBits valueBits, in utrie2_openFromSerialized() argument
144 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits in utrie2_openFromSerialized()
164 if(valueBits!=(UTrie2ValueBits)(header->options&UTRIE2_OPTIONS_VALUE_BITS_MASK)) { in utrie2_openFromSerialized()
178 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openFromSerialized()
184 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openFromSerialized()
214 switch(valueBits) { in utrie2_openFromSerialized()
239 utrie2_openDummy(UTrie2ValueBits valueBits, in utrie2_openDummy() argument
253 if(valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits) { in utrie2_openDummy()
262 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openDummy()
285 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openDummy()
[all …]
Dutrie_swap.cpp103 UTrie2ValueBits valueBits; in utrie2_swap() local
125 valueBits=(UTrie2ValueBits)(trie.options&UTRIE2_OPTIONS_VALUE_BITS_MASK); in utrie2_swap()
129 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits || in utrie2_swap()
138 switch(valueBits) { in utrie2_swap()
165 switch(valueBits) { in utrie2_swap()
Dutrie2_builder.cpp1306 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode) { in utrie2_freeze() argument
1321 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits in utrie2_freeze()
1331 if(valueBits!=frozenValueBits) { in utrie2_freeze()
1351 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_freeze()
1373 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_freeze()
1401 header->options=(uint16_t)valueBits; in utrie2_freeze()
1448 switch(valueBits) { in utrie2_freeze()
1477 newTrie->t3, UCPTRIE_TYPE_FAST, (UCPTrieValueWidth)valueBits, pErrorCode)); in utrie2_freeze()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dutrie2.cpp129 utrie2_openFromSerialized(UTrie2ValueBits valueBits, in utrie2_openFromSerialized() argument
144 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits in utrie2_openFromSerialized()
164 if(valueBits!=(UTrie2ValueBits)(header->options&UTRIE2_OPTIONS_VALUE_BITS_MASK)) { in utrie2_openFromSerialized()
178 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openFromSerialized()
184 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openFromSerialized()
214 switch(valueBits) { in utrie2_openFromSerialized()
239 utrie2_openDummy(UTrie2ValueBits valueBits, in utrie2_openDummy() argument
253 if(valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits) { in utrie2_openDummy()
262 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openDummy()
285 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openDummy()
[all …]
Dutrie_swap.cpp103 UTrie2ValueBits valueBits; in utrie2_swap() local
125 valueBits=(UTrie2ValueBits)(trie.options&UTRIE2_OPTIONS_VALUE_BITS_MASK); in utrie2_swap()
129 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits || in utrie2_swap()
138 switch(valueBits) { in utrie2_swap()
165 switch(valueBits) { in utrie2_swap()
Dutrie2_builder.cpp1304 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode) { in utrie2_freeze() argument
1319 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits in utrie2_freeze()
1329 if(valueBits!=frozenValueBits) { in utrie2_freeze()
1349 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_freeze()
1371 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_freeze()
1399 header->options=(uint16_t)valueBits; in utrie2_freeze()
1446 switch(valueBits) { in utrie2_freeze()
1475 newTrie->t3, UCPTRIE_TYPE_FAST, (UCPTrieValueWidth)valueBits, pErrorCode)); in utrie2_freeze()
/third_party/node/deps/icu-small/source/common/
Dutrie2.cpp129 utrie2_openFromSerialized(UTrie2ValueBits valueBits, in utrie2_openFromSerialized() argument
144 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits in utrie2_openFromSerialized()
164 if(valueBits!=(UTrie2ValueBits)(header->options&UTRIE2_OPTIONS_VALUE_BITS_MASK)) { in utrie2_openFromSerialized()
178 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openFromSerialized()
184 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openFromSerialized()
214 switch(valueBits) { in utrie2_openFromSerialized()
239 utrie2_openDummy(UTrie2ValueBits valueBits, in utrie2_openDummy() argument
253 if(valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits) { in utrie2_openDummy()
262 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openDummy()
285 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openDummy()
[all …]
Dutrie_swap.cpp103 UTrie2ValueBits valueBits; in utrie2_swap() local
125 valueBits=(UTrie2ValueBits)(trie.options&UTRIE2_OPTIONS_VALUE_BITS_MASK); in utrie2_swap()
129 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits || in utrie2_swap()
138 switch(valueBits) { in utrie2_swap()
165 switch(valueBits) { in utrie2_swap()
Dutrie2_builder.cpp1306 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode) { in utrie2_freeze() argument
1321 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits in utrie2_freeze()
1331 if(valueBits!=frozenValueBits) { in utrie2_freeze()
1351 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_freeze()
1373 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_freeze()
1401 header->options=(uint16_t)valueBits; in utrie2_freeze()
1448 switch(valueBits) { in utrie2_freeze()
1477 newTrie->t3, UCPTRIE_TYPE_FAST, (UCPTrieValueWidth)valueBits, pErrorCode)); in utrie2_freeze()
/third_party/skia/third_party/externals/icu/source/common/
Dutrie2.cpp129 utrie2_openFromSerialized(UTrie2ValueBits valueBits, in utrie2_openFromSerialized() argument
144 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits in utrie2_openFromSerialized()
164 if(valueBits!=(UTrie2ValueBits)(header->options&UTRIE2_OPTIONS_VALUE_BITS_MASK)) { in utrie2_openFromSerialized()
178 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openFromSerialized()
184 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openFromSerialized()
214 switch(valueBits) { in utrie2_openFromSerialized()
239 utrie2_openDummy(UTrie2ValueBits valueBits, in utrie2_openDummy() argument
253 if(valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits) { in utrie2_openDummy()
262 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openDummy()
285 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openDummy()
[all …]
Dutrie_swap.cpp103 UTrie2ValueBits valueBits; in utrie2_swap() local
125 valueBits=(UTrie2ValueBits)(trie.options&UTRIE2_OPTIONS_VALUE_BITS_MASK); in utrie2_swap()
129 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits || in utrie2_swap()
138 switch(valueBits) { in utrie2_swap()
165 switch(valueBits) { in utrie2_swap()
Dutrie2_builder.cpp1306 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode) { in utrie2_freeze() argument
1321 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits in utrie2_freeze()
1331 if(valueBits!=frozenValueBits) { in utrie2_freeze()
1351 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_freeze()
1373 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_freeze()
1401 header->options=(uint16_t)valueBits; in utrie2_freeze()
1448 switch(valueBits) { in utrie2_freeze()
1477 newTrie->t3, UCPTRIE_TYPE_FAST, (UCPTrieValueWidth)valueBits, pErrorCode)); in utrie2_freeze()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/gen/
DConvertVertex.comp.00000000.inc241 // uint valueBits;
246 // valueBits = component == 3 ? 2 : 10;
255 // shiftBits = component == 3 ? 0 :(valueBits *(2 - component)+ 2);
261 // valueBits = params . Bs * 8;
262 // valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
276 // if(valueBits < 32)
278 // bool isNegative =(valueAsUint &(1 <<(valueBits - 1)))!= 0;
280 // uint signExtension = isNegative ? 0xFFFFFFFF << valueBits : 0;
303 // uint valueBits = params . Bd * 8;
304 // uint valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
DConvertVertex.comp.00000001.inc226 // uint valueBits;
231 // valueBits = component == 3 ? 2 : 10;
240 // shiftBits = component == 3 ? 0 :(valueBits *(2 - component)+ 2);
246 // valueBits = params . Bs * 8;
247 // valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
281 // uint valueBits = params . Bd * 8;
282 // uint valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
DConvertVertex.comp.00000002.inc229 // uint valueBits;
234 // valueBits = component == 3 ? 2 : 10;
243 // shiftBits = component == 3 ? 0 :(valueBits *(2 - component)+ 2);
249 // valueBits = params . Bs * 8;
250 // valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
264 // if(valueBits < 32)
266 // bool isNegative =(valueAsUint &(1 <<(valueBits - 1)))!= 0;
268 // uint signExtension = isNegative ? 0xFFFFFFFF << valueBits : 0;
DConvertVertex.comp.00000004.inc232 // uint valueBits;
237 // valueBits = component == 3 ? 2 : 10;
246 // shiftBits = component == 3 ? 0 :(valueBits *(2 - component)+ 2);
252 // valueBits = params . Bs * 8;
253 // valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
267 // if(valueBits < 32)
269 // bool isNegative =(valueAsUint &(1 <<(valueBits - 1)))!= 0;
270 // uint signExtension = isNegative ? 0xFFFFFFFF << valueBits : 0;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/gen/
DConvertVertex.comp.00000000.inc324 // uint valueBits = params . Bs * 8;
325 // uint valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
329 // if(valueBits < 32)
331 // bool isNegative =(valueAsUint &(1 <<(valueBits - 1)))!= 0;
333 // uint signExtension = isNegative ? 0xFFFFFFFF << valueBits : 0;
356 // uint valueBits = params . Bd * 8;
357 // uint valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
DConvertVertex.comp.00000001.inc316 // uint valueBits = params . Bs * 8;
317 // uint valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
321 // if(valueBits < 32)
323 // bool isNegative =(valueAsUint &(1 <<(valueBits - 1)))!= 0;
325 // uint signExtension = isNegative ? 0xFFFFFFFF << valueBits : 0;
348 // uint valueBits = params . Bd * 8;
349 // uint valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
DConvertVertex.comp.00000011.inc306 // uint valueBits = 10;
307 // uint shiftBits = valueBits * component;
312 // if(valueBits < 32)
314 // bool isNegative =(valueAsUint &(1 <<(valueBits - 1)))!= 0;
316 // uint signExtension = isNegative ? 0xFFFFFFFF << valueBits : 0;
339 // uint valueBits = params . Bd * 8;
340 // uint valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
DConvertVertex.comp.00000010.inc315 // uint valueBits = 10;
316 // uint shiftBits = valueBits * component;
321 // if(valueBits < 32)
323 // bool isNegative =(valueAsUint &(1 <<(valueBits - 1)))!= 0;
325 // uint signExtension = isNegative ? 0xFFFFFFFF << valueBits : 0;
348 // uint valueBits = params . Bd * 8;
349 // uint valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java1018 private void freeze(Trie2 dest, ValueWidth valueBits) { in freeze() argument
1034 if(valueBits==ValueWidth.BITS_16) { in freeze()
1054 if (valueBits==ValueWidth.BITS_16) { in freeze()
1079 dest.header.options = valueBits==ValueWidth.BITS_16 ? 0 : 1; in freeze()
1135 switch(valueBits) { in freeze()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DTrie2Writable.java1020 private void freeze(Trie2 dest, ValueWidth valueBits) { in freeze() argument
1036 if(valueBits==ValueWidth.BITS_16) { in freeze()
1056 if (valueBits==ValueWidth.BITS_16) { in freeze()
1081 dest.header.options = valueBits==ValueWidth.BITS_16 ? 0 : 1; in freeze()
1137 switch(valueBits) { in freeze()

123