Home
last modified time | relevance | path

Searched refs:strspn (Results 1 – 25 of 61) sorted by relevance

123

/external/llvm/test/Transforms/InstCombine/
Dstrspn-1.ll1 ; Test that the strspn library call simplifier works correctly.
11 declare i64 @strspn(i8*, i8*)
13 ; Check strspn(s, "") -> 0.
19 %ret = call i64 @strspn(i8* %str, i8* %pat)
24 ; Check strspn("", s) -> 0.
30 %ret = call i64 @strspn(i8* %str, i8* %pat)
35 ; Check strspn(s1, s2), where s1 and s2 are constants.
42 %ret = call i64 @strspn(i8* %str, i8* %pat)
52 %ret = call i64 @strspn(i8* %str, i8* %pat)
53 ; CHECK-NEXT: %ret = call i64 @strspn(i8* %str, i8* %pat)
Ddisable-simplify-libcalls.ll31 declare i64 @strspn(i8*, i8*)
181 %ret = call i64 @strspn(i8* %x, i8* %y)
183 ; CHECK: call i64 @strspn
/external/avahi/avahi-daemon/
Dstatic-hosts.c196 s = ln + strspn(ln, " \t"); in static_hosts_load()
212 s += strspn(s, " \t"); in static_hosts_load()
228 s += strspn(s, " \t"); in static_hosts_load()
Dini-file-parser.c61 s = ln + strspn(ln, " \t"); in avahi_ini_file_load()
/external/clang/test/CodeGen/
Dlibcalls-fno-builtin.c22 size_t strspn(const char *s1, const char *s2);
95 size_t t17(char *x) { return strspn(x, ""); } in t17()
/external/valgrind/coregrind/m_demangle/
Dvg_libciface.h65 #define strspn(_ss,_aa) VG_(strspn)((_ss),(_aa)) macro
/external/compiler-rt/test/sanitizer_common/TestCases/
Dstrspn.c10 r = strspn(s1, s2); in main()
/external/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp116 pos += strspn(pos, kDelimiters); in parseCommand()
134 pos += strspn(pos, kDelimiters); in parseCommand()
/external/compiler-rt/test/asan/TestCases/
Dstrspn-2.c16 r = strspn(s1, s2); in main()
Dstrspn-1.c16 r = strspn(s1, s2); in main()
Dstrspn_strict.c18 size_t r = strspn(s1, s2); in main()
/external/libcxx/include/
Dcstring48 size_t strspn(const char* s1, const char* s2);
92 using ::strspn;
/external/avahi/avahi-core/
Ddomain-util.c73 p += strspn(p, "\""); in load_lsb_distrib_id()
/external/libcxx/test/std/depr/depr.c.headers/
Dstring_h.pass.cpp42 static_assert((std::is_same<decltype(strspn(cpc, cpc)), size_t>::value), ""); in main()
/external/libcxx/test/std/strings/c.strings/
Dcstring.pass.cpp46 static_assert((std::is_same<decltype(std::strspn(cpc, cpc)), std::size_t>::value), ""); in main()
/external/mesa3d/src/glsl/
Ds_expression.cpp45 size_t n = strspn(src, " \v\t\r\n"); in skip_whitespace()
/external/valgrind/memcheck/tests/
Dstr_tester.c708 check(strspn("abcba", "abc") == 5, 1); /* Whole string. */ in test_strspn()
709 check(strspn("abcba", "ab") == 2, 2); /* Partial. */ in test_strspn()
710 check(strspn("abc", "qx") == 0, 3); /* None. */ in test_strspn()
711 check(strspn("", "ab") == 0, 4); /* Null string. */ in test_strspn()
712 check(strspn("abc", "") == 0, 5); /* Null search list. */ in test_strspn()
/external/webrtc/webrtc/base/
Dsslidentity.cc203 size_t n = strspn(reinterpret_cast<const char*>(s), "0123456789"); in ASN1TimeToSec()
/external/bison/lib/
Dstring.in.h506 # undef strspn
508 _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings "
/external/skia/src/core/
DSkString.cpp647 str += strspn(str, delimiters); in SkStrSplit()
666 str += strspn(str, delimiters); in SkStrSplit()
/external/valgrind/include/
Dpub_tool_libcbase.h96 extern SizeT VG_(strspn) ( const HChar* s, const HChar* accpt );
/external/iproute2/lib/
Dutils.c982 for (cp = line + strspn(line, ws); *cp; cp += strspn(cp, ws)) { in makeargs()
/external/bison/linux-lib/
Dstring.h818 # undef strspn
820 _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings "
/external/bison/darwin-lib/
Dstring.h818 # undef strspn
820 _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings "
/external/compiler-rt/lib/asan/
Dasan_win_dll_thunk.cc400 INTERCEPT_LIBRARY_FUNCTION(strspn);

123