Home
last modified time | relevance | path

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

12345678910>>...41

/external/llvm-project/libcxx/test/std/strings/basic.string/string.cons/
Dimplicit_deduction_guides.pass.cpp27 using BStr = std::basic_string<T, std::char_traits<T>, Alloc>;
62 std::basic_string s(6ull, 'a'); in main()
66 std::basic_string w(2ull, L'b'); in main()
71 std::basic_string s(6ull, 'a', test_allocator<char>{}); in main()
75 std::basic_string w(2ull, L'b', test_allocator<wchar_t>{}); in main()
81 std::basic_string s(sin, (size_t)1); in main()
85 using WStr = std::basic_string<wchar_t, in main()
89 std::basic_string w(win, (TestSizeT)3); in main()
95 std::basic_string s(sin, (size_t)1, std::allocator<char>{}); in main()
99 using WStr = std::basic_string<wchar_t, in main()
[all …]
/external/libcxx/test/std/strings/basic.string/string.cons/
Dimplicit_deduction_guides.pass.cpp28 using BStr = std::basic_string<T, std::char_traits<T>, Alloc>;
63 std::basic_string s(6ull, 'a'); in main()
67 std::basic_string w(2ull, L'b'); in main()
72 std::basic_string s(6ull, 'a', test_allocator<char>{}); in main()
76 std::basic_string w(2ull, L'b', test_allocator<wchar_t>{}); in main()
82 std::basic_string s(sin, (size_t)1); in main()
86 using WStr = std::basic_string<wchar_t, in main()
90 std::basic_string w(win, (TestSizeT)3); in main()
96 std::basic_string s(sin, (size_t)1, std::allocator<char>{}); in main()
100 using WStr = std::basic_string<wchar_t, in main()
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dabseil-redundant-strcat-calls.cpp35 class basic_string : public __gnu_cxx::__versa_string<A, B, C> { class
37 basic_string();
38 basic_string(const basic_string &);
39 basic_string(const char *, C = C());
40 basic_string(const char *, int, C = C());
41 basic_string(const basic_string &, int, int, C = C());
42 ~basic_string();
44 basic_string &operator+=(const basic_string &);
48 basic_string<A, B, C> operator+(const basic_string<A, B, C> &,
49 const basic_string<A, B, C> &);
[all …]
Dabseil-string-find-startswith.cpp9 struct basic_string { struct
10 basic_string();
11 basic_string(const basic_string &);
12 basic_string(const C *, const A &a = A());
13 ~basic_string();
14 int find(basic_string<C> s, int pos = 0);
17 typedef basic_string<char> string;
18 typedef basic_string<wchar_t> wstring;
25 struct basic_string : public std::cxx_string { struct
26 basic_string();
[all …]
Dperformance-inefficient-string-concatenation.cpp5 class basic_string { class
7 basic_string() {} in basic_string() function in std::basic_string
8 ~basic_string() {} in ~basic_string()
9 basic_string<T> *operator+=(const basic_string<T> &) {} in operator +=()
10 friend basic_string<T> operator+(const basic_string<T> &, const basic_string<T> &) {} in operator +()
12 typedef basic_string<char> string;
13 typedef basic_string<wchar_t> wstring;
Dreadability-string-compare.cpp9 class basic_string { class
11 basic_string();
12 basic_string(const C *, unsigned int size);
13 int compare(const basic_string<char> &str) const;
15 int compare(int, int, const basic_string<char> &str) const;
18 bool operator==(const basic_string<char> &lhs, const basic_string<char> &rhs);
19 bool operator!=(const basic_string<char> &lhs, const basic_string<char> &rhs);
20 bool operator==(const basic_string<char> &lhs, const char *&rhs);
21 typedef basic_string<char> string;
Dbugprone-string-integer-assignment.cpp5 struct basic_string { struct
6 basic_string& operator=(T);
7 basic_string& operator=(basic_string);
8 basic_string& operator+=(T);
9 basic_string& operator+=(basic_string);
14 typedef basic_string<char> string;
15 typedef basic_string<wchar_t> wstring;
59 std::basic_string<MyArcaneChar> as; in main()
Dreadability-redundant-string-init-msvc.cpp9 struct basic_string { struct
10 basic_string();
11 basic_string(const basic_string&);
13 basic_string(const C *);
14 basic_string(const C *, const A &);
15 ~basic_string();
17 typedef basic_string<char> string;
18 typedef basic_string<wchar_t> wstring;
/external/llvm-project/libcxx/include/
Dstring74 class basic_string
94 basic_string()
96 explicit basic_string(const allocator_type& a);
97 basic_string(const basic_string& str);
98 basic_string(basic_string&& str)
100 basic_string(const basic_string& str, size_type pos,
102 basic_string(const basic_string& str, size_type pos, size_type n,
105basic_string(const T& t, size_type pos, size_type n, const Allocator& a = Allocator()); // C++17
107 explicit basic_string(const T& t, const Allocator& a = Allocator()); // C++17
108 basic_string(const value_type* s, const allocator_type& a = allocator_type());
[all …]
D__string90 …_Func(_LIBCPP_FUNC_VIS basic_string<_CharType>& basic_string<_CharType>::replace(size_type, size_t…
91 …_Func(_LIBCPP_FUNC_VIS basic_string<_CharType>::size_type basic_string<_CharType>::rfind(value_typ…
92 …_Func(_LIBCPP_FUNC_VIS void basic_string<_CharType>::__init(value_type const*, size_type, size_typ…
93 _Func(_LIBCPP_FUNC_VIS basic_string<_CharType>::basic_string(basic_string const&)) \
94 …_Func(_LIBCPP_FUNC_VIS basic_string<_CharType>& basic_string<_CharType>::replace(size_type, size_t…
95 …_Func(_LIBCPP_FUNC_VIS basic_string<_CharType>::basic_string(basic_string const&, allocator<_CharT…
96 …_Func(_LIBCPP_FUNC_VIS basic_string<_CharType>::size_type basic_string<_CharType>::find_last_not_o…
97 _Func(_LIBCPP_FUNC_VIS basic_string<_CharType>::~basic_string()) \
98 …_Func(_LIBCPP_FUNC_VIS basic_string<_CharType>::size_type basic_string<_CharType>::find_first_not_…
99 …_Func(_LIBCPP_FUNC_VIS basic_string<_CharType>& basic_string<_CharType>::insert(size_type, size_ty…
[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
108 explicit basic_string(const T& t, const Allocator& a = Allocator()); // C++17
109 basic_string(const value_type* s, const allocator_type& a = allocator_type());
[all …]
/external/libabigail/tests/data/test-diff-filter/
Dtest41-report-0.txt10basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba…
11basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba…
24basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >::_M_create_nodes(std::_Deq…
26basic_string<char>, std::__cxx11::basic_string<char> &, std::__cxx11::basic_string<char> *> std::_…
27basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >::_M_destroy_data_aux(std::…
28basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >::_M_push_back_aux(const st…
29 …[A] 'method void std::deque<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_s…
30basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >::deque(const std::deque<st…
32basic_string<char>, std::deque<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basi…
/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/llvm-project/libcxx/include/experimental/
Dstring21 // basic_string using polymorphic allocator in namespace pmr
23 using basic_string =
24 std::basic_string<charT, traits, polymorphic_allocator<charT>>;
26 // basic_string typedef names using polymorphic allocator in namespace
28 typedef basic_string<char> string;
29 typedef basic_string<char16_t> u16string;
30 typedef basic_string<char32_t> u32string;
31 typedef basic_string<wchar_t> wstring;
51 using basic_string =
52 _VSTD::basic_string<_CharT, _Traits, polymorphic_allocator<_CharT>>;
[all …]
/external/llvm-project/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(%class.basic_string.11.42.73) %arg)
21 define void @TestBar(%class.basic_string.11.42.73* noalias sret(%class.basic_string.11.42.73) %arg)…
23 call void @TestBaz(%class.basic_string.11.42.73* noalias sret(%class.basic_string.11.42.73) %arg)
27 define void @TestFoo(%class.basic_string.11.42.73* noalias sret(%class.basic_string.11.42.73) %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(%class.basic_string.11.42.73) %…
/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>;
/external/llvm-project/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>;
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dtailcall-string-rvo.ll14 %class.basic_string.11.42.73 = type { %"class.__gnu_cxx::__versa_string.10.41.72" }
20 declare void @TestBaz(%class.basic_string.11.42.73* noalias sret(%class.basic_string.11.42.73) %arg)
22 define void @TestBar(%class.basic_string.11.42.73* noalias sret(%class.basic_string.11.42.73) %arg)…
24 call void @TestBaz(%class.basic_string.11.42.73* noalias sret(%class.basic_string.11.42.73) %arg)
28 define void @TestFoo(%class.basic_string.11.42.73* noalias sret(%class.basic_string.11.42.73) %arg)…
32 …%tmp = getelementptr inbounds %class.basic_string.11.42.73, %class.basic_string.11.42.73* %arg, i6…
33 %tmp1 = bitcast %class.basic_string.11.42.73* %arg to %union.anon.8.39.70**
37 …%tmp3 = getelementptr inbounds %class.basic_string.11.42.73, %class.basic_string.11.42.73* %arg, i…
39 …%tmp4 = getelementptr inbounds %class.basic_string.11.42.73, %class.basic_string.11.42.73* %arg, i…
41 …tail call void @TestBar(%class.basic_string.11.42.73* noalias sret(%class.basic_string.11.42.73) %…
/external/llvm-project/llvm/test/Transforms/DeadStoreElimination/MSSA/
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/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/llvm-project/llvm/test/Transforms/DeadStoreElimination/MemDepAnalysis/
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/llvm-project/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…
22 …%0 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_trait…
23 …%1 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_trait…
26 …%4 = tail call arm_aapcs_vfpcc i8* @_ZNKSs7_M_dataEv(%"struct.std::basic_string<char,std::char_tr…
27 …%5 = tail call arm_aapcs_vfpcc i8* @_ZNKSs4dataEv(%"struct.std::basic_string<char,std::char_trait…
42 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 …]
/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)

12345678910>>...41