Home
last modified time | relevance | path

Searched refs:tryParse (Results 1 – 12 of 12) sorted by relevance

/external/guava/guava/src/com/google/common/primitives/
DAndroidInteger.java33 static Integer tryParse(String string) { in tryParse() method in AndroidInteger
34 return tryParse(string, 10); in tryParse()
41 static Integer tryParse(String string, int radix) { in tryParse() method in AndroidInteger
55 return tryParse(string, i, radix, negative); in tryParse()
59 private static Integer tryParse(String string, int offset, int radix, in tryParse() method in AndroidInteger
DInts.java611 public static Integer tryParse(String string) { in tryParse() method in Ints
612 return AndroidInteger.tryParse(string, 10); in tryParse()
/external/guava/guava-tests/test/com/google/common/primitives/
DIntsTest.java412 assertNull(Ints.tryParse("")); in testTryParse()
413 assertNull(Ints.tryParse("-")); in testTryParse()
414 assertNull(Ints.tryParse("+1")); in testTryParse()
415 assertNull(Ints.tryParse("9999999999999999")); in testTryParse()
417 Ints.tryParse(Long.toString(((long) GREATEST) + 1))); in testTryParse()
419 Ints.tryParse(Long.toString(((long) LEAST) - 1))); in testTryParse()
428 assertEquals(expected, Ints.tryParse(value)); in tryParseAndAssertEquals()
/external/clang/lib/Basic/
DObjCRuntime.cpp43 bool ObjCRuntime::tryParse(StringRef input) { in tryParse() function in ObjCRuntime
81 if (Version.tryParse(verString)) in tryParse()
DVersionTuple.cpp57 bool VersionTuple::tryParse(StringRef input) { in tryParse() function in VersionTuple
DTargetInfo.cpp500 bool TargetCXXABI::tryParse(llvm::StringRef name) { in tryParse() function in TargetCXXABI
/external/clang/include/clang/Basic/
DTargetCXXABI.h248 bool tryParse(llvm::StringRef name);
DVersionTuple.h131 bool tryParse(StringRef string);
DObjCRuntime.h293 bool tryParse(StringRef input);
DTargetInfo.h649 if (!ABI.tryParse(name)) return false; in setCXXABI()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp1127 if (Opts.ObjCRuntime.tryParse(value)) in ParseLangArgs()
/external/clang/lib/Driver/
DTools.cpp3364 if (runtime.tryParse(value)) { in AddObjCRuntimeArgs()