/freebsd/lib/libc/net/ |
H A D | gai_strerror.c | 80 gai_strerror(int ecode) in gai_strerror() argument 103 if (ecode > 0 && ecode < EAI_MAX) in gai_strerror() 104 strlcpy(buf, catgets(catd, 3, ecode, ai_errlist[ecode]), in gai_strerror() 106 else if (ecode == 0) in gai_strerror() 117 if (ecode >= 0 && ecode < EAI_MAX) in gai_strerror() 118 return ai_errlist[ecode]; in gai_strerror()
|
/freebsd/usr.sbin/cron/lib/ |
H A D | entry.c | 41 typedef enum ecode { enum 234 ecode = e_cmd; in load_entry() 266 ecode = e_dom; in load_entry() 288 ecode = e_dow; in load_entry() 315 ecode = e_cmd; in load_entry() 334 ecode = e_mem; in load_entry() 382 ecode = e_mem; in load_entry() 419 ecode = e_mem; in load_entry() 430 ecode = e_mem; in load_entry() 493 ecode = e_cmd; in load_entry() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5312/ |
H A D | ar5312_attach.c | 72 HAL_STATUS ecode; in ar5312Attach() local 130 ecode = HAL_EIO; in ar5312Attach() 167 ecode = HAL_ENOTSUPP; in ar5312Attach() 176 ecode = HAL_ESELFTEST; in ar5312Attach() 198 ecode = HAL_ENOTSUPP; in ar5312Attach() 203 if (ecode != HAL_OK) { in ar5312Attach() 229 ecode = HAL_ENOTSUPP; in ar5312Attach() 235 if (ecode != HAL_OK) { in ar5312Attach() 251 ecode = HAL_EEREAD; in ar5312Attach() 257 __func__, ecode); in ar5312Attach() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar9001/ |
H A D | ar9160_attach.c | 124 HAL_STATUS ecode; in ar9160Attach() local 156 ecode = HAL_EIO; in ar9160Attach() 163 ecode = HAL_EIO; in ar9160Attach() 195 if (ecode != HAL_OK) in ar9160Attach() 203 ecode = HAL_EIO; in ar9160Attach() 212 ecode = HAL_ESELFTEST; in ar9160Attach() 239 ecode = HAL_ENOTSUPP; in ar9160Attach() 246 __func__, ecode); in ar9160Attach() 254 ecode = HAL_EEREAD; in ar9160Attach() 259 if (ecode != HAL_OK) { in ar9160Attach() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar9002/ |
H A D | ar9287_attach.c | 121 HAL_STATUS ecode; in ar9287Attach() local 185 ecode = HAL_EIO; in ar9287Attach() 192 ecode = HAL_EIO; in ar9287Attach() 210 ecode = HAL_EIO; in ar9287Attach() 239 if (ecode != HAL_OK) in ar9287Attach() 244 ecode = HAL_EIO; in ar9287Attach() 280 ecode = HAL_ENOTSUPP; in ar9287Attach() 287 __func__, ecode); in ar9287Attach() 298 ecode = HAL_ENOTSUPP; in ar9287Attach() 321 ecode = HAL_EEREAD; in ar9287Attach() [all …]
|
H A D | ar9285_attach.c | 143 HAL_STATUS ecode; in ar9285Attach() local 204 ecode = HAL_EIO; in ar9285Attach() 211 ecode = HAL_EIO; in ar9285Attach() 247 if (ecode != HAL_OK) in ar9285Attach() 253 ecode = HAL_EIO; in ar9285Attach() 262 ecode = HAL_ESELFTEST; in ar9285Attach() 289 ecode = HAL_ENOTSUPP; in ar9285Attach() 296 __func__, ecode); in ar9285Attach() 333 ecode = HAL_EEREAD; in ar9285Attach() 354 if (ecode != HAL_OK) { in ar9285Attach() [all …]
|
H A D | ar9280_attach.c | 158 HAL_STATUS ecode; in ar9280Attach() local 218 ecode = HAL_EIO; in ar9280Attach() 225 ecode = HAL_EIO; in ar9280Attach() 257 if (ecode != HAL_OK) in ar9280Attach() 262 ecode = HAL_EIO; in ar9280Attach() 271 ecode = HAL_ESELFTEST; in ar9280Attach() 298 ecode = HAL_ENOTSUPP; in ar9280Attach() 305 __func__, ecode); in ar9280Attach() 376 ecode = HAL_EEREAD; in ar9280Attach() 381 if (ecode != HAL_OK) { in ar9280Attach() [all …]
|
/freebsd/usr.sbin/nfsd/ |
H A D | nfsd.c | 327 if (ecode != 0) in main() 351 if (ecode != 0) in main() 375 if (ecode != 0) in main() 399 if (ecode != 0) in main() 547 if (ecode != 0) { in main() 621 if (ecode != 0) { in main() 693 if (ecode != 0) { in main() 859 int ecode; in setbindhost() local 894 if (ecode != 0) { in setbindhost() 1174 int ecode; in parse_dsserver() local [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_attach.c | 216 HAL_STATUS ecode; in ar5211Attach() local 226 ecode = HAL_ENOMEM; in ar5211Attach() 253 ecode = HAL_EIO; in ar5211Attach() 273 ecode = HAL_ENOTSUPP; in ar5211Attach() 282 ecode = HAL_ESELFTEST; in ar5211Attach() 300 ecode = HAL_ENOTSUPP; in ar5211Attach() 309 ecode = HAL_EESIZE; in ar5211Attach() 313 if (ecode != HAL_OK) { in ar5211Attach() 341 if (ecode != HAL_OK) { in ar5211Attach() 359 if (ecode != HAL_OK) { in ar5211Attach() [all …]
|
H A D | ar5211_misc.c | 102 HAL_STATUS ecode; in ar5211SetRegulatoryDomain() local 105 ecode = HAL_EINVAL; in ar5211SetRegulatoryDomain() 114 ecode = HAL_EEWRITE; in ar5211SetRegulatoryDomain() 126 ecode = HAL_EIO; in ar5211SetRegulatoryDomain() 129 *status = ecode; in ar5211SetRegulatoryDomain()
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_attach.c | 331 HAL_STATUS ecode; in ar5212Attach() local 350 ecode = HAL_EIO; in ar5212Attach() 364 ecode = HAL_ENOTSUPP; in ar5212Attach() 374 ecode = HAL_EIO; in ar5212Attach() 456 ecode = HAL_ENOTSUPP; in ar5212Attach() 465 ecode = HAL_ENOTSUPP; in ar5212Attach() 476 ecode = HAL_EESIZE; in ar5212Attach() 485 ecode = HAL_EESIZE; in ar5212Attach() 491 ecode = HAL_EESIZE; in ar5212Attach() 542 ecode = HAL_EEREAD; in ar5212Attach() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_attach.c | 196 HAL_STATUS ecode; in ar5210Attach() local 208 ecode = HAL_ENOMEM; in ar5210Attach() 236 ecode = HAL_EIO; in ar5210Attach() 261 ecode = ath_hal_v1EepromAttach(ah); in ar5210Attach() 262 if (ecode != HAL_OK) { in ar5210Attach() 265 ecode = ath_hal_eepromGet(ah, AR_EEP_REGDMN_0, &eeval); in ar5210Attach() 266 if (ecode != HAL_OK) { in ar5210Attach() 273 ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr); in ar5210Attach() 274 if (ecode != HAL_OK) { in ar5210Attach() 297 *status = ecode; in ar5210Attach()
|
H A D | ar5210_misc.c | 99 HAL_STATUS ecode; in ar5210SetRegulatoryDomain() local 102 ecode = HAL_EINVAL; in ar5210SetRegulatoryDomain() 111 ecode = HAL_EEWRITE; in ar5210SetRegulatoryDomain() 114 ecode = HAL_EIO; /* disallow all writes */ in ar5210SetRegulatoryDomain() 117 *status = ecode; in ar5210SetRegulatoryDomain()
|
/freebsd/libexec/tftpd/ |
H A D | tftpd.c | 499 int has_options = 0, ecode; in tftp_wrq() local 517 ecode = validate_access(peer, &filename, WRQ); in tftp_wrq() 518 if (ecode == 0) { in tftp_wrq() 526 filename, errtomsg(ecode)); in tftp_wrq() 529 if (ecode) { in tftp_wrq() 530 send_error(peer, ecode); in tftp_wrq() 544 int has_options = 0, ecode; in tftp_rrq() local 563 if (ecode == 0) { in tftp_rrq() 590 filename, errtomsg(ecode)); in tftp_rrq() 592 if (ecode) { in tftp_rrq() [all …]
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | regex.cpp | 15 static const char* make_error_type_string(regex_constants::error_type ecode) { in make_error_type_string() argument 16 switch (ecode) { in make_error_type_string() 60 regex_error::regex_error(regex_constants::error_type ecode) in regex_error() argument 61 : runtime_error(make_error_type_string(ecode)), __code_(ecode) {} in regex_error()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | gai_strerror.c | 66 gai_strerror(int ecode) in gai_strerror() argument 71 if (g->code == ecode) in gai_strerror()
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_attach.c | 306 HAL_STATUS ecode; in ar5416Attach() local 330 ecode = HAL_EIO; in ar5416Attach() 336 ecode = HAL_EIO; in ar5416Attach() 374 if (ecode != HAL_OK) in ar5416Attach() 380 ecode = HAL_EIO; in ar5416Attach() 389 ecode = HAL_ESELFTEST; in ar5416Attach() 425 ecode = HAL_ENOTSUPP; in ar5416Attach() 434 ecode = HAL_EEREAD; in ar5416Attach() 439 if (ecode != HAL_OK) { in ar5416Attach() 463 __func__, ecode); in ar5416Attach() [all …]
|
/freebsd/usr.sbin/rpcbind/ |
H A D | util.c | 325 int ecode; in network_init() local 330 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) { in network_init() 333 gai_strerror(ecode)); in network_init() 347 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) { in network_init() 350 gai_strerror(ecode)); in network_init()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | qp.c | 976 u8 *ecode) in build_term_codes() argument 986 *ecode = 0; in build_term_codes() 1026 *ecode = RDMAP_TO_WRAP; in build_term_codes() 1046 *ecode = 0; in build_term_codes() 1058 *ecode = MPA_CRC_ERR; in build_term_codes() 1087 *ecode = DDPU_INV_QN; in build_term_codes() 1098 *ecode = 0; in build_term_codes() 1102 *ecode = DDPU_INV_MO; in build_term_codes() 1106 *ecode = 0; in build_term_codes() 1142 term->ecode = qhp->attr.ecode; in post_terminate() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | ntp_rfc2553.c | 456 gai_strerror(int ecode) in gai_strerror() argument 458 if (ecode < 0 || ecode > EAI_MAX) in gai_strerror() 459 ecode = EAI_MAX; in gai_strerror() 460 return ai_errlist[ecode]; in gai_strerror()
|
/freebsd/contrib/atf/atf-c++/detail/ |
H A D | exceptions.cpp | 95 const int ecode = atf_libc_error_code(err); in throw_libc_error() local 98 throw atf::system_error("XXX", msg, ecode); in throw_libc_error()
|
/freebsd/crypto/heimdal/appl/afsutil/ |
H A D | pagsh.c | 87 usage(int ecode) in usage() argument 90 exit(ecode); in usage()
|
/freebsd/libexec/ftpd/ |
H A D | ftpd.c | 978 int ecode; in user() local 999 if (checkuser(_PATH_FTPUSERS, "ftp", 0, NULL, &ecode) || in user() 1000 (ecode != 0 && ecode != ENOENT)) in user() 1003 (ecode != 0 && ecode != ENOENT)) in user() 1033 (ecode != 0 && ecode != ENOENT))) { in user() 1069 if (ecode != NULL) in checkuser() 1070 *ecode = 0; in checkuser() 1139 } else if (ecode != NULL) in checkuser() 1140 *ecode = errno; in checkuser() 1337 int rval, ecode; in pass() local [all …]
|
/freebsd/sbin/ifconfig/ |
H A D | ifpfsync.c | 212 int ecode; in setpfsync_syncpeer() local 219 if ((ecode = getaddrinfo(val, NULL, NULL, &peerres)) != 0) in setpfsync_syncpeer() 221 gai_strerror(ecode)); in setpfsync_syncpeer()
|
/freebsd/contrib/tcpdump/ |
H A D | print-smb.c | 946 u_int ecode; in nbt_tcp_print() local 954 ecode = GET_U_1(data + 4); in nbt_tcp_print() 957 switch (ecode) { in nbt_tcp_print() 971 ND_PRINT("Unspecified error 0x%X", ecode); in nbt_tcp_print() 1019 u_int ecode; in nbt_tcp_print() local 1027 ecode = GET_U_1(origdata + 4); in nbt_tcp_print() 1028 switch (ecode) { in nbt_tcp_print() 1042 ND_PRINT("Unspecified error 0x%X\n", ecode); in nbt_tcp_print()
|