Home
last modified time | relevance | path

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

12

/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.py1050 fromHex = float.fromhex variable
1053 MAX = fromHex('0x.fffffffffffff8p+1024') # max normal
1054 MIN = fromHex('0x1p-1022') # min normal
1055 TINY = fromHex('0x0.0000000000001p-1022') # min subnormal
1056 EPS = fromHex('0x0.0000000000001p0') # diff between 1.0 and next float up
1130 result = fromHex(x)
1160 got = fromHex(lead + inp + trail)
1171 self.identical(fromHex('inf'), INF)
1172 self.identical(fromHex('+Inf'), INF)
1173 self.identical(fromHex('-INF'), -INF)
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x9/
DX962NamedCurves.java33 private static BigInteger fromHex(String hex) in fromHex() method in X962NamedCurves
42 BigInteger n = fromHex("ffffffffffffffffffffffff99def836146bc9b1b4d22831");
46 fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),
47 fromHex("fffffffffffffffffffffffffffffffefffffffffffffffc"),
48 fromHex("64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1"),
62 BigInteger n = fromHex("fffffffffffffffffffffffe5fb1a724dc80418648d8dd31");
66 fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),
67 fromHex("fffffffffffffffffffffffffffffffefffffffffffffffc"),
68 fromHex("cc22d6dfb95c6b25e49c0d6364a4e5980c393aa21668d953"),
82 BigInteger n = fromHex("ffffffffffffffffffffffff7a62d031c83f4294f640ec13");
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x9/
DX962NamedCurves.java33 private static BigInteger fromHex(String hex) in fromHex() method in X962NamedCurves
42 BigInteger n = fromHex("ffffffffffffffffffffffff99def836146bc9b1b4d22831");
46 fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),
47 fromHex("fffffffffffffffffffffffffffffffefffffffffffffffc"),
48 fromHex("64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1"),
62 BigInteger n = fromHex("fffffffffffffffffffffffe5fb1a724dc80418648d8dd31");
66 fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),
67 fromHex("fffffffffffffffffffffffffffffffefffffffffffffffc"),
68 fromHex("cc22d6dfb95c6b25e49c0d6364a4e5980c393aa21668d953"),
82 BigInteger n = fromHex("ffffffffffffffffffffffff7a62d031c83f4294f640ec13");
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DX962NamedCurves.java31 private static BigInteger fromHex(String hex) in fromHex() method in X962NamedCurves
40 BigInteger n = fromHex("ffffffffffffffffffffffff99def836146bc9b1b4d22831");
44 fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),
45 fromHex("fffffffffffffffffffffffffffffffefffffffffffffffc"),
46 fromHex("64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1"),
60 BigInteger n = fromHex("fffffffffffffffffffffffe5fb1a724dc80418648d8dd31");
64 fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),
65 fromHex("fffffffffffffffffffffffffffffffefffffffffffffffc"),
66 fromHex("cc22d6dfb95c6b25e49c0d6364a4e5980c393aa21668d953"),
80 BigInteger n = fromHex("ffffffffffffffffffffffff7a62d031c83f4294f640ec13");
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
DSECNamedCurves.java39 private static BigInteger fromHex(String hex) in fromHex() method in SECNamedCurves
52 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B");
53 BigInteger a = fromHex("DB7C2ABF62E35E668076BEAD2088");
54 BigInteger b = fromHex("659EF8BA043916EEDE8911702B22");
56 BigInteger n = fromHex("DB7C2ABF62E35E7628DFAC6561C5");
76 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B");
77 BigInteger a = fromHex("6127C24C05F38A0AAAF65C0EF02C");
78 BigInteger b = fromHex("51DEF1815DB5ED74FCC34C85D709");
80 BigInteger n = fromHex("36DF0AAFD8B8D7597CA10520D04B");
100 BigInteger p = fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF");
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/sec/
DSECNamedCurves.java43 private static BigInteger fromHex(String hex) in fromHex() method in SECNamedCurves
56 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B");
57 BigInteger a = fromHex("DB7C2ABF62E35E668076BEAD2088");
58 BigInteger b = fromHex("659EF8BA043916EEDE8911702B22");
60 BigInteger n = fromHex("DB7C2ABF62E35E7628DFAC6561C5");
80 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B");
81 BigInteger a = fromHex("6127C24C05F38A0AAAF65C0EF02C");
82 BigInteger b = fromHex("51DEF1815DB5ED74FCC34C85D709");
84 BigInteger n = fromHex("36DF0AAFD8B8D7597CA10520D04B");
104 BigInteger p = fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF");
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/sec/
DSECNamedCurves.java43 private static BigInteger fromHex(String hex) in fromHex() method in SECNamedCurves
56 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B");
57 BigInteger a = fromHex("DB7C2ABF62E35E668076BEAD2088");
58 BigInteger b = fromHex("659EF8BA043916EEDE8911702B22");
60 BigInteger n = fromHex("DB7C2ABF62E35E7628DFAC6561C5");
80 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B");
81 BigInteger a = fromHex("6127C24C05F38A0AAAF65C0EF02C");
82 BigInteger b = fromHex("51DEF1815DB5ED74FCC34C85D709");
84 BigInteger n = fromHex("36DF0AAFD8B8D7597CA10520D04B");
104 BigInteger p = fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF");
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSerializationTests.cpp366 std::string FileDigest = llvm::fromHex("EED8F5EAF25C453C"); in TEST()
374 (Srcs->Data.take_front(Pos) + llvm::fromHex("ffffffff0f") + in TEST()
415 (llvm::fromHex("ffffffff") + Stri->Data.drop_front(4)).str(); in TEST()
417 std::string FileDigest = llvm::fromHex("EED8F5EAF25C453C"); in TEST()
/external/llvm-project/llvm/unittests/ADT/
DStringExtrasTest.cpp82 EXPECT_EQ(OddData, fromHex(StringRef(OddStr).drop_front())); in TEST()
90 EXPECT_EQ(EvenData, fromHex(EvenStr)); in TEST()
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolID.cpp42 return fromRaw(llvm::fromHex(Str)); in fromStr()
DYAMLSerialization.cpp344 memcpy(Digest.data(), llvm::fromHex(HexString).data(), Digest.size()); in denormalize()
/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/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/fonttools/Lib/fontTools/ttLib/tables/
DC_P_A_L_.py214 color = Color.fromHex(attrs["value"])
250 def fromHex(cls, value): member in Color
/external/llvm-project/lldb/source/Utility/
DGDBRemote.cpp80 Val.data = fromHex(Scalar); in input()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUtility.java1780 public static String fromHex(String string, int minLength, String separator) {
1781 return fromHex(string, minLength, Pattern.compile(separator != null ? separator : "\\s+"));
1791 public static String fromHex(String string, int minLength, Pattern separator) {
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtility.java1784 public static String fromHex(String string, int minLength, String separator) {
1785 return fromHex(string, minLength, Pattern.compile(separator != null ? separator : "\\s+"));
1795 public static String fromHex(String string, int minLength, Pattern separator) {
/external/llvm-project/clang-tools-extra/clang-doc/
DYAMLGenerator.cpp95 std::string HexString = fromHex(Value); in StringToSymbol()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringExtras.h170 inline std::string fromHex(StringRef Input) { in fromHex() function
/external/llvm-project/llvm/include/llvm/ADT/
DStringExtras.h236 inline std::string fromHex(StringRef Input) { in fromHex() function
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/
DMessageObjects.cpp42 process_info.m_triple = fromHex(elements["triple"]); in create()
/external/cldr/tools/java/org/unicode/cldr/util/
DEmoji.java112 String original = Utility.fromHex(emojiHex, 4, " ");
/external/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
DBreakpadRecords.cpp112 llvm::copy(fromHex(uuid_str), data.uuid); in parseModuleId()
/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

12