Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-7.0/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/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-7.0/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-7.0/llvm/test/Transforms/SimpleLoopUnswitch/
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/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp127 int name_length = strcspn(pos, kDelimiters); in parseCommand()
136 int offset_length = strcspn(pos, kDelimiters); in parseCommand()
/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/u-boot/include/linux/
Dstring.h91 size_t strcspn(const char *s, const char *reject);
/external/toybox/toys/lsb/
Dseq.c52 if (dp++) TT.precision = maxof(TT.precision, strcspn(dp, "eE")); in parsef()
/external/ImageMagick/MagickCore/
Dxml-tree.c1629 xml+=strcspn(xml,XMLWhitespace); in ParseProcessingInstructions()
1731 xml=n+strcspn(n,XMLWhitespace); in ParseInternalDoctype()
1792 xml=t+strcspn(t,XMLWhitespace ">"); in ParseInternalDoctype()
1804 xml=n+strcspn(n,XMLWhitespace); in ParseInternalDoctype()
1820 strcspn(xml,XMLWhitespace); in ParseInternalDoctype()
1834 xml+=strcspn(xml,XMLWhitespace ">")-1; in ParseInternalDoctype()
2035 p+=strcspn(p,XMLWhitespace "/>"); in NewXMLTree()
2073 p+=strcspn(p,XMLWhitespace "=/>"); in NewXMLTree()
2181 p+=strcspn(tag,XMLWhitespace ">")+1; in NewXMLTree()
2250 p+=strcspn(p+1,"[]>")+1; in NewXMLTree()
/external/openssh/
Dsshlogin.c109 time_string[strcspn(time_string, "\n")] = '\0'; in store_lastlog_message()
/external/toybox/toys/pending/
Dgroupadd.c97 if (s[strcspn(s, ":/\n")] || strlen(s) > LOGIN_NAME_MAX) in groupadd_main()
/external/dtc/tests/
Dsupernode_atdepth_offset.c64 p = p+1 + strcspn(p+1, "/"); in path_prefix()
/external/kmod/testsuite/
Ddelete_module.c66 modnamelen = strcspn(p, ":"); in parse_retcodes()

12345