Home
last modified time | relevance | path

Searched full:exceptions (Results 1 – 25 of 18154) sorted by relevance

12345678910>>...727

/external/python/cpython3/Tools/c-analyzer/cpython/
Dglobals-to-fix.tsv161 Objects/exceptions.c - _PyExc_BaseException -
162 Objects/exceptions.c - _PyExc_BaseExceptionGroup -
163 Objects/exceptions.c - _PyExc_UnicodeEncodeError -
164 Objects/exceptions.c - _PyExc_UnicodeDecodeError -
165 Objects/exceptions.c - _PyExc_UnicodeTranslateError -
166 Objects/exceptions.c - _PyExc_MemoryError -
167 Objects/exceptions.c - _PyExc_Exception -
168 Objects/exceptions.c - _PyExc_TypeError -
169 Objects/exceptions.c - _PyExc_StopAsyncIteration -
170 Objects/exceptions.c - _PyExc_StopIteration -
[all …]
/external/guava/guava-testlib/src/com/google/common/testing/
DClusterException.java27 * exceptions", or something close to it. The prototypical code that calls for this class is
43 * {@literal List<Exception>} exceptions = Lists.newArrayList();
48 * exceptions.add(e);
51 * if (exceptions.size() &gt; 0) {
52 * throw ClusterException.create(exceptions);
65 final Collection<? extends Throwable> exceptions; field in ClusterException
67 private ClusterException(Collection<? extends Throwable> exceptions) { in ClusterException() argument
69 exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.", in ClusterException()
70 exceptions.iterator().next()); in ClusterException()
71 ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions); in ClusterException()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/testing/
DClusterException.java27 * exceptions", or something close to it. The prototypical code that calls for this class is
43 * {@literal List<Exception>} exceptions = Lists.newArrayList();
48 * exceptions.add(e);
51 * if (exceptions.size() &gt; 0) {
52 * throw ClusterException.create(exceptions);
65 final Collection<? extends Throwable> exceptions; field in ClusterException
67 private ClusterException(Collection<? extends Throwable> exceptions) { in ClusterException() argument
69 exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.", in ClusterException()
70 exceptions.iterator().next()); in ClusterException()
71 ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions); in ClusterException()
[all …]
/external/python/apitools/apitools/base/py/
Dexceptions_test.py17 from apitools.base.py import exceptions
29 """Tests for exceptions.HttpError.FromResponse."""
32 err = exceptions.HttpError.FromResponse(_MakeResponse(400))
33 self.assertIsInstance(err, exceptions.HttpError)
34 self.assertIsInstance(err, exceptions.HttpBadRequestError)
38 err = exceptions.HttpError.FromResponse(_MakeResponse(401))
39 self.assertIsInstance(err, exceptions.HttpError)
40 self.assertIsInstance(err, exceptions.HttpUnauthorizedError)
44 err = exceptions.HttpError.FromResponse(_MakeResponse(403))
45 self.assertIsInstance(err, exceptions.HttpError)
[all …]
/external/icu/icu4j/tools/misc/src/main/java/com/ibm/icu/dev/tool/layout/
DCanonGSUBBuilder.java365 ClassTable exceptions = new ClassTable(); in buildCombiningClassTable() local
369 exceptions.addMapping(0x05C1, 10); // Point Shin Dot in buildCombiningClassTable()
370 exceptions.addMapping(0x05C2, 11); // Point Sin Dot in buildCombiningClassTable()
371 exceptions.addMapping(0x05BC, 21); // Point Dagesh or Mapiq in buildCombiningClassTable()
372 exceptions.addMapping(0x05BF, 23); // Point Rafe in buildCombiningClassTable()
373 exceptions.addMapping(0x05B9, 27); // Point Holam in buildCombiningClassTable()
374 exceptions.addMapping(0x0323, 220); // Comb. Dot Below (low punctum) in buildCombiningClassTable()
375 exceptions.addMapping(0x0591, 220); // Accent Etnahta in buildCombiningClassTable()
376 exceptions.addMapping(0x0596, 220); // Accent Tipeha in buildCombiningClassTable()
377 exceptions.addMapping(0x059B, 220); // Accent Tevir in buildCombiningClassTable()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DStackTraceRecoveryNestedScopesTest.kt1 package kotlinx.coroutines.exceptions
13 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest.failure(StackTraceRecoveryN…
14 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest.access\$failure(StackTraceR…
15 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest\$createFailingAsync\$1.invo…
17 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest\$callWithTimeout\$2.invokeS…
18 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest\$callCoroutineScope\$2.invo…
19 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest\$$TEST_MACROS\$1.invokeSusp…
21 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest.failure(StackTraceRecoveryN…
22 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest.access\$failure(StackTraceR…
23 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryNestedScopesTest\$createFailingAsync\$1.invo…
[all …]
DStackTraceRecoveryTest.kt1 package kotlinx.coroutines.exceptions in <lambda>()
7 import kotlinx.coroutines.testing.exceptions.* in <lambda>()
35 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$testAsync\$1\$createDeferred\$1.invoke… in <lambda>()
37 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest.oneMoreNestedMethod(StackTraceRecoveryT… in <lambda>()
38 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest.nestedMethod(StackTraceRecoveryTest.kt:… in <lambda>()
39 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$testAsync\$1.invokeSuspend(StackTraceR… in <lambda>()
41 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$testAsync\$1\$createDeferred\$1.invoke… in <lambda>()
57 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$testCompletedAsync\$1\$deferred\$1.inv… in <lambda>()
59 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest.oneMoreNestedMethod(StackTraceRecoveryT… in <lambda>()
60 …"\tat kotlinx.coroutines.exceptions.StackTraceRecoveryTest.nestedMethod(StackTraceRecoveryTest.kt:… in <lambda>()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DExceptionHandler.java46 ArabicShapingException exceptions[] = new ArabicShapingException[locales.length]; in getTestObjects() local
49 exceptions[i] = new ArabicShapingException(locales[i].toString()); in getTestObjects()
52 return exceptions; in getTestObjects()
62 StringPrepParseException exceptions[] = new StringPrepParseException[locales.length]; in getTestObjects() local
65 exceptions[i] = new StringPrepParseException(locales[i].toString(), i, rules, i); in getTestObjects()
68 return exceptions; in getTestObjects()
77 … UResourceTypeMismatchException exceptions[] = new UResourceTypeMismatchException[locales.length]; in getTestObjects() local
80 exceptions[i] = new UResourceTypeMismatchException(locales[i].toString()); in getTestObjects()
83 return exceptions; in getTestObjects()
92 InvalidFormatException exceptions[] = new InvalidFormatException[locales.length]; in getTestObjects() local
[all …]
/external/icu/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/serializable/
DExceptionHandler.java45 ArabicShapingException exceptions[] = new ArabicShapingException[locales.length]; in getTestObjects() local
48 exceptions[i] = new ArabicShapingException(locales[i].toString()); in getTestObjects()
51 return exceptions; in getTestObjects()
61 StringPrepParseException exceptions[] = new StringPrepParseException[locales.length]; in getTestObjects() local
64 exceptions[i] = new StringPrepParseException(locales[i].toString(), i, rules, i); in getTestObjects()
67 return exceptions; in getTestObjects()
76 … UResourceTypeMismatchException exceptions[] = new UResourceTypeMismatchException[locales.length]; in getTestObjects() local
79 exceptions[i] = new UResourceTypeMismatchException(locales[i].toString()); in getTestObjects()
82 return exceptions; in getTestObjects()
91 InvalidFormatException exceptions[] = new InvalidFormatException[locales.length]; in getTestObjects() local
[all …]
/external/clang/test/Driver/
Dclang-exception-flags.cpp4 // DEFAULT: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions"
7 // ON1: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions"
9 // RUN: %clang -### -fno-exceptions -fcxx-exceptions %s 2>&1 | FileCheck %s -check-prefix=ON2
10 // ON2: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions"
12 // RUN: %clang -### -fno-cxx-exceptions -fexceptions %s 2>&1 | FileCheck %s -check-prefix=ON3
13 // ON3: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions"
15 // RUN: %clang -### -fno-exceptions %s 2>&1 | FileCheck %s -check-prefix=OFF1
16 // OFF1-NOT: "-cc1" {{.*}} "-fcxx-exceptions"
18 // RUN: %clang -### -fno-cxx-exceptions %s 2>&1 | FileCheck %s -check-prefix=OFF2
19 // OFF2-NOT: "-cc1" {{.*}} "-fcxx-exceptions"
[all …]
/external/python/python-api-core/tests/unit/
Dtest_exceptions.py28 from google.api_core import exceptions
34 exception = exceptions.GoogleAPICallError("Testing")
48 exception = exceptions.GoogleAPICallError("Testing", [error], response=response)
58 exception = exceptions.from_http_status(http.client.NOT_FOUND, message)
68 exception = exceptions.from_http_status(
72 assert isinstance(exception, exceptions.NotFound)
82 exception = exceptions.from_http_status(status_code, message)
100 exception = exceptions.from_http_response(response)
102 assert isinstance(exception, exceptions.NotFound)
112 exception = exceptions.from_http_response(response)
[all …]
/external/truth/core/src/test/java/com/google/common/truth/
DCorrespondenceExceptionStoreTest.java39 Correspondence.ExceptionStore exceptions = Correspondence.ExceptionStore.forIterable(); in hasCompareException_empty() local
40 assertThat(exceptions.hasCompareException()).isFalse(); in hasCompareException_empty()
45 Correspondence.ExceptionStore exceptions = Correspondence.ExceptionStore.forIterable(); in hasCompareException_hasCompareException() local
46 addCompareException(exceptions); in hasCompareException_hasCompareException()
47 assertThat(exceptions.hasCompareException()).isTrue(); in hasCompareException_hasCompareException()
52 Correspondence.ExceptionStore exceptions = Correspondence.ExceptionStore.forIterable(); in describeAsMainCause_empty() local
54 exceptions.describeAsMainCause(); in describeAsMainCause_empty()
62 Correspondence.ExceptionStore exceptions = Correspondence.ExceptionStore.forIterable(); in describeAsMainCause_notEmpty() local
63 addCompareException(exceptions); in describeAsMainCause_notEmpty()
65 exceptions.describeAsMainCause(), in describeAsMainCause_notEmpty()
[all …]
/external/clang/test/Lexer/
Dhas_feature_exceptions.cpp1 // RUN: %clang -E -fexceptions %s -o - | FileCheck --check-prefix=CHECK-EXCEPTIONS %s
2 // RUN: %clang -E -fexceptions -fno-cxx-exceptions %s -o - | FileCheck --check-prefix=CHECK-NO-EXCE…
3 // RUN: %clang -E -fno-exceptions %s -o - | FileCheck --check-prefix=CHECK-NO-EXCEPTIONS %s
5 // RUN: %clang_cc1 -E -fcxx-exceptions %s -o - | FileCheck --check-prefix=CHECK-EXCEPTIONS %s
6 // RUN: %clang_cc1 -E -fobjc-exceptions %s -o - | FileCheck --check-prefix=CHECK-NO-EXCEPTIONS %s
7 // RUN: %clang_cc1 -E -fexceptions %s -o - | FileCheck --check-prefix=CHECK-NO-EXCEPTIONS %s
8 // RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-EXCEPTIONS %s
16 // CHECK-EXCEPTIONS: foo
17 // CHECK-NO-EXCEPTIONS: bar
/external/aws-sdk-java-v2/codegen/src/test/resources/software/amazon/awssdk/codegen/poet/client/
Dtest-abstract-async-client-class.java74 * exceptions.
78 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi…
82 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro…
102 * exceptions.
106 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi…
110 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro…
129 * exceptions.
131 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi…
135 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro…
154 * exceptions.
[all …]
Dtest-json-async-client-interface.java87 * exceptions.
91 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi…
95 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro…
124 * exceptions.
128 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi…
132 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro…
154 * exceptions.
158 …* <li>SdkException Base class for all exceptions that can be thrown by the SDK (both servi…
162 …* <li>JsonException Base class for all service exceptions. Unknown exceptions will be thro…
190 * exceptions.
[all …]
Dtest-abstract-sync-client-class.java62 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C…
67 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance …
88 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C…
93 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance …
111 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C…
116 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance …
133 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C…
138 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance …
160 …* Base class for all exceptions that can be thrown by the SDK (both service and client). C…
165 …* Base class for all service exceptions. Unknown exceptions will be thrown as an instance …
[all …]
/external/chromium-crossbench/crossbench/
Dexception.py36 It holds on to the ExceptionAnnotator and its previously captured exceptions
40 def __init__(self, message: str, exceptions: ExceptionAnnotator):
42 self.exceptions = exceptions
45 return len(self.exceptions)
48 return self.exceptions.matching(*args)
52 return self.exceptions
56 """Used in a with-scope to annotate exceptions with a TInfoStack.
104 # Handle matching exceptions directly here and prevent further
121 """Collects exceptions with full backtraces and user-provided info stacks.
133 # The info_stack adds additional meta information to handle exceptions.
[all …]
/external/python/cpython3/Tools/c-analyzer/
DTODO156 Objects/exceptions.c:_check_for_legacy_statements():exec_prefix static PyObject *exec_prefix
157 Objects/exceptions.c:_check_for_legacy_statements():print_prefix static PyObject *print_prefix
323 Objects/exceptions.c:ImportError_getstate():PyId_name _Py_IDENTIFIER(name)
324 Objects/exceptions.c:ImportError_getstate():PyId_path _Py_IDENTIFIER(path)
656 Objects/exceptions.c:PyExc_ArithmeticError static PyTypeObject PyExc_Arithmet…
657 Objects/exceptions.c:PyExc_AssertionError static PyTypeObject PyExc_Assertio…
658 Objects/exceptions.c:PyExc_AttributeError static PyTypeObject PyExc_Attribut…
659 Objects/exceptions.c:PyExc_BaseException static PyTypeObject PyExc_BaseExce…
660 Objects/exceptions.c:PyExc_BlockingIOError static PyTypeObject PyExc_Blocking…
661 Objects/exceptions.c:PyExc_BrokenPipeError static PyTypeObject PyExc_BrokenPi…
[all …]
/external/cronet/tot/base/android/java/src/org/chromium/base/
DIntentUtils.java44 /** Just like {@link Intent#hasExtra(String)} but doesn't throw exceptions. */
49 // Catches un-parceling exceptions. in safeHasExtra()
55 /** Just like {@link Intent#removeExtra(String)} but doesn't throw exceptions. */
60 // Catches un-parceling exceptions. in safeRemoveExtra()
65 /** Just like {@link Intent#getBooleanExtra(String, boolean)} but doesn't throw exceptions. */
70 // Catches un-parceling exceptions. in safeGetBooleanExtra()
76 /** Just like {@link Bundle#getBoolean(String, boolean)} but doesn't throw exceptions. */
81 // Catches un-parceling exceptions. in safeGetBoolean()
87 /** Just like {@link Intent#getIntExtra(String, int)} but doesn't throw exceptions. */
92 // Catches un-parceling exceptions. in safeGetIntExtra()
[all …]
/external/cronet/stable/base/android/java/src/org/chromium/base/
DIntentUtils.java44 /** Just like {@link Intent#hasExtra(String)} but doesn't throw exceptions. */
49 // Catches un-parceling exceptions. in safeHasExtra()
55 /** Just like {@link Intent#removeExtra(String)} but doesn't throw exceptions. */
60 // Catches un-parceling exceptions. in safeRemoveExtra()
65 /** Just like {@link Intent#getBooleanExtra(String, boolean)} but doesn't throw exceptions. */
70 // Catches un-parceling exceptions. in safeGetBooleanExtra()
76 /** Just like {@link Bundle#getBoolean(String, boolean)} but doesn't throw exceptions. */
81 // Catches un-parceling exceptions. in safeGetBoolean()
87 /** Just like {@link Intent#getIntExtra(String, int)} but doesn't throw exceptions. */
92 // Catches un-parceling exceptions. in safeGetIntExtra()
[all …]
/external/guava/guava/src/com/google/common/io/
DMoreFiles.java496 * directory, this method skips that file and continues. All such exceptions are collected and,
498 * exceptions as {@linkplain Throwable#getSuppressed() suppressed exceptions}.
526 Collection<IOException> exceptions = null; // created lazily if needed
532 exceptions =
545 exceptions = deleteRecursivelyInsecure(path);
548 if (exceptions == null) {
551 exceptions.add(e);
555 if (exceptions != null) {
556 throwDeleteFailed(path, exceptions);
567 * directory, this method skips that file and continues. All such exceptions are collected and,
[all …]
/external/eigen/bench/btl/libs/eigen3/
DCMakeLists.txt19 btl_add_target_property(btl_eigen3_linear COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen3")
20 btl_add_target_property(btl_eigen3_vecmat COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen3")
21 btl_add_target_property(btl_eigen3_matmat COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen3")
22 btl_add_target_property(btl_eigen3_adv COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=eigen3")
31 …btl_add_target_property(btl_eigen3_nogccvec_linear COMPILE_FLAGS "-fno-exceptions -fno-tree-vector…
32 …btl_add_target_property(btl_eigen3_nogccvec_vecmat COMPILE_FLAGS "-fno-exceptions -fno-tree-vector…
33 …btl_add_target_property(btl_eigen3_nogccvec_matmat COMPILE_FLAGS "-fno-exceptions -fno-tree-vector…
34 …btl_add_target_property(btl_eigen3_nogccvec_adv COMPILE_FLAGS "-fno-exceptions -fno-tree-vector…
43 …btl_add_target_property(btl_eigen3_novec_linear COMPILE_FLAGS "-fno-exceptions -DEIGEN_DONT_VECTOR…
44 …btl_add_target_property(btl_eigen3_novec_vecmat COMPILE_FLAGS "-fno-exceptions -DEIGEN_DONT_VECTOR…
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/input.output/iostreams.base/ios/iostate.flags/
Dexceptions_iostate.pass.cpp3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
13 // iostate exceptions() const;
27 assert(ios.exceptions() == std::ios::goodbit); in main()
28 ios.exceptions(std::ios::eofbit); in main()
29 assert(ios.exceptions() == std::ios::eofbit); in main()
33 ios.exceptions(std::ios::badbit); in main()
39 assert(ios.exceptions() == std::ios::badbit); in main()
45 assert(ios.exceptions() == std::ios::goodbit); in main()
46 ios.exceptions(std::ios::eofbit); in main()
47 assert(ios.exceptions() == std::ios::eofbit); in main()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/input.output/iostreams.base/ios/iostate.flags/
Dexceptions_iostate.pass.cpp3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
13 // iostate exceptions() const;
27 assert(ios.exceptions() == std::ios::goodbit); in main()
28 ios.exceptions(std::ios::eofbit); in main()
29 assert(ios.exceptions() == std::ios::eofbit); in main()
33 ios.exceptions(std::ios::badbit); in main()
39 assert(ios.exceptions() == std::ios::badbit); in main()
45 assert(ios.exceptions() == std::ios::goodbit); in main()
46 ios.exceptions(std::ios::eofbit); in main()
47 assert(ios.exceptions() == std::ios::eofbit); in main()
[all …]
/external/python/mako/test/
Dtest_exceptions.py3 from mako import exceptions
22 except exceptions.CompileException:
23 html_error = exceptions.html_error_template().render_unicode()
33 not_full = exceptions.html_error_template().render_unicode(
39 no_css = exceptions.html_error_template().render_unicode(css=False)
55 except exceptions.CompileException:
56 text_error = exceptions.text_error_template().render_unicode()
76 except exceptions.CompileException:
77 html_error = exceptions.html_error_template().render()
109 except exceptions.CompileException:
[all …]

12345678910>>...727