Home
last modified time | relevance | path

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

12345678910>>...178

/external/guava/guava-testlib/src/com/google/common/testing/
DClusterException.java27 * "throw multiple exceptions", or something close to it. The prototypical code
43 * List<Exception> exceptions = Lists.newArrayList();
48 * exceptions.add(e);
51 * if (exceptions.size() > 0) {
52 * throw ClusterException.create(exceptions);
64 public final Collection<? extends Throwable> exceptions; field in ClusterException
66 private ClusterException(Collection<? extends Throwable> exceptions) { in ClusterException() argument
68 exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.", in ClusterException()
69 exceptions.iterator().next()); in ClusterException()
71 temp.addAll(exceptions); in ClusterException()
[all …]
/external/icu/icu4j/tools/misc/src/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/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/tests/core/src/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 …]
Drtti-options.cpp2 // exceptions, rtti, and vptr sanitizer flags when targetting the PS4.
6 // Special cases: -fcxx-exceptions in C code should warn about unused arguments
8 // RUN: %clang -x c -### -target x86_64-scei-ps4 -c -fcxx-exceptions %s 2>&1 | FileCheck -check-pre…
9 // RUN: %clang -x c -### -target x86_64-unknown-unknown -c -fcxx-exceptions %s 2>&1 | FileCheck -ch…
29 // Exceptions + no/default rtti
30 // RUN: %clang -### -c -target x86_64-scei-ps4 -fcxx-exceptions -fno-rtti %s 2>&1 | FileCheck -chec…
31 // RUN: %clang -### -c -target x86_64-scei-ps4 -fcxx-exceptions %s 2>&1 | FileCheck -check-prefix=C…
32 // RUN: %clang -### -c -target x86_64-unknown-unknown -fcxx-exceptions -fno-rtti %s 2>&1 | FileChec…
33 // RUN: %clang -### -c -target x86_64-unknown-unknown -fcxx-exceptions %s 2>&1 | FileCheck -check-p…
34 // In C++, -fexceptions implies -fcxx-exceptions
[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/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/syzkaller/pkg/ifuzz/gen/
Dall-enc-instructions.txt4252 EXCEPTIONS: mmx-mem
4263 EXCEPTIONS: mmx-mem
4274 EXCEPTIONS: mmx-mem
4288 EXCEPTIONS: SSE_TYPE_7
4297 EXCEPTIONS: SSE_TYPE_7
4306 EXCEPTIONS: SSE_TYPE_7
4312 EXCEPTIONS: mmx-mem
4323 EXCEPTIONS: mmx-mem
4334 EXCEPTIONS: mmx-mem
4348 EXCEPTIONS: SSE_TYPE_7
[all …]
/external/libcxx/test/std/input.output/iostreams.base/ios/iostate.flags/
Dexceptions_iostate.pass.cpp14 // iostate exceptions() const;
28 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()
[all …]
/external/python/cpython2/Doc/tutorial/
Derrors.rst4 Errors and Exceptions
9 distinguishable kinds of errors: *syntax errors* and *exceptions*.
34 .. _tut-exceptions:
36 Exceptions chapter
41 are called *exceptions* and are not unconditionally fatal: you will soon learn
42 how to handle them in Python programs. Most exceptions are not handled by
58 The last line of the error message indicates what happened. Exceptions come in
62 that occurred. This is true for all built-in exceptions, but need not be true
63 for user-defined exceptions (although it is a useful convention). Standard
74 :ref:`bltin-exceptions` lists the built-in exceptions and their meanings.
[all …]
/external/catch2/projects/SelfTest/UsageTests/
DException.tests.cpp25 // Cannot use try/catch keywords with -fno-exceptions.
77 TEST_CASE( "When checked exceptions are thrown they can be expected or unexpected", "[!throws]" ) {
83 TEST_CASE( "Expected exceptions that don't throw or unexpected exceptions fail the test", "[.][fail…
89 TEST_CASE( "When unchecked exceptions are thrown directly they are always failures", "[.][failing][…
98 TEST_CASE( "When unchecked exceptions are thrown from sections they are always failures", "[.][fail…
104 TEST_CASE( "When unchecked exceptions are thrown from functions they are always failures", "[.][fai…
108 TEST_CASE( "When unchecked exceptions are thrown during a REQUIRE the test should abort fail", "[.]…
113 TEST_CASE( "When unchecked exceptions are thrown during a CHECK the test should continue", "[.][fai…
122 TEST_CASE( "When unchecked exceptions are thrown, but caught, they do not affect the test", "[!thro…
142 TEST_CASE("Non-std exceptions can be translated", "[.][failing][!throws]" ) {
[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/python/cpython3/Doc/tutorial/
Derrors.rst4 Errors and Exceptions
9 distinguishable kinds of errors: *syntax errors* and *exceptions*.
34 .. _tut-exceptions:
36 Exceptions chapter
41 are called *exceptions* and are not unconditionally fatal: you will soon learn
42 how to handle them in Python programs. Most exceptions are not handled by
58 The last line of the error message indicates what happened. Exceptions come in
62 that occurred. This is true for all built-in exceptions, but need not be true
63 for user-defined exceptions (although it is a useful convention). Standard
74 :ref:`bltin-exceptions` lists the built-in exceptions and their meanings.
[all …]
/external/python/cpython2/Doc/library/
Dexceptions.rst1 .. _bltin-exceptions:
3 Built-in Exceptions
6 .. module:: exceptions
10 Exceptions should be class objects. The exceptions are defined in the module
11 :mod:`exceptions`. This module never needs to be imported explicitly: the
12 exceptions are provided in the built-in namespace as well as the
13 :mod:`exceptions` module.
19 For class exceptions, in a :keyword:`try` statement with an :keyword:`except`
27 The built-in exceptions listed below can be generated by the interpreter or
36 User code can raise built-in exceptions. This can be used to test an exception
[all …]
/external/google-benchmark/
Dmingw.py81 exceptions = threading.setdefault(value[3].strip(), {})
82 revision = exceptions.setdefault(int(value[4].strip()[3:]),
173 exceptions = None, revision = None, log = EmptyLogger()): argument
180 if not (arch and version and threading and exceptions and revision):
199 if not exceptions:
202 exceptions = 'seh'
204 exceptions = 'sjlj'
206 exceptions = keys[0]
208 revision = max(versions[version][arch][threading][exceptions].keys())
213 url = versions[version][arch][threading][exceptions][revision]
[all …]
/external/libcxx/utils/google-benchmark/
Dmingw.py81 exceptions = threading.setdefault(value[3].strip(), {})
82 revision = exceptions.setdefault(int(value[4].strip()[3:]),
173 exceptions = None, revision = None, log = EmptyLogger()): argument
180 if not (arch and version and threading and exceptions and revision):
199 if not exceptions:
202 exceptions = 'seh'
204 exceptions = 'sjlj'
206 exceptions = keys[0]
208 revision = max(versions[version][arch][threading][exceptions].keys())
213 url = versions[version][arch][threading][exceptions][revision]
[all …]
/external/guice/extensions/persist/src/com/google/inject/persist/
DTransactional.java34 * <p>Similarly, the set of exceptions that will trigger a rollback can be defined in the {@link
35 * #rollbackOn()} clause. By default, only unchecked exceptions trigger a rollback.
45 * A list of exceptions to rollback on, if thrown by the transactional method. These exceptions
51 * A list of exceptions to <b>not<b> rollback on. A caveat to the rollbackOn clause. The
52 * disjunction of rollbackOn and ignore represents the list of exceptions that will trigger a
53 * rollback. The complement of rollbackOn and the universal set plus any exceptions in the ignore
54 * set represents the list of exceptions that will trigger a commit. Note that ignore exceptions
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
D__init__.py33 from .exceptions import CloudStorageError
34 from .exceptions import CloudStorageUploadConflictError
35 from .exceptions import EmptyConfigError
36 from .exceptions import FileNotFoundError
37 from .exceptions import NoPathFoundError
38 from .exceptions import ReadWriteError
39 from .exceptions import UnsupportedConfigFormatError
/external/clang/test/PCH/
Dcxx-templates.cpp2 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fexceptions -include %S…
3 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fexceptions -include %S…
6 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fexceptions -x c++-head…
7 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fexceptions -include-pc…
8 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fexceptions -include-pc…
11 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fexceptions -fmodules -…
12 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fexceptions -fmodules -…
13 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fexceptions -fmodules -…
16 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fdelayed-template-parsi…
17 // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fdelayed-template-parsi…
[all …]
/external/python/cpython3/Doc/library/
Dexceptions.rst1 .. _bltin-exceptions:
3 Built-in Exceptions
10 In Python, all exceptions must be instances of a class that derives from
19 The built-in exceptions listed below can be generated by the interpreter or
26 User code can raise built-in exceptions. This can be used to test an exception
31 The built-in exception classes can be subclassed to define new exceptions;
32 programmers are encouraged to derive new exceptions from the :exc:`Exception`
34 information on defining exceptions is available in the Python Tutorial under
59 The default traceback display code shows these chained exceptions in
66 exceptions so that the final line of the traceback always shows the last
[all …]
/external/googletest/googletest/test/
Dgoogletest-catch-exceptions-test.py33 This script invokes googletest-catch-exceptions-test_ and
34 googletest-catch-exceptions-ex-test_ (programs written with
46 # Path to the googletest-catch-exceptions-ex-test_ binary, compiled with
47 # exceptions enabled.
49 'googletest-catch-exceptions-ex-test_')
51 # Path to the googletest-catch-exceptions-test_ binary, compiled with
52 # exceptions disabled.
54 'googletest-catch-exceptions-no-ex-test_')
114 * C++ exceptions are caught and logged as C++ (not SEH) exceptions
215 # Filters out SEH exception tests on Windows. Unhandled SEH exceptions
[all …]
/external/catch2/projects/SelfTest/Baselines/
Dautomake.std.approved.txt32 :test-result: FAIL Custom exceptions can be translated when testing for nothrow
33 :test-result: FAIL Custom exceptions can be translated when testing for throwing as something else
34 :test-result: FAIL Custom std-exceptions can be custom translated
42 :test-result: FAIL Expected exceptions that don't throw or unexpected exceptions fail the test
66 :test-result: FAIL Non-std exceptions can be translated
105 :test-result: FAIL Unexpected exceptions can be translated
108 :test-result: PASS When checked exceptions are thrown they can be expected or unexpected
109 :test-result: FAIL When unchecked exceptions are thrown directly they are always failures
110 :test-result: FAIL When unchecked exceptions are thrown during a CHECK the test should continue
111 :test-result: FAIL When unchecked exceptions are thrown during a REQUIRE the test should abort fail
[all …]
/external/proguard/src/proguard/optimize/info/
DExceptionInstructionChecker.java30 * This class can tell whether an instruction might throw exceptions.
45 * Returns whether the specified method may throw exceptions.
60 * Returns whether the specified block of code may throw exceptions.
77 // Check if it may be throwing exceptions. in mayThrowExceptions()
96 * Returns whether the specified instruction may throw exceptions.
114 * Returns whether the given instruction may throw exceptions.
139 // Check for instructions that may throw exceptions. in visitSimpleInstruction()
140 // Note that monitorexit can not sensibly throw exceptions, except the in visitSimpleInstruction()
171 // These instructions may throw exceptions. in visitSimpleInstruction()
179 // Check for instructions that may throw exceptions. in visitConstantInstruction()
[all …]
/external/python/apitools/apitools/base/py/
Dtransfer.py33 from apitools.base.py import exceptions
125 raise exceptions.InvalidDataError(
166 raise exceptions.TransferInvalidError(
171 raise exceptions.TransferInvalidError(
225 raise exceptions.InvalidUserInputError(
243 raise exceptions.InvalidDataError(
309 raise exceptions.UserError('Must provide client or http.')
320 raise exceptions.HttpError.FromResponse(response)
335 raise exceptions.TransferInvalidError(
338 raise exceptions.TransferInvalidError(
[all …]

12345678910>>...178