Home
last modified time | relevance | path

Searched refs:ecode (Results 1 – 25 of 51) sorted by relevance

123

/freebsd/lib/libc/net/
H A Dgai_strerror.c80 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 Dentry.c41 typedef enum ecode { enum
109 ecode_e ecode = e_none; in load_entry() local
226 ecode = e_timespec; in load_entry()
234 ecode = e_cmd; in load_entry()
244 ecode = e_minute; in load_entry()
254 ecode = e_hour; in load_entry()
266 ecode = e_dom; in load_entry()
276 ecode = e_month; in load_entry()
288 ecode = e_dow; in load_entry()
315 ecode = e_cmd; in load_entry()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5312/
H A Dar5312_attach.c72 HAL_STATUS ecode; in ar5312Attach() local
130 ecode = HAL_EIO; in ar5312Attach()
167 ecode = HAL_ENOTSUPP; in ar5312Attach()
176 ecode = HAL_ESELFTEST; in ar5312Attach()
189 rf = ath_hal_rfprobe(ah, &ecode); in ar5312Attach()
198 ecode = HAL_ENOTSUPP; in ar5312Attach()
202 ecode = ath_hal_legacyEepromAttach(ah); in ar5312Attach()
203 if (ecode != HAL_OK) { in ar5312Attach()
229 ecode = HAL_ENOTSUPP; in ar5312Attach()
234 ecode = ath_hal_eepromGet(ah, AR_EEP_REGDMN_0, &eeval); in ar5312Attach()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar9001/
H A Dar9160_attach.c124 HAL_STATUS ecode; in ar9160Attach() local
156 ecode = HAL_EIO; in ar9160Attach()
163 ecode = HAL_EIO; in ar9160Attach()
194 ecode = ath_hal_v14EepromAttach(ah); 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()
243 rfStatus = ar2133RfAttach(ah, &ecode); in ar9160Attach()
246 __func__, ecode); in ar9160Attach()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar9002/
H A Dar9287_attach.c121 HAL_STATUS ecode; in ar9287Attach() local
185 ecode = HAL_EIO; in ar9287Attach()
192 ecode = HAL_EIO; in ar9287Attach()
210 ecode = HAL_EIO; in ar9287Attach()
238 ecode = ath_hal_9287EepromAttach(ah); in ar9287Attach()
239 if (ecode != HAL_OK) in ar9287Attach()
244 ecode = HAL_EIO; in ar9287Attach()
253 ecode = HAL_ESELFTEST; in ar9287Attach()
280 ecode = HAL_ENOTSUPP; in ar9287Attach()
284 rfStatus = ar9287RfAttach(ah, &ecode); in ar9287Attach()
[all …]
H A Dar9285_attach.c143 HAL_STATUS ecode; in ar9285Attach() local
204 ecode = HAL_EIO; in ar9285Attach()
211 ecode = HAL_EIO; in ar9285Attach()
246 ecode = ath_hal_v4kEepromAttach(ah); 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()
293 rfStatus = ar9285RfAttach(ah, &ecode); in ar9285Attach()
296 __func__, ecode); in ar9285Attach()
[all …]
H A Dar9280_attach.c158 HAL_STATUS ecode; in ar9280Attach() local
218 ecode = HAL_EIO; in ar9280Attach()
225 ecode = HAL_EIO; in ar9280Attach()
256 ecode = ath_hal_v14EepromAttach(ah); 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()
302 rfStatus = ar9280RfAttach(ah, &ecode); in ar9280Attach()
305 __func__, ecode); in ar9280Attach()
[all …]
/freebsd/usr.sbin/nfsd/
H A Dnfsd.c157 int udpflag, ecode, error, s; in main() local
326 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp); in main()
327 if (ecode != 0) in main()
328 err(1, "getaddrinfo udp: %s", gai_strerror(ecode)); in main()
350 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6); in main()
351 if (ecode != 0) in main()
352 err(1, "getaddrinfo udp6: %s", gai_strerror(ecode)); in main()
374 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp); in main()
375 if (ecode != 0) in main()
376 err(1, "getaddrinfo tcp: %s", gai_strerror(ecode)); in main()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_attach.c216 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()
312 ecode = ath_hal_legacyEepromAttach(ah); in ar5211Attach()
313 if (ecode != HAL_OK) { in ar5211Attach()
333 ecode = HAL_ENOTSUPP; in ar5211Attach()
[all …]
H A Dar5211_misc.c102 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 Dar5212_attach.c331 HAL_STATUS ecode; in ar5212Attach() local
350 ecode = HAL_EIO; in ar5212Attach()
364 ecode = HAL_ENOTSUPP; in ar5212Attach()
374 ecode = HAL_EIO; in ar5212Attach()
388 ecode = HAL_ESELFTEST; in ar5212Attach()
405 rf = ath_hal_rfprobe(ah, &ecode); 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()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_attach.c196 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 Dar5210_misc.c99 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 Dtftpd.c502 int has_options = 0, ecode; in tftp_wrq() local
520 ecode = validate_access(peer, &filename, WRQ); in tftp_wrq()
521 if (ecode == 0) { in tftp_wrq()
529 filename, errtomsg(ecode)); in tftp_wrq()
532 if (ecode) { in tftp_wrq()
533 send_error(peer, ecode); in tftp_wrq()
547 int has_options = 0, ecode; in tftp_rrq() local
565 ecode = validate_access(peer, &filename, RRQ); in tftp_rrq()
566 if (ecode == 0) { in tftp_rrq()
593 filename, errtomsg(ecode)); in tftp_rrq()
[all …]
/freebsd/contrib/llvm-project/libcxx/src/
H A Dregex.cpp15 static const char* make_error_type_string(regex_constants::error_type ecode) {
16 switch (ecode) {
60 regex_error::regex_error(regex_constants::error_type ecode) in make_error_type_string()
61 : runtime_error(make_error_type_string(ecode)), __code_(ecode) {} in make_error_type_string()
17 make_error_type_string(regex_constants::error_type ecode) make_error_type_string() argument
64 regex_error(regex_constants::error_type ecode) regex_error() argument
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_attach.c306 HAL_STATUS ecode; in ar5416Attach() local
330 ecode = HAL_EIO; in ar5416Attach()
336 ecode = HAL_EIO; in ar5416Attach()
373 ecode = ath_hal_v14EepromAttach(ah); 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()
438 ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr); in ar5416Attach()
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dgai_strerror.c66 gai_strerror(int ecode) in gai_strerror() argument
71 if (g->code == ecode) in gai_strerror()
/freebsd/usr.sbin/rpcbind/
H A Dutil.c325 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 Dqp.c983 u8 *ecode) in build_term_codes() argument
993 *ecode = 0; in build_term_codes()
1009 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes()
1012 *ecode = RDMAP_INV_STAG; in build_term_codes()
1019 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes()
1021 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes()
1025 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes()
1029 *ecode = RDMAP_ACC_VIOL; in build_term_codes()
1033 *ecode = RDMAP_TO_WRAP; in build_term_codes()
1038 *ecode = DDPT_BASE_BOUNDS; in build_term_codes()
[all …]
/freebsd/contrib/ntp/libntp/
H A Dntp_rfc2553.c456 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 Dexceptions.cpp95 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/libexec/ftpd/
H A Dftpd.c978 int ecode; in user() local
999 if (checkuser(_PATH_FTPUSERS, "ftp", 0, NULL, &ecode) || in user()
1000 (ecode != 0 && ecode != ENOENT)) in user()
1002 else if (checkuser(_PATH_FTPUSERS, "anonymous", 0, NULL, &ecode) || in user()
1003 (ecode != 0 && ecode != ENOENT)) in user()
1032 (checkuser(_PATH_FTPUSERS, name, 1, NULL, &ecode) || in user()
1033 (ecode != 0 && ecode != ENOENT))) { in user()
1062 checkuser(char *fname, char *name, int pwset, char **residue, int *ecode) in checkuser() argument
1069 if (ecode != NULL) in checkuser()
1070 *ecode = 0; in checkuser()
[all …]
/freebsd/crypto/heimdal/appl/afsutil/
H A Dpagsh.c87 usage(int ecode) in usage() argument
90 exit(ecode); in usage()
/freebsd/sbin/ifconfig/
H A Difpfsync.c212 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 Dprint-smb.c947 u_int ecode; in nbt_tcp_print() local
955 ecode = GET_U_1(data + 4); in nbt_tcp_print()
958 switch (ecode) { in nbt_tcp_print()
972 ND_PRINT("Unspecified error 0x%X", ecode); in nbt_tcp_print()
1020 u_int ecode; in nbt_tcp_print() local
1028 ecode = GET_U_1(origdata + 4); in nbt_tcp_print()
1029 switch (ecode) { in nbt_tcp_print()
1043 ND_PRINT("Unspecified error 0x%X\n", ecode); in nbt_tcp_print()

123