/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/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/ |
D | StrPBrk.ll | 9 declare i8* @strpbrk(i8*, i8*) 15 %test1 = call i8* @strpbrk(i8* %null_p, i8* %s2) 16 %test2 = call i8* @strpbrk(i8* %s1, i8* %null_p) 17 ; CHECK-NOT: call i8* @strpbrk 18 %test3 = call i8* @strpbrk(i8* %s1, i8* %w_p) 20 %test4 = call i8* @strpbrk(i8* %hello_p, i8* %w_p) 22 %test5 = call i8* @strpbrk(i8* %s1, i8* %s2) 23 ; CHECK: call i8* @strpbrk(i8* %s1, i8* %s2)
|
/external/iptables/iptables/ |
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/syslinux/gpxe/src/core/ |
D | stringextra.c | 161 char * strpbrk(const char * cs,const char * ct) in strpbrk() function 196 send = strpbrk( sbegin, ct); in strtok() 223 end = strpbrk(sbegin, ct); in strsep()
|
/external/bison/lib/ |
D | string.in.h | 467 _GL_FUNCDECL_SYS (strpbrk, char *, (char const *__s, char const *__accept) 474 _GL_CXXALIAS_SYS_CAST2 (strpbrk, 479 _GL_CXXALIASWARN1 (strpbrk, char *, (char *__s, char const *__accept)); 480 _GL_CXXALIASWARN1 (strpbrk, char const *, 483 _GL_CXXALIASWARN (strpbrk); 490 # undef strpbrk 491 _GL_WARN_ON_USE (strpbrk, "strpbrk cannot work correctly on character strings " 496 # undef strpbrk 498 _GL_WARN_ON_USE (strpbrk, "strpbrk is unportable - "
|
D | w32spawn.h | 157 else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) in prepare_spawn() 159 bool quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); in prepare_spawn()
|
/external/valgrind/memcheck/tests/ |
D | str_tester.c | 652 check(strpbrk("abcd", "z") == NULL, 1); /* Not found. */ in test_strpbrk() 654 check(strpbrk(one, "c") == one+2, 2); /* Basic test. */ in test_strpbrk() 655 check(strpbrk(one, "d") == one+3, 3); /* End of string. */ in test_strpbrk() 656 check(strpbrk(one, "a") == one, 4); /* Beginning. */ in test_strpbrk() 657 check(strpbrk(one, "") == NULL, 5); /* Empty search list. */ in test_strpbrk() 658 check(strpbrk(one, "cb") == one+1, 6); /* Multiple search. */ in test_strpbrk() 660 check(strpbrk(one, "b") == one+1, 7); /* Finding first. */ in test_strpbrk() 661 check(strpbrk(one, "cb") == one+1, 8); /* With multiple search. */ in test_strpbrk() 662 check(strpbrk(one, "db") == one+1, 9); /* Another variant. */ in test_strpbrk() 664 check(strpbrk(one, "bc") == NULL, 10); /* Empty string. */ in test_strpbrk() [all …]
|
/external/bison/linux-lib/ |
D | string.h | 779 _GL_FUNCDECL_SYS (strpbrk, char *, (char const *__s, char const *__accept) 786 _GL_CXXALIAS_SYS_CAST2 (strpbrk, 791 _GL_CXXALIASWARN1 (strpbrk, char *, (char *__s, char const *__accept)); 792 _GL_CXXALIASWARN1 (strpbrk, char const *, 795 _GL_CXXALIASWARN (strpbrk); 802 # undef strpbrk 803 _GL_WARN_ON_USE (strpbrk, "strpbrk cannot work correctly on character strings " 808 # undef strpbrk 810 _GL_WARN_ON_USE (strpbrk, "strpbrk is unportable - "
|
/external/bison/darwin-lib/ |
D | string.h | 779 _GL_FUNCDECL_SYS (strpbrk, char *, (char const *__s, char const *__accept) 786 _GL_CXXALIAS_SYS_CAST2 (strpbrk, 791 _GL_CXXALIASWARN1 (strpbrk, char *, (char *__s, char const *__accept)); 792 _GL_CXXALIASWARN1 (strpbrk, char const *, 795 _GL_CXXALIASWARN (strpbrk); 802 # undef strpbrk 803 _GL_WARN_ON_USE (strpbrk, "strpbrk cannot work correctly on character strings " 808 # undef strpbrk 810 _GL_WARN_ON_USE (strpbrk, "strpbrk is unportable - "
|
/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/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/valgrind/coregrind/m_demangle/ |
D | vg_libciface.h | 64 #define strpbrk(_ss,_aa) VG_(strpbrk)((_ss),(_aa)) macro
|
/external/libcxx/test/std/strings/c.strings/ |
D | cstring.pass.cpp | 40 static_assert((std::is_same<decltype(std::strpbrk(cp, cpc)), char*>::value), ""); in main() 57 static_assert((std::is_same<decltype(std::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/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()
|
D | strpbrk_strict.c | 18 char* r = strpbrk(s1, s2); in main()
|
/external/syslinux/com32/lib/ |
D | strsep.c | 15 e = strpbrk(s, delim); in strsep()
|
D | strspn.c | 55 char *strpbrk(const char *s, const char *accept) in strpbrk() function
|
/external/curl/lib/vauth/ |
D | vauth.c | 134 char *p = strpbrk(user, "\\/@"); in Curl_auth_user_contains_domain()
|
/external/syslinux/com32/lua/src/ |
D | lobject.c | 160 if (strpbrk(s, "nN")) /* reject 'inf' and 'nan' */ in luaO_str2d() 162 else if (strpbrk(s, "xX")) /* hexa? */ in luaO_str2d()
|
/external/skia/third_party/lua/src/ |
D | lobject.c | 160 if (strpbrk(s, "nN")) /* reject 'inf' and 'nan' */ in luaO_str2d() 162 else if (strpbrk(s, "xX")) /* hexa? */ in luaO_str2d()
|