Home
last modified time | relevance | path

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

12345678910>>...94

/netbsd-src/tests/usr.bin/xlint/lint1/
H A Dmsg_346.c11 char *strchr(const char *, int); /* C99 7.21.5.2 */
25 ccp = strchr(ccp, 'c'); in example()
26 ccp = strchr(cp, 'c'); in example()
27 /* expect+1: warning: call to 'strchr' effectively discards 'const' from argument [346] */ in example()
28 cp = strchr(ccp, 'c'); in example()
29 cp = strchr(cp, 'c'); in example()
31 take_const_char_ptr(strchr(ccp, 'c')); in example()
32 take_const_char_ptr(strchr(cp, 'c')); in example()
33 /* expect+1: warning: call to 'strchr' effectively discards 'const' from argument [346] */ in example()
34 take_char_ptr(strchr(cc in example()
[all...]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DBuiltins.h100 return strchr(getRecord(ID).Attributes, 'U') != nullptr; in isPure()
106 return strchr(getRecord(ID).Attributes, 'c') != nullptr; in isConst()
111 return strchr(getRecord(ID).Attributes, 'n') != nullptr; in isNoThrow()
116 return strchr(getRecord(ID).Attributes, 'r') != nullptr; in isNoReturn()
121 return strchr(getRecord(ID).Attributes, 'j') != nullptr; in isReturnsTwice()
127 return strchr(getRecord(ID).Attributes, 'u') != nullptr; in isUnevaluated()
133 return strchr(getRecord(ID).Attributes, 'F') != nullptr; in isLibFunction()
140 return strchr(getRecord(ID).Attributes, 'f') != nullptr; in isPredefinedLibFunction()
147 return strchr(getRecord(ID).Attributes, 'h') != nullptr; in isHeaderDependentFunction()
154 return strchr(getRecord(ID).Attributes, 'i') != nullptr; in isPredefinedRuntimeFunction()
[all …]
/netbsd-src/external/gpl2/gmake/dist/
H A Dvmsify.c151 if (strchr (s, '\\') == 0) in showall()
246 s1 = strchr (s+1, '['); in vmsify()
247 s2 = strchr (s+1, ']'); in vmsify()
252 if (strchr (name, '/') == 0) in vmsify()
279 s = strchr (name, '['); in vmsify()
283 s1 = strchr (s+1, '['); in vmsify()
287 && (strchr (s+1, ']') == 0)) in vmsify()
321 s1 = strchr (s, ']'); in vmsify()
373 s = strchr (fptr, '/'); in vmsify()
417 s = strchr (s1, ':'); in vmsify()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/common/
H A Dcpu_frequency.h140 char *val = strchr (temp, ':'); in get_cpu_frequency()
147 char *val = strchr (temp, ':'); in get_cpu_frequency()
152 char *val = strchr (temp, ':'); in get_cpu_frequency()
158 char *val = strchr (temp, ':'); in get_cpu_frequency()
240 if (strchr (temp, ' ') != strrchr (temp, ' ') && ondemand) in get_cpu_frequency()
281 strncmp (strchr (temp + 1, 'C') ? strchr (temp + 1, 'C') : (temp + 4), "ClkTck", 6) == 0) in get_cpu_frequency()
283 char *val = strchr (temp, ':'); in get_cpu_frequency()
/netbsd-src/external/gpl3/binutils/dist/gprofng/common/
H A Dcpu_frequency.h140 char *val = strchr (temp, ':'); in get_cpu_frequency()
147 char *val = strchr (temp, ':'); in get_cpu_frequency()
152 char *val = strchr (temp, ':'); in get_cpu_frequency()
158 char *val = strchr (temp, ':'); in get_cpu_frequency()
240 if (strchr (temp, ' ') != strrchr (temp, ' ') && ondemand) in get_cpu_frequency()
281 strncmp (strchr (temp + 1, 'C') ? strchr (temp + 1, 'C') : (temp + 4), "ClkTck", 6) == 0) in get_cpu_frequency()
283 char *val = strchr (temp, ':'); in get_cpu_frequency()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Ddllwrap.c193 if (strchr (cmd, '/') != NULL) in look_for_prog()
775 && strchr (saved_argv[optind-1], '=')) in main()
869 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
960 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
997 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
1049 quote = (strchr (base_file_name, ' ') in main()
1050 || strchr (base_file_name, '\t')); in main()
1097 quote = (strchr (base_file_name, ' ') in main()
1098 || strchr (base_file_name, '\t')); in main()
1106 quote = (strchr (exp_file_name, ' ') in main()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Ddllwrap.c193 if (strchr (cmd, '/') != NULL) in look_for_prog()
775 && strchr (saved_argv[optind-1], '=')) in main()
869 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
960 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
997 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
1049 quote = (strchr (base_file_name, ' ') in main()
1050 || strchr (base_file_name, '\t')); in main()
1097 quote = (strchr (base_file_name, ' ') in main()
1098 || strchr (base_file_name, '\t')); in main()
1106 quote = (strchr (exp_file_name, ' ') in main()
[all …]
/netbsd-src/external/bsd/ipf/dist/lib/
H A Dload_http.c62 t = strchr(s, '/'); in load_http()
78 u = strchr(s, '@'); in load_http()
87 u = strchr(s, ':'); in load_http()
117 t = strchr(buffer, ' '); in load_http()
126 while ((t = strchr(u, '\r')) != NULL) { in load_http()
149 t = strchr(buffer, '\n'); in load_http()
174 u = strchr(buffer, '#'); in load_http()
H A Dparsewhoisline.c30 s = strchr(src, '(');
50 s = strchr(s, ')');
59 s = strchr(s, ' ');
97 s = strchr(s, ')');
106 s = strchr(s, ' ');
H A Dipft_tx.c130 if ((s = strchr(line, '\n')))
132 if ((s = strchr(line, '\r')))
134 if ((s = strchr(line, '#')))
244 last = strchr(*cpp, ',');
264 last = strchr(*cpp, ',');
280 if ((t = strchr(myflagset, *s)))
301 t = strchr(*cpp, ',');
407 last = strchr(*cpp, ',');
432 last = strchr(*cpp, ',');
454 if ((t = strchr(myflagset, *s)))
[all …]
/netbsd-src/external/bsd/pkg_install/dist/admin/
H A Daudit.c403 if ((delim = strchr(pattern, '>')) != NULL || in check_pkg_history_pattern()
404 (delim = strchr(pattern, '<')) != NULL) in check_pkg_history_pattern()
408 } else if ((delim = strchr(pattern, '>')) != NULL) { in check_pkg_history_pattern()
410 if ((delim = strchr(pattern, '<')) != NULL && delim < end_base) in check_pkg_history_pattern()
413 } else if ((delim = strchr(pattern, '<')) != NULL) { in check_pkg_history_pattern()
435 open_brace = strchr(pattern, '{'); in check_pkg_history1()
437 if ((close_brace = strchr(pattern, '}')) != NULL) in check_pkg_history1()
442 close_brace = strchr(open_brace, '}'); in check_pkg_history1()
443 if (strchr(pattern, '}') != close_brace) in check_pkg_history1()
447 while ((inner_brace = strchr(open_brace + 1, '{')) != NULL) { in check_pkg_history1()
[all …]
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/ppm/
H A Dppm.c102 if(strchr(charClass,password[i]) != NULL) in maxConsPerClass()
257 if (strchr(value, '\n') != NULL) in read_config_attr()
258 strchr(value, '\n')[0] = '\0'; in read_config_attr()
261 if (strchr(min, '\n') != NULL) in read_config_attr()
262 strchr(min, '\n')[0] = '\0'; in read_config_attr()
265 if (strchr(minForPoint, '\n') != NULL) in read_config_attr()
266 strchr(minForPoint, '\n')[0] = '\0'; in read_config_attr()
328 if (strchr(value, '\n') != NULL) in read_config_file()
329 strchr(value, '\n')[0] = '\0'; in read_config_file()
332 if (strchr(min, '\n') != NULL) in read_config_file()
[all …]
/netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/
H A Dsearchpath.cpp115 char *end = strchr(p, PATH_SEP_CHAR); in open_file()
117 end = strchr(p, '\0'); in open_file()
118 int need_slash = end > p && strchr(DIR_SEPS, end[-1]) == 0; in open_file()
153 bool reading = (strchr(mode, 'r') != 0); in open_file_cautious()
172 char *end = strchr(p, PATH_SEP_CHAR); in open_file_cautious()
174 end = strchr(p, '\0'); in open_file_cautious()
175 int need_slash = end > p && strchr(DIR_SEPS, end[-1]) == 0; in open_file_cautious()
/netbsd-src/external/bsd/ntp/dist/libntp/
H A Ddecodenetnum.c106 char * endp = strchr(++haddr, ']'); in decodenetnum()
110 afam = strchr(haddr, ':') ? AF_INET6 : AF_INET; in decodenetnum()
113 char *col = strchr(haddr, ':'); in decodenetnum()
114 char *dot = strchr(haddr, '.'); in decodenetnum()
148 scope = _num_or_dflt(_chop(strchr(haddr, '%')), 0xFFFFFFFFu, scope); in decodenetnum()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/http/
H A Dhttp_lib.c88 host = strchr(p, '@'); in OSSL_parse_url()
97 host_end = strchr(host + 1, ']'); in OSSL_parse_url()
103 host_end = strchr(host, ':'); in OSSL_parse_url()
105 host_end = strchr(host, '/'); in OSSL_parse_url()
107 host_end = strchr(host, '?'); in OSSL_parse_url()
109 host_end = strchr(host, '#'); in OSSL_parse_url()
139 tmp = strchr(p, '?'); in OSSL_parse_url()
149 tmp = strchr(p, '#'); in OSSL_parse_url()
/netbsd-src/usr.sbin/altq/altqstat/
H A Dquip_client.c152 cp = strchr(request, '\n'); in quip_sendrequest()
332 if ((cp = strchr(cp+1, '\n')) == NULL) in quip_selectinterface()
389 if ((cp = strchr(buf, '\n')) != NULL) in quip_chandle2name()
416 while ((cp = strchr(cp, '\n')) != NULL) in quip_printqdisc()
441 if ((cp = strchr(buf, '\n')) != NULL) in quip_printfilter()
453 if ((cp = strchr(name, ':')) != NULL) in extract_ifname()
490 if ((p = strchr(name, ':')) == NULL) in quip_printconfig()
492 else if (strchr(p+1, ':') == NULL) in quip_printconfig()
517 if ((cp = strchr(cp+1, '\n')) == NULL) in quip_printconfig()
/netbsd-src/external/mit/lua/dist/src/
H A Dldblib.c174 if (strchr(options, 'S')) { in db_getinfo()
182 if (strchr(options, 'l')) in db_getinfo()
184 if (strchr(options, 'u')) { in db_getinfo()
189 if (strchr(options, 'n')) { in db_getinfo()
193 if (strchr(options, 'r')) { in db_getinfo()
197 if (strchr(options, 't')) in db_getinfo()
199 if (strchr(options, 'L')) in db_getinfo()
201 if (strchr(options, 'f')) in db_getinfo()
348 if (strchr(smask, 'c')) mask |= LUA_MASKCALL; in makemask()
349 if (strchr(smask, 'r')) mask |= LUA_MASKRET; in makemask()
[all …]
/netbsd-src/common/lib/libc/arch/x86_64/string/
H A Dstrchr.S54 ENTRY(strchr)
138 END(strchr)
143 ENTRY(strchr)
156 END(strchr)
159 STRONG_ALIAS(index,strchr)
/netbsd-src/external/bsd/libbind/dist/irs/
H A Dnis_pw.c232 if (!(cp = strchr(cp, ':'))) in makepasswdent()
240 if (!(cp = strchr(cp, ':'))) in makepasswdent()
245 if (!(cp = strchr(cp, ':'))) in makepasswdent()
250 if (!(cp = strchr(cp, ':'))) in makepasswdent()
255 if (!(cp = strchr(cp, ':'))) in makepasswdent()
260 if (!(cp = strchr(cp, ':'))) in makepasswdent()
266 if ((cp = strchr(cp, '\n')) != NULL) in makepasswdent()
H A Ddns_pw.c195 if (!(cp = strchr(cp, ':'))) in getpwcommon()
200 if (!(cp = strchr(cp, ':'))) in getpwcommon()
205 if (!(cp = strchr(cp, ':'))) in getpwcommon()
210 if (!(cp = strchr(cp, ':'))) in getpwcommon()
215 if (!(cp = strchr(cp, ':'))) in getpwcommon()
220 if (!(cp = strchr(cp, ':'))) in getpwcommon()
/netbsd-src/usr.bin/locate/locate/
H A Dlocate.c198 globflag = strchr(p, '*') || strchr(p, '?') || strchr(p, '['); in fastfind()
260 if (strchr("*?", *p) == 0) in patprep()
276 if ((p == name) && strchr("?*[]", *p) != 0) in patprep()
280 if (strchr("]*?", *p) != 0) in patprep()
/netbsd-src/external/bsd/mdocml/dist/
H A Ddba_read.c53 for (cp = pdata->name; *cp != '\0'; cp = strchr(cp, '\0') + 1) in dba_read()
55 for (cp = pdata->sect; *cp != '\0'; cp = strchr(cp, '\0') + 1) in dba_read()
58 while (*(cp = strchr(cp, '\0') + 1) != '\0') in dba_read()
61 while (*(cp = strchr(cp, '\0') + 1) != '\0') in dba_read()
/netbsd-src/sys/external/bsd/acpica/dist/compiler/
H A Dprutils.c91 if (strchr (MatchString, *Buffer)) in PrGetNextToken()
115 if (strchr (MatchString, *Buffer)) in PrGetNextToken()
243 if ((strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] - 1)])) && in PrReplaceResizeSubstring()
244 (strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] + strlen (Args->Name))]))) in PrReplaceResizeSubstring()
351 if ((strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] - 1)])) && in PrReplaceResizeSubstring()
352 (strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] + strlen (Args->Name))]))) in PrReplaceResizeSubstring()
412 if ((strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] - 1)])) &&
413 (strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] + strlen (Args->Name))])))
/netbsd-src/external/bsd/libbind/dist/inet/
H A Dinet_net_pton.c82 n = strchr(xdigits, ch) - xdigits; in inet_net_pton_ipv4()
105 n = strchr(digits, ch) - digits; in inet_net_pton_ipv4()
134 n = strchr(digits, ch) - digits; in inet_net_pton_ipv4()
203 pch = strchr(digits, ch); in getbits()
234 pch = strchr(digits, ch); in getv4()
294 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_net_pton_ipv6()
295 pch = strchr((xdigits = xdigits_u), ch); in inet_net_pton_ipv6()
/netbsd-src/usr.sbin/ypserv/mkalias/
H A Dmkalias.c66 if ((strchr(address, '@')) != NULL) { in split_address()
103 if ((dflag && strchr(address, '@')) || in check_host()
104 (uflag && strchr(address, '!'))) in check_host()
256 if (strchr(val.dptr, ',')) /* List... */ in main()
258 if (strchr(val.dptr, '|')) /* Pipe... */ in main()
261 if (!((strchr(val.dptr, '@')) || in main()
262 (strchr(val.dptr, '!')))) in main()

12345678910>>...94