/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | VersionTupleTest.cpp | 23 TEST(VersionTuple, tryParse) { in TEST() argument 26 EXPECT_FALSE(VT.tryParse("1")); in TEST() 29 EXPECT_FALSE(VT.tryParse("1.2")); in TEST() 32 EXPECT_FALSE(VT.tryParse("1.2.3")); in TEST() 35 EXPECT_FALSE(VT.tryParse("1.2.3.4")); in TEST() 38 EXPECT_TRUE(VT.tryParse("")); in TEST() 39 EXPECT_TRUE(VT.tryParse("1.")); in TEST() 40 EXPECT_TRUE(VT.tryParse("1.2.")); in TEST() 41 EXPECT_TRUE(VT.tryParse("1.2.3.")); in TEST() 42 EXPECT_TRUE(VT.tryParse("1.2.3.4.")); in TEST() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | IntsTest.java | 403 assertNull(Ints.tryParse("")); in testTryParse() 404 assertNull(Ints.tryParse("-")); in testTryParse() 405 assertNull(Ints.tryParse("+1")); in testTryParse() 406 assertNull(Ints.tryParse("9999999999999999")); in testTryParse() 408 Ints.tryParse(Long.toString(((long) GREATEST) + 1))); in testTryParse() 410 Ints.tryParse(Long.toString(((long) GREATEST) * 10))); in testTryParse() 412 Ints.tryParse(Long.toString(((long) LEAST) - 1))); in testTryParse() 414 Ints.tryParse(Long.toString(((long) LEAST) * 10))); in testTryParse() 415 assertNull("Max long", Ints.tryParse(Long.toString(Long.MAX_VALUE))); in testTryParse() 416 assertNull("Min long", Ints.tryParse(Long.toString(Long.MIN_VALUE))); in testTryParse() [all …]
|
D | LongsTest.java | 425 assertNull(Longs.tryParse("")); in testTryParse() 426 assertNull(Longs.tryParse("-")); in testTryParse() 427 assertNull(Longs.tryParse("+1")); in testTryParse() 428 assertNull(Longs.tryParse("999999999999999999999999")); in testTryParse() 430 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString())); in testTryParse() 432 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString())); in testTryParse() 434 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString())); in testTryParse() 436 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).multiply(BigInteger.TEN).toString())); in testTryParse() 437 assertNull(Longs.tryParse("\u0662\u06f3")); in testTryParse() 445 assertEquals(expected, Longs.tryParse(value)); in tryParseAndAssertEquals()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | IntsTest.java | 475 assertNull(Ints.tryParse("")); in testTryParse() 476 assertNull(Ints.tryParse("-")); in testTryParse() 477 assertNull(Ints.tryParse("+1")); in testTryParse() 478 assertNull(Ints.tryParse("9999999999999999")); in testTryParse() 480 Ints.tryParse(Long.toString(((long) GREATEST) + 1))); in testTryParse() 482 Ints.tryParse(Long.toString(((long) GREATEST) * 10))); in testTryParse() 484 Ints.tryParse(Long.toString(((long) LEAST) - 1))); in testTryParse() 486 Ints.tryParse(Long.toString(((long) LEAST) * 10))); in testTryParse() 487 assertNull("Max long", Ints.tryParse(Long.toString(Long.MAX_VALUE))); in testTryParse() 488 assertNull("Min long", Ints.tryParse(Long.toString(Long.MIN_VALUE))); in testTryParse() [all …]
|
D | LongsTest.java | 458 assertNull(Longs.tryParse("")); in testTryParse() 459 assertNull(Longs.tryParse("-")); in testTryParse() 460 assertNull(Longs.tryParse("+1")); in testTryParse() 461 assertNull(Longs.tryParse("999999999999999999999999")); in testTryParse() 463 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString())); in testTryParse() 465 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString())); in testTryParse() 467 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString())); in testTryParse() 469 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).multiply(BigInteger.TEN).toString())); in testTryParse() 470 assertNull(Longs.tryParse("\u0662\u06f3")); in testTryParse() 478 assertEquals(expected, Longs.tryParse(value)); in tryParseAndAssertEquals()
|
D | DoublesTest.java | 420 assertEquals(expected, Doubles.tryParse(input)); in checkTryParse() 427 assertEquals(Double.valueOf(expected), Doubles.tryParse(input)); in checkTryParse() 497 assertEquals(referenceTryParse(badInput), Doubles.tryParse(badInput)); in testTryParseFailures() 498 assertNull(Doubles.tryParse(badInput)); in testTryParseFailures()
|
D | FloatsTest.java | 410 assertEquals(referenceTryParse(input), Floats.tryParse(input)); in checkTryParse() 415 assertEquals(Float.valueOf(expected), Floats.tryParse(input)); in checkTryParse() 483 assertEquals(referenceTryParse(badInput), Floats.tryParse(badInput)); in testTryParseFailures() 484 assertNull(Floats.tryParse(badInput)); in testTryParseFailures()
|
/external/clang/lib/Basic/ |
D | ObjCRuntime.cpp | 44 bool ObjCRuntime::tryParse(StringRef input) { in tryParse() function in ObjCRuntime 85 if (Version.tryParse(verString)) in tryParse()
|
D | VersionTuple.cpp | 59 bool VersionTuple::tryParse(StringRef input) { in tryParse() function in VersionTuple
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | Ints.java | 626 public static Integer tryParse(String string) { in tryParse() method in Ints 627 return tryParse(string, 10); in tryParse() 652 @CheckForNull static Integer tryParse( in tryParse() method in Ints
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Ints.java | 678 public static Integer tryParse(String string) { in tryParse() method in Ints 679 return tryParse(string, 10); in tryParse() 704 @CheckForNull static Integer tryParse( in tryParse() method in Ints
|
D | Floats.java | 599 public static Float tryParse(String string) { in tryParse() method in Floats
|
D | Doubles.java | 622 public static Double tryParse(String string) { in tryParse() method in Doubles
|
D | Longs.java | 336 public static Long tryParse(String string) { in tryParse() method in Longs
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | VersionTuple.cpp | 61 bool VersionTuple::tryParse(StringRef input) { in tryParse() function in VersionTuple
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | VersionTuple.h | 147 bool tryParse(StringRef string);
|
/external/clang/include/clang/Basic/ |
D | VersionTuple.h | 161 bool tryParse(StringRef string);
|
D | ObjCRuntime.h | 332 bool tryParse(StringRef input);
|
/external/python/setuptools/setuptools/_vendor/ |
D | pyparsing.py | 1419 def tryParse( self, instring, loc ): member in ParserElement 1427 self.tryParse(instring, loc) 3430 loc2 = e.tryParse( instring, loc ) 3632 tmpLoc = e.tryParse( instring, tmpLoc ) 3773 self.expr.tryParse( instring, loc ) 3823 try_not_ender = self.not_ender.tryParse 4059 self_ignoreExpr_tryParse = self.ignoreExpr.tryParse if self.ignoreExpr is not None else None
|
/external/python/setuptools/pkg_resources/_vendor/ |
D | pyparsing.py | 1419 def tryParse( self, instring, loc ): member in ParserElement 1427 self.tryParse(instring, loc) 3430 loc2 = e.tryParse( instring, loc ) 3632 tmpLoc = e.tryParse( instring, tmpLoc ) 3773 self.expr.tryParse( instring, loc ) 3823 try_not_ender = self.not_ender.tryParse 4059 self_ignoreExpr_tryParse = self.ignoreExpr.tryParse if self.ignoreExpr is not None else None
|
/external/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 1726 if (Opts.ObjCRuntime.tryParse(value)) in ParseLangArgs() 1834 if (VT.tryParse(A->getValue())) in ParseLangArgs()
|
/external/clang/lib/Driver/ |
D | Tools.cpp | 3468 if (MSVT.tryParse(MSCompatibilityVersion->getValue()) && D) in getMSVCVersion() 6076 if (runtime.tryParse(value)) { in AddObjCRuntimeArgs()
|