Home
last modified time | relevance | path

Searched refs:strcspn (Results 1 – 25 of 77) sorted by relevance

1234

/external/llvm/test/Transforms/InstCombine/
Dstrcspn-1.ll1 ; Test that the strcspn library call simplifier works correctly.
11 declare i64 @strcspn(i8*, i8*)
13 ; Check strcspn(s, "") -> strlen(s).
19 %ret = call i64 @strcspn(i8* %str, i8* %pat)
25 ; Check strcspn("", s) -> 0.
31 %ret = call i64 @strcspn(i8* %str, i8* %pat)
36 ; Check strcspn(s1, s2), where s1 and s2 are constants.
43 %ret = call i64 @strcspn(i8* %str, i8* %pat)
53 %ret = call i64 @strcspn(i8* %str, i8* %pat)
54 ; CHECK-NEXT: %ret = call i64 @strcspn(i8* %str, i8* %pat)
Dstrcspn-2.ll1 ; Test that the strcspn library call simplifier works correctly.
9 declare double @strcspn(i8*, i8*)
11 ; Check that strcspn functions with the wrong prototype aren't simplified.
17 %ret = call double @strcspn(i8* %str, i8* %pat)
18 ; CHECK-NEXT: call double @strcspn
Ddisable-simplify-libcalls.ll39 declare i64 @strcspn(i8*, i8*)
245 %ret = call i64 @strcspn(i8* %x, i8* %y)
247 ; CHECK: call i64 @strcspn
/external/avahi/avahi-daemon/
Dstatic-hosts.c198 s[strcspn(s, "#\r\n")] = 0; in static_hosts_load()
205 len = strcspn(s, " \t"); in static_hosts_load()
213 len = strcspn(s, " \t"); in static_hosts_load()
Dini-file-parser.c62 s[strcspn(s, "\r\n")] = 0; in avahi_ini_file_load()
161 size_t n, l = strcspn(t, ","); in avahi_split_csv()
/external/avahi/avahi-core/
Ddomain-util.c41 s[strcspn(s, ".")] = 0; in strip_bad_chars()
74 p[strcspn(p, "\"")] = 0; in load_lsb_distrib_id()
/external/llvm/test/Transforms/LoopUnswitch/
D2007-07-12-ExitDomInfo.ll20 …%tmp31 = call i32 @strcspn( i8* null, i8* getelementptr ([3 x i8], [3 x i8]* @str3, i64 0, i64 0) …
45 declare i32 @strcspn(i8*, i8*)
/external/valgrind/coregrind/m_demangle/
Dvg_libciface.h59 #define strcspn(_ss,_rr) VG_(strcspn)((_ss),(_rr)) macro
/external/avahi/avahi-compat-howl/include/salt/
Dplatform.h175 # define sw_strcspn(ARG1, ARG2) strcspn(ARG1, ARG2)
212 # define sw_strcspn(ARG1, ARG2) strcspn(ARG1, ARG2)
230 # define sw_strcspn(ARG1, ARG2) strcspn(ARG1, ARG2)
256 # define sw_strcspn(ARG1, ARG2) strcspn(ARG1, ARG2)
/external/compiler-rt/test/sanitizer_common/TestCases/
Dstrcspn.c10 r = strcspn(s1, s2); in main()
/external/mesa3d/src/glsl/
Ds_expression.cpp50 n = strcspn(src, "\n"); in skip_whitespace()
64 size_t n = strcspn(src, "( \v\t\r\n);"); in read_atom()
/external/compiler-rt/test/asan/TestCases/
Dstrcspn-1.c16 r = strcspn(s1, s2); in main()
Dstrcspn-2.c16 r = strcspn(s1, s2); in main()
Dstrcspn_strict.c19 size_t r = strcspn(s1, s2); in main()
/external/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp126 int name_length = strcspn(pos, kDelimiters); in parseCommand()
135 int offset_length = strcspn(pos, kDelimiters); in parseCommand()
/external/libcxx/include/
Dcstring43 size_t strcspn(const char* s1, const char* s2);
86 using ::strcspn;
/external/ltrace/
Doptions.c291 size_t s = strcspn(expr, &"-+@"[operators ? 0 : 2]); in parse_filter()
310 s = strcspn(next, &"-+"[operators ? 0 : 2]); in parse_filter()
464 size_t len = strcspn(tok, ":"); in parse_colon_separated_list()
/external/toybox/toys/pending/
Dgroupadd.c97 if (s[strcspn(s, ":/\n")] || strlen(s) > LOGIN_NAME_MAX) in groupadd_main()
Duseradd.c54 if (s[strcspn(s, ":/\n")] || strlen(s) > LOGIN_NAME_MAX)
/external/toybox/scripts/
Dconfig2help.c341 int ff = strcspn(from, " ]"), tt = strcspn(to, " ]"); in main()
/external/libcxx/test/std/depr/depr.c.headers/
Dstring_h.pass.cpp39 static_assert((std::is_same<decltype(strcspn(cpc, cpc)), size_t>::value), ""); in main()
/external/libmtp/examples/
Dconnect.c60 sepp = argument + strcspn(argument, ","); in split_arg()
/external/libcxx/test/std/strings/c.strings/
Dcstring.pass.cpp41 static_assert((std::is_same<decltype(std::strcspn(cpc, cpc)), std::size_t>::value), ""); in main()
/external/skia/src/gpu/gl/
DGrGLExtensions.cpp58 size_t length = strcspn(in, " "); in eat_space_sep_strings()
/external/libdaemon/libdaemon/
Ddpid.c134 txt[strcspn(txt, "\r\n")] = 0; in daemon_pid_file_is_running()

1234