Home
last modified time | relevance | path

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

12345

/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
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/
DStrSpn.ll25 declare i64 @strcspn(i8*, i8*)
31 %test1 = call i64 @strcspn(i8* %s1, i8* %null_p)
33 %test2 = call i64 @strcspn(i8* %null_p, i8* %s2)
34 %test3 = call i64 @strcspn(i8* %abcba_p, i8* %abc_p)
35 ; CHECK-NOT: call i64 @strcspn
36 %test4 = call i64 @strcspn(i8* %s1, i8* %s2)
37 ; CHECK: call i64 @strcspn(i8* %s1, i8* %s2)
/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/swiftshader/third_party/LLVM/test/Transforms/LoopUnswitch/
D2007-07-12-ExitDomInfo.ll20 …%tmp31 = call i32 @strcspn( i8* null, i8* getelementptr ([3 x i8]* @str3, i64 0, i64 0) ) ; <i32>…
45 declare i32 @strcspn(i8*, i8*)
/external/mesa3d/src/compiler/glsl/
Ds_expression.cpp51 n = strcspn(src, "\n"); in skip_whitespace()
65 size_t n = strcspn(src, "( \v\t\r\n);"); in read_atom()
/external/valgrind/coregrind/m_demangle/
Dvg_libciface.h59 #define strcspn(_ss,_rr) VG_(strcspn)((_ss),(_rr)) macro
/external/compiler-rt/test/sanitizer_common/TestCases/
Dstrcspn.c10 r = strcspn(s1, s2); in main()
/external/compiler-rt/test/asan/TestCases/
Dstrcspn-2.c16 r = strcspn(s1, s2); in main()
Dstrcspn-1.c16 r = strcspn(s1, s2); in main()
Dstrcspn_strict.c19 size_t r = strcspn(s1, s2); in main()
/external/libcxx/include/
Dcstring43 size_t strcspn(const char* s1, const char* s2);
83 using ::strcspn;
/external/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp128 int name_length = strcspn(pos, kDelimiters); in parseCommand()
137 int offset_length = strcspn(pos, kDelimiters); in parseCommand()
/external/mesa3d/src/util/
Ddebug.c43 for (; n = strcspn(s, ", "), *s; s += MAX2(1, n)) { in parse_debug_string()
/external/syslinux/com32/lib/
Dstrspn.c50 size_t strcspn(const char *s, const char *reject) in strcspn() function
/external/syslinux/com32/include/
Dstring.h26 __extern size_t strcspn(const char *, const char *);
/external/syslinux/gpxe/src/include/
Dstring.h35 size_t __pure strcspn(const char *s, const char *reject) __nonnull;
/external/toybox/toys/pending/
Dgroupadd.c97 if (s[strcspn(s, ":/\n")] || strlen(s) > LOGIN_NAME_MAX) in groupadd_main()
/external/openssh/
Dsshlogin.c109 time_string[strcspn(time_string, "\n")] = '\0'; in store_lastlog_message()
/external/dtc/tests/
Dsupernode_atdepth_offset.c64 p = p+1 + strcspn(p+1, "/"); in path_prefix()
/external/libmtp/examples/
Dconnect.c44 sepp = argument + strcspn(argument, ","); in split_arg()
/external/kmod/testsuite/
Ddelete_module.c66 modnamelen = strcspn(p, ":"); in parse_retcodes()
/external/ImageMagick/MagickCore/
Dxml-tree.c1621 xml+=strcspn(xml,XMLWhitespace); in ParseProcessingInstructions()
1721 xml=n+strcspn(n,XMLWhitespace); in ParseInternalDoctype()
1782 xml=t+strcspn(t,XMLWhitespace ">"); in ParseInternalDoctype()
1794 xml=n+strcspn(n,XMLWhitespace); in ParseInternalDoctype()
1810 strcspn(xml,XMLWhitespace); in ParseInternalDoctype()
1824 xml+=strcspn(xml,XMLWhitespace ">")-1; in ParseInternalDoctype()
2025 p+=strcspn(p,XMLWhitespace "/>"); in NewXMLTree()
2062 p+=strcspn(p,XMLWhitespace "=/>"); in NewXMLTree()
2168 p+=strcspn(tag,XMLWhitespace ">")+1; in NewXMLTree()
2237 p+=strcspn(p+1,"[]>")+1; in NewXMLTree()
/external/toybox/scripts/
Dconfig2help.c357 int ff = strcspn(from, " ]"), tt = strcspn(to, " ]"); in main()
/external/syslinux/gpxe/src/core/
Dstringextra.c137 size_t strcspn(const char *s, const char *reject) in strcspn() function

12345