Home
last modified time | relevance | path

Searched refs:s_long (Results 1 – 25 of 30) sorted by relevance

12

/external/python/cpython3/Lib/ctypes/test/
Dtest_pep3118.py122 s_long = {4: 'l', 8: 'q'}[sizeof(c_long)] variable
132 s_int = s_long
136 s_longlong = s_long
157 (c_long, "<" + s_long, (), c_long),
174 (POINTER(POINTER(c_long)), "&&<" + s_long, (), POINTER(POINTER(c_long))),
186 (Point, "T{<l:x:<l:y:}".replace('l', s_long), (), Point),
189 (Point2, "T{<l:x:<l:y:}".replace('l', s_long), (), Point2),
194 … (StructWithArrays, "T{(2,3)<l:x:(4)T{<l:x:<l:y:}:y:}".replace('l', s_long), (), StructWithArrays),
195 …(StructWithArrays * 3, "T{(2,3)<l:x:(4)T{<l:x:<l:y:}:y:}".replace('l', s_long), (3,), StructWithAr…
203 (Complete, "T{<l:a:}".replace('l', s_long), (), Complete),
[all …]
/external/python/cpython2/Lib/ctypes/test/
Dtest_pep3118.py119 s_long = {4: 'l', 8: 'q'}[sizeof(c_long)] variable
129 s_int = s_long
133 s_longlong = s_long
154 (c_long, "<" + s_long, None, c_long),
171 (POINTER(POINTER(c_long)), "&&<" + s_long, None, POINTER(POINTER(c_long))),
183 (Point, "T{<l:x:<l:y:}".replace('l', s_long), None, Point),
186 (Point2, "T{<l:x:<l:y:}".replace('l', s_long), None, Point2),
191 …(StructWithArrays, "T{(2,3)<l:x:(4)T{<l:x:<l:y:}:y:}".replace('l', s_long), None, StructWithArrays…
192 …(StructWithArrays * 3, "T{(2,3)<l:x:(4)T{<l:x:<l:y:}:y:}".replace('l', s_long), (3,), StructWithAr…
200 (Complete, "T{<l:a:}".replace('l', s_long), None, Complete),
[all …]
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/
Dpointer_size.pass.cpp76 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
83 s_long.assign(s_long.data(), s_long.size()); in main()
84 assert(s_long == "Lorem ipsum dolor sit amet, consectetur/"); in main()
86 s_long.assign(s_long.data() + 2, 8 ); in main()
87 assert(s_long == "rem ipsu"); in main()
Dpointer.pass.cpp68 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
75 s_long.assign(s_long.c_str() + 30); in main()
76 assert(s_long == "nsectetur/"); in main()
Diterator.pass.cpp186 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
193 s_long.assign(s_long.begin(), s_long.end()); in main()
194 assert(s_long == "Lorem ipsum dolor sit amet, consectetur/"); in main()
196 s_long.assign(s_long.begin() + 30, s_long.end()); in main()
197 assert(s_long == "nsectetur/"); in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/
Dpointer_size.pass.cpp75 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
82 s_long.assign(s_long.data(), s_long.size()); in main()
83 assert(s_long == "Lorem ipsum dolor sit amet, consectetur/"); in main()
85 s_long.assign(s_long.data() + 2, 8 ); in main()
86 assert(s_long == "rem ipsu"); in main()
Dpointer.pass.cpp67 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
74 s_long.assign(s_long.c_str() + 30); in main()
75 assert(s_long == "nsectetur/"); in main()
Diterator.pass.cpp185 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
192 s_long.assign(s_long.begin(), s_long.end()); in main()
193 assert(s_long == "Lorem ipsum dolor sit amet, consectetur/"); in main()
195 s_long.assign(s_long.begin() + 30, s_long.end()); in main()
196 assert(s_long == "nsectetur/"); in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_append/
Dpointer_size.pass.cpp76 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
85 s_long.append(s_long.data(), s_long.size()); in main()
86 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
Dpointer.pass.cpp67 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
76 s_long.append(s_long.c_str()); in main()
77 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
Diterator.pass.cpp185 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
194 s_long.append(s_long.begin(), s_long.end()); in main()
195 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_append/
Dpointer_size.pass.cpp77 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
86 s_long.append(s_long.data(), s_long.size()); in main()
87 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
Dpointer.pass.cpp68 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
77 s_long.append(s_long.c_str()); in main()
78 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
Diterator.pass.cpp185 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
194 s_long.append(s_long.begin(), s_long.end()); in main()
195 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
Diter_iter_iter.pass.cpp176 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
185 s_long.insert(s_long.begin(), s_long.begin(), s_long.end()); in main()
186 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
Dsize_pointer.pass.cpp225 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
234 s_long.insert(0, s_long.c_str()); in main()
235 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
Dstring_view.pass.cpp227 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
236 s_long.insert(0, s_long.c_str()); in main()
237 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
Diter_iter_iter.pass.cpp162 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
171 s_long.insert(s_long.begin(), s_long.begin(), s_long.end()); in main()
172 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
Dsize_pointer.pass.cpp224 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
233 s_long.insert(0, s_long.c_str()); in main()
234 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
Dstring_view.pass.cpp226 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
235 s_long.insert(0, s_long.c_str()); in main()
236 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
Dsize_pointer_size.pass.cpp705 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
714 s_long.insert(0, s_long.data(), s_long.size()); in main()
715 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_pointer.pass.cpp289 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
298 s_long.replace(s_long.begin(), s_long.begin(), s_long.c_str()); in main()
299 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
Diter_iter_pointer_size.pass.cpp979 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
988 s_long.replace(s_long.begin(), s_long.begin(), s_long.data(), s_long.size()); in main()
989 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_pointer.pass.cpp289 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
298 s_long.replace(s_long.begin(), s_long.begin(), s_long.c_str()); in main()
299 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()
Diter_iter_pointer_size.pass.cpp978 S s_long = "Lorem ipsum dolor sit amet, consectetur/"; in main() local
987 s_long.replace(s_long.begin(), s_long.begin(), s_long.data(), s_long.size()); in main()
988 …assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/… in main()

12