/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Builtins.h | 117 return strchr(getRecord(ID).Attributes, 'U') != nullptr; in isPure() 123 return strchr(getRecord(ID).Attributes, 'c') != nullptr; in isConst() 128 return strchr(getRecord(ID).Attributes, 'n') != nullptr; in isNoThrow() 133 return strchr(getRecord(ID).Attributes, 'r') != nullptr; in isNoReturn() 138 return strchr(getRecord(ID).Attributes, 'j') != nullptr; in isReturnsTwice() 144 return strchr(getRecord(ID).Attributes, 'u') != nullptr; in isUnevaluated() 150 return strchr(getRecord(ID).Attributes, 'F') != nullptr; in isLibFunction() 161 return strchr(getRecord(ID).Attributes, 'f') != nullptr; in isPredefinedLibFunction() 168 return strchr(getRecord(ID).Attributes, 'h') != nullptr; in isHeaderDependentFunction() 175 return strchr(getRecord(ID).Attributes, 'i') != nullptr; in isPredefinedRuntimeFunction() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.strchr.d | 37 printf("strchr(\"%s\", '%c') = \"%s\"\n", str, c, strchr(str, c)); 41 printf("strchr(\"%s\", '%c') = \"%s\"\n", str, c, strchr(str, c)); 44 printf("strrchr(\"%s\", '%c') = \"%s\"\n", strchr(str, c), c, 45 strrchr(strchr(str, c), c)); 57 /strchr(str, 'a') != NULL/
|
/freebsd/contrib/ldns/ |
H A D | duration.c | 131 P = strchr(str, 'P'); in ldns_duration_create_from_string() 137 T = strchr(str, 'T'); in ldns_duration_create_from_string() 138 X = strchr(str, 'Y'); in ldns_duration_create_from_string() 144 X = strchr(str, 'M'); in ldns_duration_create_from_string() 150 X = strchr(str, 'D'); in ldns_duration_create_from_string() 160 X = strchr(str, 'H'); in ldns_duration_create_from_string() 172 X = strchr(str, 'S'); in ldns_duration_create_from_string() 179 W = strchr(str, 'W'); in ldns_duration_create_from_string()
|
/freebsd/sbin/ipf/libipf/ |
H A D | load_http.c | 65 t = strchr(s, '/'); in load_http() 82 u = strchr(s, '@'); in load_http() 92 u = strchr(s, ':'); in load_http() 123 t = strchr(buffer, ' '); in load_http() 132 while ((t = strchr(u, '\r')) != NULL) { in load_http() 155 t = strchr(buffer, '\n'); in load_http() 166 u = strchr(buffer, '#'); in load_http()
|
H A D | parsewhoisline.c | 25 s = strchr(src, '('); in parsewhoisline() 45 s = strchr(s, ')'); in parsewhoisline() 54 s = strchr(s, ' '); in parsewhoisline() 92 s = strchr(s, ')'); in parsewhoisline() 101 s = strchr(s, ' '); in parsewhoisline()
|
H A D | ipft_tx.c | 123 if ((s = strchr(line, '\n'))) in text_readip() 125 if ((s = strchr(line, '\r'))) in text_readip() 127 if ((s = strchr(line, '#'))) in text_readip() 234 last = strchr(*cpp, ','); in parseline() 254 last = strchr(*cpp, ','); in parseline() 270 if ((t = strchr(myflagset, *s))) in parseline() 292 t = strchr(*cpp, ','); in parseline() 395 last = strchr(*cpp, ','); in parseipv6() 420 last = strchr(*cpp, ','); in parseipv6() 442 if ((t = strchr(myflagset, *s))) in parseipv6() [all …]
|
/freebsd/contrib/ntp/sntp/libopts/ |
H A D | parse-duration.c | 175 ps = strchr (pz, '-'); in parse_year_month_day() 223 cch_t * ps = strchr (pz, 'Y'); in parse_YMWD() 230 ps = strchr (pz, 'M'); in parse_YMWD() 237 ps = strchr (pz, 'W'); in parse_YMWD() 244 ps = strchr (pz, 'D'); in parse_YMWD() 272 ps = strchr (pz, ':'); in parse_hour_minute_second() 321 cch_t * ps = strchr (pz, 'H'); in parse_HMS() 328 ps = strchr (pz, 'M'); in parse_HMS() 335 ps = strchr (pz, 'S'); in parse_HMS() 363 ps = strchr (pz, ':'); in parse_time() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | decodenetnum.c | 104 char * endp = strchr(++haddr, ']'); in decodenetnum() 108 afam = strchr(haddr, ':') ? AF_INET6 : AF_INET; in decodenetnum() 111 char *col = strchr(haddr, ':'); in decodenetnum() 112 char *dot = strchr(haddr, '.'); in decodenetnum() 146 scope = _num_or_dflt(_chop(strchr(haddr, '%')), 0xFFFFFFFFu, scope); in decodenetnum()
|
/freebsd/lib/libc/tests/gen/ |
H A D | fnmatch_test.c | 85 if (strchr(t->pattern, '\\') == NULL && in ATF_TC_BODY() 93 if (strchr(t->pattern, '\\') != NULL && in ATF_TC_BODY() 94 strchr(t->string, '\\') == NULL && in ATF_TC_BODY() 112 if ((strchr(t->string, '/') == NULL || in ATF_TC_BODY() 132 strchr(t->string, '/') == NULL) || in ATF_TC_BODY() 141 if ((strchr(t->string, '/') == NULL || t->result == 0) in ATF_TC_BODY() 156 if (strchr(t->pattern, '\\') == NULL && in ATF_TC_BODY()
|
/freebsd/crypto/openssl/crypto/http/ |
H A D | http_lib.c | 95 host = strchr(p, '@'); in OSSL_parse_url() 104 host_end = strchr(host + 1, ']'); in OSSL_parse_url() 110 host_end = strchr(host, ':'); in OSSL_parse_url() 112 host_end = strchr(host, '/'); in OSSL_parse_url() 114 host_end = strchr(host, '?'); in OSSL_parse_url() 116 host_end = strchr(host, '#'); in OSSL_parse_url() 146 tmp = strchr(p, '?'); in OSSL_parse_url() 156 tmp = strchr(p, '#'); in OSSL_parse_url()
|
/freebsd/contrib/lua/src/ |
H A D | ldblib.c | 170 if (strchr(options, 'S')) { in db_getinfo() 178 if (strchr(options, 'l')) in db_getinfo() 180 if (strchr(options, 'u')) { in db_getinfo() 185 if (strchr(options, 'n')) { in db_getinfo() 189 if (strchr(options, 'r')) { in db_getinfo() 193 if (strchr(options, 't')) in db_getinfo() 195 if (strchr(options, 'L')) in db_getinfo() 197 if (strchr(options, 'f')) in db_getinfo() 344 if (strchr(smask, 'c')) mask |= LUA_MASKCALL; in makemask() 345 if (strchr(smask, 'r')) mask |= LUA_MASKRET; in makemask() [all …]
|
/freebsd/contrib/mandoc/ |
H A D | dba_read.c | 55 for (cp = pdata->name; *cp != '\0'; cp = strchr(cp, '\0') + 1) in dba_read() 57 for (cp = pdata->sect; *cp != '\0'; cp = strchr(cp, '\0') + 1) in dba_read() 60 while (*(cp = strchr(cp, '\0') + 1) != '\0') in dba_read() 63 while (*(cp = strchr(cp, '\0') + 1) != '\0') in dba_read()
|
/freebsd/contrib/sendmail/contrib/ |
H A D | bitdomain.c | 146 if (otherdomain && strchr(otherdomain, '.')) { 148 if (!strchr(domain, '.')) { 157 if (!p || !strchr(p, '.')) remember(domain, otherdomain); 161 if (!strchr(domain, '.') || valhost(domain, domainlen)) { 170 if (!p || !strchr(p, '.')) remember(otherdomain, domain); 361 if (strchr(domain, '.')) { 404 if (!strchr(p->domain, '.') && (domain = lookup(p->domain))) { in finish()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_firmware.c | 105 (strchr(fw_name, '/') != NULL || strchr(fw_name, '.') != NULL || in _linuxkpi_request_firmware() 106 strchr(fw_name, '-'))) { in _linuxkpi_request_firmware() 109 while ((p = strchr(fwimg, '/')) != NULL) in _linuxkpi_request_firmware() 113 while ((p = strchr(fwimg, '.')) != NULL) in _linuxkpi_request_firmware() 118 while ((p = strchr(fwimg, '-')) != NULL) in _linuxkpi_request_firmware()
|
/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | hostcheck.c | 168 pattern_wildcard = strchr(pattern, '*'); in hostmatch() 176 pattern_label_end = strchr(pattern, '.'); in hostmatch() 177 if(pattern_label_end == NULL || strchr(pattern_label_end+1, '.') == NULL || in hostmatch() 186 hostname_label_end = strchr(hostname, '.'); in hostmatch()
|
/freebsd/contrib/libevent/sample/ |
H A D | hostcheck.c | 168 pattern_wildcard = strchr(pattern, '*'); in hostmatch() 176 pattern_label_end = strchr(pattern, '.'); in hostmatch() 177 if(pattern_label_end == NULL || strchr(pattern_label_end+1, '.') == NULL || in hostmatch() 186 hostname_label_end = strchr(hostname, '.'); in hostmatch()
|
/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | prutils.c | 199 if (strchr (MatchString, *Buffer)) in PrGetNextToken() 223 if (strchr (MatchString, *Buffer)) in PrGetNextToken() 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() 459 if ((strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] - 1)])) && in PrReplaceResizeSubstring() 460 (strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] + strlen (Args->Name))]))) in PrReplaceResizeSubstring() 520 if ((strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] - 1)])) && in PrReplaceResizeSubstring() 521 (strchr (macro_sep, AslGbl_MacroTokenBuffer[(Args->Offset[i] + strlen (Args->Name))]))) in PrReplaceResizeSubstring()
|
/freebsd/stand/common/ |
H A D | install.c | 80 s = strchr(v, ','); in setmultipath() 89 s = strchr(val, ','); in setmultipath() 127 val = strchr(tag, '='); in read_metatags() 133 p = strchr(val, '\n'); in read_metatags() 227 e = strchr(devname, '/'); in install() 233 if ((e = strchr(devname, ':')) != NULL) { in install() 275 pkgname = strchr(s, '/'); in install()
|
/freebsd/lib/libc/inet/ |
H A D | inet_net_pton.c | 78 n = strchr(xdigits, ch) - xdigits; in inet_net_pton_ipv4() 101 n = strchr(digits, ch) - digits; in inet_net_pton_ipv4() 130 n = strchr(digits, ch) - digits; in inet_net_pton_ipv4() 199 pch = strchr(digits, ch); in getbits() 230 pch = strchr(digits, ch); in getv4() 290 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_net_pton_ipv6() 291 pch = strchr((xdigits = xdigits_u), ch); in inet_net_pton_ipv6()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | Builtins.cpp | 68 (bool)strchr(BuiltinInfo[i].Attributes, 'z') == InStdNamespace) in isBuiltinFunc() 69 return strchr(BuiltinInfo[i].Attributes, 'f') != nullptr; in isBuiltinFunc() 79 if (LangOpts.NoBuiltin && strchr(BuiltinInfo.Attributes, 'f') != nullptr) in builtinIsSupported() 123 if (!LangOpts.CPlusPlus20 && strchr(BuiltinInfo.Attributes, 'G') != nullptr) in builtinIsSupported() 164 const char *WidthPos = ::strchr(getRecord(ID).Attributes, 'V'); in getRequiredVectorWidth() 197 assert(::strchr(Like, ':') && "Format specifier must end with a ':'"); in isLike() 214 const char *CalleePos = ::strchr(getRecord(ID).Attributes, 'C'); in performsCallback()
|
/freebsd/lib/libc/i386/string/ |
H A D | strchr.S | 46 ENTRY(strchr) 62 END(strchr) 64 WEAK_REFERENCE(strchr, index)
|
/freebsd/sbin/ipf/common/ |
H A D | genmask.c | 19 if (strchr(msk, '.') || strchr(msk, 'x') || strchr(msk, ':')) { in genmask()
|
/freebsd/usr.bin/locate/locate/ |
H A D | util.c | 148 if (strchr(LOCATE_REG, *p) == NULL) in patprep() 158 (strchr(p, '[') != NULL || strchr(p, ']') != NULL)) { in patprep() 169 if (p >= name && strchr(LOCATE_REG, *p) != NULL) in patprep() 179 if (strchr(LOCATE_REG, *p) != NULL) in patprep()
|
/freebsd/sys/contrib/openzfs/lib/libshare/os/linux/ |
H A D | nfs.c | 96 value = strchr(opt, '='); in foreach_nfs_shareopt() 167 v6Literal = strchr(host, ']'); in foreach_nfs_host_cb() 176 next = strchr(v6Literal + 2, ':'); in foreach_nfs_host_cb() 200 next = strchr(host, ':'); in foreach_nfs_host_cb() 338 literal = strchr(host, ']'); in get_linux_shareopts_cb() 346 next = strchr(literal + 2, ':'); in get_linux_shareopts_cb() 356 next = strchr(host, ':'); in get_linux_shareopts_cb()
|
/freebsd/contrib/file/src/ |
H A D | fmtcheck.c | 118 if (strchr("diouxX", *f)) { in get_next_format_from_precision() 138 if (strchr("DOU", *f)) { in get_next_format_from_precision() 143 if (strchr("eEfg", *f)) { in get_next_format_from_precision() 205 f = strchr(f, '%'); in get_next_format() 218 while (*f && (strchr("#0- +", *f))) in get_next_format()
|