Lines Matching refs:demangler

26   Demangler demangler;  in TEST()  local
28 ASSERT_EQ("func()", demangler.Parse("_ZN4funcEv")); in TEST()
29 ASSERT_EQ("func(void&)", demangler.Parse("_ZN4funcERv")); in TEST()
30 ASSERT_EQ("func(void, void)", demangler.Parse("_ZN4funcEvv")); in TEST()
31 ASSERT_EQ("func(void*)", demangler.Parse("_ZN4funcEPv")); in TEST()
32 ASSERT_EQ("func(void const)", demangler.Parse("_ZN4funcEKv")); in TEST()
33 ASSERT_EQ("func(void volatile)", demangler.Parse("_ZN4funcEVv")); in TEST()
37 Demangler demangler; in TEST() local
39 ASSERT_EQ("func(char)", demangler.Parse("_ZN4funcEc")); in TEST()
40 ASSERT_EQ("func(char*)", demangler.Parse("_ZN4funcEPc")); in TEST()
41 ASSERT_EQ("func(char**)", demangler.Parse("_ZN4funcEPPc")); in TEST()
42 ASSERT_EQ("func(char***)", demangler.Parse("_ZN4funcEPPPc")); in TEST()
43 ASSERT_EQ("func(char&)", demangler.Parse("_ZN4funcERc")); in TEST()
44 ASSERT_EQ("func(char*&)", demangler.Parse("_ZN4funcERPc")); in TEST()
45 ASSERT_EQ("func(char&)", demangler.Parse("_ZN4funcERRc")); in TEST()
46 ASSERT_EQ("func(char*&*)", demangler.Parse("_ZN4funcEPRPc")); in TEST()
47 ASSERT_EQ("func(char**&)", demangler.Parse("_ZN4funcERRPPc")); in TEST()
48 ASSERT_EQ("func(char const)", demangler.Parse("_ZN4funcEKc")); in TEST()
49 ASSERT_EQ("func(char volatile)", demangler.Parse("_ZN4funcEVc")); in TEST()
50 ASSERT_EQ("func(char volatile const)", demangler.Parse("_ZN4funcEKVc")); in TEST()
51 ASSERT_EQ("func(char const volatile)", demangler.Parse("_ZN4funcEVKc")); in TEST()
52 ASSERT_EQ("func(char const* volatile&)", demangler.Parse("_ZN4funcERVPKc")); in TEST()
53 ASSERT_EQ("func(void, char, short)", demangler.Parse("_ZN4funcEvcs")); in TEST()
54 ASSERT_EQ("func(void*, char&, short&*)", demangler.Parse("_ZN4funcEPvRcPRs")); in TEST()
58 Demangler demangler; in TEST() local
60 ASSERT_EQ("func() const", demangler.Parse("_ZNK4funcEv")); in TEST()
61 ASSERT_EQ("func() volatile", demangler.Parse("_ZNV4funcEv")); in TEST()
62 ASSERT_EQ("func() volatile const", demangler.Parse("_ZNKV4funcEv")); in TEST()
63 ASSERT_EQ("func() const volatile", demangler.Parse("_ZNVK4funcEv")); in TEST()
67 Demangler demangler; in TEST() local
69 ASSERT_EQ("one::two()", demangler.Parse("_ZN3one3twoEv")); in TEST()
70 ASSERT_EQ("one::two::three()", demangler.Parse("_ZN3one3two5threeEv")); in TEST()
71 ASSERT_EQ("one::two::three::four()", demangler.Parse("_ZN3one3two5three4fourEv")); in TEST()
72 ASSERT_EQ("one::two::three::four::five()", demangler.Parse("_ZN3one3two5three4four4fiveEv")); in TEST()
73 ASSERT_EQ("one(two::three::four::five)", demangler.Parse("_ZN3oneEN3two5three4four4fiveE")); in TEST()
77 Demangler demangler; in TEST() local
79 ASSERT_EQ("(anonymous namespace)::two()", demangler.Parse("_ZN12_GLOBAL__N_13twoEv")); in TEST()
80 ASSERT_EQ("one::two((anonymous namespace))", demangler.Parse("_ZN3one3twoE12_GLOBAL__N_1")); in TEST()
84 Demangler demangler; in TEST() local
86 ASSERT_EQ("one::two::~two()", demangler.Parse("_ZN3one3twoD0Ev")); in TEST()
87 ASSERT_EQ("one::two::~two()", demangler.Parse("_ZN3one3twoD1Ev")); in TEST()
88 ASSERT_EQ("one::two::~two()", demangler.Parse("_ZN3one3twoD2Ev")); in TEST()
89 ASSERT_EQ("one::two::~two()", demangler.Parse("_ZN3one3twoD5Ev")); in TEST()
90 ASSERT_EQ("one::two::three::~three()", demangler.Parse("_ZN3one3two5threeD0Ev")); in TEST()
92 ASSERT_EQ("_ZN3one3twoD3Ev", demangler.Parse("_ZN3one3twoD3Ev")); in TEST()
93 ASSERT_EQ("_ZN3one3twoD4Ev", demangler.Parse("_ZN3one3twoD4Ev")); in TEST()
94 ASSERT_EQ("_ZN3one3twoD6Ev", demangler.Parse("_ZN3one3twoD6Ev")); in TEST()
95 ASSERT_EQ("_ZN3one3twoD7Ev", demangler.Parse("_ZN3one3twoD7Ev")); in TEST()
96 ASSERT_EQ("_ZN3one3twoD8Ev", demangler.Parse("_ZN3one3twoD8Ev")); in TEST()
97 ASSERT_EQ("_ZN3one3twoD9Ev", demangler.Parse("_ZN3one3twoD9Ev")); in TEST()
99 ASSERT_EQ("one::two<three::four>::~two()", demangler.Parse("_ZN3one3twoIN5three4fourEED2Ev")); in TEST()
103 Demangler demangler; in TEST() local
105 ASSERT_EQ("one::two::two()", demangler.Parse("_ZN3one3twoC1Ev")); in TEST()
106 ASSERT_EQ("one::two::two()", demangler.Parse("_ZN3one3twoC2Ev")); in TEST()
107 ASSERT_EQ("one::two::two()", demangler.Parse("_ZN3one3twoC3Ev")); in TEST()
108 ASSERT_EQ("one::two::two()", demangler.Parse("_ZN3one3twoC5Ev")); in TEST()
109 ASSERT_EQ("one::two::three::three()", demangler.Parse("_ZN3one3two5threeC1Ev")); in TEST()
111 ASSERT_EQ("_ZN3one3twoC0Ev", demangler.Parse("_ZN3one3twoC0Ev")); in TEST()
112 ASSERT_EQ("_ZN3one3twoC4Ev", demangler.Parse("_ZN3one3twoC4Ev")); in TEST()
113 ASSERT_EQ("_ZN3one3twoC6Ev", demangler.Parse("_ZN3one3twoC6Ev")); in TEST()
114 ASSERT_EQ("_ZN3one3twoC7Ev", demangler.Parse("_ZN3one3twoC7Ev")); in TEST()
115 ASSERT_EQ("_ZN3one3twoC8Ev", demangler.Parse("_ZN3one3twoC8Ev")); in TEST()
116 ASSERT_EQ("_ZN3one3twoC9Ev", demangler.Parse("_ZN3one3twoC9Ev")); in TEST()
118 ASSERT_EQ("one::two<three::four>::two()", demangler.Parse("_ZN3one3twoIN5three4fourEEC1Ev")); in TEST()
122 Demangler demangler; in TEST() local
124 ASSERT_EQ("operator&&()", demangler.Parse("_Zaav")); in TEST()
125 ASSERT_EQ("operator&()", demangler.Parse("_Zadv")); in TEST()
126 ASSERT_EQ("operator&()", demangler.Parse("_Zanv")); in TEST()
127 ASSERT_EQ("operator&=()", demangler.Parse("_ZaNv")); in TEST()
128 ASSERT_EQ("operator=()", demangler.Parse("_ZaSv")); in TEST()
129 ASSERT_EQ("operator()()", demangler.Parse("_Zclv")); in TEST()
130 ASSERT_EQ("operator,()", demangler.Parse("_Zcmv")); in TEST()
131 ASSERT_EQ("operator~()", demangler.Parse("_Zcov")); in TEST()
132 ASSERT_EQ("operator delete[]()", demangler.Parse("_Zdav")); in TEST()
133 ASSERT_EQ("operator*()", demangler.Parse("_Zdev")); in TEST()
134 ASSERT_EQ("operator delete()", demangler.Parse("_Zdlv")); in TEST()
135 ASSERT_EQ("operator/()", demangler.Parse("_Zdvv")); in TEST()
136 ASSERT_EQ("operator/=()", demangler.Parse("_ZdVv")); in TEST()
137 ASSERT_EQ("operator^()", demangler.Parse("_Zeov")); in TEST()
138 ASSERT_EQ("operator^=()", demangler.Parse("_ZeOv")); in TEST()
139 ASSERT_EQ("operator==()", demangler.Parse("_Zeqv")); in TEST()
140 ASSERT_EQ("operator>=()", demangler.Parse("_Zgev")); in TEST()
141 ASSERT_EQ("operator>()", demangler.Parse("_Zgtv")); in TEST()
142 ASSERT_EQ("operator[]()", demangler.Parse("_Zixv")); in TEST()
143 ASSERT_EQ("operator<=()", demangler.Parse("_Zlev")); in TEST()
144 ASSERT_EQ("operator<<()", demangler.Parse("_Zlsv")); in TEST()
145 ASSERT_EQ("operator<<=()", demangler.Parse("_ZlSv")); in TEST()
146 ASSERT_EQ("operator<()", demangler.Parse("_Zltv")); in TEST()
147 ASSERT_EQ("operator-()", demangler.Parse("_Zmiv")); in TEST()
148 ASSERT_EQ("operator-=()", demangler.Parse("_ZmIv")); in TEST()
149 ASSERT_EQ("operator*()", demangler.Parse("_Zmlv")); in TEST()
150 ASSERT_EQ("operator*=()", demangler.Parse("_ZmLv")); in TEST()
151 ASSERT_EQ("operator--()", demangler.Parse("_Zmmv")); in TEST()
152 ASSERT_EQ("operator new[]()", demangler.Parse("_Znav")); in TEST()
153 ASSERT_EQ("operator!=()", demangler.Parse("_Znev")); in TEST()
154 ASSERT_EQ("operator-()", demangler.Parse("_Zngv")); in TEST()
155 ASSERT_EQ("operator!()", demangler.Parse("_Zntv")); in TEST()
156 ASSERT_EQ("operator new()", demangler.Parse("_Znwv")); in TEST()
157 ASSERT_EQ("operator||()", demangler.Parse("_Zoov")); in TEST()
158 ASSERT_EQ("operator|()", demangler.Parse("_Zorv")); in TEST()
159 ASSERT_EQ("operator|=()", demangler.Parse("_ZoRv")); in TEST()
160 ASSERT_EQ("operator->*()", demangler.Parse("_Zpmv")); in TEST()
161 ASSERT_EQ("operator+()", demangler.Parse("_Zplv")); in TEST()
162 ASSERT_EQ("operator+=()", demangler.Parse("_ZpLv")); in TEST()
163 ASSERT_EQ("operator++()", demangler.Parse("_Zppv")); in TEST()
164 ASSERT_EQ("operator+()", demangler.Parse("_Zpsv")); in TEST()
165 ASSERT_EQ("operator->()", demangler.Parse("_Zptv")); in TEST()
166 ASSERT_EQ("operator?()", demangler.Parse("_Zquv")); in TEST()
167 ASSERT_EQ("operator%()", demangler.Parse("_Zrmv")); in TEST()
168 ASSERT_EQ("operator%=()", demangler.Parse("_ZrMv")); in TEST()
169 ASSERT_EQ("operator>>()", demangler.Parse("_Zrsv")); in TEST()
170 ASSERT_EQ("operator>>=()", demangler.Parse("_ZrSv")); in TEST()
173 ASSERT_EQ("operator&&()", demangler.Parse("_ZNaaEv")); in TEST()
174 ASSERT_EQ("operator++()", demangler.Parse("_ZNppEv")); in TEST()
175 ASSERT_EQ("one::operator++()", demangler.Parse("_ZN3oneppEv")); in TEST()
178 ASSERT_EQ("operator+(operator|=)", demangler.Parse("_ZNpsENoRE")); in TEST()
179 ASSERT_EQ("operator==()", demangler.Parse("_Zeqv")); in TEST()
181 demangler.Parse("_ZN3oneEN4arg1oREN4arg2eqE")); in TEST()
185 Demangler demangler; in TEST() local
187 ASSERT_EQ("value(char, int)", demangler.Parse("_Z5valueci")); in TEST()
188 ASSERT_EQ("abcdefjklmn(signed char)", demangler.Parse("_Z11abcdefjklmna")); in TEST()
189 ASSERT_EQ("value(one, signed char)", demangler.Parse("_Z5value3onea")); in TEST()
193 Demangler demangler; in TEST() local
195 ASSERT_EQ("std::one", demangler.Parse("_ZNSt3oneE")); in TEST()
196 ASSERT_EQ("std::one(std::two)", demangler.Parse("_ZNSt3oneESt3two")); in TEST()
197 ASSERT_EQ("std::std::one(std::two)", demangler.Parse("_ZNStSt3oneESt3two")); in TEST()
198 ASSERT_EQ("std()", demangler.Parse("_ZNStEv")); in TEST()
200 demangler.Parse("_ZN3oneStSt3twoD0ES0_")); in TEST()
202 ASSERT_EQ("std::allocator", demangler.Parse("_ZNSaE")); in TEST()
203 ASSERT_EQ("std::basic_string", demangler.Parse("_ZNSbE")); in TEST()
204 ASSERT_EQ("_ZNScE", demangler.Parse("_ZNScE")); in TEST()
205 ASSERT_EQ("std::iostream", demangler.Parse("_ZNSdE")); in TEST()
206 ASSERT_EQ("_ZNSeE", demangler.Parse("_ZNSeE")); in TEST()
207 ASSERT_EQ("_ZNSfE", demangler.Parse("_ZNSfE")); in TEST()
208 ASSERT_EQ("_ZNSgE", demangler.Parse("_ZNSgE")); in TEST()
209 ASSERT_EQ("_ZNShE", demangler.Parse("_ZNShE")); in TEST()
210 ASSERT_EQ("std::istream", demangler.Parse("_ZNSiE")); in TEST()
211 ASSERT_EQ("_ZNSjE", demangler.Parse("_ZNSjE")); in TEST()
212 ASSERT_EQ("_ZNSkE", demangler.Parse("_ZNSkE")); in TEST()
213 ASSERT_EQ("_ZNSlE", demangler.Parse("_ZNSlE")); in TEST()
214 ASSERT_EQ("_ZNSmE", demangler.Parse("_ZNSmE")); in TEST()
215 ASSERT_EQ("_ZNSnE", demangler.Parse("_ZNSnE")); in TEST()
216 ASSERT_EQ("std::ostream", demangler.Parse("_ZNSoE")); in TEST()
217 ASSERT_EQ("_ZNSpE", demangler.Parse("_ZNSpE")); in TEST()
218 ASSERT_EQ("_ZNSqE", demangler.Parse("_ZNSqE")); in TEST()
219 ASSERT_EQ("_ZNSrE", demangler.Parse("_ZNSrE")); in TEST()
220 ASSERT_EQ("std::string", demangler.Parse("_ZNSsE")); in TEST()
221 ASSERT_EQ("_ZNSuE", demangler.Parse("_ZNSuE")); in TEST()
222 ASSERT_EQ("_ZNSvE", demangler.Parse("_ZNSvE")); in TEST()
223 ASSERT_EQ("_ZNSwE", demangler.Parse("_ZNSwE")); in TEST()
224 ASSERT_EQ("_ZNSxE", demangler.Parse("_ZNSxE")); in TEST()
225 ASSERT_EQ("_ZNSyE", demangler.Parse("_ZNSyE")); in TEST()
226 ASSERT_EQ("_ZNSzE", demangler.Parse("_ZNSzE")); in TEST()
230 Demangler demangler; in TEST() local
232 ASSERT_EQ("func(signed char)", demangler.Parse("_ZN4funcEa")); in TEST()
233 ASSERT_EQ("func(bool)", demangler.Parse("_ZN4funcEb")); in TEST()
234 ASSERT_EQ("func(char)", demangler.Parse("_ZN4funcEc")); in TEST()
235 ASSERT_EQ("func(double)", demangler.Parse("_ZN4funcEd")); in TEST()
236 ASSERT_EQ("func(long double)", demangler.Parse("_ZN4funcEe")); in TEST()
237 ASSERT_EQ("func(float)", demangler.Parse("_ZN4funcEf")); in TEST()
238 ASSERT_EQ("func(__float128)", demangler.Parse("_ZN4funcEg")); in TEST()
239 ASSERT_EQ("func(unsigned char)", demangler.Parse("_ZN4funcEh")); in TEST()
240 ASSERT_EQ("func(int)", demangler.Parse("_ZN4funcEi")); in TEST()
241 ASSERT_EQ("func(unsigned int)", demangler.Parse("_ZN4funcEj")); in TEST()
242 ASSERT_EQ("_ZN4funcEk", demangler.Parse("_ZN4funcEk")); in TEST()
243 ASSERT_EQ("func(long)", demangler.Parse("_ZN4funcEl")); in TEST()
244 ASSERT_EQ("func(unsigned long)", demangler.Parse("_ZN4funcEm")); in TEST()
245 ASSERT_EQ("func(__int128)", demangler.Parse("_ZN4funcEn")); in TEST()
246 ASSERT_EQ("func(unsigned __int128)", demangler.Parse("_ZN4funcEo")); in TEST()
247 ASSERT_EQ("_ZN4funcEp", demangler.Parse("_ZN4funcEp")); in TEST()
248 ASSERT_EQ("_ZN4funcEq", demangler.Parse("_ZN4funcEq")); in TEST()
249 ASSERT_EQ("_ZN4funcEr", demangler.Parse("_ZN4funcEr")); in TEST()
250 ASSERT_EQ("func(short)", demangler.Parse("_ZN4funcEs")); in TEST()
251 ASSERT_EQ("func(unsigned short)", demangler.Parse("_ZN4funcEt")); in TEST()
252 ASSERT_EQ("_ZN4funcEu", demangler.Parse("_ZN4funcEu")); in TEST()
253 ASSERT_EQ("func()", demangler.Parse("_ZN4funcEv")); in TEST()
254 ASSERT_EQ("func(wchar_t)", demangler.Parse("_ZN4funcEw")); in TEST()
255 ASSERT_EQ("func(long long)", demangler.Parse("_ZN4funcEx")); in TEST()
256 ASSERT_EQ("func(unsigned long long)", demangler.Parse("_ZN4funcEy")); in TEST()
257 ASSERT_EQ("func(...)", demangler.Parse("_ZN4funcEz")); in TEST()
261 Demangler demangler; in TEST() local
263 ASSERT_EQ("func(auto)", demangler.Parse("_ZN4funcEDa")); in TEST()
264 ASSERT_EQ("_ZN4funcEDb", demangler.Parse("_ZN4funcEDb")); in TEST()
265 ASSERT_EQ("_ZN4funcEDc", demangler.Parse("_ZN4funcEDc")); in TEST()
266 ASSERT_EQ("func(decimal64)", demangler.Parse("_ZN4funcEDd")); in TEST()
267 ASSERT_EQ("func(decimal128)", demangler.Parse("_ZN4funcEDe")); in TEST()
268 ASSERT_EQ("func(decimal32)", demangler.Parse("_ZN4funcEDf")); in TEST()
269 ASSERT_EQ("_ZN4funcEDg", demangler.Parse("_ZN4funcEDg")); in TEST()
270 ASSERT_EQ("func(half)", demangler.Parse("_ZN4funcEDh")); in TEST()
271 ASSERT_EQ("func(char32_t)", demangler.Parse("_ZN4funcEDi")); in TEST()
272 ASSERT_EQ("_ZN4funcEDj", demangler.Parse("_ZN4funcEDj")); in TEST()
273 ASSERT_EQ("_ZN4funcEDk", demangler.Parse("_ZN4funcEDk")); in TEST()
274 ASSERT_EQ("_ZN4funcEDl", demangler.Parse("_ZN4funcEDl")); in TEST()
275 ASSERT_EQ("_ZN4funcEDm", demangler.Parse("_ZN4funcEDm")); in TEST()
276 ASSERT_EQ("func(decltype(nullptr))", demangler.Parse("_ZN4funcEDn")); in TEST()
277 ASSERT_EQ("_ZN4funcEDo", demangler.Parse("_ZN4funcEDo")); in TEST()
278 ASSERT_EQ("_ZN4funcEDp", demangler.Parse("_ZN4funcEDp")); in TEST()
279 ASSERT_EQ("_ZN4funcEDq", demangler.Parse("_ZN4funcEDq")); in TEST()
280 ASSERT_EQ("_ZN4funcEDr", demangler.Parse("_ZN4funcEDr")); in TEST()
281 ASSERT_EQ("func(char16_t)", demangler.Parse("_ZN4funcEDs")); in TEST()
282 ASSERT_EQ("_ZN4funcEDt", demangler.Parse("_ZN4funcEDt")); in TEST()
283 ASSERT_EQ("_ZN4funcEDu", demangler.Parse("_ZN4funcEDu")); in TEST()
284 ASSERT_EQ("_ZN4funcEDv", demangler.Parse("_ZN4funcEDv")); in TEST()
285 ASSERT_EQ("_ZN4funcEDw", demangler.Parse("_ZN4funcEDw")); in TEST()
286 ASSERT_EQ("_ZN4funcEDx", demangler.Parse("_ZN4funcEDx")); in TEST()
287 ASSERT_EQ("_ZN4funcEDy", demangler.Parse("_ZN4funcEDy")); in TEST()
288 ASSERT_EQ("_ZN4funcEDz", demangler.Parse("_ZN4funcEDz")); in TEST()
292 Demangler demangler; in TEST() local
294 ASSERT_EQ("func(char ())", demangler.Parse("_ZN4funcEFcvE")); in TEST()
295 ASSERT_EQ("func(char (*)())", demangler.Parse("_ZN4funcEPFcvE")); in TEST()
296 ASSERT_EQ("func(char (&)())", demangler.Parse("_ZN4funcERFcvE")); in TEST()
297 ASSERT_EQ("func(char (&)())", demangler.Parse("_ZN4funcERFcvE")); in TEST()
298 ASSERT_EQ("func(char (*&)())", demangler.Parse("_ZN4funcERPFcvE")); in TEST()
299 ASSERT_EQ("func(char (*)(int) const)", demangler.Parse("_ZN4funcEPKFciE")); in TEST()
300 ASSERT_EQ("func(char (&)() const)", demangler.Parse("_ZN4funcERKFcvE")); in TEST()
301 ASSERT_EQ("func(char (&)() volatile)", demangler.Parse("_ZN4funcERVFcvE")); in TEST()
302 ASSERT_EQ("func(char (&)() volatile const)", demangler.Parse("_ZN4funcERKVFcvE")); in TEST()
303 ASSERT_EQ("func(char (&)() const volatile)", demangler.Parse("_ZN4funcERVKFcvE")); in TEST()
304 ASSERT_EQ("func(char (&)(int, signed char) const)", demangler.Parse("_ZN4funcERKFciaE")); in TEST()
306 demangler.Parse("_ZN4fakeEKVPRFcvvaEa")); in TEST()
310 Demangler demangler; in TEST() local
312 ASSERT_EQ("one<char>", demangler.Parse("_ZN3oneIcEE")); in TEST()
313 ASSERT_EQ("one<void>", demangler.Parse("_ZN3oneIvEE")); in TEST()
314 ASSERT_EQ("one<void*>", demangler.Parse("_ZN3oneIPvEE")); in TEST()
315 ASSERT_EQ("one<void const>", demangler.Parse("_ZN3oneIKvEE")); in TEST()
316 ASSERT_EQ("one<char, int, bool>", demangler.Parse("_ZN3oneIcibEE")); in TEST()
317 ASSERT_EQ("one::two<three>", demangler.Parse("_ZN3one3twoIN5threeEEE")); in TEST()
318 ASSERT_EQ("one<char, int, two::three>", demangler.Parse("_ZN3oneIciN3two5threeEEE")); in TEST()
320 ASSERT_EQ("one::two<three<char, int>>", demangler.Parse("_ZN3one3twoIN5threeIciEEEE")); in TEST()
321 …ASSERT_EQ("one::two<three<char, four<int>>>", demangler.Parse("_ZN3one3twoIN5threeIcN4fourIiEEEEEE… in TEST()
325 Demangler demangler; in TEST() local
327 ASSERT_EQ("one(two<char>)", demangler.Parse("_ZN3oneE3twoIcE")); in TEST()
328 ASSERT_EQ("one(two<char, void>)", demangler.Parse("_ZN3oneE3twoIcvE")); in TEST()
330 demangler.Parse("_ZN3oneE3twoIcv5threeI4fouriEE")); in TEST()
334 Demangler demangler; in TEST() local
336 ASSERT_EQ("a::a", demangler.Parse("_ZN1aS_E")); in TEST()
337 ASSERT_EQ("one::one", demangler.Parse("_ZN3oneS_E")); in TEST()
338 ASSERT_EQ("one::two::one", demangler.Parse("_ZN3one3twoS_E")); in TEST()
339 ASSERT_EQ("one::two::three::one", demangler.Parse("_ZN3one3two5threeS_E")); in TEST()
340 ASSERT_EQ("one::two(one)", demangler.Parse("_ZN3one3twoES_")); in TEST()
341 ASSERT_EQ("one::two(three::one)", demangler.Parse("_ZN3one3twoEN5threeS_E")); in TEST()
344 ASSERT_EQ("std::one::std::one", demangler.Parse("_ZNSt3oneS_E")); in TEST()
347 ASSERT_EQ("one::one(one, one)", demangler.Parse("_ZN3oneS_ES_S_")); in TEST()
348 ASSERT_EQ("std::one::two::std::one(std::one)", demangler.Parse("_ZNSt3one3twoS_ES_")); in TEST()
352 Demangler demangler; in TEST() local
355 ASSERT_EQ("a::b::c(a::b)", demangler.Parse("_ZN1a1b1cES0_")); in TEST()
356 ASSERT_EQ("_ZN1a1b1cES1_", demangler.Parse("_ZN1a1b1cES1_")); in TEST()
357 ASSERT_EQ("a::b::c::d(a::b::c)", demangler.Parse("_ZN1a1b1c1dES1_")); in TEST()
359 demangler.Parse("_ZN1a1b1c1d1e1f1g1h1i1j1k1l1m1n1o1p1qESA_")); in TEST()
361 demangler.Parse("_ZN1a1b1c1d1e1f1g1h1i1j1k1l1m1n1o1p1qESB_")); in TEST()
364 ASSERT_EQ("one::two(char&* volatile const, char&)", demangler.Parse("_ZN3one3twoEKVPRcS0_")); in TEST()
365 ASSERT_EQ("one::two(char&* volatile const, char&*)", demangler.Parse("_ZN3one3twoEKVPRcS1_")); in TEST()
367 demangler.Parse("_ZN3one3twoEKVPRcS2_")); in TEST()
368 ASSERT_EQ("one::two(int&* volatile* const, int&)", demangler.Parse("_ZN3one3twoEKPVPRiS0_")); in TEST()
369 ASSERT_EQ("one::two(int&* volatile const, int&*)", demangler.Parse("_ZN3one3twoEKVPRiS1_")); in TEST()
371 demangler.Parse("_ZN3one3twoEKVPRiS2_")); in TEST()
374 ASSERT_EQ("_ZN1a1bES0_", demangler.Parse("_ZN1a1bES0_")); in TEST()
375 ASSERT_EQ("a::b::b(a::b)", demangler.Parse("_ZN1a1bC1ES0_")); in TEST()
376 ASSERT_EQ("a::b::~b(a::b)", demangler.Parse("_ZN1a1bD0ES0_")); in TEST()
379 ASSERT_EQ("a::b::b(a::b, char*, char*)", demangler.Parse("_ZN1a1bC1ES0_PcS1_")); in TEST()
383 Demangler demangler; in TEST() local
385 ASSERT_EQ("one::two<one::three>::two()", demangler.Parse("_ZN3one3twoINS_5threeEEC1Ev")); in TEST()
387 demangler.Parse("_ZN3one3twoC2ERKS0_bPNS_5threeE")); in TEST()
389 demangler.Parse("_ZN3one3two5three4fourINS_4fiveEED2EPS0_")); in TEST()
391 demangler.Parse("_ZN3one3two5three4fourINS_4fiveEED2EPS1_")); in TEST()
393 demangler.Parse("_ZN3one3two5three4fourINS_4fiveEED2EPS2_")); in TEST()
395 demangler.Parse("_ZN3one3two5three4fourINS_4fiveEED2EPS3_")); in TEST()
399 Demangler demangler; in TEST() local
402 demangler.Parse("_ZN3one3twoC2ERKS0_bPNS_5threeE", 10)); in TEST()
404 demangler.Parse("_ZN3one3twoC2ERKS0_bPNS_5threeE", 30)); in TEST()
406 demangler.Parse("_ZN3one3twoC2ERKS0_bPNS_5threeE", 31)); in TEST()
410 ASSERT_EQ("one::two(auto)", demangler.Parse("_ZN3one3twoEDa", 15)); in TEST()
411 ASSERT_EQ("one::two(auto)", demangler.Parse("_ZN3one3twoEDa", 14)); in TEST()
412 ASSERT_EQ("one::two(auto)", demangler.Parse("_ZN3one3twoEDa", 13)); in TEST()
413 ASSERT_EQ("_ZN3one3twoEDa", demangler.Parse("_ZN3one3twoEDa", 12)); in TEST()