/external/desugar/java/com/google/devtools/build/android/desugar/runtime/ |
D | ThrowableExtension.java | 83 public static void addSuppressed(Throwable receiver, Throwable suppressed) { in addSuppressed() argument 84 STRATEGY.addSuppressed(receiver, suppressed); in addSuppressed() 182 public abstract void addSuppressed(Throwable receiver, Throwable suppressed); in addSuppressed() argument 197 public void addSuppressed(Throwable receiver, Throwable suppressed) { in addSuppressed() argument 198 receiver.addSuppressed(suppressed); in addSuppressed() 233 public void addSuppressed(Throwable receiver, Throwable suppressed) { in addSuppressed() argument 234 if (suppressed == receiver) { in addSuppressed() 235 throw new IllegalArgumentException("Self suppression is not allowed.", suppressed); in addSuppressed() 237 if (suppressed == null) { in addSuppressed() 241 map.get(receiver, /*createOnAbsence=*/true).add(suppressed); in addSuppressed() [all …]
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/runtime/ |
D | ThrowableExtensionTest.java | 199 FileNotFoundException suppressed = new FileNotFoundException(); in testLightweightStackTraceRecorder() local 200 strategy.addSuppressed(receiver, suppressed); in testLightweightStackTraceRecorder() 211 FileNotFoundException suppressed = new FileNotFoundException(); in testMimicDesugaringStrategy() local 212 strategy.addSuppressed(receiver, suppressed); in testMimicDesugaringStrategy() 230 FileNotFoundException suppressed = new FileNotFoundException(); in testThrowableExtensionWithMimicDesugaringStrategy() local 231 ThrowableExtension.addSuppressed(receiver, suppressed); in testThrowableExtensionWithMimicDesugaringStrategy() 288 FileNotFoundException suppressed = new FileNotFoundException(); in testNullDesugaringStrategy() local 289 strategy.addSuppressed(receiver, suppressed); in testNullDesugaringStrategy() 292 strategy.addSuppressed(receiver, suppressed); in testNullDesugaringStrategy() 311 FileNotFoundException suppressed = new FileNotFoundException(); in testThrowableExtensionWithNullDesugaringStrategy() local [all …]
|
D | ConcurrentWeakIdentityHashMapTest.java | 107 Exception suppressed = new ExceptionWithLatch("suppressed-" + j + "-main-" + i, latch); in createExceptionWithSuppressed() local 108 suppressedList.add(suppressed); in createExceptionWithSuppressed() 221 final Throwable suppressed; field in ConcurrentWeakIdentityHashMapTest.Pair 223 public Pair(Throwable throwable, Throwable suppressed) { in Pair() argument 225 this.suppressed = suppressed; in Pair() 256 List<Throwable> suppressed = map.get(pair.throwable, true); in run() local 257 System.out.printf("add suppressed %s to %s\n", pair.suppressed, pair.throwable); in run() 258 suppressed.add(pair.suppressed); in run()
|
/external/guava/guava/src/com/google/common/io/ |
D | Closer.java | 239 void suppress(Closeable closeable, Throwable thrown, Throwable suppressed); in suppress() argument 250 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { in suppress() argument 253 "Suppressing exception thrown when closing " + closeable, suppressed); in suppress() 280 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { in suppress() argument 282 if (thrown == suppressed) { in suppress() 286 addSuppressed.invoke(thrown, suppressed); in suppress() 289 LoggingSuppressor.INSTANCE.suppress(closeable, thrown, suppressed); in suppress()
|
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/ |
D | TotalRecompressionLimiterTest.java | 132 private static final List<QualifiedRecommendation> suppressed( in suppressed() method in TotalRecompressionLimiterTest 198 expected.addAll(suppressed(REC_A_100K, REC_B_200K, REC_C_300K, REC_D_400K)); in testZeroLimit() 215 expected.addAll(suppressed(REC_B_200K, REC_C_300K, REC_D_400K)); in testLimit_ExactlySmallest() 225 expected.addAll(suppressed(REC_A_100K, REC_B_200K, REC_C_300K, REC_D_400K)); in testLimit_EdgeUnderSmallest() 236 expected.addAll(suppressed(REC_B_200K, REC_C_300K, REC_D_400K)); in testLimit_EdgeOverSmallest() 247 expected.addAll(suppressed(REC_A_100K, REC_B_200K, REC_C_300K)); in testLimit_ExactlyLargest() 258 expected.addAll(suppressed(REC_A_100K, REC_B_200K, REC_D_400K)); in testLimit_EdgeUnderLargest() 269 expected.addAll(suppressed(REC_A_100K, REC_B_200K, REC_C_300K)); in testLimit_EdgeOverLargest() 287 expected.addAll(suppressed(REC_A_100K, REC_C_300K)); in testLimit_Complex()
|
D | DeltaFriendlyOldBlobSizeLimiterTest.java | 173 private static final List<QualifiedRecommendation> suppressed( in suppressed() method in DeltaFriendlyOldBlobSizeLimiterTest 205 expected.addAll(suppressed(REC_A_100K, REC_B_200K, REC_C_300K, REC_D_400K)); in testZeroLimit() 224 expected.addAll(suppressed(REC_B_200K, REC_C_300K, REC_D_400K)); in testLimit_ExactlySmallest() 237 expected.addAll(suppressed(REC_A_100K, REC_B_200K, REC_C_300K, REC_D_400K)); in testLimit_EdgeUnderSmallest() 251 expected.addAll(suppressed(REC_B_200K, REC_C_300K, REC_D_400K)); in testLimit_EdgeOverSmallest() 264 expected.addAll(suppressed(REC_A_100K, REC_B_200K, REC_C_300K)); in testLimit_ExactlyLargest() 278 expected.addAll(suppressed(REC_A_100K, REC_B_200K, REC_D_400K)); in testLimit_EdgeUnderLargest() 292 expected.addAll(suppressed(REC_A_100K, REC_B_200K, REC_C_300K)); in testLimit_EdgeOverLargest() 312 expected.addAll(suppressed(REC_A_100K, REC_C_300K)); in testLimit_Complex()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CloserTest.java | 352 ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(getSuppressed(thrownException)); in testSuppressingSuppressorIfPossible() local 353 assertEquals(2, suppressed.size()); in testSuppressingSuppressorIfPossible() 355 assertEquals(ImmutableSet.of(c1Exception, c2Exception), suppressed); in testSuppressingSuppressorIfPossible() local 389 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { in suppress() argument 390 suppressions.add(new Suppression(closeable, thrown, suppressed)); in suppress() 400 private final Throwable suppressed; field in CloserTest.Suppression 402 private Suppression(Closeable closeable, Throwable thrown, Throwable suppressed) { in Suppression() argument 405 this.suppressed = suppressed; in Suppression() 414 && suppressed.equals(other.suppressed); in equals() 421 return Objects.hashCode(closeable, thrown, suppressed); in hashCode() [all …]
|
D | CharSourceTest.java | 289 int suppressed = runSuppressionFailureTest(in, newNormalCharSink()); in testCopyExceptions() local 290 assertEquals(0, suppressed); in testCopyExceptions() 292 suppressed = runSuppressionFailureTest(in, BROKEN_CLOSE_SINK); in testCopyExceptions() 293 assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, suppressed); in testCopyExceptions() 297 int suppressed = runSuppressionFailureTest(newNormalCharSource(), out); in testCopyExceptions() local 298 assertEquals(0, suppressed); in testCopyExceptions() 300 suppressed = runSuppressionFailureTest(BROKEN_CLOSE_SOURCE, out); in testCopyExceptions() 301 assertEquals(1, suppressed); in testCopyExceptions() 306 int suppressed = runSuppressionFailureTest(in, out); in testCopyExceptions() local 307 assertTrue(suppressed <= 1); in testCopyExceptions()
|
D | ByteSourceTest.java | 365 int suppressed = runSuppressionFailureTest(in, newNormalByteSink()); in testCopyExceptions() local 366 assertEquals(0, suppressed); in testCopyExceptions() 368 suppressed = runSuppressionFailureTest(in, BROKEN_CLOSE_SINK); in testCopyExceptions() 369 assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, suppressed); in testCopyExceptions() 373 int suppressed = runSuppressionFailureTest(newNormalByteSource(), out); in testCopyExceptions() local 374 assertEquals(0, suppressed); in testCopyExceptions() 376 suppressed = runSuppressionFailureTest(BROKEN_CLOSE_SOURCE, out); in testCopyExceptions() 377 assertEquals(1, suppressed); in testCopyExceptions() 382 int suppressed = runSuppressionFailureTest(in, out); in testCopyExceptions() local 383 assertTrue(suppressed <= 1); in testCopyExceptions()
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | DesugarTryWithResourcesFunctionalTest.java | 37 Throwable[] suppressed = ClassUsingTryWithResources.checkSuppressedExceptions(false); in testCheckSuppressedExceptionsReturningEmptySuppressedExceptions() local 38 assertThat(suppressed).isEmpty(); in testCheckSuppressedExceptionsReturningEmptySuppressedExceptions() 57 Throwable[] suppressed = ClassUsingTryWithResources.checkSuppressedExceptions(true); in testCheckSuppressedExceptionReturningOneSuppressedException() local 60 assertThat(suppressed).hasLength(1); in testCheckSuppressedExceptionReturningOneSuppressedException() 62 assertThat(suppressed).hasLength(1); in testCheckSuppressedExceptionReturningOneSuppressedException() 64 assertThat(suppressed).isEmpty(); in testCheckSuppressedExceptionReturningOneSuppressedException()
|
D | TryWithResourcesRewriterTest.java | 88 Throwable[] suppressed = ClassUsingTryWithResources.checkSuppressedExceptions(false); in testCheckSuppressedExceptionsReturningEmptySuppressedExceptions() local 89 assertThat(suppressed).isEmpty(); in testCheckSuppressedExceptionsReturningEmptySuppressedExceptions() 92 Throwable[] suppressed = in testCheckSuppressedExceptionsReturningEmptySuppressedExceptions() local 97 assertThat(suppressed).isEmpty(); in testCheckSuppressedExceptionsReturningEmptySuppressedExceptions() 132 Throwable[] suppressed = ClassUsingTryWithResources.checkSuppressedExceptions(true); in testCheckSuppressedExceptionReturningOneSuppressedException() local 133 assertThat(suppressed).hasLength(1); in testCheckSuppressedExceptionReturningOneSuppressedException() 136 Throwable[] suppressed = in testCheckSuppressedExceptionReturningOneSuppressedException() local 143 assertThat(suppressed).hasLength(1); in testCheckSuppressedExceptionReturningOneSuppressedException() 145 assertThat(suppressed).hasLength(1); in testCheckSuppressedExceptionReturningOneSuppressedException() 147 assertThat(suppressed).isEmpty(); in testCheckSuppressedExceptionReturningOneSuppressedException()
|
/external/libchrome/base/third_party/valgrind/ |
D | memcheck.h | 203 #define VALGRIND_COUNT_LEAKS(leaked, dubious, reachable, suppressed) \ argument 220 suppressed = _qzz_suppressed; \ 225 #define VALGRIND_COUNT_LEAK_BLOCKS(leaked, dubious, reachable, suppressed) \ argument 242 suppressed = _qzz_suppressed; \
|
/external/syzkaller/pkg/report/ |
D | report_test.go | 138 title, corrupted, corruptedReason, suppressed := "", false, "", false 143 suppressed = rep.Suppressed 145 if title != test.Title || corrupted != test.Corrupted || suppressed != test.Suppressed { 152 if suppressed { 166 title, corrupted, corruptedReason, suppressed)
|
/external/v8/tools/clang/plugins/ |
D | SuppressibleDiagnosticBuilder.h | 22 bool suppressed) in SuppressibleDiagnosticBuilder() argument 25 suppressed_(suppressed) {} in SuppressibleDiagnosticBuilder()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
D | RouteException.java | 55 private void addSuppressedIfPossible(IOException e, IOException suppressed) { in addSuppressedIfPossible() argument 58 addSuppressedExceptionMethod.invoke(e, suppressed); in addSuppressedIfPossible()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | RouteException.java | 53 private void addSuppressedIfPossible(IOException e, IOException suppressed) { in addSuppressedIfPossible() argument 56 addSuppressedExceptionMethod.invoke(e, suppressed); in addSuppressedIfPossible()
|
/external/syzkaller/pkg/report/testdata/linux/report/ |
D | 7 | 6 [ 522.560667] nla_parse: 5 callbacks suppressed 14 nla_parse: 5 callbacks suppressed
|
/external/clang/test/Analysis/inlining/ |
D | inline-defensive-checks.m | 99 // The warning is not suppressed because the receiver being nil is not 111 // The warning is not suppressed because the receiver being nil is not 123 // The warning is not suppressed because the receiver being nil is not
|
/external/u-boot/doc/ |
D | README.silent | 17 suppressed by testing for the flag "GD_FLG_SILENT" in "gd->flags". 21 suppressed automatically. Make sure to enable "nulldev" by
|
/external/python/cpython2/Doc/library/ |
D | fpformat.rst | 29 digit before. If ``digs <= 0``, the decimal point is suppressed. 41 suppressed.
|
/external/curl/lib/ |
D | checksrc.pl | 34 my $suppressed; # whitelisted problems 150 $suppressed++; 750 if($suppressed) {
|
/external/clang/test/Analysis/objc/ |
D | direct-ivar-assignment-in-annotated-functions.m | 38 @property (assign) MyClass* NotA; // warnings should be suppressed, backing ivar is annotated 39 …__((annotate("objc_allow_direct_instance_variable_assignment"))); // warnings should be suppressed
|
/external/compiler-rt/lib/asan/ |
D | asan_interceptors.cc | 69 bool suppressed = false; \ 71 suppressed = IsInterceptorSuppressed(_ctx->interceptor_name); \ 72 if (!suppressed && HaveStackTraceBasedSuppressions()) { \ 74 suppressed = IsStackTraceSuppressed(&stack); \ 77 if (!suppressed) { \
|
/external/clang/test/SemaObjC/ |
D | arc-property-lifetime.m | 18 @synthesize z; // suppressed 35 @synthesize z; // suppressed 52 @synthesize z; // suppressed
|
/external/autotest/client/site_tests/platform_LogDupSuppression/ |
D | control | 15 checks that repeated messages from that process are suppressed.
|