Home
last modified time | relevance | path

Searched refs:fromHex (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_float.py1021 fromHex = float.fromhex variable
1024 MAX = fromHex('0x.fffffffffffff8p+1024') # max normal
1025 MIN = fromHex('0x1p-1022') # min normal
1026 TINY = fromHex('0x0.0000000000001p-1022') # min subnormal
1027 EPS = fromHex('0x0.0000000000001p0') # diff between 1.0 and next float up
1101 result = fromHex(x)
1131 got = fromHex(lead + inp + trail)
1142 self.identical(fromHex('inf'), INF)
1143 self.identical(fromHex('+Inf'), INF)
1144 self.identical(fromHex('-INF'), -INF)
[all …]
/external/python/cpython3/Lib/test/
Dtest_float.py1008 fromHex = float.fromhex variable
1011 MAX = fromHex('0x.fffffffffffff8p+1024') # max normal
1012 MIN = fromHex('0x1p-1022') # min normal
1013 TINY = fromHex('0x0.0000000000001p-1022') # min subnormal
1014 EPS = fromHex('0x0.0000000000001p0') # diff between 1.0 and next float up
1088 result = fromHex(x)
1118 got = fromHex(lead + inp + trail)
1129 self.identical(fromHex('inf'), INF)
1130 self.identical(fromHex('+Inf'), INF)
1131 self.identical(fromHex('-INF'), -INF)
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
DSECNamedCurves.java30 private static BigInteger fromHex( in fromHex() method in SECNamedCurves
44 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B");
45 BigInteger a = fromHex("DB7C2ABF62E35E668076BEAD2088");
46 BigInteger b = fromHex("659EF8BA043916EEDE8911702B22");
48 BigInteger n = fromHex("DB7C2ABF62E35E7628DFAC6561C5");
70 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B");
71 BigInteger a = fromHex("6127C24C05F38A0AAAF65C0EF02C");
72 BigInteger b = fromHex("51DEF1815DB5ED74FCC34C85D709");
74 BigInteger n = fromHex("36DF0AAFD8B8D7597CA10520D04B");
96 BigInteger p = fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF");
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/sec/
DSECNamedCurves.java34 private static BigInteger fromHex( in fromHex() method in SECNamedCurves
48 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B");
49 BigInteger a = fromHex("DB7C2ABF62E35E668076BEAD2088");
50 BigInteger b = fromHex("659EF8BA043916EEDE8911702B22");
52 BigInteger n = fromHex("DB7C2ABF62E35E7628DFAC6561C5");
74 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B");
75 BigInteger a = fromHex("6127C24C05F38A0AAAF65C0EF02C");
76 BigInteger b = fromHex("51DEF1815DB5ED74FCC34C85D709");
78 BigInteger n = fromHex("36DF0AAFD8B8D7597CA10520D04B");
100 BigInteger p = fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF");
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DStringExtrasTest.cpp72 EXPECT_EQ(OddData, fromHex(StringRef(OddStr).drop_front())); in TEST()
79 EXPECT_EQ(EvenData, fromHex(EvenStr)); in TEST()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateCldrCollationTests.java108 static Transliterator fromHex = Transliterator.getInstance("hex-any"); field in GenerateCldrCollationTests
125 String rules = fromHex.transliterate(originalRules); in getCollationRules()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DNormalizerBuilder.java176 String decomp = fromHex(segment); in buildDecompositionTables()
444 static public String fromHex(String source) { in fromHex() method in NormalizerBuilder
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DNormalizerBuilder.java175 String decomp = fromHex(segment); in buildDecompositionTables()
443 static public String fromHex(String source) { in fromHex() method in NormalizerBuilder
/external/fonttools/Lib/fontTools/ttLib/tables/
DC_P_A_L_.py211 color = Color.fromHex(attrs["value"])
247 def fromHex(cls, value): member in Color
/external/cldr/tools/java/org/unicode/cldr/util/
DEmoji.java65 String original = Utility.fromHex(emojiHex, 4, " ");
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUtility.java1778 public static String fromHex(String string, int minLength, String separator) {
1779 return fromHex(string, minLength, Pattern.compile(separator != null ? separator : "\\s+"));
1789 public static String fromHex(String string, int minLength, Pattern separator) {
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtility.java1782 public static String fromHex(String string, int minLength, String separator) {
1783 return fromHex(string, minLength, Pattern.compile(separator != null ? separator : "\\s+"));
1793 public static String fromHex(String string, int minLength, Pattern separator) {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringExtras.h170 inline std::string fromHex(StringRef Input) { in fromHex() function
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java300 text.insertText(fromHex.transliterate(hexValue)); in initMenus()
500 Transliterator fromHex = Transliterator.getInstance("Hex-Any"); field in Demo
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DCodeViewYAMLDebugSections.cpp261 std::string H = fromHex(Scalar); in input()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp291 std::string ChecksumString = fromHex(Checksum->Value); in getMD5AsBytes()
DCodeViewDebug.cpp181 std::string Checksum = fromHex(F->getChecksum()->Value); in maybeRecordFile()
/external/icu/icu4j/
Dcoverage-exclusion.txt677 com/ibm/icu/impl/Utility#fromHex:(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
678 com/ibm/icu/impl/Utility#fromHex:(Ljava/lang/String;ILjava/util/regex/Pattern;)Ljava/lang/String;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DAsmParser.cpp3545 Checksum = fromHex(Checksum); in parseDirectiveCVFile()