/external/bc/tests/bc/ |
D | sine.txt | 4 s(0) 5 s(0.5) 6 s(1) 7 s(2) 8 s(3) 9 s(-0.5) 10 s(-1) 11 s(-2) 12 s(-3) 13 s(p / 7) [all …]
|
/external/toybox/tests/files/bc/ |
D | sine.txt | 4 s(0) 5 s(0.5) 6 s(1) 7 s(2) 8 s(3) 9 s(-0.5) 10 s(-1) 11 s(-2) 12 s(-3) 13 s(p / 7) [all …]
|
/external/bc/tests/fuzzing/bc_inputs2/ |
D | sine.txt | 4 s(0) 5 s(0.5) 6 s(1) 7 s(2) 8 s(3) 9 s(-0.5) 10 s(-1) 11 s(-2) 12 s(-3) 13 s(p / 7) [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/ |
D | string_string.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 38 template <class S> 39 void test0(const S& lhs, const S& rhs, const S& x) { in test0() 44 template <class S> 45 void test1(S&& lhs, const S& rhs, const S& x) { in test1() 49 template <class S> 50 void test2(const S& lhs, S&& rhs, const S& x) { in test2() 54 template <class S> [all …]
|
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/ |
D | string_string.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 39 template <class S> 40 void test0(const S& lhs, const S& rhs, const S& x) { in test0() 45 template <class S> 46 void test1(S&& lhs, const S& rhs, const S& x) { in test1() 50 template <class S> 51 void test2(const S& lhs, S&& rhs, const S& x) { in test2() 55 template <class S> 56 void test3(S&& lhs, S&& rhs, const S& x) { in test3() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/ |
D | size_string.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 21 template <class S> 23 test(S s, typename S::size_type pos, S str, S expected) in test() argument 25 const typename S::size_type old_size = s.size(); in test() 26 S s0 = s; in test() 29 s.insert(pos, str); in test() 30 LIBCPP_ASSERT(s.__invariants()); in test() 31 assert(s == expected); in test() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/ |
D | size_string.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 22 template <class S> 24 test(S s, typename S::size_type pos, S str, S expected) in test() argument 26 const typename S::size_type old_size = s.size(); in test() 27 S s0 = s; in test() 30 s.insert(pos, str); in test() 31 LIBCPP_ASSERT(s.__invariants()); in test() 32 assert(s == expected); in test() 39 s.insert(pos, str); in test() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.ops/string_find/ |
D | string_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 19 template <class S> 21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 23 assert(s.find(str, pos) == x); in test() 24 if (x != S::npos) in test() 25 assert(pos <= x && x + str.size() <= s.size()); in test() 28 template <class S> 30 test(const S& s, const S& str, typename S::size_type x) in test() argument [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.ops/string_find.first.of/ |
D | string_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 19 template <class S> 21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 23 assert(s.find_first_of(str, pos) == x); in test() 24 if (x != S::npos) in test() 25 assert(pos <= x && x < s.size()); in test() 28 template <class S> 30 test(const S& s, const S& str, typename S::size_type x) in test() argument [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find/ |
D | string_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 20 template <class S> 22 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 24 assert(s.find(str, pos) == x); in test() 25 if (x != S::npos) in test() 26 assert(pos <= x && x + str.size() <= s.size()); in test() 29 template <class S> 31 test(const S& s, const S& str, typename S::size_type x) in test() argument 33 assert(s.find(str) == x); in test() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.of/ |
D | string_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 20 template <class S> 22 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 24 assert(s.find_first_of(str, pos) == x); in test() 25 if (x != S::npos) in test() 26 assert(pos <= x && x < s.size()); in test() 29 template <class S> 31 test(const S& s, const S& str, typename S::size_type x) in test() argument 33 assert(s.find_first_of(str) == x); in test() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/ |
D | iterator.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 21 template <class S, class It> 23 test(S s, It first, It last, S expected) in test() argument 25 s.assign(first, last); in test() 26 LIBCPP_ASSERT(s.__invariants()); in test() 27 assert(s == expected); in test() 31 template <class S, class It> 33 test_exceptions(S s, It first, It last) in test_exceptions() argument [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.ops/string_find.first.not.of/ |
D | string_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 19 template <class S> 21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 23 assert(s.find_first_not_of(str, pos) == x); in test() 24 if (x != S::npos) in test() 25 assert(pos <= x && x < s.size()); in test() 28 template <class S> 30 test(const S& s, const S& str, typename S::size_type x) in test() argument [all …]
|
/external/llvm-project/libcxx/test/std/strings/string.view/string.view.find/ |
D | find_first_of_string_view_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 template <class S> 20 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 22 assert(s.find_first_of(str, pos) == x); in test() 23 if (x != S::npos) in test() 24 assert(pos <= x && x < s.size()); in test() 27 template <class S> 29 test(const S& s, const S& str, typename S::size_type x) in test() argument [all …]
|
D | find_first_not_of_string_view_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 template <class S> 20 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 22 assert(s.find_first_not_of(str, pos) == x); in test() 23 if (x != S::npos) in test() 24 assert(pos <= x && x < s.size()); in test() 27 template <class S> 29 test(const S& s, const S& str, typename S::size_type x) in test() argument [all …]
|
D | find_last_of_string_view_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 template <class S> 20 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 22 assert(s.find_last_of(str, pos) == x); in test() 23 if (x != S::npos) in test() 24 assert(x <= pos && x < s.size()); in test() 27 template <class S> 29 test(const S& s, const S& str, typename S::size_type x) in test() argument [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.not.of/ |
D | string_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 20 template <class S> 22 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 24 assert(s.find_first_not_of(str, pos) == x); in test() 25 if (x != S::npos) in test() 26 assert(pos <= x && x < s.size()); in test() 29 template <class S> 31 test(const S& s, const S& str, typename S::size_type x) in test() argument 33 assert(s.find_first_not_of(str) == x); in test() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/ |
D | iterator.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 22 template <class S, class It> 24 test(S s, It first, It last, S expected) in test() argument 26 s.assign(first, last); in test() 27 LIBCPP_ASSERT(s.__invariants()); in test() 28 assert(s == expected); in test() 32 template <class S, class It> 34 test_exceptions(S s, It first, It last) in test_exceptions() argument 36 S aCopy = s; in test_exceptions() [all …]
|
/external/libcxx/test/std/strings/string.view/string.view.find/ |
D | find_string_view_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 20 template <class S> 22 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 24 assert(s.find(str, pos) == x); in test() 25 if (x != S::npos) in test() 26 assert(pos <= x && x + str.size() <= s.size()); in test() 29 template <class S> 31 test(const S& s, const S& str, typename S::size_type x) in test() argument 33 assert(s.find(str) == x); in test() [all …]
|
D | find_first_of_string_view_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 17 template <class S> 19 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 21 assert(s.find_first_of(str, pos) == x); in test() 22 if (x != S::npos) in test() 23 assert(pos <= x && x < s.size()); in test() 26 template <class S> 28 test(const S& s, const S& str, typename S::size_type x) in test() argument 30 assert(s.find_first_of(str) == x); in test() [all …]
|
D | find_first_not_of_string_view_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 17 template <class S> 19 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 21 assert(s.find_first_not_of(str, pos) == x); in test() 22 if (x != S::npos) in test() 23 assert(pos <= x && x < s.size()); in test() 26 template <class S> 28 test(const S& s, const S& str, typename S::size_type x) in test() argument 30 assert(s.find_first_not_of(str) == x); in test() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.ops/string_find.last.of/ |
D | string_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 19 template <class S> 21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 23 assert(s.find_last_of(str, pos) == x); in test() 24 if (x != S::npos) in test() 25 assert(x <= pos && x < s.size()); in test() 28 template <class S> 30 test(const S& s, const S& str, typename S::size_type x) in test() argument [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.of/ |
D | string_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 20 template <class S> 22 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 24 assert(s.find_last_of(str, pos) == x); in test() 25 if (x != S::npos) in test() 26 assert(x <= pos && x < s.size()); in test() 29 template <class S> 31 test(const S& s, const S& str, typename S::size_type x) in test() argument 33 assert(s.find_last_of(str) == x); in test() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.ops/string_find.last.not.of/ |
D | string_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 19 template <class S> 21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 23 assert(s.find_last_not_of(str, pos) == x); in test() 24 if (x != S::npos) in test() 25 assert(x <= pos && x < s.size()); in test() 28 template <class S> 30 test(const S& s, const S& str, typename S::size_type x) in test() argument [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.not.of/ |
D | string_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 20 template <class S> 22 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) in test() argument 24 assert(s.find_last_not_of(str, pos) == x); in test() 25 if (x != S::npos) in test() 26 assert(x <= pos && x < s.size()); in test() 29 template <class S> 31 test(const S& s, const S& str, typename S::size_type x) in test() argument 33 assert(s.find_last_not_of(str) == x); in test() [all …]
|