/external/guava/guava/src/com/google/common/base/ |
D | Preconditions.java | 161 @Nullable String errorMessageTemplate, in checkArgument() argument 164 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, errorMessageArgs)); in checkArgument() 175 public static void checkArgument(boolean b, @Nullable String errorMessageTemplate, char p1) { in checkArgument() argument 177 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument() 188 public static void checkArgument(boolean b, @Nullable String errorMessageTemplate, int p1) { in checkArgument() argument 190 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument() 201 public static void checkArgument(boolean b, @Nullable String errorMessageTemplate, long p1) { in checkArgument() argument 203 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument() 215 boolean b, @Nullable String errorMessageTemplate, @Nullable Object p1) { in checkArgument() argument 217 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument() [all …]
|
D | Verify.java | 121 @Nullable String errorMessageTemplate, in verify() argument 124 throw new VerifyException(lenientFormat(errorMessageTemplate, errorMessageArgs)); in verify() 136 public static void verify(boolean expression, @Nullable String errorMessageTemplate, char p1) { in verify() argument 138 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify() 150 public static void verify(boolean expression, @Nullable String errorMessageTemplate, int p1) { in verify() argument 152 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify() 164 public static void verify(boolean expression, @Nullable String errorMessageTemplate, long p1) { in verify() argument 166 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify() 179 boolean expression, @Nullable String errorMessageTemplate, @Nullable Object p1) { in verify() argument 181 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify() [all …]
|
/external/guava/android/guava/src/com/google/common/base/ |
D | Preconditions.java | 161 @NullableDecl String errorMessageTemplate, in checkArgument() argument 164 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, errorMessageArgs)); in checkArgument() 175 public static void checkArgument(boolean b, @NullableDecl String errorMessageTemplate, char p1) { in checkArgument() argument 177 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument() 188 public static void checkArgument(boolean b, @NullableDecl String errorMessageTemplate, int p1) { in checkArgument() argument 190 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument() 201 public static void checkArgument(boolean b, @NullableDecl String errorMessageTemplate, long p1) { in checkArgument() argument 203 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument() 215 boolean b, @NullableDecl String errorMessageTemplate, @NullableDecl Object p1) { in checkArgument() argument 217 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument() [all …]
|
D | Verify.java | 121 @NullableDecl String errorMessageTemplate, in verify() argument 124 throw new VerifyException(lenientFormat(errorMessageTemplate, errorMessageArgs)); in verify() 137 boolean expression, @NullableDecl String errorMessageTemplate, char p1) { in verify() argument 139 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify() 151 public static void verify(boolean expression, @NullableDecl String errorMessageTemplate, int p1) { in verify() argument 153 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify() 166 boolean expression, @NullableDecl String errorMessageTemplate, long p1) { in verify() argument 168 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify() 181 boolean expression, @NullableDecl String errorMessageTemplate, @NullableDecl Object p1) { in verify() argument 183 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify() [all …]
|
/external/dagger2/java/dagger/internal/ |
D | Preconditions.java | 97 T reference, String errorMessageTemplate, Object errorMessageArg) { in checkNotNull() argument 100 if (!errorMessageTemplate.contains("%s")) { in checkNotNull() 103 if (errorMessageTemplate.indexOf("%s") != errorMessageTemplate.lastIndexOf("%s")) { in checkNotNull() 111 throw new NullPointerException(errorMessageTemplate.replace("%s", argString)); in checkNotNull()
|
/external/dagger2/java/dagger/hilt/internal/ |
D | Preconditions.java | 65 boolean expression, String errorMessageTemplate, Object... args) { in checkArgument() argument 67 throw new IllegalArgumentException(String.format(errorMessageTemplate, args)); in checkArgument() 81 public static void checkState(boolean expression, String errorMessageTemplate, Object... args) { in checkState() argument 83 throw new IllegalStateException(String.format(errorMessageTemplate, args)); in checkState()
|
/external/dagger2/java/dagger/hilt/processor/internal/ |
D | ProcessorErrors.java | 77 @Nullable @FormatString String errorMessageTemplate, in checkState() argument 82 String.format(errorMessageTemplate, errorMessageArgs), badElement); in checkState() 128 @Nullable @FormatString String errorMessageTemplate, in checkState() argument 134 String.format(errorMessageTemplate, errorMessageArgs), badElements); in checkState()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | Preconditions.java | 63 static void checkArgument(boolean condition, String errorMessageTemplate, Object arg) { in checkArgument() argument 65 throw new IllegalArgumentException(String.format(errorMessageTemplate, arg)); in checkArgument()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | Preconditions.java | 64 static void checkArgument(boolean condition, String errorMessageTemplate, Object arg) { in checkArgument() argument 66 throw new IllegalArgumentException(String.format(errorMessageTemplate, arg)); in checkArgument()
|
/external/opencensus-java/api/src/main/java/io/opencensus/internal/ |
D | Utils.java | 63 String errorMessageTemplate, in checkArgument() argument 66 throw new IllegalArgumentException(format(errorMessageTemplate, errorMessageArgs)); in checkArgument()
|