Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-7.0/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
Ddisable-simplify-libcalls.ll30 declare i8* @strpbrk(i8*, i8*)
173 %ret = call i8* @strpbrk(i8* %x, i8* %y)
175 ; CHECK: call i8* @strpbrk
/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
Ddisable-simplify-libcalls.ll30 declare i8* @strpbrk(i8*, i8*)
173 %ret = call i8* @strpbrk(i8* %x, i8* %y)
175 ; CHECK: call i8* @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/u-boot/common/
Dhwconfig.c43 if (str && (str == opts || strpbrk(str - 1, stopchs) == str - 1) && in hwconfig_parse()
44 (strpbrk(end, stopchs) == end || *end == eqch || in hwconfig_parse()
54 arg_end = strpbrk(str, stopchs); in hwconfig_parse()
/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/strings/c.strings/
Dcstring.pass.cpp43 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/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/u-boot/lib/
Dstring.c361 char * strpbrk(const char * cs,const char * ct) in strpbrk() function
396 send = strpbrk( sbegin, ct); in strtok()
423 end = strpbrk(sbegin, ct); in strsep()
/external/compiler-rt/test/sanitizer_common/TestCases/
Dstrpbrk.c11 r = strpbrk(s1, s2); in main()
/external/compiler-rt/test/asan/TestCases/
Dstrpbrk-1.c16 r = strpbrk(s1, s2); in main()
Dstrpbrk-2.c16 r = strpbrk(s1, s2); in main()
Dstrpbrk_strict.c18 char* r = strpbrk(s1, s2); in main()
/external/curl/lib/vauth/
Dvauth.c134 char *p = strpbrk(user, "\\/@"); in Curl_auth_user_contains_domain()
/external/u-boot/include/linux/
Dstring.h12 extern char * strpbrk(const char *,const char *);
/external/u-boot/tools/
Dmingw_support.c101 s = strpbrk (token, delim); in strtok_r()
/external/curl/src/
Dtool_doswin.c301 if(strpbrk(&path[truncate_pos - 1], "\\/:")) in truncate_dryrun()
460 if(!(flags & SANITIZE_ALLOW_TRUNCATE) || strpbrk(s, "\\/:") || in msdosify()
/external/curl/lib/
Dcurl_path.c172 end = strpbrk(cp, WHITESPACE); in Curl_get_pathname()
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dinclude.c111 next = strpbrk(str, "|+"); in ParseIncludeMap()

12345