Home
last modified time | relevance | path

Searched refs:exceptions (Results 1 – 25 of 3207) sorted by relevance

12345678910>>...129

/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/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/python/apitools/apitools/base/py/
Dexceptions_test.py17 from apitools.base.py import exceptions
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)
46 self.assertIsInstance(err, exceptions.HttpForbiddenError)
[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/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/guava/guava-testlib/src/com/google/common/testing/
DClusterException.java65 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()
72 this.exceptions = Collections.unmodifiableCollection(temp); in ClusterException()
76 static RuntimeException create(Throwable... exceptions) { in create() argument
77 ArrayList<Throwable> temp = new ArrayList<>(Arrays.asList(exceptions)); in create()
100 static RuntimeException create(Collection<? extends Throwable> exceptions) { in create() argument
101 if (exceptions.size() == 0) { in create()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/testing/
DClusterException.java65 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()
72 this.exceptions = Collections.unmodifiableCollection(temp); in ClusterException()
76 static RuntimeException create(Throwable... exceptions) { in create() argument
77 ArrayList<Throwable> temp = new ArrayList<>(Arrays.asList(exceptions)); in create()
100 static RuntimeException create(Collection<? extends Throwable> exceptions) { in create() argument
101 if (exceptions.size() == 0) { in create()
[all …]
/external/guava/guava/src/com/google/common/io/
DMoreFiles.java526 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);
593 Collection<IOException> exceptions = null; // created lazily if needed
597 exceptions = deleteDirectoryContentsSecure(sds);
600 exceptions = deleteDirectoryContentsInsecure(stream);
[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/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 …]
/external/cronet/tot/third_party/libc++/src/test/std/input.output/iostreams.base/ios/iostate.flags/
Dexceptions_iostate.pass.cpp27 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()
48 ios.exceptions(std::ios::badbit); in main()
49 assert(ios.exceptions() == std::ios::badbit); in main()
/external/libcxx/test/std/input.output/iostreams.base/ios/iostate.flags/
Dexceptions_iostate.pass.cpp28 assert(ios.exceptions() == std::ios::goodbit); in main()
29 ios.exceptions(std::ios::eofbit); in main()
30 assert(ios.exceptions() == std::ios::eofbit); in main()
34 ios.exceptions(std::ios::badbit); in main()
40 assert(ios.exceptions() == std::ios::badbit); in main()
46 assert(ios.exceptions() == std::ios::goodbit); in main()
47 ios.exceptions(std::ios::eofbit); in main()
48 assert(ios.exceptions() == std::ios::eofbit); in main()
49 ios.exceptions(std::ios::badbit); in main()
50 assert(ios.exceptions() == std::ios::badbit); in main()
/external/cronet/stable/third_party/libc++/src/test/std/input.output/iostreams.base/ios/iostate.flags/
Dexceptions_iostate.pass.cpp27 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()
48 ios.exceptions(std::ios::badbit); in main()
49 assert(ios.exceptions() == std::ios::badbit); in main()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test-resources/stacktraces/resume-mode/
DtestNestedUnconfined.txt2 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
3 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedUnconfined$1$1.invokeS…
5 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$withContext$2.invokeSuspend(Stac…
6 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.doFastPath(StackTraceRecoveryRes…
7 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
8 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedUnconfined$1$1.invokeS…
9 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedUnconfined$1.invokeSus…
11 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
12 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedUnconfined$1$1.invokeS…
DtestNestedUnconfinedChangedContext.txt2 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
3 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedUnconfinedChangedConte…
5 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$withContext$2.invokeSuspend(Stac…
6 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.doFastPath(StackTraceRecoveryRes…
7 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
8 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedUnconfinedChangedConte…
9 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedUnconfinedChangedConte…
11 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
12 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedUnconfinedChangedConte…
DtestNestedEventLoopChangedContext.txt2 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
3 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedEventLoopChangedContex…
5 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$withContext$2.invokeSuspend(Stac…
6 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.doFastPath(StackTraceRecoveryRes…
7 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
8 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedEventLoopChangedContex…
9 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedEventLoopChangedContex…
11 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
12 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedEventLoopChangedContex…
DtestNestedEventLoopDispatcher.txt2 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
3 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedEventLoopDispatcher$1$…
5 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$withContext$2.invokeSuspend(Stac…
6 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.doFastPath(StackTraceRecoveryRes…
7 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
8 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedEventLoopDispatcher$1$…
9 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedEventLoopDispatcher$1.…
11 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
12 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testNestedEventLoopDispatcher$1$…
DtestEventLoopDispatcher.txt2 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
3 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testEventLoopDispatcher$1.invoke…
5 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$withContext$2.invokeSuspend(Stac…
6 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.doFastPath(StackTraceRecoveryRes…
7 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
8 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testEventLoopDispatcher$1.invoke…
10 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest.testResumeModeFastPath(StackTrac…
11 …at kotlinx.coroutines.exceptions.StackTraceRecoveryResumeModeTest$testEventLoopDispatcher$1.invoke…
/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/truth/core/src/main/java/com/google/common/truth/
DIterableSubject.java1126 Correspondence.ExceptionStore exceptions = Correspondence.ExceptionStore.forIterable();
1128 if (correspondence.safeCompare(actual, expected, exceptions)) {
1130 if (exceptions.hasCompareException()) {
1133 .addAll(exceptions.describeAsMainCause())
1145 List<A> keyMatches = pairer.get().pairOne(expected, getCastActual(), exceptions);
1157 exceptions))
1160 .addAll(exceptions.describeAsAdditionalInfo())
1170 .addAll(exceptions.describeAsAdditionalInfo())
1176 Correspondence.ExceptionStore exceptions = Correspondence.ExceptionStore.forIterable();
1179 if (correspondence.safeCompare(actual, excluded, exceptions)) {
[all …]
/external/python/google-auth-library-python/google/auth/transport/
D_mtls_helper.py25 from google.auth import exceptions
84 new_exc = exceptions.ClientCertError(caught_exc)
112 new_exc = exceptions.ClientCertError(caught_exc)
117 raise exceptions.ClientCertError(
124 raise exceptions.ClientCertError("Client SSL certificate is missing or invalid")
127 raise exceptions.ClientCertError("Client SSL key is missing or invalid")
132 raise exceptions.ClientCertError("Passphrase is missing or invalid")
134 raise exceptions.ClientCertError("Encrypted private key is expected")
138 raise exceptions.ClientCertError("Encrypted private key is not expected")
140 raise exceptions.ClientCertError("Passphrase is not expected")
[all …]
/external/eigen/bench/btl/libs/tensors/
DCMakeLists.txt18 btl_add_target_property(btl_tensor_linear COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=tensor")
19 btl_add_target_property(btl_tensor_vecmat COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=tensor")
20 btl_add_target_property(btl_tensor_matmat COMPILE_FLAGS "-fno-exceptions -DBTL_PREFIX=tensor")
28 …btl_add_target_property(btl_tensor_nogccvec_linear COMPILE_FLAGS "-fno-exceptions -fno-tree-vector…
29 …btl_add_target_property(btl_tensor_nogccvec_vecmat COMPILE_FLAGS "-fno-exceptions -fno-tree-vector…
30 …btl_add_target_property(btl_tensor_nogccvec_matmat COMPILE_FLAGS "-fno-exceptions -fno-tree-vector…
38 …btl_add_target_property(btl_tensor_novec_linear COMPILE_FLAGS "-fno-exceptions -DEIGEN_DONT_VECTOR…
39 …btl_add_target_property(btl_tensor_novec_vecmat COMPILE_FLAGS "-fno-exceptions -DEIGEN_DONT_VECTOR…
40 …btl_add_target_property(btl_tensor_novec_matmat COMPILE_FLAGS "-fno-exceptions -DEIGEN_DONT_VECTOR…
/external/rust/android-crates-io/crates/icu_casemap/src/provider/
Dmod.rs21 use crate::provider::exceptions::CaseMapExceptions;
28 pub mod exceptions; module
100 pub exceptions: CaseMapExceptions<'data>, field
116 pub exceptions: CaseMapExceptions<'data>, in deserialize() field
119 let Raw { trie, exceptions } = Raw::deserialize(deserializer)?; in deserialize()
120 let result = Self { trie, exceptions }; in deserialize()
135 exceptions: &[u16], in try_from_icu()
139 let exceptions_builder = CaseMapExceptionsBuilder::new(exceptions); in try_from_icu()
140 let (exceptions, idx_map) = exceptions_builder.build()?; in try_from_icu()
157 let result = Self { trie, exceptions }; in try_from_icu()
[all …]
/external/chromium-crossbench/crossbench/
Dexception.py40 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
151 def exceptions(self) -> List[Entry]: member in ExceptionAnnotator
193 exceptions: TExceptionTypes = (Exception,),
200 return ExceptionAnnotationScope(self, exceptions, ignore, stack_entries,
206 exceptions: TExceptionTypes = (Exception,),
210 with self.capture(*stack_entries, exceptions=exceptions, ignore=ignore):
[all …]

12345678910>>...129