Searched defs:str (Results 1 - 25 of 229) sorted by relevance

12345678910

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/template.bitset/bitset.cons/
H A Dchar_ptr_ctor.pass.cpp11 // explicit bitset(const charT* str,
35 const char str[] ="1010101010"; local
36 std::bitset<N> v(str);
39 assert(v[i] == (str[M - 1 - i] == '1'));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.first.not.of/
H A Dpointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_first_not_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_first_not_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_first_not_of(const basic_string& str, size_type pos = 0) const;
21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
23 assert(s.find_first_not_of(str, pos) == x);
30 test(const S& s, const S& str, typename S::size_type x) argument
32 assert(s.find_first_not_of(str) == x);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.first.of/
H A Dpointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_first_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_first_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_first_of(const basic_string& str, size_type pos = 0) const;
21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
23 assert(s.find_first_of(str, pos) == x);
30 test(const S& s, const S& str, typename S::size_type x) argument
32 assert(s.find_first_of(str) == x);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.last.not.of/
H A Dpointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_last_not_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_last_not_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const;
21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
23 assert(s.find_last_not_of(str, pos) == x);
30 test(const S& s, const S& str, typename S::size_type x) argument
32 assert(s.find_last_not_of(str) == x);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.last.of/
H A Dpointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_last_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_last_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_last_of(const basic_string& str, size_type pos = npos) const;
21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
23 assert(s.find_last_of(str, pos) == x);
30 test(const S& s, const S& str, typename S::size_type x) argument
32 assert(s.find_last_of(str) == x);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/ext.manip/
H A Dget_money.pass.cpp30 testbuf(const string_type& str) argument
31 : str_(str)
H A Dget_time.pass.cpp30 testbuf(const string_type& str) argument
31 : str_(str)
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.virtuals/
H A Dunderflow.pass.cpp25 explicit testbuf(const std::basic_string<CharT>& str) argument
26 : base(str) {}
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/
H A Dput_pointer.pass.cpp38 char str[50]; local
39 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v);
40 std::string ex(str, iter.base());
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/
H A Dput1.pass.cpp14 // iter_type put(iter_type s, ios_base& str, char_type fill, const tm* t,
34 char str[200]; local
49 iter = f.put(output_iterator<char*>(str), ios, '*', &t,
51 std::string ex(str, iter.base());
56 iter = f.put(output_iterator<char*>(str), ios, '*', &t,
58 std::string ex(str, iter.base());
H A Dput2.pass.cpp14 // iter_type put(iter_type s, ios_base& str, char_type fill, const tm* t,
34 char str[200]; local
48 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'A');
49 std::string ex(str, iter.base());
53 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'a');
54 std::string ex(str, iter.base());
58 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'B');
59 std::string ex(str, iter.base());
63 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'b');
64 std::string ex(str, ite
[all...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.members/
H A Doperator_string.pass.cpp25 SM::string_type str = sm; local
26 assert(str.empty());
31 str = sm;
32 assert(str == std::string("123"));
38 SM::string_type str = sm; local
39 assert(str.empty());
44 str = sm;
45 assert(str == std::wstring(L"123"));
H A Dstr.pass.cpp14 // string_type str() const;
25 SM::string_type str = sm.str(); local
26 assert(str.empty());
31 str = sm.str();
32 assert(str == std::string("123"));
38 SM::string_type str = sm.str(); local
39 assert(str
[all...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_append/
H A Dpointer.pass.cpp22 test(S s, const typename S::value_type* str, S expected) argument
24 s.append(str);
H A Dpointer_size.pass.cpp23 test(S s, const typename S::value_type* str, typename S::size_type n, S expected) argument
25 s.append(str, n);
H A Dstring.pass.cpp13 // append(const basic_string<charT,traits>& str);
22 test(S s, S str, S expected) argument
24 s.append(str);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_assign/
H A Dpointer.pass.cpp22 test(S s, const typename S::value_type* str, S expected) argument
24 s.assign(str);
H A Dpointer_size.pass.cpp23 test(S s, const typename S::value_type* str, typename S::size_type n, S expected) argument
25 s.assign(str, n);
H A Drv_string.pass.cpp13 // assign(basic_string<charT,traits>&& str);
22 test(S s, S str, S expected) argument
24 s.assign(std::move(str));
H A Dstring.pass.cpp13 // assign(const basic_string<charT,traits>& str);
22 test(S s, S str, S expected) argument
24 s.assign(str);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_op_plus_equal/
H A Dchar.pass.cpp21 test(S s, typename S::value_type str, S expected) argument
23 s += str;

Completed in 194 milliseconds

12345678910