HomeSort by relevance Sort by last modified time
    Searched refs:tryParse (Results 1 - 25 of 91) sorted by null

1 2 3 4

  /external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
IntsTest.java 403 assertNull(Ints.tryParse(""));
404 assertNull(Ints.tryParse("-"));
405 assertNull(Ints.tryParse("+1"));
406 assertNull(Ints.tryParse("9999999999999999"));
408 Ints.tryParse(Long.toString(((long) GREATEST) + 1)));
410 Ints.tryParse(Long.toString(((long) GREATEST) * 10)));
412 Ints.tryParse(Long.toString(((long) LEAST) - 1)));
414 Ints.tryParse(Long.toString(((long) LEAST) * 10)));
415 assertNull("Max long", Ints.tryParse(Long.toString(Long.MAX_VALUE)));
416 assertNull("Min long", Ints.tryParse(Long.toString(Long.MIN_VALUE)))
    [all...]
LongsTest.java 425 assertNull(Longs.tryParse(""));
426 assertNull(Longs.tryParse("-"));
427 assertNull(Longs.tryParse("+1"));
428 assertNull(Longs.tryParse("999999999999999999999999"));
430 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString()));
432 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString()));
434 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString()));
436 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).multiply(BigInteger.TEN).toString()));
437 assertNull(Longs.tryParse("\u0662\u06f3"));
441 * Applies {@link Longs#tryParse(String)} to the given string and asserts tha
    [all...]
  /external/clang/lib/Basic/
ObjCRuntime.cpp 44 bool ObjCRuntime::tryParse(StringRef input) {
85 if (Version.tryParse(verString))
VersionTuple.cpp 59 bool VersionTuple::tryParse(StringRef input) {
  /external/guava/guava-tests/test/com/google/common/primitives/
IntsTest.java 475 assertNull(Ints.tryParse(""));
476 assertNull(Ints.tryParse("-"));
477 assertNull(Ints.tryParse("+1"));
478 assertNull(Ints.tryParse("9999999999999999"));
480 Ints.tryParse(Long.toString(((long) GREATEST) + 1)));
482 Ints.tryParse(Long.toString(((long) GREATEST) * 10)));
484 Ints.tryParse(Long.toString(((long) LEAST) - 1)));
486 Ints.tryParse(Long.toString(((long) LEAST) * 10)));
487 assertNull("Max long", Ints.tryParse(Long.toString(Long.MAX_VALUE)));
488 assertNull("Min long", Ints.tryParse(Long.toString(Long.MIN_VALUE)))
    [all...]
LongsTest.java 458 assertNull(Longs.tryParse(""));
459 assertNull(Longs.tryParse("-"));
460 assertNull(Longs.tryParse("+1"));
461 assertNull(Longs.tryParse("999999999999999999999999"));
463 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString()));
465 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString()));
467 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString()));
469 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).multiply(BigInteger.TEN).toString()));
470 assertNull(Longs.tryParse("\u0662\u06f3"));
474 * Applies {@link Longs#tryParse(String)} to the given string and asserts tha
    [all...]
DoublesTest.java 403 * A reference implementation for {@code tryParse} that just catches the exception from
417 @GwtIncompatible("Doubles.tryParse")
420 assertEquals(expected, Doubles.tryParse(input));
425 @GwtIncompatible("Doubles.tryParse")
427 assertEquals(Double.valueOf(expected), Doubles.tryParse(input));
431 @GwtIncompatible("Doubles.tryParse")
451 @GwtIncompatible("Doubles.tryParse")
461 @GwtIncompatible("Doubles.tryParse")
468 @GwtIncompatible("Doubles.tryParse")
475 @GwtIncompatible("Doubles.tryParse")
    [all...]
FloatsTest.java 394 * A reference implementation for {@code tryParse} that just catches the exception from
408 @GwtIncompatible("Floats.tryParse")
410 assertEquals(referenceTryParse(input), Floats.tryParse(input));
413 @GwtIncompatible("Floats.tryParse")
415 assertEquals(Float.valueOf(expected), Floats.tryParse(input));
418 @GwtIncompatible("Floats.tryParse")
438 @GwtIncompatible("Floats.tryParse")
448 @GwtIncompatible("Floats.tryParse")
455 @GwtIncompatible("Floats.tryParse")
462 @GwtIncompatible("Floats.tryParse")
    [all...]
  /external/clang/include/clang/Basic/
VersionTuple.h 156 bool tryParse(StringRef string);
ObjCRuntime.h 315 bool tryParse(StringRef input);
  /external/guava/guava/src/com/google/common/primitives/
Ints.java 678 public static Integer tryParse(String string) {
679 return tryParse(string, 10);
704 @CheckForNull static Integer tryParse(
Floats.java 599 public static Float tryParse(String string) {
Doubles.java 622 public static Double tryParse(String string) {
Longs.java 336 public static Long tryParse(String string) {
  /external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
Ints.java 626 public static Integer tryParse(String string) {
627 return tryParse(string, 10);
652 @CheckForNull static Integer tryParse(
  /art/tools/checker/file_format/checker/
test.py 29 def tryParse(self, string):
34 checkFile = self.tryParse(string)
39 checkFile = self.tryParse(string)
45 self.tryParse(string)
  /cts/tests/tests/security/src/android/security/cts/
OpenSSLHeartbleedTest.java 425 AlertMessage alert = AlertMessage.tryParse(record);
661 HandshakeMessage handshake = HandshakeMessage.tryParse(record);
680 public static HandshakeMessage tryParse(TlsRecord record) {
705 public static AlertMessage tryParse(TlsRecord record) {
    [all...]
OpenSSLEarlyCCSTest.java 154 AlertMessage alert = AlertMessage.tryParse(firstRecordReceivedAfterCCSWasInjected);
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
CallerInfo.java 321 final Long directoryId = directory == null ? null : Longs.tryParse(directory);
  /external/clang/lib/Frontend/
CompilerInvocation.cpp     [all...]
  /external/guice/lib/
guava-16.0.1.jar 
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
guava-14.0.1.jar 
  /prebuilts/misc/common/guava/
guava-15.0.jar 
  /prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/15.0/
guava-15.0.jar 

Completed in 1338 milliseconds

1 2 3 4