Home
last modified time | relevance | path

Searched refs:strspn (Results 1 – 25 of 53) 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/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/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp95 pos += strspn(pos, kDelimiters); in parseCommand()
113 pos += strspn(pos, kDelimiters); in parseCommand()
/external/libcxx/include/
Dcstring48 size_t strspn(const char* s1, const char* s2);
92 using ::strspn;
/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/openssh/
Dmisc.c186 *s += strspn(*s + 1, WHITESPACE) + 1; in strdelim()
197 *s += strspn(*s + 1, WHITESPACE) + 1; in strdelim()
199 *s += strspn(*s + 1, WHITESPACE) + 1; in strdelim()
Daddrmatch.c473 if (strspn(cp, VALID_CIDR_CHARS) != strlen(cp)) { in addr_match_cidr_list()
Dssh-keygen.c2008 cp = line + strspn(line, " \t"); in update_krl_from_file()
2032 cp = cp + strspn(cp, " \t"); in update_krl_from_file()
2069 cp = cp + strspn(cp, " \t"); in update_krl_from_file()
2075 cp = cp + strspn(cp, " \t"); in update_krl_from_file()
2079 cp = cp + strspn(cp, " \t"); in update_krl_from_file()
Dservconf.c1622 len = strspn(cp, WHITESPACE); in process_server_config_line()
1667 len = strspn(cp, WHITESPACE); in process_server_config_line()
1683 len = strspn(cp, WHITESPACE); in process_server_config_line()
1800 cp = line + strspn(line, " \t\r"); in load_server_config()
Dmoduli.c661 cp += strspn(cp, " "); in prime_test()
/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/bison/lib/
Dstring.in.h506 # undef strspn
508 _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings "
/external/valgrind/include/
Dpub_tool_libcbase.h96 extern SizeT VG_(strspn) ( const HChar* s, const HChar* accpt );
/external/bison/darwin-lib/
Dstring.h818 # undef strspn
820 _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings "
/external/bison/linux-lib/
Dstring.h818 # undef strspn
820 _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings "
/external/elfutils/src/libdwfl/
Dlinux-proc-maps.c239 char *file = line + nread + strspn (line + nread, " \t"); in proc_maps_report()
/external/valgrind/coregrind/
Dm_libcbase.c449 s += VG_(strspn (s, delim)); in VG_()
591 SizeT VG_(strspn) ( const HChar* s, const HChar* accpt ) in VG_() argument
/external/mesa3d/src/mesa/drivers/dri/common/
Dxmlconfig.c304 string += strspn (string, " \f\n\r\t\v"); in parseValue()
330 tail += strspn (tail, " \f\n\r\t\v"); in parseValue()
/external/bison/src/
Dparse-gram.y750 char *name = xmemdup0 (name_start, strspn (name_start, alphanum)); in add_param()
/external/compiler-rt/lib/dfsan/
Ddone_abilist.txt141 fun:strspn=discard
/external/lldb/source/Interpreter/
DArgs.cpp177 const char *arg_start = ::strspn (arg_pos, k_space_separators) + arg_pos; in SetCommandString()
341 arg_pos = ::strspn (arg_end, k_space_separators) + arg_end; in SetCommandString()

123