Home
last modified time | relevance | path

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

123

/freebsd-13.1/lib/libc/net/
H A Dgai_strerror.c81 gai_strerror(int ecode) in gai_strerror() argument
104 if (ecode > 0 && ecode < EAI_MAX) in gai_strerror()
105 strlcpy(buf, catgets(catd, 3, ecode, ai_errlist[ecode]), in gai_strerror()
107 else if (ecode == 0) in gai_strerror()
118 if (ecode >= 0 && ecode < EAI_MAX) in gai_strerror()
119 return ai_errlist[ecode]; in gai_strerror()
/freebsd-13.1/usr.sbin/cron/lib/
H A Dentry.c36 typedef enum ecode { enum
233 ecode = e_cmd;
265 ecode = e_dom;
287 ecode = e_dow;
314 ecode = e_cmd;
333 ecode = e_mem;
381 ecode = e_mem;
417 ecode = e_mem;
427 ecode = e_mem;
491 ecode = e_cmd;
[all …]
/freebsd-13.1/sys/dev/ath/ath_hal/ar5312/
H A Dar5312_attach.c74 HAL_STATUS ecode; in ar5312Attach() local
132 ecode = HAL_EIO; in ar5312Attach()
169 ecode = HAL_ENOTSUPP; in ar5312Attach()
178 ecode = HAL_ESELFTEST; in ar5312Attach()
200 ecode = HAL_ENOTSUPP; in ar5312Attach()
205 if (ecode != HAL_OK) { in ar5312Attach()
231 ecode = HAL_ENOTSUPP; in ar5312Attach()
237 if (ecode != HAL_OK) { in ar5312Attach()
253 ecode = HAL_EEREAD; in ar5312Attach()
259 __func__, ecode); in ar5312Attach()
[all …]
/freebsd-13.1/sys/dev/ath/ath_hal/ar9001/
H A Dar9130_attach.c82 HAL_STATUS ecode; in ar9130Attach() local
138 ecode = HAL_EIO; in ar9130Attach()
145 ecode = HAL_EIO; in ar9130Attach()
173 if (ecode != HAL_OK) in ar9130Attach()
178 ecode = HAL_EIO; in ar9130Attach()
187 ecode = HAL_ESELFTEST; in ar9130Attach()
214 ecode = HAL_ENOTSUPP; in ar9130Attach()
221 __func__, ecode); in ar9130Attach()
229 ecode = HAL_EEREAD; in ar9130Attach()
234 if (ecode != HAL_OK) { in ar9130Attach()
[all …]
H A Dar9160_attach.c126 HAL_STATUS ecode; in ar9160Attach() local
158 ecode = HAL_EIO; in ar9160Attach()
165 ecode = HAL_EIO; in ar9160Attach()
197 if (ecode != HAL_OK) in ar9160Attach()
205 ecode = HAL_EIO; in ar9160Attach()
214 ecode = HAL_ESELFTEST; in ar9160Attach()
241 ecode = HAL_ENOTSUPP; in ar9160Attach()
248 __func__, ecode); in ar9160Attach()
256 ecode = HAL_EEREAD; in ar9160Attach()
261 if (ecode != HAL_OK) { in ar9160Attach()
[all …]
/freebsd-13.1/sys/dev/ath/ath_hal/ar9002/
H A Dar9287_attach.c123 HAL_STATUS ecode; in ar9287Attach() local
187 ecode = HAL_EIO; in ar9287Attach()
194 ecode = HAL_EIO; in ar9287Attach()
212 ecode = HAL_EIO; in ar9287Attach()
241 if (ecode != HAL_OK) in ar9287Attach()
246 ecode = HAL_EIO; in ar9287Attach()
282 ecode = HAL_ENOTSUPP; in ar9287Attach()
289 __func__, ecode); in ar9287Attach()
300 ecode = HAL_ENOTSUPP; in ar9287Attach()
323 ecode = HAL_EEREAD; in ar9287Attach()
[all …]
H A Dar9285_attach.c145 HAL_STATUS ecode; in ar9285Attach() local
206 ecode = HAL_EIO; in ar9285Attach()
213 ecode = HAL_EIO; in ar9285Attach()
249 if (ecode != HAL_OK) in ar9285Attach()
255 ecode = HAL_EIO; in ar9285Attach()
264 ecode = HAL_ESELFTEST; in ar9285Attach()
291 ecode = HAL_ENOTSUPP; in ar9285Attach()
298 __func__, ecode); in ar9285Attach()
335 ecode = HAL_EEREAD; in ar9285Attach()
356 if (ecode != HAL_OK) { in ar9285Attach()
[all …]
H A Dar9280_attach.c160 HAL_STATUS ecode; in ar9280Attach() local
220 ecode = HAL_EIO; in ar9280Attach()
227 ecode = HAL_EIO; in ar9280Attach()
259 if (ecode != HAL_OK) in ar9280Attach()
264 ecode = HAL_EIO; in ar9280Attach()
273 ecode = HAL_ESELFTEST; in ar9280Attach()
300 ecode = HAL_ENOTSUPP; in ar9280Attach()
307 __func__, ecode); in ar9280Attach()
378 ecode = HAL_EEREAD; in ar9280Attach()
383 if (ecode != HAL_OK) { in ar9280Attach()
[all …]
/freebsd-13.1/usr.sbin/nfsd/
H A Dnfsd.c337 if (ecode != 0) in main()
361 if (ecode != 0) in main()
385 if (ecode != 0) in main()
409 if (ecode != 0) in main()
543 if (ecode != 0) { in main()
617 if (ecode != 0) { in main()
689 if (ecode != 0) { in main()
855 int ecode; in setbindhost() local
890 if (ecode != 0) { in setbindhost()
1170 int ecode; in parse_dsserver() local
[all …]
/freebsd-13.1/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()
313 if (ecode != HAL_OK) { in ar5211Attach()
341 if (ecode != HAL_OK) { in ar5211Attach()
359 if (ecode != HAL_OK) { in ar5211Attach()
[all …]
H A Dar5211_misc.c104 HAL_STATUS ecode; in ar5211SetRegulatoryDomain() local
107 ecode = HAL_EINVAL; in ar5211SetRegulatoryDomain()
116 ecode = HAL_EEWRITE; in ar5211SetRegulatoryDomain()
128 ecode = HAL_EIO; in ar5211SetRegulatoryDomain()
131 *status = ecode; in ar5211SetRegulatoryDomain()
/freebsd-13.1/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()
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-13.1/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.c101 HAL_STATUS ecode; in ar5210SetRegulatoryDomain() local
104 ecode = HAL_EINVAL; in ar5210SetRegulatoryDomain()
113 ecode = HAL_EEWRITE; in ar5210SetRegulatoryDomain()
116 ecode = HAL_EIO; /* disallow all writes */ in ar5210SetRegulatoryDomain()
119 *status = ecode; in ar5210SetRegulatoryDomain()
/freebsd-13.1/libexec/tftpd/
H A Dtftpd.c524 int has_options = 0, ecode; in tftp_wrq() local
542 ecode = validate_access(peer, &filename, WRQ); in tftp_wrq()
543 if (ecode == 0) { in tftp_wrq()
551 filename, errtomsg(ecode)); in tftp_wrq()
554 if (ecode) { in tftp_wrq()
555 send_error(peer, ecode); in tftp_wrq()
569 int has_options = 0, ecode; in tftp_rrq() local
588 if (ecode == 0) { in tftp_rrq()
615 filename, errtomsg(ecode)); in tftp_rrq()
617 if (ecode) { in tftp_rrq()
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/src/
H A Dregex.cpp17 make_error_type_string(regex_constants::error_type ecode) in make_error_type_string() argument
19 switch (ecode) in make_error_type_string()
64 regex_error::regex_error(regex_constants::error_type ecode) in regex_error() argument
65 : runtime_error(make_error_type_string(ecode)), in regex_error()
66 __code_(ecode) in regex_error()
/freebsd-13.1/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-13.1/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_attach.c308 HAL_STATUS ecode; in ar5416Attach() local
332 ecode = HAL_EIO; in ar5416Attach()
338 ecode = HAL_EIO; in ar5416Attach()
376 if (ecode != HAL_OK) in ar5416Attach()
382 ecode = HAL_EIO; in ar5416Attach()
391 ecode = HAL_ESELFTEST; in ar5416Attach()
427 ecode = HAL_ENOTSUPP; in ar5416Attach()
436 ecode = HAL_EEREAD; in ar5416Attach()
441 if (ecode != HAL_OK) { in ar5416Attach()
465 __func__, ecode); in ar5416Attach()
[all …]
/freebsd-13.1/usr.sbin/rpcbind/
H A Dutil.c326 int ecode; in network_init() local
331 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) { in network_init()
334 gai_strerror(ecode)); in network_init()
348 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) { in network_init()
351 gai_strerror(ecode)); in network_init()
/freebsd-13.1/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c980 u8 *ecode) in build_term_codes() argument
990 *ecode = 0; in build_term_codes()
1030 *ecode = RDMAP_TO_WRAP; in build_term_codes()
1050 *ecode = 0; in build_term_codes()
1062 *ecode = MPA_CRC_ERR; in build_term_codes()
1091 *ecode = DDPU_INV_QN; in build_term_codes()
1102 *ecode = 0; in build_term_codes()
1106 *ecode = DDPU_INV_MO; in build_term_codes()
1110 *ecode = 0; in build_term_codes()
1146 term->ecode = qhp->attr.ecode; in post_terminate()
[all …]
/freebsd-13.1/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-13.1/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-13.1/sbin/ifconfig/
H A Difpfsync.c101 int ecode; in setpfsync_syncpeer() local
113 if ((ecode = getaddrinfo(val, NULL, &hints, &peerres)) != 0) in setpfsync_syncpeer()
115 gai_strerror(ecode)); in setpfsync_syncpeer()
/freebsd-13.1/crypto/heimdal/appl/afsutil/
H A Dpagsh.c87 usage(int ecode) in usage() argument
90 exit(ecode); in usage()
/freebsd-13.1/libexec/ftpd/
H A Dftpd.c1000 int ecode; in user() local
1021 if (checkuser(_PATH_FTPUSERS, "ftp", 0, NULL, &ecode) || in user()
1022 (ecode != 0 && ecode != ENOENT)) in user()
1025 (ecode != 0 && ecode != ENOENT)) in user()
1055 (ecode != 0 && ecode != ENOENT))) { in user()
1104 if (ecode != NULL) in checkuser()
1105 *ecode = 0; in checkuser()
1174 } else if (ecode != NULL) in checkuser()
1175 *ecode = errno; in checkuser()
1372 int rval, ecode; in pass() local
[all …]

123