Home
last modified time | relevance | path

Searched refs:strpbrk (Results 1 – 25 of 112) sorted by relevance

12345

/external/llvm/test/Transforms/InstCombine/
Dstrpbrk-1.ll1 ; 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 …]
Dstrpbrk-2.ll1 ; 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/
DStrPBrk.ll9 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/
Dgetethertype.c91 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/
Dstring.h81 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
Dcstring44 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/
Dstringextra.c161 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/
Dstring.in.h467 _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 - "
Dw32spawn.h157 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/
Dstr_tester.c652 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/
Dstring.h779 _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/
Dstring.h779 _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/
Dlibcalls-fno-builtin.c28 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/
Dstring_h.pass.cpp40 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/
Dvg_libciface.h64 #define strpbrk(_ss,_aa) VG_(strpbrk)((_ss),(_aa)) macro
/external/libcxx/test/std/strings/c.strings/
Dcstring.pass.cpp40 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/
Dstrpbrk.c11 r = strpbrk(s1, s2); in main()
/external/compiler-rt/test/asan/TestCases/
Dstrpbrk-2.c16 r = strpbrk(s1, s2); in main()
Dstrpbrk-1.c16 r = strpbrk(s1, s2); in main()
Dstrpbrk_strict.c18 char* r = strpbrk(s1, s2); in main()
/external/syslinux/com32/lib/
Dstrsep.c15 e = strpbrk(s, delim); in strsep()
Dstrspn.c55 char *strpbrk(const char *s, const char *accept) in strpbrk() function
/external/curl/lib/vauth/
Dvauth.c134 char *p = strpbrk(user, "\\/@"); in Curl_auth_user_contains_domain()
/external/syslinux/com32/lua/src/
Dlobject.c160 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/
Dlobject.c160 if (strpbrk(s, "nN")) /* reject 'inf' and 'nan' */ in luaO_str2d()
162 else if (strpbrk(s, "xX")) /* hexa? */ in luaO_str2d()

12345