Home
last modified time | relevance | path

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

12

/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/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/main/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/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/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/clang/test/CodeGen/
Dlibcalls-fno-builtin.c21 char *strpbrk(const char *s1, const char *s2);
91 char *t16(char *x) { return strpbrk(x, ""); } in t16()
/external/valgrind/main/coregrind/m_demangle/
Dvg_libciface.h64 #define strpbrk(_ss,_aa) VG_(strpbrk)((_ss),(_aa)) macro
/external/clang/lib/Basic/
DBuiltins.cpp87 const char *Printf = strpbrk(GetRecord(ID).Attributes, "pP"); in isPrintfLike()
106 const char *Scanf = strpbrk(GetRecord(ID).Attributes, "sS"); in isScanfLike()
/external/openfst/src/lib/
Dcompat.cc36 if ((p = strpbrk(full, delim))) in SplitToVector()
/external/kernel-headers/original/linux/
Dstring.h70 extern char * strpbrk(const char *,const char *);
/external/libppp/src/
Diplist.c66 if ((ptr = strpbrk(range, ",-")) == NULL) { in iplist_setrange()
81 if ((ptr = strpbrk(to, ",-")) == NULL) in iplist_setrange()
/external/stlport/test/unit/
Dcstring_test.cpp64 CPPUNIT_CHECK( std::strpbrk(foo, "abcdo") == foo + 1 ); in import_checks()
/external/stlport/stlport/using/
Dcstring28 using _STLP_VENDOR_CSTD::strpbrk;
/external/clang/lib/Driver/
DCompilation.cpp79 if (!Quote && !std::strpbrk(*it, " \"\\$")) { in PrintJob()
173 if (!std::strpbrk(*it, " \"\\$")) { in PrintDiagnosticJob()
/external/openssh/
Dmisc.c173 *s = strpbrk(*s, WHITESPACE QUOTE "="); in strdelim()
180 if ((*s = strpbrk(*s, QUOTE)) == NULL) { in strdelim()
397 } else if ((s = strpbrk(s, ":/")) == NULL) in hpdelim()
/external/linux-tools-perf/util/
Dprobe-event.c695 ptr = strpbrk(arg, ";=@+%"); in parse_perf_probe_point()
715 ptr = strpbrk(arg, ";:+@%"); in parse_perf_probe_point()
741 ptr = strpbrk(arg, ";:+@%"); in parse_perf_probe_point()
859 tmp = strpbrk(str, "-.["); in parse_perf_probe_arg()
905 tmp = strpbrk(str, "-.["); in parse_perf_probe_arg()
1895 if (strpbrk(buf, "*?")) { /* Glob-exp */ in del_trace_probe_event()
/external/bison/m4/
Dstring_h.m431 strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r
/external/valgrind/main/include/
Dpub_tool_libcbase.h88 extern Char* VG_(strpbrk) ( const Char* s, const Char* accpt );
/external/llvm/include/llvm/Target/
DTargetLibraryInfo.h539 strpbrk, enumerator
/external/valgrind/main/exp-sgcheck/
Dh_intercepts.c392 STRPBRK(VG_Z_LIBC_SONAME, strpbrk)
/external/valgrind/main/coregrind/
Dm_libcbase.c254 Char* VG_(strpbrk) ( const Char* s, const Char* accpt ) in VG_() argument
439 s = VG_(strpbrk (token, delim)); in VG_()
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc90 for (str = strpbrk(str, remove); in StripString()
92 str = strpbrk(str + 1, remove)) { in StripString()

12