Home
last modified time | relevance | path

Searched refs:strchr (Results 1 – 25 of 985) sorted by relevance

12345678910>>...40

/external/ltp/testcases/kernel/io/disktest/
Dparse.c108 if (strchr(optarg, 'g')) { in fill_cld_args()
111 if (strchr(optarg, 'c')) { in fill_cld_args()
114 if (strchr(optarg, 'm')) { in fill_cld_args()
117 if (strchr(optarg, 'r')) { in fill_cld_args()
120 if (strchr(optarg, 's')) { in fill_cld_args()
123 if (strchr(optarg, 'S')) { in fill_cld_args()
126 if (strchr(optarg, 'w')) { in fill_cld_args()
129 if (strchr(optarg, 'W')) { in fill_cld_args()
132 if (strchr(optarg, 't')) { in fill_cld_args()
157 if (strchr(optarg, 'L')) in fill_cld_args()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dstrchr-1.ll1 ; Test that the strchr library call simplifier works correctly.
11 declare i8* @strchr(i8*, i32)
15 ; CHECK-NOT: call i8* @strchr
19 %dst = call i8* @strchr(i8* %str, i32 119)
26 ; CHECK-NOT: call i8* @strchr
30 %dst = call i8* @strchr(i8* %str, i32 119)
37 ; CHECK-NOT: call i8* @strchr
41 %dst = call i8* @strchr(i8* %src, i32 0)
48 ; CHECK-NOT: call i8* @strchr
52 %dst = call i8* @strchr(i8* %src, i32 %chr)
[all …]
Dstrchr-2.ll1 ; Test that the strchr libcall simplifier works correctly.
10 declare i8 @strchr(i8*, i32)
14 ; CHECK: call i8 @strchr
18 %dst = call i8 @strchr(i8* %str, i32 119)
/external/clang/include/clang/Basic/
DBuiltins.h99 return strchr(getRecord(ID).Attributes, 'U') != nullptr; in isPure()
105 return strchr(getRecord(ID).Attributes, 'c') != nullptr; in isConst()
110 return strchr(getRecord(ID).Attributes, 'n') != nullptr; in isNoThrow()
115 return strchr(getRecord(ID).Attributes, 'r') != nullptr; in isNoReturn()
120 return strchr(getRecord(ID).Attributes, 'j') != nullptr; in isReturnsTwice()
126 return strchr(getRecord(ID).Attributes, 'u') != nullptr; in isUnevaluated()
132 return strchr(getRecord(ID).Attributes, 'F') != nullptr; in isLibFunction()
139 return strchr(getRecord(ID).Attributes, 'f') != nullptr; in isPredefinedLibFunction()
146 return strchr(getRecord(ID).Attributes, 'i') != nullptr; in isPredefinedRuntimeFunction()
151 return strchr(getRecord(ID).Attributes, 't') != nullptr; in hasCustomTypechecking()
[all …]
/external/valgrind/memcheck/tests/
Dstrchr.stderr.exp32 at 0x........: strchr (vg_replace_strmem.c:...)
3 by 0x........: main (strchr.c:15)
6 at 0x........: strchr (vg_replace_strmem.c:...)
7 by 0x........: main (strchr.c:15)
11 by 0x........: main (strchr.c:16)
Dstrchr.stderr.exp23 by 0x........: main (strchr.c:15)
7 by 0x........: main (strchr.c:15)
11 by 0x........: main (strchr.c:16)
15 by 0x........: main (strchr.c:16)
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/
DStrChr.ll11 declare i8* @strchr(i8*, i32)
16 %world = call i8* @strchr(i8* %hello_p, i32 119)
18 %ignore = call i8* @strchr(i8* %null_p, i32 119)
19 ; CHECK-NOT: call i8* strchr
20 %null = call i8* @strchr(i8* %hello_p, i32 0)
22 %result = call i8* @strchr(i8* %hello_p, i32 %index)
D2007-04-06-strchr-miscompile.ll13 …%tmp3 = tail call i8* @strchr( i8* getelementptr ([5 x i8]* @str, i32 0, i32 2), i32 103 ) …
17 declare i8* @strchr(i8*, i32)
20 …%tmp3 = tail call i8* @strchr( i8* getelementptr ([8 x i8]* @str1, i32 0, i32 2), i32 0 ) …
26 …%tmp3 = tail call i8* @strchr( i8* getelementptr ([5 x i8]* @str2, i32 0, i32 1), i32 80 ) …
DPR7357.ll8 ; CHECK: call arm_aapcscc i8* @strchr
11 call arm_aapcscc i8* @strchr(i8* getelementptr ([11 x i8]* @.str1, i32 0,
16 declare arm_aapcscc i8* @strchr(i8*, i32) nounwind readonly
/external/curl/lib/
Ddict.c152 word = strchr(path, ':'); in dict_do()
155 database = strchr(word, ':'); in dict_do()
158 strategy = strchr(database, ':'); in dict_do()
161 nthdef = strchr(strategy, ':'); in dict_do()
210 word = strchr(path, ':'); in dict_do()
213 database = strchr(word, ':'); in dict_do()
216 nthdef = strchr(database, ':'); in dict_do()
255 ppath = strchr(path, '/'); in dict_do()
Dhostcheck.c78 pattern_wildcard = strchr(pattern, '*'); in hostmatch()
94 pattern_label_end = strchr(pattern, '.'); in hostmatch()
95 if(pattern_label_end == NULL || strchr(pattern_label_end+1, '.') == NULL || in hostmatch()
104 hostname_label_end = strchr(hostname, '.'); in hostmatch()
/external/syslinux/core/fs/pxe/
Durlparse.c44 q = strchr(url, ':'); in url_type()
70 q = strchr(p, ':'); in parse_url()
78 q = strchr(p, '/'); in parse_url()
82 q = strchr(q+1, '#'); in parse_url()
89 r = strchr(p, '@'); in parse_url()
93 s = strchr(p, ':'); in parse_url()
102 r = strchr(p, ':'); in parse_url()
/external/libmicrohttpd/src/testcurl/
Dcurl_version_check.c103 curl_ver = strchr (ver, '/'); in curl_check_version()
131 ssl_ver = strchr (curl_ver, ' '); in curl_check_version()
137 ssl_ver = strchr (ssl_ver, '/'); in curl_check_version()
142 ssl_ver = strchr (ssl_ver, '/'); in curl_check_version()
147 ssl_ver = strchr (ssl_ver, '/'); in curl_check_version()
/external/iptables/extensions/
Dlibip6t_DNAT.c56 start = strchr(arg, '['); in parse_to()
60 colon = strchr(arg, ':'); in parse_to()
61 if (colon && strchr(colon+1, ':')) in parse_to()
66 end = strchr(start, ']'); in parse_to()
72 colon = strchr(end + 1, ':'); in parse_to()
89 error = strchr(colon+1, ':'); in parse_to()
94 dash = strchr(colon, '-'); in parse_to()
122 dash = strchr(start, '-'); in parse_to()
Dlibip6t_SNAT.c59 start = strchr(arg, '['); in parse_to()
63 colon = strchr(arg, ':'); in parse_to()
64 if (colon && strchr(colon+1, ':')) in parse_to()
69 end = strchr(start, ']'); in parse_to()
75 colon = strchr(end + 1, ':'); in parse_to()
92 error = strchr(colon+1, ':'); in parse_to()
97 dash = strchr(colon, '-'); in parse_to()
125 dash = strchr(start, '-'); in parse_to()
/external/icu/icu4c/source/tools/toolutil/
Dpkg_icu.cpp38 const char *listNameEnd=strchr(listname, 0); in isListTextFile()
77 listNameEnd=strchr(listname, 0); in readList()
93 end=strchr(line, '#'); in readList()
98 end=strchr(line, 0); in readList()
108 if(*start==0 || NULL!=strchr(U_PKG_RESERVED_CHARS, *start)) { in readList()
/external/syslinux/com32/lua/src/
Dldblib.c134 if (strchr(options, 'S')) { in db_getinfo()
141 if (strchr(options, 'l')) in db_getinfo()
143 if (strchr(options, 'u')) { in db_getinfo()
148 if (strchr(options, 'n')) { in db_getinfo()
152 if (strchr(options, 't')) in db_getinfo()
154 if (strchr(options, 'L')) in db_getinfo()
156 if (strchr(options, 'f')) in db_getinfo()
278 if (strchr(smask, 'c')) mask |= LUA_MASKCALL; in makemask()
279 if (strchr(smask, 'r')) mask |= LUA_MASKRET; in makemask()
280 if (strchr(smask, 'l')) mask |= LUA_MASKLINE; in makemask()
/external/skia/third_party/lua/src/
Dldblib.c134 if (strchr(options, 'S')) { in db_getinfo()
141 if (strchr(options, 'l')) in db_getinfo()
143 if (strchr(options, 'u')) { in db_getinfo()
148 if (strchr(options, 'n')) { in db_getinfo()
152 if (strchr(options, 't')) in db_getinfo()
154 if (strchr(options, 'L')) in db_getinfo()
156 if (strchr(options, 'f')) in db_getinfo()
278 if (strchr(smask, 'c')) mask |= LUA_MASKCALL; in makemask()
279 if (strchr(smask, 'r')) mask |= LUA_MASKRET; in makemask()
280 if (strchr(smask, 'l')) mask |= LUA_MASKLINE; in makemask()
/external/c-ares/
Dinet_net_pton.c96 n = aresx_sztosi(strchr(xdigits, ch) - xdigits); in inet_net_pton_ipv4()
118 n = aresx_sztosi(strchr(digits, ch) - digits); in inet_net_pton_ipv4()
146 n = aresx_sztosi(strchr(digits, ch) - digits); in inet_net_pton_ipv4()
215 pch = strchr(digits, ch); in getbits()
247 pch = strchr(digits, ch); in getv4()
308 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_net_pton_ipv6()
309 pch = strchr((xdigits = xdigits_u), ch); in inet_net_pton_ipv6()
/external/ltp/pan/
Ddebug.c58 d_level = strchr(d_area, ':'); in set_debug()
73 if ((d_area = strchr(d_area, ',')) != NULL) in set_debug()
76 if ((d_area = strchr(d_level, ',')) == NULL) in set_debug()
/external/syslinux/gpxe/src/core/
Duri.c93 if ( ( tmp = strchr ( raw, '#' ) ) ) { in parse_uri()
103 if ( ( tmp = strchr ( raw, ':' ) ) && ( tmp > ( raw + 1 ) ) ) { in parse_uri()
126 if ( ( tmp = strchr ( path, '?' ) ) ) { in parse_uri()
140 if ( ( tmp = strchr ( authority, '/' ) ) ) { in parse_uri()
154 if ( ( tmp = strchr ( authority, '@' ) ) ) { in parse_uri()
159 if ( ( tmp = strchr ( authority, ':' ) ) ) { in parse_uri()
170 if ( ( tmp = strchr ( uri->host, ':' ) ) ) { in parse_uri()
/external/iw/
Dwowlan.c38 eol = strchr(buf + 5, '\r'); in wowlan_parse_tcp_file()
41 eol = strchr(buf + 5, '\n'); in wowlan_parse_tcp_file()
48 char *port = strchr(buf + 7, ':'); in wowlan_parse_tcp_file()
64 char *port = strchr(buf + 5, ':'); in wowlan_parse_tcp_file()
72 mac = strchr(port, '@'); in wowlan_parse_tcp_file()
115 offs = strchr(len, ','); in wowlan_parse_tcp_file()
120 start = strchr(offs, ','); in wowlan_parse_tcp_file()
138 offs = strchr(len, ','); in wowlan_parse_tcp_file()
143 toks = strchr(offs, ','); in wowlan_parse_tcp_file()
/external/autotest/client/profilers/powertop/src/
Dpowertop.c196 c = strchr(line, ':'); in do_proc_irq()
230 c = strchr(c, ' '); in do_proc_irq()
236 c = strchr(c, ' '); in do_proc_irq()
244 c = strchr(name, '\n'); in do_proc_irq()
524 c = strchr(line, ':'); in print_battery_proc_acpi()
590 sscanf(strchr(line, ':')+2, "%d", &power_present); in print_battery_proc_pmu()
592 sscanf(strchr(line, ':')+2, "%d", &num_batteries); in print_battery_proc_pmu()
613 sscanf(strchr(line, ':')+2, "%x", &flags); in print_battery_proc_pmu()
615 sscanf(strchr(line, ':')+2, "%d", &this_charge_mAh); in print_battery_proc_pmu()
617 sscanf(strchr(line, ':')+2, "%d", &this_max_charge_mAh); in print_battery_proc_pmu()
[all …]
/external/pcre/pcrecpp/
Dpcre_scanner_unittest.cc110 s.GetComments(0, (int)(strchr(input, '/') - input), &comments); in TestScanner()
114 s.GetComments((int)(strchr(input, '/') - input - 1), sizeof(input), in TestScanner()
122 s.GetComments((int)(strchr(input, '/') - input - 1), in TestScanner()
123 (int)(strchr(input + 1, '\n') - input + 1), &comments); in TestScanner()
/external/syslinux/com32/cmenu/libmenu/
Dpasswords.c101 p = strchr(line, '\r'); in init_passwords()
104 p = strchr(line, '\n'); in init_passwords()
116 p = strchr(user, ':'); in init_passwords()
123 p = strchr(pwdhash, ':'); in init_passwords()

12345678910>>...40