Home
last modified time | relevance | path

Searched refs:s_short (Results 1 – 13 of 13) sorted by relevance

/external/libcxx/test/std/strings/basic.string/string.modifiers/string_append/
Dpointer_size.pass.cpp76 S s_short = "123/"; in main() local
79 s_short.append(s_short.data(), s_short.size()); in main()
80 assert(s_short == "123/123/"); in main()
81 s_short.append(s_short.data(), s_short.size()); in main()
82 assert(s_short == "123/123/123/123/"); in main()
83 s_short.append(s_short.data(), s_short.size()); in main()
84 assert(s_short == "123/123/123/123/123/123/123/123/"); in main()
Dpointer.pass.cpp67 S s_short = "123/"; in main() local
70 s_short.append(s_short.c_str()); in main()
71 assert(s_short == "123/123/"); in main()
72 s_short.append(s_short.c_str()); in main()
73 assert(s_short == "123/123/123/123/"); in main()
74 s_short.append(s_short.c_str()); in main()
75 assert(s_short == "123/123/123/123/123/123/123/123/"); in main()
Diterator.pass.cpp184 S s_short = "123/"; in main() local
187 s_short.append(s_short.begin(), s_short.end()); in main()
188 assert(s_short == "123/123/"); in main()
189 s_short.append(s_short.begin(), s_short.end()); in main()
190 assert(s_short == "123/123/123/123/"); in main()
191 s_short.append(s_short.begin(), s_short.end()); in main()
192 assert(s_short == "123/123/123/123/123/123/123/123/"); in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/
Dpointer_size.pass.cpp75 S s_short = "123/"; in main() local
78 s_short.assign(s_short.data(), s_short.size()); in main()
79 assert(s_short == "123/"); in main()
80 s_short.assign(s_short.data() + 2, s_short.size() - 2); in main()
81 assert(s_short == "3/"); in main()
Dpointer.pass.cpp67 S s_short = "123/"; in main() local
70 s_short.assign(s_short.c_str()); in main()
71 assert(s_short == "123/"); in main()
72 s_short.assign(s_short.c_str() + 2); in main()
73 assert(s_short == "3/"); in main()
Diterator.pass.cpp185 S s_short = "123/"; in main() local
188 s_short.assign(s_short.begin(), s_short.end()); in main()
189 assert(s_short == "123/"); in main()
190 s_short.assign(s_short.begin() + 2, s_short.end()); in main()
191 assert(s_short == "3/"); in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
Diter_iter_iter.pass.cpp175 S s_short = "123/"; in main() local
178 s_short.insert(s_short.begin(), s_short.begin(), s_short.end()); in main()
179 assert(s_short == "123/123/"); in main()
180 s_short.insert(s_short.begin(), s_short.begin(), s_short.end()); in main()
181 assert(s_short == "123/123/123/123/"); in main()
182 s_short.insert(s_short.begin(), s_short.begin(), s_short.end()); in main()
183 assert(s_short == "123/123/123/123/123/123/123/123/"); in main()
Dsize_pointer.pass.cpp224 S s_short = "123/"; in main() local
227 s_short.insert(0, s_short.c_str()); in main()
228 assert(s_short == "123/123/"); in main()
229 s_short.insert(0, s_short.c_str()); in main()
230 assert(s_short == "123/123/123/123/"); in main()
231 s_short.insert(0, s_short.c_str()); in main()
232 assert(s_short == "123/123/123/123/123/123/123/123/"); in main()
Dsize_pointer_size.pass.cpp705 S s_short = "123/"; in main() local
708 s_short.insert(0, s_short.data(), s_short.size()); in main()
709 assert(s_short == "123/123/"); in main()
710 s_short.insert(0, s_short.data(), s_short.size()); in main()
711 assert(s_short == "123/123/123/123/"); in main()
712 s_short.insert(0, s_short.data(), s_short.size()); in main()
713 assert(s_short == "123/123/123/123/123/123/123/123/"); in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_pointer.pass.cpp288 S s_short = "123/"; in main() local
291 s_short.replace(s_short.begin(), s_short.begin(), s_short.c_str()); in main()
292 assert(s_short == "123/123/"); in main()
293 s_short.replace(s_short.begin(), s_short.begin(), s_short.c_str()); in main()
294 assert(s_short == "123/123/123/123/"); in main()
295 s_short.replace(s_short.begin(), s_short.begin(), s_short.c_str()); in main()
296 assert(s_short == "123/123/123/123/123/123/123/123/"); in main()
Diter_iter_pointer_size.pass.cpp978 S s_short = "123/"; in main() local
981 s_short.replace(s_short.begin(), s_short.begin(), s_short.data(), s_short.size()); in main()
982 assert(s_short == "123/123/"); in main()
983 s_short.replace(s_short.begin(), s_short.begin(), s_short.data(), s_short.size()); in main()
984 assert(s_short == "123/123/123/123/"); in main()
985 s_short.replace(s_short.begin(), s_short.begin(), s_short.data(), s_short.size()); in main()
986 assert(s_short == "123/123/123/123/123/123/123/123/"); in main()
Diter_iter_iter_iter.pass.cpp1013 S s_short = "123/"; in main() local
1016 s_short.replace(s_short.begin(), s_short.begin(), s_short.begin(), s_short.end()); in main()
1017 assert(s_short == "123/123/"); in main()
1018 s_short.replace(s_short.begin(), s_short.begin(), s_short.begin(), s_short.end()); in main()
1019 assert(s_short == "123/123/123/123/"); in main()
1020 s_short.replace(s_short.begin(), s_short.begin(), s_short.begin(), s_short.end()); in main()
1021 assert(s_short == "123/123/123/123/123/123/123/123/"); in main()
/external/python/cpython2/Modules/_ctypes/
Dcfield.c1682 typedef struct { char c; short x; } s_short; typedef