Home
last modified time | relevance | path

Searched +full:spdx +full:- +full:exceptions (Results 1 – 25 of 1148) sorted by relevance

12345678910>>...46

/external/fmtlib/
DAndroid.bp5 // Added automatically by a large-scale-change that took the approach of
19 // large-scale-change included anything that looked like it might be a license
23 // See: http://go/android-license-faq
28 "SPDX-license-identifier-BSD",
29 "SPDX-license-identifier-CC0-1.0",
30 "SPDX-license-identifier-MIT",
31 "SPDX-license-identifier-PSF-2.0",
41 name: "fmtlib-non-test-defaults",
43 "-fno-exceptions",
44 // If built without exceptions, libfmt uses assert.
[all …]
/external/cronet/third_party/libc++/src/test/std/input.output/iostreams.base/ios/iostate.flags/
Dexceptions_iostate.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
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()
[all …]
Dexceptions.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 // iostate exceptions() const;
27 assert(ios.exceptions() == std::ios::goodbit); in main()
32 assert(ios.exceptions() == std::ios::goodbit); in main()
/external/cronet/third_party/libc++/src/test/support/test.support/
Dtest_macros_header.no_exceptions.verify.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Make sure the TEST_HAS_NO_EXCEPTIONS macro is defined when exceptions are
12 // REQUIRES: no-exceptions
21 try { (void)0; } catch (...) { } // expected-error {{exceptions disabled}} in f()
Dtest_macros_header.exceptions.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Make sure the TEST_HAS_NO_EXCEPTIONS macro is NOT defined when exceptions
12 // UNSUPPORTED: no-exceptions
/external/cronet/third_party/libc++/src/test/libcxx/input.output/iostreams.base/ios/iostate.flags/
Dclear.abort.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // Make sure that we abort() when exceptions are disabled and the exception
18 // REQUIRES: no-exceptions
39 ios.exceptions(std::ios::badbit); in main()
/external/llvm-libc/test/src/fenv/
Denabled_exceptions_test.cpp1 //===-- Unittests for feraiseexcept with exceptions enabled ---------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
31 // Few Arm HW implementations do not trap exceptions. We skip this test in TEST_F()
34 // Whether HW supports trapping exceptions or not is deduced by enabling an in TEST_F()
37 // trapping exceptions. in TEST_F()
53 // Raising all exceptions except |e| should not call the in TEST_F()
55 // so we verify that. Since other exceptions like FE_DIVBYZERO in TEST_F()
Dfeholdexcept_test.cpp1 //===-- Unittests for feholdexcept with exceptions enabled ----------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
25 // Few Arm HW implementations do not trap exceptions. We skip this test in TEST_F()
28 // Whether HW supports trapping exceptions or not is deduced by enabling an in TEST_F()
31 // trapping exceptions. in TEST_F()
/external/cronet/third_party/libc++/src/test/libcxx/utilities/
Dassert.exception_guard.no_exceptions.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // REQUIRES: has-unix-headers
11 // REQUIRES: libcpp-hardening-mode={{extensive|debug}}
12 // XFAIL: availability-verbose_abort-missing
13 // ADDITIONAL_COMPILE_FLAGS: -fno-exceptions
21 … std::__make_exception_guard([] {}), "__exception_guard not completed with exceptions disabled"); in main()
/external/cronet/third_party/libc++/src/test/libcxx/localization/locales/
Dlocale.abort.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // REQUIRES: no-exceptions
18 // exceptions are disabled.
Dlocale.category.abort.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // REQUIRES: no-exceptions
18 // exceptions are disabled.
Duse_facet.abort.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 // REQUIRES: no-exceptions
16 // use_facet() and exceptions are disabled.
/external/cronet/third_party/libc++/src/test/libcxx/containers/sequences/vector/
Dexception_safety_exceptions_disabled.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // ADDITIONAL_COMPILE_FLAGS: -fno-exceptions
15 // Test that vector always moves elements when exceptions are disabled.
25 #error exceptions should be disabled.
/external/cronet/third_party/libc++/src/test/libcxx/containers/associative/map/
Dat.const.abort.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // Make sure we abort() when exceptions are disabled and we fetch a key that
18 // REQUIRES: no-exceptions
Dat.abort.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // Make sure we abort() when exceptions are disabled and we fetch a key that
18 // REQUIRES: no-exceptions
/external/cronet/third_party/libc++/src/test/libcxx/containers/unord/unord.map/
Dat.const.abort.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // Make sure we abort() when exceptions are disabled and we fetch a key that
18 // REQUIRES: no-exceptions
Dat.abort.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // Make sure we abort() when exceptions are disabled and we fetch a key that
18 // REQUIRES: no-exceptions
/external/armnn/tests/MemoryStrategyBenchmark/
DCMakeLists.txt3 # SPDX-License-Identifier: MIT
11 ../../include/armnn/Exceptions.hpp
12 ../../src/armnn/Exceptions.cpp)
18 ../../third-party/cxxopts)
/external/cronet/third_party/libc++/src/test/libcxx/
Dodr_signature.exceptions.sh.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 // Test that we encode whether exceptions are supported in an ABI tag to avoid
15 // RUN: %{cxx} %s %{flags} %{compile_flags} -c -DTU1 -fno-exceptions -o %t.tu1.o
16 // RUN: %{cxx} %s %{flags} %{compile_flags} -c -DTU2 -fexceptions -o %t.tu2.o
17 // RUN: %{cxx} %s %{flags} %{compile_flags} -c -DMAIN -o %t.main.o
18 // RUN: %{cxx} %t.tu1.o %t.tu2.o %t.main.o %{flags} %{link_flags} -o %t.exe
21 // -fno-exceptions
[all …]
/external/cronet/third_party/libc++abi/src/test/
Dexception_object_alignment.2.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: no-exceptions
15 // There was a bug where Clang would emit a call to memset assuming a 16-byte
16 // aligned exception even when back-deploying to older Darwin systems where
17 // exceptions are 8-byte aligned, which caused a segfault on those systems.
/external/cronet/third_party/libc++/src/include/__utility/
Dexception_guard.h1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
37 // __exception_guard is a no-op in -fno-exceptions mode to produce better code-gen. This means
39 // code with exceptions disabled, so even if we wanted to provide the strong exception guarantees
41 // -fexceptions > -fno-exceptions > -fexceptions code, since the exception can't be caught where
42 // exceptions are disabled. While -fexceptions > -fno-exceptions is quite common
43 // (e.g. libc++.dylib > -fno-exceptions), having another layer with exceptions enabled seems a lot
44 // less common, especially one that tries to catch an exception through -fno-exceptions code.
[all …]
/external/arm-trusted-firmware/plat/common/aarch64/
Dplat_ehf.c2 * Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved.
4 * SPDX-License-Identifier: BSD-3-Clause
30 /* Plaform specific exceptions description */
36 /* Plug in ARM exceptions to Exception Handling Framework. */
/external/cronet/third_party/libc++/src/utils/
Dgenerate_std_clang_module_header.py1 # ===----------------------------------------------------------------------===##
3 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 # ===----------------------------------------------------------------------===##
23 // -*- C++ -*-
24 //===----------------------------------------------------------------------===//
26 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
28 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
30 //===----------------------------------------------------------------------===//
38 // other words, it's to facilitate `@import std;` in Objective-C++ and `import std`
[all …]
Dgenerate_std_cppm_in.py1 # ===----------------------------------------------------------------------===##
3 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 # ===----------------------------------------------------------------------===##
24 // -*- C++ -*-
25 //===----------------------------------------------------------------------===//
27 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
29 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
31 //===----------------------------------------------------------------------===//
/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.move/
Dpstl.exception_handling.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // UNSUPPORTED: no-exceptions
11 // REQUIRES: has-unix-headers
13 // UNSUPPORTED: libcpp-has-no-incomplete-pstl
15 // check that std::move(ExecutionPolicy) terminates on user-thrown exceptions

12345678910>>...46