Searched defs:str (Results 76 - 100 of 2393) sorted by relevance

1234567891011>>

/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/
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...]
/prebuilts/ndk/r11/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...]
/prebuilts/ndk/r11/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);
/prebuilts/ndk/r11/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);
/prebuilts/ndk/r11/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;
H A Dpointer.pass.cpp21 test(S s, const typename S::value_type* str, S expected) argument
23 s += str;
H A Dstring.pass.cpp13 // operator+=(const basic_string<charT,traits,Allocator>& str);
22 test(S s, S str, S expected) argument
24 s += str;
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string.accessors/
H A Dc_str.pass.cpp24 const typename S::value_type* str = s.c_str(); local
27 assert(T::compare(str, &s[0], s.size()) == 0);
28 assert(T::eq(str[s.size()], typename S::value_type()));
31 assert(T::eq(str[0], typename S::value_type()));
H A Ddata.pass.cpp24 const typename S::value_type* str = s.data(); local
27 assert(T::compare(str, &s[0], s.size()) == 0);
28 assert(T::eq(str[s.size()], typename S::value_type()));
31 assert(T::eq(str[0], typename S::value_type()));
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_compare/
H A Dpointer.pass.cpp30 test(const S& s, const typename S::value_type* str, int x) argument
32 assert(sign(s.compare(str)) == sign(x));
H A Dstring.pass.cpp12 // int compare(const basic_string& str) const
30 test(const S& s, const S& str, int x) argument
32 assert(sign(s.compare(str)) == sign(x));
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/date.time/
H A Dtested_elsewhere.pass.cpp27 char str[3]; local
36 static_assert((std::is_same<decltype(std::strftime(str,s,"",&tm)), std::size_t>::value), "");
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.ops/
H A Dbasic_string.pass.cpp26 string_t str = (string_t) sv1; local
28 assert ( sv1.size() == str.size ());
29 assert ( std::char_traits<CharT>::compare ( sv1.data(), str.data(), sv1.size()) == 0 );
34 string_t str = (string_t) sv1; local
37 assert ( sv1.size() == str.size ());
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/iostream.format/ext.manip/
H A Dget_money.pass.cpp32 testbuf(const string_type& str) argument
33 : str_(str)
H A Dget_time.pass.cpp32 testbuf(const string_type& str) argument
33 : str_(str)
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
H A Dminus1.pass.cpp35 assert(ss.str() == expected);
43 assert(ss.str() == expected);
52 std::string str = ss.str(); local
53 for (size_t i = 0; i < str.size(); ++i )
54 str[i] = std::toupper(str[i]);
56 assert(str == expected);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/
H A Dunderflow.pass.cpp25 explicit testbuf(const std::basic_string<CharT>& str) argument
26 : base(str) {}
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/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());
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/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());

Completed in 452 milliseconds

1234567891011>>