Home
last modified time | relevance | path

Searched refs:cpc (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dstring_h.pass.cpp25 const char* cpc = 0; in main() local
28 static_assert((std::is_same<decltype(strcpy(cp, cpc)), char*>::value), ""); in main()
29 static_assert((std::is_same<decltype(strncpy(cp, cpc, s)), char*>::value), ""); in main()
30 static_assert((std::is_same<decltype(strcat(cp, cpc)), char*>::value), ""); in main()
31 static_assert((std::is_same<decltype(strncat(cp, cpc, s)), char*>::value), ""); in main()
33 static_assert((std::is_same<decltype(strcmp(cpc, cpc)), int>::value), ""); in main()
34 static_assert((std::is_same<decltype(strncmp(cpc, cpc, s)), int>::value), ""); in main()
35 static_assert((std::is_same<decltype(strcoll(cpc, cpc)), int>::value), ""); in main()
36 static_assert((std::is_same<decltype(strxfrm(cp, cpc, s)), size_t>::value), ""); in main()
39 static_assert((std::is_same<decltype(strcspn(cpc, cpc)), size_t>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/
Dcstring.pass.cpp25 const char* cpc = 0; in main() local
28 static_assert((std::is_same<decltype(std::strcpy(cp, cpc)), char*>::value), ""); in main()
29 static_assert((std::is_same<decltype(std::strncpy(cp, cpc, s)), char*>::value), ""); in main()
30 static_assert((std::is_same<decltype(std::strcat(cp, cpc)), char*>::value), ""); in main()
31 static_assert((std::is_same<decltype(std::strncat(cp, cpc, s)), char*>::value), ""); in main()
33 static_assert((std::is_same<decltype(std::strcmp(cpc, cpc)), int>::value), ""); in main()
34 static_assert((std::is_same<decltype(std::strncmp(cpc, cpc, s)), int>::value), ""); in main()
35 static_assert((std::is_same<decltype(std::strcoll(cpc, cpc)), int>::value), ""); in main()
36 static_assert((std::is_same<decltype(std::strxfrm(cp, cpc, s)), std::size_t>::value), ""); in main()
41 static_assert((std::is_same<decltype(std::strcspn(cpc, cpc)), std::size_t>::value), ""); in main()
[all …]