Home
last modified time | relevance | path

Searched +full:- +full:std (Results 1 – 25 of 1712) sorted by relevance

12345678910>>...69

/external/cronet/third_party/libc++/src/modules/std/
Dcmath.cppm1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
13 export module std:cmath;
14 export namespace std {
16 using std::double_t;
17 using std::float_t;
19 using std::acos;
20 using std::acosf;
[all …]
Dcmath.inc1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 export namespace std {
12 using std::double_t;
13 using std::float_t;
15 using std::acos;
16 using std::acosf;
17 using std::acosl;
[all …]
Dtype_traits.cppm1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
12 export module std:type_traits;
13 export namespace std {
15 using std::integral_constant;
17 using std::bool_constant;
18 using std::false_type;
19 using std::true_type;
[all …]
Dtype_traits.inc1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 export namespace std {
12 using std::integral_constant;
14 using std::bool_constant;
15 using std::false_type;
16 using std::true_type;
19 using std::is_array;
[all …]
Dalgorithm.cppm1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
13 export module std:algorithm;
14 export namespace std {
17 using std::ranges::in_found_result;
18 using std::ranges::in_fun_result;
19 using std::ranges::in_in_out_result;
20 using std::ranges::in_in_result;
[all …]
Dalgorithm.inc1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 export namespace std {
13 using std::ranges::in_found_result;
14 using std::ranges::in_fun_result;
15 using std::ranges::in_in_out_result;
16 using std::ranges::in_in_result;
17 using std::ranges::in_out_out_result;
[all …]
Datomic.cppm1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
13 export module std:atomic;
14 export namespace std {
17 using std::memory_order;
18 using std::memory_order_acq_rel;
19 using std::memory_order_acquire;
20 using std::memory_order_consume;
[all …]
Datomic.inc1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 export namespace std {
13 using std::memory_order;
14 using std::memory_order_acq_rel;
15 using std::memory_order_acquire;
16 using std::memory_order_consume;
17 using std::memory_order_relaxed;
[all …]
/external/cronet/third_party/libc++/src/test/libcxx/diagnostics/
Dnodiscard_extensions.compile.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
16 // Disable any builtin recognition of std::* in the compiler, that might also
17 // trigger -Wunused-value warnings.
18 // ADDITIONAL_COMPILE_FLAGS: -fno-builtin
20 // ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -D_LIBCPP_DISABLE_NODISCARD_EXT
39 std::adjacent_find(std::begin(arr), std::end(arr)); in test_algorithms()
40 std::adjacent_find(std::begin(arr), std::end(arr), std::greater<int>()); in test_algorithms()
41 std::all_of(std::begin(arr), std::end(arr), P()); in test_algorithms()
[all …]
Dnodiscard_extensions.verify.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
18 // ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS
37 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test_algorithms()
38 std::adjacent_find(std::begin(arr), std::end(arr)); in test_algorithms()
40 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test_algorithms()
41 std::adjacent_find(std::begin(arr), std::end(arr), std::greater<int>()); in test_algorithms()
43 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test_algorithms()
44 std::all_of(std::begin(arr), std::end(arr), P()); in test_algorithms()
[all …]
/external/cronet/third_party/libc++/src/include/
Dstdatomic.h1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
17 using std-atomic = std::atomic<T>; // exposition only
19 #define _Atomic(T) std-atomic<T>
32 using std::memory_order // see below
33 using std::memory_order_relaxed // see below
34 using std::memory_order_consume // see below
35 using std::memory_order_acquire // see below
[all …]
/external/cronet/third_party/libc++/src/test/std/language.support/cstdint/cstdint.syn/
Dcstdint.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
28 // typedef std::int8_t in main()
29 static_assert(sizeof(std::int8_t)*CHAR_BIT == 8, in main()
30 "sizeof(std::int8_t)*CHAR_BIT == 8"); in main()
31 static_assert(std::is_signed<std::int8_t>::value, in main()
32 "std::is_signed<std::int8_t>::value"); in main()
33 // typedef std::int16_t in main()
34 static_assert(sizeof(std::int16_t)*CHAR_BIT == 16, in main()
[all …]
/external/libcxx/test/std/language.support/cstdint/cstdint.syn/
Dcstdint.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
24 // typedef std::int8_t in main()
25 static_assert(sizeof(std::int8_t)*CHAR_BIT == 8, in main()
26 "sizeof(std::int8_t)*CHAR_BIT == 8"); in main()
27 static_assert(std::is_signed<std::int8_t>::value, in main()
28 "std::is_signed<std::int8_t>::value"); in main()
29 // typedef std::int16_t in main()
30 static_assert(sizeof(std::int16_t)*CHAR_BIT == 16, in main()
31 "sizeof(std::int16_t)*CHAR_BIT == 16"); in main()
[all …]
/external/cronet/third_party/libc++/src/test/std/utilities/meta/meta.logical/
Dconjunction.compile.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
25 struct MyOtherSpecialTrueType { static constexpr auto value = -1; static constexpr auto MySpecial =…
31 static_assert( std::conjunction<>::value);
32 static_assert( std::conjunction<std::true_type >::value);
33 static_assert(!std::conjunction<std::false_type>::value);
35 static_assert( std::conjunction_v<>);
36 static_assert( std::conjunction_v<std::true_type >);
37 static_assert(!std::conjunction_v<std::false_type>);
[all …]
Ddisjunction.compile.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
24 struct MySpecialTrueType { static constexpr auto value = -1; static constexpr auto MySpecial = 37; …
31 static_assert(!std::disjunction<>::value);
32 static_assert( std::disjunction<std::true_type >::value);
33 static_assert(!std::disjunction<std::false_type>::value);
35 static_assert(!std::disjunction_v<>);
36 static_assert( std::disjunction_v<std::true_type >);
37 static_assert(!std::disjunction_v<std::false_type>);
[all …]
/external/cronet/third_party/libc++/src/test/std/re/re.const/re.err/
Derror_type.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
39 LIBCPP_ASSERT(std::regex_constants::error_collate != 0); in main()
40 LIBCPP_ASSERT(std::regex_constants::error_ctype != 0); in main()
41 LIBCPP_ASSERT(std::regex_constants::error_escape != 0); in main()
42 LIBCPP_ASSERT(std::regex_constants::error_backref != 0); in main()
43 LIBCPP_ASSERT(std::regex_constants::error_brack != 0); in main()
44 LIBCPP_ASSERT(std::regex_constants::error_paren != 0); in main()
45 LIBCPP_ASSERT(std::regex_constants::error_brace != 0); in main()
[all …]
/external/libcxx/test/std/re/re.const/re.err/
Derror_type.pass.cpp1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
9 //===----------------------------------------------------------------------===//
41 assert(std::regex_constants::error_collate != 0); in main()
42 assert(std::regex_constants::error_ctype != 0); in main()
43 assert(std::regex_constants::error_escape != 0); in main()
44 assert(std::regex_constants::error_backref != 0); in main()
45 assert(std::regex_constants::error_brack != 0); in main()
46 assert(std::regex_constants::error_paren != 0); in main()
47 assert(std::regex_constants::error_brace != 0); in main()
[all …]
/external/cronet/third_party/libc++/src/test/std/atomics/stdatomic.h.syn/
Dtypes.compile.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // UNSUPPORTED: no-threads
15 // using std-atomic = std::atomic<T>; // exposition only
17 // #define _Atomic(T) std-atomic<T>
30 // using std::memory_order // see below
31 // using std::memory_order_relaxed // see below
32 // using std::memory_order_consume // see below
33 // using std::memory_order_acquire // see below
[all …]
/external/cronet/third_party/libc++/src/test/std/language.support/cmp/compare.syn/
Dnamed_functions.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
27 assert(!std::is_eq(std::strong_ordering::less)); in test()
28 assert( std::is_eq(std::strong_ordering::equal)); in test()
29 assert(!std::is_eq(std::strong_ordering::greater)); in test()
30 assert(!std::is_eq(std::weak_ordering::less)); in test()
31 assert( std::is_eq(std::weak_ordering::equivalent)); in test()
32 assert(!std::is_eq(std::weak_ordering::greater)); in test()
33 assert(!std::is_eq(std::partial_ordering::less)); in test()
[all …]
/external/cronet/third_party/libc++/src/test/std/iterators/predef.iterators/move.iterators/move.sentinel/
Dconcept_conformance.compile.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
25 static_assert( std::sentinel_for<std::move_sentinel<It>, std::move_iterator<It>>); in test()
26 static_assert( std::sized_sentinel_for<std::move_sentinel<It>, std::move_iterator<It>>); in test()
27 …static_assert( std::sentinel_for<std::move_sentinel<sentinel_wrapper<It>>, std::move_iterator<It>>… in test()
28 …static_assert(!std::sized_sentinel_for<std::move_sentinel<sentinel_wrapper<It>>, std::move_iterato… in test()
29 … static_assert( std::sentinel_for<std::move_sentinel<sized_sentinel<It>>, std::move_iterator<It>>); in test()
30 …static_assert( std::sized_sentinel_for<std::move_sentinel<sized_sentinel<It>>, std::move_iterator<… in test()
36 …static_assert( std::sentinel_for<std::move_sentinel<sentinel_wrapper<It>>, std::move_iterator<It>>… in test()
[all …]
/external/cronet/third_party/libc++/src/test/std/numerics/complex.number/
Dcases.h1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
22 TEST_CONSTEXPR_CXX20 const std::complex<double> testcases[] =
24 std::complex<double>( 1.e-6, 1.e-6),
25 std::complex<double>(-1.e-6, 1.e-6),
26 std::complex<double>(-1.e-6, -1.e-6),
27 std::complex<double>( 1.e-6, -1.e-6),
29 std::complex<double>( 1.e+6, 1.e-6),
30 std::complex<double>(-1.e+6, 1.e-6),
[all …]
/external/cronet/third_party/libc++/src/test/std/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/
Dostream.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // UNSUPPORTED: no-localization
11 // UNSUPPORTED: GCC-ALWAYS_INLINE-FIXME
13 // TODO FMT This test should not require std::to_chars(floating-point)
14 // XFAIL: availability-fp_to_chars-missing
16 // REQUIRES: locale.fr_FR.UTF-8
17 // REQUIRES: locale.ja_JP.UTF-8
45 static std::basic_string<CharT> stream_c_locale(std::chrono::year_month_day_last ymdl) { in stream_c_locale()
[all …]
/external/cronet/third_party/libc++/src/test/std/language.support/cmp/cmp.alg/
Dweak_order.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
19 #include <iterator> // std::size
28 -> decltype(std::weak_order(static_cast<T&&>(t), static_cast<U&&>(u)), true) in has_weak_order()
40 std::strong_ordering weak_order(const A&, const A&) { return std::strong_ordering::less; } in weak_order()
41 std::strong_ordering weak_order(const A&, const B&);
46 // If the decayed types of E and F differ, weak_order(E, F) is ill-formed. in test_1_1()
66 std::strong_ordering weak_order(A&, A&&) { return std::strong_ordering::less; } in weak_order()
67 std::strong_ordering weak_order(A&&, A&&) { return std::strong_ordering::equal; } in weak_order()
[all …]
/external/libcxx/test/std/utilities/meta/meta.logical/
Dconjunction.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
25 static_assert ( std::conjunction<>::value, "" ); in main()
26 static_assert ( std::conjunction<std::true_type >::value, "" ); in main()
27 static_assert (!std::conjunction<std::false_type>::value, "" ); in main()
29 static_assert ( std::conjunction_v<>, "" ); in main()
30 static_assert ( std::conjunction_v<std::true_type >, "" ); in main()
31 static_assert (!std::conjunction_v<std::false_type>, "" ); in main()
33 static_assert ( std::conjunction<std::true_type, std::true_type >::value, "" ); in main()
34 static_assert (!std::conjunction<std::true_type, std::false_type>::value, "" ); in main()
[all …]
Ddisjunction.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
25 static_assert (!std::disjunction<>::value, "" ); in main()
26 static_assert ( std::disjunction<std::true_type >::value, "" ); in main()
27 static_assert (!std::disjunction<std::false_type>::value, "" ); in main()
29 static_assert (!std::disjunction_v<>, "" ); in main()
30 static_assert ( std::disjunction_v<std::true_type >, "" ); in main()
31 static_assert (!std::disjunction_v<std::false_type>, "" ); in main()
33 static_assert ( std::disjunction<std::true_type, std::true_type >::value, "" ); in main()
34 static_assert ( std::disjunction<std::true_type, std::false_type>::value, "" ); in main()
[all …]

12345678910>>...69