Home
last modified time | relevance | path

Searched refs:strspn (Results 1 – 25 of 68) 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/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp78 pos += strspn(pos, kDelimiters); in parseCommand()
93 pos += strspn(pos, kDelimiters); in parseCommand()
/external/valgrind/main/coregrind/m_demangle/
Dvg_libciface.h65 #define strspn(_ss,_aa) VG_(strspn)((_ss),(_aa)) macro
/external/stlport/stlport/
Dwchar.h33 using _STLP_VENDOR_CSTD::strspn;
/external/kernel-headers/original/linux/
Dstring.h76 extern __kernel_size_t strspn(const char *,const char *);
/external/chromium_org/third_party/cld/encodings/compact_lang_det/
Dext_lang_enc.cc290 if (strspn(src, "0123456789") == strlen(src)) { in GetLanguageFromNumberOrName()
498 if (strspn(src, "0123456789") == strlen(src)) { in GetLScriptFromNumberOrName()
/external/stlport/test/unit/
Dcstring_test.cpp67 CPPUNIT_CHECK( std::strspn(foofoo, "aofz") == 6 ); in import_checks()
/external/libppp/src/
Dnetgraph.c119 data += strspn(data, " \t"); in ng_MessageOut()
130 data += strspn(data, " \t"); in ng_MessageOut()
153 data += strspn(data, " \t"); in ng_MessageOut()
447 *endp += strspn(*endp, sep); in getsegment()
/external/stlport/stlport/using/
Dcstring57 using _STLP_VENDOR_CSTD::strspn;
/external/openssl/crypto/x509v3/
Dv3_addr.c990 t += strspn(t, " \t"); in v2i_IPAddrBlocks()
996 t += strspn(t, " \t"); in v2i_IPAddrBlocks()
1021 i1 = strspn(s, addr_chars); in v2i_IPAddrBlocks()
1022 i2 = i1 + strspn(s + i1, " \t"); in v2i_IPAddrBlocks()
1046 i1 = i2 + strspn(s + i2, " \t"); in v2i_IPAddrBlocks()
1047 i2 = i1 + strspn(s + i1, addr_chars); in v2i_IPAddrBlocks()
Dv3_asid.c585 i1 = strspn(val->value, "0123456789"); in v2i_ASIdentifiers()
590 i2 = i1 + strspn(val->value + i1, " \t"); in v2i_ASIdentifiers()
597 i2 = i2 + strspn(val->value + i2, " \t"); in v2i_ASIdentifiers()
598 i3 = i2 + strspn(val->value + i2, "0123456789"); in v2i_ASIdentifiers()
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/
Dv3_addr.c990 t += strspn(t, " \t"); in v2i_IPAddrBlocks()
996 t += strspn(t, " \t"); in v2i_IPAddrBlocks()
1021 i1 = strspn(s, addr_chars); in v2i_IPAddrBlocks()
1022 i2 = i1 + strspn(s + i1, " \t"); in v2i_IPAddrBlocks()
1046 i1 = i2 + strspn(s + i2, " \t"); in v2i_IPAddrBlocks()
1047 i2 = i1 + strspn(s + i1, addr_chars); in v2i_IPAddrBlocks()
Dv3_asid.c585 i1 = strspn(val->value, "0123456789"); in v2i_ASIdentifiers()
590 i2 = i1 + strspn(val->value + i1, " \t"); in v2i_ASIdentifiers()
597 i2 = i2 + strspn(val->value + i2, " \t"); in v2i_ASIdentifiers()
598 i3 = i2 + strspn(val->value + i2, "0123456789"); in v2i_ASIdentifiers()
/external/srec/tools/grxmlcompile/
Dgrxmldoc.cpp65 if(strspn(sval.c_str(),"0123456789")<1) return 1; in get_range()
71 if(strspn(sval.c_str(),"0123456789")<1) return 1; in get_range()
79 if(strspn(sval.c_str(),"0123456789")<1) return 1; in get_range()
84 if(strspn(s.c_str(),"0123456789")<1) return 1; in get_range()
1250 && strspn(label+SCRIPT_LABEL_PREFIX_LEN,"0123456789")==strlen(label+SCRIPT_LABEL_PREFIX_LEN) ) { in WriteOLabels()
/external/openssl/apps/
Dengine.c376 if(strspn(*argv + 1, "v") < strlen(*argv + 1)) in MAIN()
386 if(strspn(*argv + 1, "t") < strlen(*argv + 1)) in MAIN()
/external/chromium_org/third_party/openssl/openssl/apps/
Dengine.c376 if(strspn(*argv + 1, "v") < strlen(*argv + 1)) in MAIN()
386 if(strspn(*argv + 1, "t") < strlen(*argv + 1)) in MAIN()
/external/qemu/
Dpath.c124 name += strspn(name, "/"); in follow_path()
/external/mesa3d/src/glsl/
Ds_expression.cpp45 size_t n = strspn(src, " \v\t\r\n"); in skip_whitespace()
/external/chromium_org/third_party/mesa/src/src/glsl/
Ds_expression.cpp45 size_t n = strspn(src, " \v\t\r\n"); in skip_whitespace()
/external/openssh/
Dmisc.c184 *s += strspn(*s + 1, WHITESPACE) + 1; in strdelim()
195 *s += strspn(*s + 1, WHITESPACE) + 1; in strdelim()
197 *s += strspn(*s + 1, WHITESPACE) + 1; in strdelim()
/external/valgrind/main/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/elfutils/libdwfl/
Dlinux-proc-maps.c191 char *file = line + nread + strspn (line + nread, " \t"); in proc_maps_report()
/external/valgrind/main/include/
Dpub_tool_libcbase.h99 extern SizeT VG_(strspn) ( const Char* s, const Char* accpt );

123