Home
last modified time | relevance | path

Searched refs:basic_string (Results 1 – 25 of 430) sorted by relevance

12345678910>>...18

/external/libcxx/test/std/strings/basic.string/string.cons/
Dimplicit_deduction_guides.pass.cpp32 using BStr = std::basic_string<T, std::char_traits<T>, Alloc>;
67 std::basic_string s(6ull, 'a'); in main()
71 std::basic_string w(2ull, L'b'); in main()
76 std::basic_string s(6ull, 'a', test_allocator<char>{}); in main()
80 std::basic_string w(2ull, L'b', test_allocator<wchar_t>{}); in main()
86 std::basic_string s(sin, (size_t)1); in main()
90 using WStr = std::basic_string<wchar_t, in main()
94 std::basic_string w(win, (TestSizeT)3); in main()
100 std::basic_string s(sin, (size_t)1, std::allocator<char>{}); in main()
104 using WStr = std::basic_string<wchar_t, in main()
[all …]
/external/libcxx/include/
Dstring75 class basic_string
95 basic_string()
97 explicit basic_string(const allocator_type& a);
98 basic_string(const basic_string& str);
99 basic_string(basic_string&& str)
101 basic_string(const basic_string& str, size_type pos,
103 basic_string(const basic_string& str, size_type pos, size_type n,
106basic_string(const T& t, size_type pos, size_type n, const Allocator& a = Allocator()); // C++17
107 …explicit basic_string(const basic_string_view<charT, traits> sv, const Allocator& a = Allocator());
108 basic_string(const value_type* s, const allocator_type& a = allocator_type());
[all …]
/external/libcxx/include/experimental/
Dstring22 // basic_string using polymorphic allocator in namespace pmr
24 using basic_string =
25 std::basic_string<charT, traits, polymorphic_allocator<charT>>;
27 // basic_string typedef names using polymorphic allocator in namespace
29 typedef basic_string<char> string;
30 typedef basic_string<char16_t> u16string;
31 typedef basic_string<char32_t> u32string;
32 typedef basic_string<wchar_t> wstring;
52 using basic_string =
53 _VSTD::basic_string<_CharT, _Traits, polymorphic_allocator<_CharT>>;
[all …]
/external/clang/test/CodeGenCXX/
D2010-05-11-alwaysinlineinstantiation.cpp7 class basic_string class
10 basic_string();
11 ~basic_string();
16 basic_string<charT>::basic_string() in basic_string() function in basic_string
22 basic_string<charT>::~basic_string() in ~basic_string()
26 typedef basic_string<char> string;
28 extern template class basic_string<char>;
Ddebug-info-template-quals.cpp4 struct basic_string { struct
6 basic_string&
7 assign(const _CharT* __s, const basic_string<_CharT> &x) in assign() argument
14 basic_string<char> str; in foo()
Dmangle-subst-std.cpp32 template<typename, typename, typename> struct basic_string { }; struct
36 void f(std::basic_string<char, char, int>) { } in f()
41 typedef std::basic_string<char, std::char_traits<char>, std::allocator<char> > string;
95 template<typename, typename, typename> struct basic_string { }; struct
96 typedef basic_string<char, std::char_traits<char>, std::allocator<char> > not_string;
/external/llvm/test/Transforms/DeadStoreElimination/
Dcs-cs-aliasing.ll5 %class.basic_string = type { %"class.__gnu_cxx::__versa_string" }
15 declare zeroext i1 @callee_takes_string(%class.basic_string* nonnull) #1 align 2
23 %tmp = alloca %class.basic_string, align 8
24 %tmp1 = alloca %class.basic_string, align 8
25 …%tmp3 = getelementptr inbounds %class.basic_string, %class.basic_string* %tmp, i64 0, i32 0, i32 0…
27 …%tmp5 = getelementptr inbounds %class.basic_string, %class.basic_string* %tmp, i64 0, i32 0, i32 0…
28 …%tmp6 = getelementptr inbounds %class.basic_string, %class.basic_string* %tmp, i64 0, i32 0, i32 0…
30 %tmp8 = bitcast %class.basic_string* %tmp to i8*
32 …%tmp10 = getelementptr inbounds %class.basic_string, %class.basic_string* %tmp1, i64 0, i32 0, i32…
34 …%tmp12 = getelementptr inbounds %class.basic_string, %class.basic_string* %tmp1, i64 0, i32 0, i32…
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/Thumb2/
D2009-10-15-ITBlockBranch.ll5 %"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::al…
7 …uct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >" = type { %"struct.__gnu_…
8 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep" = type { %"str…
9 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" = type { …
12 …compareERKSs(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this…
18 …%0 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_trait…
19 …%1 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_trait…
22 …%4 = tail call arm_aapcs_vfpcc i8* @_ZNKSs7_M_dataEv(%"struct.std::basic_string<char,std::char_tr…
23 …%5 = tail call arm_aapcs_vfpcc i8* @_ZNKSs4dataEv(%"struct.std::basic_string<char,std::char_trait…
38 declare arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,s…
[all …]
/external/llvm/test/CodeGen/Thumb2/
D2009-10-15-ITBlockBranch.ll5 %"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::al…
7 …uct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >" = type { %"struct.__gnu_…
8 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep" = type { %"str…
9 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" = type { …
12 …compareERKSs(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this…
18 …%0 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_trait…
19 …%1 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_trait…
22 …%4 = tail call arm_aapcs_vfpcc i8* @_ZNKSs7_M_dataEv(%"struct.std::basic_string<char,std::char_tr…
23 …%5 = tail call arm_aapcs_vfpcc i8* @_ZNKSs4dataEv(%"struct.std::basic_string<char,std::char_trait…
38 declare arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,s…
[all …]
Dv8_IT_4.ll6 %"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::al…
8 …uct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >" = type { %"struct.__gnu_…
9 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep" = type { %"str…
10 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" = type { …
13 …compareERKSs(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this…
21 …%0 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_trait…
22 …%1 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_trait…
25 …%4 = tail call arm_aapcs_vfpcc i8* @_ZNKSs7_M_dataEv(%"struct.std::basic_string<char,std::char_tr…
26 …%5 = tail call arm_aapcs_vfpcc i8* @_ZNKSs4dataEv(%"struct.std::basic_string<char,std::char_trait…
41 declare arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,s…
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dtailcall-string-rvo.ll13 %class.basic_string.11.42.73 = type { %"class.__gnu_cxx::__versa_string.10.41.72" }
19 declare void @TestBaz(%class.basic_string.11.42.73* noalias sret %arg)
21 define void @TestBar(%class.basic_string.11.42.73* noalias sret %arg) {
23 call void @TestBaz(%class.basic_string.11.42.73* noalias sret %arg)
27 define void @TestFoo(%class.basic_string.11.42.73* noalias sret %arg) {
31 …%tmp = getelementptr inbounds %class.basic_string.11.42.73, %class.basic_string.11.42.73* %arg, i6…
32 %tmp1 = bitcast %class.basic_string.11.42.73* %arg to %union.anon.8.39.70**
36 …%tmp3 = getelementptr inbounds %class.basic_string.11.42.73, %class.basic_string.11.42.73* %arg, i…
38 …%tmp4 = getelementptr inbounds %class.basic_string.11.42.73, %class.basic_string.11.42.73* %arg, i…
40 tail call void @TestBar(%class.basic_string.11.42.73* noalias sret %arg)
Dtoc-load-sched-bug.ll11basic_string", %"class.llvm::ValueSymbolTable"*, %"class.llvm::StringMap", %"class.std::unique_ptr…
17 %"class.llvm::GlobalObject" = type { %"class.llvm::GlobalValue", %"class.std::basic_string", %"clas…
62 %"class.llvm::NamedMDNode" = type { %"class.llvm::ilist_node.24", %"class.std::basic_string", %"cla…
74 %"class.std::basic_string" = type { %"struct.std::basic_string<char, std::char_traits<char>, std::a…
75 %"struct.std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider" = ty…
99 …%"class.llvm::SMLoc", %"class.std::basic_string", i32, i32, i32, %"class.std::basic_string", %"cla…
107 …base.75" = type { %"struct.std::_Vector_base<std::basic_string<char>, std::allocator<std::basic_st…
108basic_string<char>, std::allocator<std::basic_string<char> > >::_Vector_impl" = type { %"class.std…
131 %"struct.std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep" = type { %"s…
132 %"struct.std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep_base" = type …
[all …]
/external/clang/test/SemaCXX/
DPR9461.cpp5 template<typename,typename=int,typename=int>struct basic_string;
7 typedef basic_string<char> string;
12 struct basic_string struct
15 basic_string(const aT*,const oc&a=int()); argument
25 basic_string<_CharT,_Traits,_Alloc>::basic_string(const _CharT* c,const _Alloc&) in basic_string() function in basic_string
Dcrashes.cpp10 class basic_string;
12 const typename basic_string<_CharT, _Traits, _Alloc>::size_type
13 basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_max_size // expected-error{{no member named '_Rep' …
202 template<typename _CharT, typename _Traits, typename _Alloc> struct basic_string { struct
205 …template<class _InputIterator> basic_string(_InputIterator __beg, _InputIterator __end, const _All…
213basic_string<_CharT, _Traits, _Alloc>:: basic_string(_InputIterator __beg, _InputIterator __end, c… in basic_string() function in pr12791::basic_string
218 typedef basic_string<char_type, _Traits, _Alloc> __string_type;
Dwchar_t.cpp18 struct basic_string { struct
22 basic_string<_CharT> operator+ (const basic_string<_CharT>&, _CharT);
25 basic_string<wchar_t>() + L'-'; in t()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2009-11-17-UpdateTerminator.ll8 … %"struct.std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::…
11basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string
12 …uct.std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::…
13 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Alloc_hider" = type…
14 %"struct.std::string" = type { %"struct.std::basic_string<char,std::char_traits<char>,std::allocato…
16basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string
/external/llvm/test/CodeGen/X86/
D2009-11-17-UpdateTerminator.ll8 … %"struct.std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::…
11basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string
12 …uct.std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::…
13 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Alloc_hider" = type…
14 %"struct.std::string" = type { %"struct.std::basic_string<char,std::char_traits<char>,std::allocato…
16basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string
/external/llvm/test/CodeGen/Hexagon/
Dearly-if-conversion-bug1.ll9 %"class.std::__1::basic_string" = type { %"class.std::__1::__compressed_pair" }
11 %"class.std::__1::__libcpp_compressed_pair_imp" = type { %"struct.std::__1::basic_string<char, std:…
12 %"struct.std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__r…
13 %union.anon = type { %"struct.std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::a…
14 %"struct.std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__l…
22 %"struct.std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__s…
31 …3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(%"class.std::__1::basic_string"*) #1
41 %this.addr.i15.i.i = alloca %"class.std::__1::basic_string"*, align 4
46 %this.addr.i6.i.i = alloca %"class.std::__1::basic_string"*, align 4
49 %this.addr.i.i.i58 = alloca %"class.std::__1::basic_string"*, align 4
[all …]
/external/libcxx/test/std/input.output/iostream.format/quoted.manip/
Dquoted.pass.cpp30 std::basic_string<CharT, Traits> str(p); in both_ways()
46 std::basic_string<CharT, Traits> s; in round_trip()
60 std::basic_string<CharT, Traits> s; in round_trip_ws()
72 std::basic_string<CharT, Traits> s; in round_trip_d()
83 std::basic_string<CharT, Traits> s; in round_trip_e()
90 std::basic_string<CharT, Traits> quote ( const CharT *p, char delim='"', char escape='\\' ) { in quote()
95 std::basic_string<CharT, Traits> s; in quote()
101 std::basic_string<CharT, Traits> unquote ( const CharT *p, char delim='"', char escape='\\' ) { in unquote()
107 std::basic_string<CharT, Traits> s; in unquote()
/external/clang/test/SemaTemplate/
Dexception-spec-crash.cpp15 class basic_string { class
17 basic_string(basic_string &&__str)
29 basic_string<allocator<char> > vectorFoo_;
/external/libcxx/test/std/strings/string.classes/
Dtypedefs.pass.cpp25 static_assert((std::is_same<std::string, std::basic_string<char> >::value), ""); in main()
26 static_assert((std::is_same<std::wstring, std::basic_string<wchar_t> >::value), ""); in main()
28 static_assert((std::is_same<std::u16string, std::basic_string<char16_t> >::value), ""); in main()
29 static_assert((std::is_same<std::u32string, std::basic_string<char32_t> >::value), ""); in main()
/external/llvm/test/CodeGen/ARM/
D2010-06-21-nondarwin-tc.ll7 %"class.llvm::Record" = type { i32, %"class.std::basic_string", %"class.llvm::SMLoc", %"class.std::…
8 %"class.llvm::RecordVal" = type { %"class.std::basic_string", %"struct.llvm::Init"*, i32, %"struct.…
10 %"class.llvm::StringInit" = type { [8 x i8], %"class.std::basic_string" }
11 %"class.std::basic_string" = type { %"class.llvm::SMLoc" }
23basic_string"*, %"struct.llvm::Init"*, i32), void (%"class.llvm::RecordVal"*, %"class.std::basic_s…
29 …9RecordValC2ERKSsPNS_5RecTyEj(%"class.llvm::RecordVal"*, %"class.std::basic_string"*, %"struct.llv…
31 …"class.llvm::Record"* %R, %"class.llvm::RecordVal"* %RV, %"class.std::basic_string"* %FieldName) a…
135 …td::basic_string"*)*** ; <%"struct.llvm::Init"* (%"struct.llvm::Init"*, %"class.llvm::Record"*, %"…
136basic_string"*)**, %"struct.llvm::Init"* (%"struct.llvm::Init"*, %"class.llvm::Record"*, %"class.l…
137basic_string"*)*, %"struct.llvm::Init"* (%"struct.llvm::Init"*, %"class.llvm::Record"*, %"class.ll…
[all …]
/external/clang/test/Analysis/diagnostics/
Dimplicit-cxx-std-suppression.cpp14 std::basic_string<uint8_t> v; in testBasicStringSuppression()
19 std::basic_string<char32_t> v; in testBasicStringSuppression_append()
23 void testBasicStringSuppression_assign(std::basic_string<char32_t> &v, in testBasicStringSuppression_assign()
24 const std::basic_string<char32_t> &v2) { in testBasicStringSuppression_assign()
/external/llvm/test/DebugInfo/X86/
Dpr19307.ll32 %"class.std::basic_string" = type { %"struct.std::basic_string<char, std::char_traits<char>, std::a…
33 %"struct.std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider" = ty…
38 define void @_Z11parse_rangeRyS_Ss(i64* %offset, i64* %limit, %"class.std::basic_string"* %range) #…
46 …call void @llvm.dbg.declare(metadata %"class.std::basic_string"* %range, metadata !48, metadata !D…
47 …%call = call i32 @_ZNKSs7compareEmmPKc(%"class.std::basic_string"* %range, i64 0, i64 6, i8* getel…
52 %call1 = call i8* @_ZNSsixEm(%"class.std::basic_string"* %range, i64 6), !dbg !52
64 …%call3 = call %"class.std::basic_string"* @_ZNSs5eraseEmm(%"class.std::basic_string"* %range, i64 …
73 declare i32 @_ZNKSs7compareEmmPKc(%"class.std::basic_string"*, i64, i64, i8*) #2
75 declare i8* @_ZNSsixEm(%"class.std::basic_string"*, i64) #2
77 declare %"class.std::basic_string"* @_ZNSs5eraseEmm(%"class.std::basic_string"*, i64, i64) #2
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/DeadStoreElimination/
D2011-09-06-MemCpy.ll23 …balValue = type <{ [52 x i8], [4 x i8], %struct.Module*, i8, i16, [5 x i8], %struct.basic_string }>
24 …list, %struct.basic_string, %struct.ValueSymbolTable*, %struct.OwningPtr, %struct.basic_string, %s…
41 %struct._Vector_impl.0 = type { %struct.basic_string*, %struct.basic_string*, %struct.basic_string*…
42 %struct.basic_string = type { %struct._Alloc_hider }
49 %struct.NamedMDNode = type { %struct.ilist_node.6, %struct.basic_string, %struct.Module*, i8* }

12345678910>>...18