Lines Matching refs:p

61     const fs::path p(u16str);  in test_latin_unicode()  local
62 assert(p.u8string() == u8str); in test_latin_unicode()
63 assert(p.u16string() == u16str); in test_latin_unicode()
64 assert(p.u32string() == u32str); in test_latin_unicode()
65 assert(p.string<char16_t>() == u16str); in test_latin_unicode()
66 assert(p.string<char32_t>() == u32str); in test_latin_unicode()
69 const fs::path p(u32str); in test_latin_unicode() local
70 assert(p.u8string() == u8str); in test_latin_unicode()
71 assert(p.u16string() == u16str); in test_latin_unicode()
72 assert(p.u32string() == u32str); in test_latin_unicode()
73 assert(p.string<char16_t>() == u16str); in test_latin_unicode()
74 assert(p.string<char32_t>() == u32str); in test_latin_unicode()
77 const fs::path p = fs::u8path(str); in test_latin_unicode() local
78 assert(p.u8string() == u8str); in test_latin_unicode()
79 assert(p.u16string() == u16str); in test_latin_unicode()
80 assert(p.u32string() == u32str); in test_latin_unicode()
81 assert(p.string<char16_t>() == u16str); in test_latin_unicode()
82 assert(p.string<char32_t>() == u32str); in test_latin_unicode()
88 const fs::path p(u8str); in test_latin_unicode() local
89 assert(p.u8string() == u8str); in test_latin_unicode()
90 assert(p.u16string() == u16str); in test_latin_unicode()
91 assert(p.u32string() == u32str); in test_latin_unicode()
92 assert(p.string<char8_t>() == u8str); in test_latin_unicode()
93 assert(p.string<char16_t>() == u16str); in test_latin_unicode()
94 assert(p.string<char32_t>() == u32str); in test_latin_unicode()
98 const fs::path p(u16str); in test_latin_unicode() local
99 assert(p.string<char8_t>() == u8str); in test_latin_unicode()
102 const fs::path p(u32str); in test_latin_unicode() local
103 assert(p.string<char8_t>() == u8str); in test_latin_unicode()
106 const fs::path p = fs::u8path(str); in test_latin_unicode() local
107 assert(p.string<char8_t>() == u8str); in test_latin_unicode()
113 const fs::path p(u16str); in test_latin_unicode() local
114 assert(p.wstring() == wstr); in test_latin_unicode()
115 assert(p.string<wchar_t>() == wstr); in test_latin_unicode()
118 const fs::path p = fs::u8path(str); in test_latin_unicode() local
119 assert(p.wstring() == wstr); in test_latin_unicode()
120 assert(p.string<wchar_t>() == wstr); in test_latin_unicode()
123 const fs::path p(wstr); in test_latin_unicode() local
124 assert(p.wstring() == wstr); in test_latin_unicode()
125 assert(p.u8string() == u8str); in test_latin_unicode()
126 assert(p.u16string() == u16str); in test_latin_unicode()
127 assert(p.u32string() == u32str); in test_latin_unicode()
128 assert(p.string<wchar_t>() == wstr); in test_latin_unicode()
135 const fs::path p(str); in test_latin_unicode() local
136 assert(p.string() == str); in test_latin_unicode()
137 assert(p.u16string() == u16str); in test_latin_unicode()
138 assert(p.string<char>() == str); in test_latin_unicode()
141 const fs::path p(u16str); in test_latin_unicode() local
142 assert(p.string() == str); in test_latin_unicode()
143 assert(p.string<char>() == str); in test_latin_unicode()
157 const fs::path p(wstr); in test_latin_unicode() local
158 assert(p.string() == latin1); in test_latin_unicode()
159 assert(p.string<char>() == latin1); in test_latin_unicode()
162 const fs::path p(latin1); in test_latin_unicode() local
163 assert(p.string() == latin1); in test_latin_unicode()
164 assert(p.wstring() == wstr); in test_latin_unicode()
165 assert(p.u8string() == u8str); in test_latin_unicode()
166 assert(p.u16string() == u16str); in test_latin_unicode()
167 assert(p.string<char>() == latin1); in test_latin_unicode()
168 assert(p.string<wchar_t>() == wstr); in test_latin_unicode()
176 const fs::path p(wstr); in test_latin_unicode() local
177 assert(p.string() == cp850); in test_latin_unicode()
178 assert(p.string<char>() == cp850); in test_latin_unicode()
181 const fs::path p(cp850); in test_latin_unicode() local
182 assert(p.string() == cp850); in test_latin_unicode()
183 assert(p.wstring() == wstr); in test_latin_unicode()
184 assert(p.u8string() == u8str); in test_latin_unicode()
185 assert(p.u16string() == u16str); in test_latin_unicode()
186 assert(p.string<char>() == cp850); in test_latin_unicode()
187 assert(p.string<wchar_t>() == wstr); in test_latin_unicode()
207 const fs::path p = fs::u8path(str); in test_wide_unicode() local
208 assert(p.u8string() == u8str); in test_wide_unicode()
209 assert(p.u16string() == u16str); in test_wide_unicode()
210 assert(p.u32string() == u32str); in test_wide_unicode()
213 const fs::path p(u16str); in test_wide_unicode() local
214 assert(p.u8string() == u8str); in test_wide_unicode()
215 assert(p.u16string() == u16str); in test_wide_unicode()
216 assert(p.u32string() == u32str); in test_wide_unicode()
219 const fs::path p(u32str); in test_wide_unicode() local
220 assert(p.u8string() == u8str); in test_wide_unicode()
221 assert(p.u16string() == u16str); in test_wide_unicode()
222 assert(p.u32string() == u32str); in test_wide_unicode()
232 const fs::path p = fs::u8path(str); in test_wide_unicode() local
233 assert(p.wstring() == wstr); in test_wide_unicode()
236 const fs::path p(u16str); in test_wide_unicode() local
237 assert(p.wstring() == wstr); in test_wide_unicode()
240 const fs::path p(u32str); in test_wide_unicode() local
241 assert(p.wstring() == wstr); in test_wide_unicode()
244 const fs::path p(wstr); in test_wide_unicode() local
245 assert(p.u8string() == u8str); in test_wide_unicode()
246 assert(p.u16string() == u16str); in test_wide_unicode()
247 assert(p.u32string() == u32str); in test_wide_unicode()
248 assert(p.wstring() == wstr); in test_wide_unicode()
261 fs::path p = fs::u8path(str) / u16str / u32str; in test_append() local
262 assert(p.u32string() == u32ref); in test_append()
263 p = fs::u8path(str).append(u16str).append(u32str); in test_append()
264 assert(p.u32string() == u32ref); in test_append()
265 p = fs::u8path(str); in test_append()
266 p /= u16str; in test_append()
267 p /= u32str; in test_append()
268 assert(p.u32string() == u32ref); in test_append()
278 fs::path p = fs::path(u16str) / wstr / u32str; in test_append() local
279 assert(p.u32string() == u32ref); in test_append()
280 p = fs::path(u16str).append(wstr).append(u32str); in test_append()
281 assert(p.u32string() == u32ref); in test_append()
282 p = fs::path(u16str); in test_append()
283 p /= wstr; in test_append()
284 p /= u32str; in test_append()
285 assert(p.u32string() == u32ref); in test_append()
297 fs::path p = fs::u8path(str); in test_concat() local
298 p += u16str; in test_concat()
299 p += u32str; in test_concat()
300 assert(p.u32string() == u32ref); in test_concat()
301 p = fs::u8path(str).concat(u16str).concat(u32str); in test_concat()
302 assert(p.u32string() == u32ref); in test_concat()
312 fs::path p = fs::path(u16str); in test_concat() local
313 p += wstr; in test_concat()
314 p += u32str; in test_concat()
315 assert(p.u32string() == u32ref); in test_concat()
316 p = fs::path(u16str).concat(wstr).concat(u32str); in test_concat()
317 assert(p.u32string() == u32ref); in test_concat()
333 fs::path p = fs::path(u16str) / u8str; in test_append_concat_narrow() local
334 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
335 p = fs::path(u16str).append(u8str); in test_append_concat_narrow()
336 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
337 p = fs::path(u16str); in test_append_concat_narrow()
338 p /= u8str; in test_append_concat_narrow()
339 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
340 p = fs::path(u16str).concat(u8str); in test_append_concat_narrow()
341 assert(p.u32string() == u32ref_concat); in test_append_concat_narrow()
342 p = fs::path(u16str); in test_append_concat_narrow()
343 p += u8str; in test_append_concat_narrow()
344 assert(p.u32string() == u32ref_concat); in test_append_concat_narrow()
352 fs::path p = fs::path(u16str) / str; in test_append_concat_narrow() local
353 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
354 p = fs::path(u16str).append(str); in test_append_concat_narrow()
355 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
356 p = fs::path(u16str); in test_append_concat_narrow()
357 p /= str; in test_append_concat_narrow()
358 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
359 p = fs::path(u16str).concat(str); in test_append_concat_narrow()
360 assert(p.u32string() == u32ref_concat); in test_append_concat_narrow()
361 p = fs::path(u16str); in test_append_concat_narrow()
362 p += str; in test_append_concat_narrow()
363 assert(p.u32string() == u32ref_concat); in test_append_concat_narrow()
369 fs::path p = fs::path(u16str) / latin1; in test_append_concat_narrow() local
370 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
371 p = fs::path(u16str).append(latin1); in test_append_concat_narrow()
372 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
373 p = fs::path(u16str); in test_append_concat_narrow()
374 p /= latin1; in test_append_concat_narrow()
375 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
376 p = fs::path(u16str).concat(latin1); in test_append_concat_narrow()
377 assert(p.u32string() == u32ref_concat); in test_append_concat_narrow()
378 p = fs::path(u16str); in test_append_concat_narrow()
379 p += latin1; in test_append_concat_narrow()
380 assert(p.u32string() == u32ref_concat); in test_append_concat_narrow()
386 fs::path p = fs::path(u16str) / cp850; in test_append_concat_narrow() local
387 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
388 p = fs::path(u16str).append(cp850); in test_append_concat_narrow()
389 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
390 p = fs::path(u16str); in test_append_concat_narrow()
391 p /= cp850; in test_append_concat_narrow()
392 assert(p.u32string() == u32ref_append); in test_append_concat_narrow()
393 p = fs::path(u16str).concat(cp850); in test_append_concat_narrow()
394 assert(p.u32string() == u32ref_concat); in test_append_concat_narrow()
395 p = fs::path(u16str); in test_append_concat_narrow()
396 p += cp850; in test_append_concat_narrow()
397 assert(p.u32string() == u32ref_concat); in test_append_concat_narrow()