Home
last modified time | relevance | path

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

123

/trueos/lib/libc/net/
HDgai_strerror.c79 gai_strerror(int ecode) in gai_strerror() argument
102 if (ecode > 0 && ecode < EAI_MAX) in gai_strerror()
103 strlcpy(buf, catgets(catd, 3, ecode, ai_errlist[ecode]), in gai_strerror()
105 else if (ecode == 0) in gai_strerror()
116 if (ecode >= 0 && ecode < EAI_MAX) in gai_strerror()
117 return ai_errlist[ecode]; in gai_strerror()
/trueos/sys/dev/ath/ath_hal/ar5312/
HDar5312_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 …]
/trueos/usr.sbin/cron/lib/
HDentry.c36 typedef enum ecode { enum
107 ecode_e ecode = e_none; local
213 ecode = e_timespec;
221 ecode = e_cmd;
231 ecode = e_minute;
241 ecode = e_hour;
253 ecode = e_dom;
263 ecode = e_month;
275 ecode = e_dow;
302 ecode = e_cmd;
[all …]
/trueos/sys/dev/ath/ath_hal/ar9001/
HDar9130_attach.c78 HAL_STATUS ecode; in ar9130Attach() local
134 ecode = HAL_EIO; in ar9130Attach()
141 ecode = HAL_EIO; in ar9130Attach()
168 ecode = ath_hal_v14EepromAttach(ah); in ar9130Attach()
169 if (ecode != HAL_OK) in ar9130Attach()
174 ecode = HAL_EIO; in ar9130Attach()
183 ecode = HAL_ESELFTEST; in ar9130Attach()
210 ecode = HAL_ENOTSUPP; in ar9130Attach()
214 rfStatus = ar2133RfAttach(ah, &ecode); in ar9130Attach()
217 __func__, ecode); in ar9130Attach()
[all …]
HDar9160_attach.c123 HAL_STATUS ecode; in ar9160Attach() local
155 ecode = HAL_EIO; in ar9160Attach()
162 ecode = HAL_EIO; in ar9160Attach()
193 ecode = ath_hal_v14EepromAttach(ah); in ar9160Attach()
194 if (ecode != HAL_OK) in ar9160Attach()
202 ecode = HAL_EIO; in ar9160Attach()
211 ecode = HAL_ESELFTEST; in ar9160Attach()
238 ecode = HAL_ENOTSUPP; in ar9160Attach()
242 rfStatus = ar2133RfAttach(ah, &ecode); in ar9160Attach()
245 __func__, ecode); in ar9160Attach()
[all …]
/trueos/sys/dev/ath/ath_hal/ar9002/
HDar9287_attach.c120 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 …]
HDar9285_attach.c142 HAL_STATUS ecode; in ar9285Attach() local
203 ecode = HAL_EIO; in ar9285Attach()
210 ecode = HAL_EIO; in ar9285Attach()
245 ecode = ath_hal_v4kEepromAttach(ah); in ar9285Attach()
246 if (ecode != HAL_OK) in ar9285Attach()
252 ecode = HAL_EIO; in ar9285Attach()
261 ecode = HAL_ESELFTEST; in ar9285Attach()
288 ecode = HAL_ENOTSUPP; in ar9285Attach()
292 rfStatus = ar9285RfAttach(ah, &ecode); in ar9285Attach()
295 __func__, ecode); in ar9285Attach()
[all …]
HDar9280_attach.c157 HAL_STATUS ecode; in ar9280Attach() local
217 ecode = HAL_EIO; in ar9280Attach()
224 ecode = HAL_EIO; in ar9280Attach()
255 ecode = ath_hal_v14EepromAttach(ah); in ar9280Attach()
256 if (ecode != HAL_OK) in ar9280Attach()
261 ecode = HAL_EIO; in ar9280Attach()
270 ecode = HAL_ESELFTEST; in ar9280Attach()
297 ecode = HAL_ENOTSUPP; in ar9280Attach()
301 rfStatus = ar9280RfAttach(ah, &ecode); in ar9280Attach()
304 __func__, ecode); in ar9280Attach()
[all …]
/trueos/usr.sbin/nfsd/
HDnfsd.c159 int udpflag, ecode, error, s, srvcnt; in main() local
291 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp); in main()
292 if (ecode != 0) in main()
293 err(1, "getaddrinfo udp: %s", gai_strerror(ecode)); in main()
310 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6); in main()
311 if (ecode != 0) in main()
312 err(1, "getaddrinfo udp6: %s", gai_strerror(ecode)); in main()
329 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp); in main()
330 if (ecode != 0) in main()
331 err(1, "getaddrinfo tcp: %s", gai_strerror(ecode)); in main()
[all …]
/trueos/sys/dev/ath/ath_hal/ar5211/
HDar5211_attach.c213 HAL_STATUS ecode; in ar5211Attach() local
223 ecode = HAL_ENOMEM; in ar5211Attach()
250 ecode = HAL_EIO; in ar5211Attach()
270 ecode = HAL_ENOTSUPP; in ar5211Attach()
279 ecode = HAL_ESELFTEST; in ar5211Attach()
297 ecode = HAL_ENOTSUPP; in ar5211Attach()
306 ecode = HAL_EESIZE; in ar5211Attach()
309 ecode = ath_hal_legacyEepromAttach(ah); in ar5211Attach()
310 if (ecode != HAL_OK) { in ar5211Attach()
330 ecode = HAL_ENOTSUPP; in ar5211Attach()
[all …]
/trueos/sys/dev/ath/ath_hal/ar5212/
HDar5212_attach.c329 HAL_STATUS ecode; in ar5212Attach() local
348 ecode = HAL_EIO; in ar5212Attach()
362 ecode = HAL_ENOTSUPP; in ar5212Attach()
372 ecode = HAL_EIO; in ar5212Attach()
386 ecode = HAL_ESELFTEST; in ar5212Attach()
403 rf = ath_hal_rfprobe(ah, &ecode); in ar5212Attach()
454 ecode = HAL_ENOTSUPP; in ar5212Attach()
463 ecode = HAL_ENOTSUPP; in ar5212Attach()
474 ecode = HAL_EESIZE; in ar5212Attach()
483 ecode = HAL_EESIZE; in ar5212Attach()
[all …]
/trueos/contrib/netbsd-tests/fs/nfs/nfsservice/
HDnfsd.c155 int tp4cnt, tp4flag, tpipcnt, udpflag, ecode, s; local
241 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
242 if (ecode != 0) {
244 gai_strerror(ecode));
267 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp);
268 if (ecode != 0) {
270 gai_strerror(ecode));
293 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
294 if (ecode != 0) {
296 gai_strerror(ecode));
[all …]
/trueos/sys/dev/ath/ath_hal/ar5210/
HDar5210_attach.c193 HAL_STATUS ecode; in ar5210Attach() local
205 ecode = HAL_ENOMEM; in ar5210Attach()
233 ecode = HAL_EIO; in ar5210Attach()
258 ecode = ath_hal_v1EepromAttach(ah); in ar5210Attach()
259 if (ecode != HAL_OK) { in ar5210Attach()
262 ecode = ath_hal_eepromGet(ah, AR_EEP_REGDMN_0, &eeval); in ar5210Attach()
263 if (ecode != HAL_OK) { in ar5210Attach()
270 ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr); in ar5210Attach()
271 if (ecode != HAL_OK) { in ar5210Attach()
294 *status = ecode; in ar5210Attach()
HDar5210_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()
/trueos/sys/dev/cxgb/ulp/iw_cxgb/
HDiw_cxgb_qp.c594 u8 *layer_type, u8 *ecode) in build_term_codes() argument
616 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes()
619 *ecode = RDMAP_INV_STAG; in build_term_codes()
626 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes()
628 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes()
632 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes()
636 *ecode = RDMAP_ACC_VIOL; in build_term_codes()
640 *ecode = RDMAP_TO_WRAP; in build_term_codes()
645 *ecode = DDPT_BASE_BOUNDS; in build_term_codes()
648 *ecode = RDMAP_BASE_BOUNDS; in build_term_codes()
[all …]
/trueos/contrib/libc++/src/
Dregex.cpp18 make_error_type_string(regex_constants::error_type ecode) in make_error_type_string() argument
20 switch (ecode) in make_error_type_string()
63 regex_error::regex_error(regex_constants::error_type ecode) in regex_error() argument
64 : runtime_error(make_error_type_string(ecode)), in regex_error()
65 __code_(ecode) in regex_error()
/trueos/libexec/tftpd/
HDtftpd.c511 int has_options = 0, ecode; in tftp_wrq() local
529 ecode = validate_access(peer, &filename, WRQ); in tftp_wrq()
530 if (ecode == 0) { in tftp_wrq()
538 filename, errtomsg(ecode)); in tftp_wrq()
552 int has_options = 0, ecode; in tftp_rrq() local
570 ecode = validate_access(peer, &filename, RRQ); in tftp_rrq()
571 if (ecode == 0) { in tftp_rrq()
598 filename, errtomsg(ecode)); in tftp_rrq()
600 if (ecode) { in tftp_rrq()
605 if (suppress_naks && *filename != '/' && ecode == ENOTFOUND) in tftp_rrq()
[all …]
/trueos/usr.sbin/rpcbind/
HDutil.c270 int ecode; in network_init() local
275 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) { in network_init()
278 gai_strerror(ecode)); in network_init()
290 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) { in network_init()
293 gai_strerror(ecode)); in network_init()
/trueos/sys/dev/cxgbe/iw_cxgbe/
HDqp.c762 u8 *ecode) in build_term_codes() argument
772 *ecode = 0; in build_term_codes()
788 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes()
791 *ecode = RDMAP_INV_STAG; in build_term_codes()
798 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes()
800 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes()
804 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes()
808 *ecode = RDMAP_ACC_VIOL; in build_term_codes()
812 *ecode = RDMAP_TO_WRAP; in build_term_codes()
817 *ecode = DDPT_BASE_BOUNDS; in build_term_codes()
[all …]
/trueos/sys/dev/ath/ath_hal/ar5416/
HDar5416_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 …]
/trueos/contrib/ntp/libntp/
HDntp_rfc2553.c318 gai_strerror(int ecode) in gai_strerror() argument
320 if (ecode < 0 || ecode > EAI_MAX) in gai_strerror()
321 ecode = EAI_MAX; in gai_strerror()
322 return ai_errlist[ecode]; in gai_strerror()
/trueos/crypto/heimdal/lib/roken/
HDgai_strerror.c66 gai_strerror(int ecode) in gai_strerror() argument
71 if (g->code == ecode) in gai_strerror()
/trueos/contrib/netbsd-tests/fs/nfs/nfsservice/rpcbind/
HDutil.c318 int ecode; in network_init() local
323 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) { in network_init()
326 gai_strerror(ecode)); in network_init()
338 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) { in network_init()
341 gai_strerror(ecode)); in network_init()
/trueos/sbin/ifconfig/
HDifpfsync.c99 int ecode; in setpfsync_syncpeer() local
111 if ((ecode = getaddrinfo(val, NULL, &hints, &peerres)) != 0) in setpfsync_syncpeer()
113 gai_strerror(ecode)); in setpfsync_syncpeer()
/trueos/contrib/atf/atf-c++/detail/
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()

123