Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-7.0/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/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/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c165 args = nextarg + strspn(nextarg, whitespace); in get_range()
179 args = nextarg + strspn(nextarg, whitespace); in get_range()
572 args = nextarg + strspn(nextarg, whitespace); in migrate_process()
654 args += strspn(args, whitespace); in show_seg()
675 args += strspn(args, whitespace); in anon_seg()
680 args = nextarg + strspn(nextarg, whitespace); in anon_seg()
688 args = nextarg + strspn(nextarg, whitespace); in anon_seg()
713 args += strspn(args, whitespace); in file_seg()
718 args = nextarg + strspn(nextarg, whitespace); in file_seg()
746 args += strspn(args, whitespace); in remove_seg()
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/
DStrSpn.ll9 declare i64 @strspn(i8*, i8*)
15 %test1 = call i64 @strspn(i8* %s1, i8* %null_p)
16 %test2 = call i64 @strspn(i8* %null_p, i8* %s2)
17 %test3 = call i64 @strspn(i8* %abcba_p, i8* %abc_p)
18 ; CHECK-NOT: call i64 @strspn
19 %test4 = call i64 @strspn(i8* %s1, i8* %s2)
20 ; CHECK: call i64 @strspn(i8* %s1, i8* %s2)
/external/curl/lib/
Dcurl_path.c130 cp += strspn(cp, WHITESPACE); in Curl_get_pathname()
168 *cpp = cp + i + strspn(cp + i, WHITESPACE); in Curl_get_pathname()
176 *cpp = end + strspn(end, WHITESPACE); in Curl_get_pathname()
/external/clang/test/CodeGen/
Dlibcalls-fno-builtin.c29 size_t strspn(const char *s1, const char *s2);
102 size_t t17(char *x) { return strspn(x, ""); } in t17()
/external/ImageMagick/MagickCore/
Dxml-tree.c1532 i=(ssize_t) strspn(xml,accept); in ParseEntities()
1633 xml+=strspn(xml+1,XMLWhitespace)+1; in ParseProcessingInstructions()
1639 (strncmp(xml+strspn(xml+10,XMLWhitespace "='\"")+10,"yes",3) == 0)) in ParseProcessingInstructions()
1724 if (strspn(xml+8,XMLWhitespace) == 0) in ParseInternalDoctype()
1726 xml+=strspn(xml+8,XMLWhitespace)+8; in ParseInternalDoctype()
1728 n=xml+strspn(xml,XMLWhitespace "%"); in ParseInternalDoctype()
1733 v=xml+strspn(xml+1,XMLWhitespace)+1; in ParseInternalDoctype()
1783 t=xml+strspn(xml+9,XMLWhitespace)+9; in ParseInternalDoctype()
1801 while ((*(n=xml+strspn(xml+1,XMLWhitespace)+1) != '\0') && in ParseInternalDoctype()
1815 xml+=strspn(xml+1,XMLWhitespace)+1; in ParseInternalDoctype()
[all …]
/external/compiler-rt/test/sanitizer_common/TestCases/
Dstrspn.c10 r = strspn(s1, s2); in main()
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp117 pos += strspn(pos, kDelimiters); in parseCommand()
135 pos += strspn(pos, kDelimiters); in parseCommand()
/external/libcxx/include/
Dcstring48 size_t strspn(const char* s1, const char* s2);
86 using ::strspn;
/external/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp118 pos += strspn(pos, kDelimiters); in parseCommand()
136 pos += strspn(pos, kDelimiters); in parseCommand()
/external/selinux/libsemanage/src/
Dutilities.c82 off = strspn(str, seps); in semanage_split_on_space()
84 off += strspn(str + off, seps); in semanage_split_on_space()
/external/u-boot/include/linux/
Dstring.h15 extern __kernel_size_t strspn(const char *,const char *);
/external/u-boot/tools/
Dmingw_support.c93 s += strspn(s, delim); in strtok_r()
/external/u-boot/lib/
Dstring.c335 size_t strspn(const char *s, const char *accept) in strspn() function
391 sbegin += strspn(sbegin,ct); in strtok()
/external/dtc/
Dchecks.c246 int n = strspn(node->name, c->data); in check_node_name_chars()
257 int n = strspn(node->name, c->data); in check_node_name_chars_strict()
304 int n = strspn(prop->name, c->data); in check_property_name_chars()
321 int n = strspn(name, c->data); in check_property_name_chars_strict()
336 n = strspn(name, c->data); in check_property_name_chars_strict()
/external/libcxx/test/std/strings/c.strings/
Dcstring.pass.cpp45 ASSERT_SAME_TYPE(std::size_t, decltype(std::strspn(cpc, cpc))); in main()
/external/lua/src/
Dlbaselib.c51 s += strspn(s, SPACECHARS); /* skip initial spaces */ in b_str2int()
63 s += strspn(s, SPACECHARS); /* skip trailing spaces */ in b_str2int()
/external/u-boot/scripts/dtc/
Dchecks.c287 int n = strspn(node->name, c->data); in check_node_name_chars()
298 int n = strspn(node->name, c->data); in check_node_name_chars_strict()
342 int n = strspn(prop->name, c->data); in check_property_name_chars()
359 int n = strspn(name, c->data); in check_property_name_chars_strict()
374 n = strspn(name, c->data); in check_property_name_chars_strict()
661 if (strspn(prop->name, LOWERCASE DIGITS "-") != strlen(prop->name)) in check_alias_paths()
/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()

1234