Home
last modified time | relevance | path

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

/external/v8/test/webkit/
Dinteger-extremes.js157 for (var valueBits = 8; valueBits <= 128; valueBits++) {
158 debug("bits used to store value: " + valueBits);
159 var max = Math.pow(2, valueBits - 1) - 1;
160 var min = -Math.pow(2, valueBits - 1);
161 shouldBe("min.toString()", answers[valueBits-8][0]);
162 shouldBe("(min - 1).toString()", answers[valueBits-8][1]);
163 shouldBe("max.toString()", answers[valueBits-8][2]);
164 shouldBe("(max + 1).toString()", answers[valueBits-8][3]);
/external/icu/icu4c/source/common/
Dutrie2.cpp128 utrie2_openFromSerialized(UTrie2ValueBits valueBits, in utrie2_openFromSerialized() argument
143 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits in utrie2_openFromSerialized()
163 if(valueBits!=(UTrie2ValueBits)(header->options&UTRIE2_OPTIONS_VALUE_BITS_MASK)) { in utrie2_openFromSerialized()
177 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openFromSerialized()
183 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openFromSerialized()
210 switch(valueBits) { in utrie2_openFromSerialized()
235 utrie2_openDummy(UTrie2ValueBits valueBits, in utrie2_openDummy() argument
249 if(valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits) { in utrie2_openDummy()
258 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openDummy()
281 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_openDummy()
[all …]
Dutrie2_builder.cpp1249 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode) { in utrie2_freeze() argument
1264 valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits in utrie2_freeze()
1274 if(valueBits!=frozenValueBits) { in utrie2_freeze()
1294 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_freeze()
1316 if(valueBits==UTRIE2_16_VALUE_BITS) { in utrie2_freeze()
1344 header->options=(uint16_t)valueBits; in utrie2_freeze()
1391 switch(valueBits) { in utrie2_freeze()
Dutrie2.h99 utrie2_openFromSerialized(UTrie2ValueBits valueBits,
125 utrie2_openDummy(UTrie2ValueBits valueBits,
291 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode);
/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c109 const UTrie2 *trie, UTrie2ValueBits valueBits, in testTrieGetters() argument
130 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
141 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
151 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
178 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
191 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
226 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
246 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieGetters()
268 const UTrie2 *trie, UTrie2ValueBits valueBits, in testTrieUTF16() argument
305 if(valueBits==UTRIE2_16_VALUE_BITS) { in testTrieUTF16()
[all …]
/external/icu/android_icu4j/src/main/java/android/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/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java1016 private void freeze(Trie2 dest, ValueWidth valueBits) { in freeze() argument
1032 if(valueBits==ValueWidth.BITS_16) { in freeze()
1052 if (valueBits==ValueWidth.BITS_16) { in freeze()
1077 dest.header.options = valueBits==ValueWidth.BITS_16 ? 0 : 1; in freeze()
1133 switch(valueBits) { in freeze()
/external/llvm/lib/Support/
DAPFloat.cpp2767 unsigned int count, valueBits, shift, partsCount, outputDigits; in convertNormalToHexString() local
2784 valueBits = semantics->precision + 3; in convertNormalToHexString()
2785 shift = integerPartWidth - valueBits % integerPartWidth; in convertNormalToHexString()
2789 outputDigits = (valueBits - significandLSB () + 3) / 4; in convertNormalToHexString()
2801 bits = valueBits - hexDigits * 4; in convertNormalToHexString()
2813 count = (valueBits + integerPartWidth - 1) / integerPartWidth; in convertNormalToHexString()
/external/clang/lib/AST/
DItaniumMangle.cpp696 llvm::APInt valueBits = f.bitcastToAPInt(); in mangleFloat() local
697 unsigned numCharacters = (valueBits.getBitWidth() + 3) / 4; in mangleFloat()
710 = valueBits.getRawData()[digitBitIndex / llvm::integerPartWidth]; in mangleFloat()