/external/python/cpython3/Lib/ctypes/test/ |
D | test_pep3118.py | 122 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/ |
D | test_pep3118.py | 119 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/ |
D | pointer_size.pass.cpp | 76 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()
|
D | pointer.pass.cpp | 68 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()
|
D | iterator.pass.cpp | 186 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/ |
D | pointer_size.pass.cpp | 75 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()
|
D | pointer.pass.cpp | 67 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()
|
D | iterator.pass.cpp | 185 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/ |
D | pointer_size.pass.cpp | 76 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()
|
D | pointer.pass.cpp | 67 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()
|
D | iterator.pass.cpp | 185 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/ |
D | pointer_size.pass.cpp | 77 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()
|
D | pointer.pass.cpp | 68 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()
|
D | iterator.pass.cpp | 185 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/ |
D | iter_iter_iter.pass.cpp | 176 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()
|
D | size_pointer.pass.cpp | 225 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()
|
D | string_view.pass.cpp | 227 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/ |
D | iter_iter_iter.pass.cpp | 162 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()
|
D | size_pointer.pass.cpp | 224 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()
|
D | string_view.pass.cpp | 226 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()
|
D | size_pointer_size.pass.cpp | 705 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/ |
D | iter_iter_pointer.pass.cpp | 289 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()
|
D | iter_iter_pointer_size.pass.cpp | 979 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/ |
D | iter_iter_pointer.pass.cpp | 289 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()
|
D | iter_iter_pointer_size.pass.cpp | 978 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()
|