Home
last modified time | relevance | path

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

12

/external/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 …]
/external/angle/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 …]
/external/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()
Dutrie2.h103 utrie2_openFromSerialized(UTrie2ValueBits valueBits,
129 utrie2_openDummy(UTrie2ValueBits valueBits,
295 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode);
/external/angle/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;
DConvertVertex.comp.00000007.inc215 // uint valueBits;
220 // valueBits = component == 3 ? 2 : 10;
229 // shiftBits = component == 3 ? 0 :(valueBits *(2 - component)+ 2);
235 // valueBits = 4 * 8;
236 // valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
DConvertVertex.comp.00000005.inc219 // uint valueBits;
224 // valueBits = component == 3 ? 2 : 10;
233 // shiftBits = component == 3 ? 0 :(valueBits *(2 - component)+ 2);
239 // valueBits = params . Bs * 8;
240 // valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
DConvertVertex.comp.00000003.inc217 // uint valueBits;
222 // valueBits = component == 3 ? 2 : 10;
231 // shiftBits = component == 3 ? 0 :(valueBits *(2 - component)+ 2);
237 // valueBits = params . Bs * 8;
238 // valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
DConvertVertex.comp.00000006.inc217 // uint valueBits;
222 // valueBits = component == 3 ? 2 : 10;
231 // shiftBits = component == 3 ? 0 :(valueBits *(2 - component)+ 2);
237 // valueBits = 4 * 8;
238 // valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
/external/icu/android_icu4j/src/main/java/android/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()
/external/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()
/external/icu/libicu/cts_headers/
Dutrie2.h103 utrie2_openFromSerialized(UTrie2ValueBits valueBits,
129 utrie2_openDummy(UTrie2ValueBits valueBits,
295 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode);
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DVorbisUtil.java516 int valueBits = bitArray.readBits(4) + 1; in readBook() local
529 bitArray.skipBits((int) (lookupValuesCount * valueBits)); in readBook()
/external/llvm/lib/Support/
DAPFloat.cpp2770 unsigned int count, valueBits, shift, partsCount, outputDigits; in convertNormalToHexString() local
2787 valueBits = semantics->precision + 3; in convertNormalToHexString()
2788 shift = integerPartWidth - valueBits % integerPartWidth; in convertNormalToHexString()
2792 outputDigits = (valueBits - significandLSB () + 3) / 4; in convertNormalToHexString()
2804 bits = valueBits - hexDigits * 4; in convertNormalToHexString()
2816 count = (valueBits + integerPartWidth - 1) / integerPartWidth; in convertNormalToHexString()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPFloat.cpp2751 unsigned int count, valueBits, shift, partsCount, outputDigits; in convertNormalToHexString() local
2768 valueBits = semantics->precision + 3; in convertNormalToHexString()
2769 shift = integerPartWidth - valueBits % integerPartWidth; in convertNormalToHexString()
2773 outputDigits = (valueBits - significandLSB () + 3) / 4; in convertNormalToHexString()
2785 bits = valueBits - hexDigits * 4; in convertNormalToHexString()
2797 count = (valueBits + integerPartWidth - 1) / integerPartWidth; in convertNormalToHexString()
/external/llvm-project/llvm/lib/Support/
DAPFloat.cpp2980 unsigned int count, valueBits, shift, partsCount, outputDigits; in convertNormalToHexString() local
2997 valueBits = semantics->precision + 3; in convertNormalToHexString()
2998 shift = integerPartWidth - valueBits % integerPartWidth; in convertNormalToHexString()
3002 outputDigits = (valueBits - significandLSB () + 3) / 4; in convertNormalToHexString()
3014 bits = valueBits - hexDigits * 4; in convertNormalToHexString()
3026 count = (valueBits + integerPartWidth - 1) / integerPartWidth; in convertNormalToHexString()
/external/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp2867 uint32_t valueBits; in writeFloatLiteral() local
2868 static_assert(sizeof(valueBits) == sizeof(value)); in writeFloatLiteral()
2869 memcpy(&valueBits, &value, sizeof(value)); in writeFloatLiteral()
2871 SPIRVNumberConstant key{valueBits, f.type().numberKind()}; in writeFloatLiteral()
2875 this->writeInstruction(SpvOpConstant, this->getType(f.type()), result, (SpvId) valueBits, in writeFloatLiteral()
/external/clang/lib/AST/
DItaniumMangle.cpp959 llvm::APInt valueBits = f.bitcastToAPInt(); in mangleFloat() local
960 unsigned numCharacters = (valueBits.getBitWidth() + 3) / 4; in mangleFloat()
973 = valueBits.getRawData()[digitBitIndex / llvm::integerPartWidth]; in mangleFloat()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp10408 unsigned valueBits() const { in valueBits() function
10496 return IntRange(std::max(L.valueBits(), R.valueBits()) + !Unsigned, in join()
10518 return IntRange(std::max(L.valueBits(), R.valueBits()) + 1 + !Unsigned, in sum()
10529 return IntRange(std::max(L.valueBits(), R.valueBits()) + CanWiden + in difference()
10541 return IntRange(L.valueBits() + R.valueBits() + CanWiden + !Unsigned, in product()
10550 return IntRange(std::min(L.valueBits(), R.valueBits()) + !Unsigned, in rem()
/external/llvm-project/clang/lib/AST/
DItaniumMangle.cpp1009 llvm::APInt valueBits = f.bitcastToAPInt(); in mangleFloat() local
1010 unsigned numCharacters = (valueBits.getBitWidth() + 3) / 4; in mangleFloat()
1022 uint64_t hexDigit = valueBits.getRawData()[digitBitIndex / 64]; in mangleFloat()

12