/external/llvm-project/libc/test/src/string/ |
D | strpbrk_test.cpp | 15 EXPECT_STREQ(__llvm_libc::strpbrk("", ""), nullptr); in TEST() 16 EXPECT_STREQ(__llvm_libc::strpbrk("_", ""), nullptr); in TEST() 17 EXPECT_STREQ(__llvm_libc::strpbrk("", "_"), nullptr); in TEST() 22 EXPECT_STREQ(__llvm_libc::strpbrk(src, "c"), nullptr); in TEST() 26 EXPECT_STREQ(__llvm_libc::strpbrk("12345", "abcdef"), nullptr); in TEST() 31 EXPECT_STREQ(__llvm_libc::strpbrk(src, "1"), "12345"); in TEST() 32 EXPECT_STREQ(__llvm_libc::strpbrk(src, "-1"), "12345"); in TEST() 33 EXPECT_STREQ(__llvm_libc::strpbrk(src, "1_"), "12345"); in TEST() 34 EXPECT_STREQ(__llvm_libc::strpbrk(src, "f1_"), "12345"); in TEST() 40 EXPECT_STREQ(__llvm_libc::strpbrk(src, "3"), "345"); in TEST() [all …]
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | strpbrk-1.ll | 2 ; Test that the strpbrk library call simplifier works correctly. 12 declare i8* @strpbrk(i8*, i8*) 14 ; Check strpbrk(s, "") -> NULL. 22 %ret = call i8* @strpbrk(i8* %str, i8* %pat) 26 ; Check strpbrk("", s) -> NULL. 34 %ret = call i8* @strpbrk(i8* %str, i8* %pat) 38 ; Check strpbrk(s1, s2), where s1 and s2 are constants. 47 %ret = call i8* @strpbrk(i8* %str, i8* %pat) 51 ; Check strpbrk(s, "a") -> strchr(s, 'a'). 60 %ret = call i8* @strpbrk(i8* %str, i8* %pat) [all …]
|
D | strpbrk-2.ll | 1 ; Test that the strpbrk library call simplifier works correctly. 10 declare i16* @strpbrk(i8*, i8*) 12 ; Check that 'strpbrk' functions with the wrong prototype aren't simplified. 19 %ret = call i16* @strpbrk(i8* %str, i8* %pat) 20 ; CHECK-NEXT: %ret = call i16* @strpbrk
|
/external/llvm/test/Transforms/InstCombine/ |
D | strpbrk-1.ll | 1 ; Test that the strpbrk library call simplifier works correctly. 11 declare i8* @strpbrk(i8*, i8*) 13 ; Check strpbrk(s, "") -> NULL. 19 %ret = call i8* @strpbrk(i8* %str, i8* %pat) 24 ; Check strpbrk("", s) -> NULL. 30 %ret = call i8* @strpbrk(i8* %str, i8* %pat) 35 ; Check strpbrk(s1, s2), where s1 and s2 are constants. 42 %ret = call i8* @strpbrk(i8* %str, i8* %pat) 47 ; Check strpbrk(s, "a") -> strchr(s, 'a'). 53 %ret = call i8* @strpbrk(i8* %str, i8* %pat) [all …]
|
D | strpbrk-2.ll | 1 ; Test that the strpbrk library call simplifier works correctly. 10 declare i16* @strpbrk(i8*, i8*) 12 ; Check that 'strpbrk' functions with the wrong prototype aren't simplified. 19 %ret = call i16* @strpbrk(i8* %str, i8* %pat) 20 ; CHECK-NEXT: %ret = call i16* @strpbrk
|
/external/iptables/libxtables/ |
D | getethertype.c | 91 cp = strpbrk(e, "#\n"); in getethertypeent() 96 cp = strpbrk(e, " \t"); in getethertypeent() 102 e = strpbrk(cp, " \t"); in getethertypeent() 121 cp = strpbrk(cp, " \t"); in getethertypeent()
|
/external/libcxx/include/ |
D | string.h | 81 char* __libcpp_strpbrk(const char* __s1, const char* __s2) {return (char*)strpbrk(__s1, __s2);} in __libcpp_strpbrk() 83 const char* strpbrk(const char* __s1, const char* __s2) {return __libcpp_strpbrk(__s1, __s2);} in strpbrk() function 85 char* strpbrk( char* __s1, const char* __s2) {return __libcpp_strpbrk(__s1, __s2);} in strpbrk() function
|
D | cstring | 44 const char* strpbrk(const char* s1, const char* s2); 45 char* strpbrk( char* s1, const char* s2); 84 using ::strpbrk;
|
/external/llvm-project/libcxx/include/ |
D | string.h | 80 char* __libcpp_strpbrk(const char* __s1, const char* __s2) {return (char*)strpbrk(__s1, __s2);} in __libcpp_strpbrk() 82 const char* strpbrk(const char* __s1, const char* __s2) {return __libcpp_strpbrk(__s1, __s2);} in strpbrk() function 84 char* strpbrk( char* __s1, const char* __s2) {return __libcpp_strpbrk(__s1, __s2);} in strpbrk() function
|
D | cstring | 43 const char* strpbrk(const char* s1, const char* s2); 44 char* strpbrk( char* s1, const char* s2); 83 using ::strpbrk;
|
/external/mtools/ |
D | mkmanifest.c | 100 while ((s = strpbrk(temp, "^+=/[]:',?*\\<>|\". "))) in dos_name2() 103 while (ext && (s = strpbrk(ext, "^+=/[]:',?*\\<>|\". "))) in dos_name2()
|
/external/clang/test/CodeGen/ |
D | libcalls-fno-builtin.c | 28 char *strpbrk(const char *s1, const char *s2); 98 char *t16(char *x) { return strpbrk(x, ""); } in t16()
|
/external/libcxx/test/std/strings/c.strings/ |
D | cstring.pass.cpp | 43 ASSERT_SAME_TYPE(char*, decltype(std::strpbrk(cp, cpc))); in main() 60 ASSERT_SAME_TYPE(const char*, decltype(std::strpbrk(cpc, cpc))); in main()
|
/external/llvm-project/libcxx/test/std/strings/c.strings/ |
D | cstring.pass.cpp | 42 ASSERT_SAME_TYPE(char*, decltype(std::strpbrk(cp, cpc))); in main() 59 ASSERT_SAME_TYPE(const char*, decltype(std::strpbrk(cpc, cpc))); in main()
|
/external/llvm-project/clang/test/CodeGen/ |
D | libcalls-fno-builtin.c | 33 char *strpbrk(const char *s1, const char *s2); 113 char *t16(char *x) { return strpbrk(x, ""); } in t16()
|
/external/llvm-project/libc/src/string/ |
D | CMakeLists.txt | 132 strpbrk 134 strpbrk.cpp 136 strpbrk.h
|
D | strpbrk.h | 14 char *strpbrk(const char *src, const char *breakset);
|
D | strpbrk.cpp | 16 char *LLVM_LIBC_ENTRYPOINT(strpbrk)(const char *src, const char *breakset) { in LLVM_LIBC_ENTRYPOINT() argument
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | string_h.pass.cpp | 40 static_assert((std::is_same<decltype(strpbrk(cp, cpc)), char*>::value), ""); in main() 56 static_assert((std::is_same<decltype(strpbrk(cpc, cpc)), const char*>::value), ""); in main()
|
/external/llvm-project/libcxx/test/std/depr/depr.c.headers/ |
D | string_h.pass.cpp | 41 static_assert((std::is_same<decltype(strpbrk(cp, cpc)), char*>::value), ""); in main() 57 static_assert((std::is_same<decltype(strpbrk(cpc, cpc)), const char*>::value), ""); in main()
|
/external/compiler-rt/test/sanitizer_common/TestCases/ |
D | strpbrk.c | 11 r = strpbrk(s1, s2); in main()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/ |
D | strpbrk.c | 11 r = strpbrk(s1, s2); in main()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/ |
D | strpbrk-2.c | 16 r = strpbrk(s1, s2); in main()
|
D | strpbrk-1.c | 16 r = strpbrk(s1, s2); in main()
|
/external/compiler-rt/test/asan/TestCases/ |
D | strpbrk-1.c | 16 r = strpbrk(s1, s2); in main()
|