/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 88 ctf_zopen(int *errp) argument 97 return (ctf_set_open_errno(errp, ECTF_ZMISSING)); 100 return (ctf_set_open_errno(errp, ECTF_ZINIT)); 108 return (ctf_set_open_errno(errp, ECTF_ZINIT)); 215 ctf_fdopen(int fd, int *errp) argument 235 return (ctf_set_open_errno(errp, errno)); 238 return (ctf_set_open_errno(errp, nbytes < 0? errno : ECTF_FMT)); 247 return (ctf_set_open_errno(errp, ECTF_CTFVERS)); 253 return (ctf_set_open_errno(errp, errno)); 262 if ((fp = ctf_bufopen(&ctfsect, NULL, NULL, errp)) 441 ctf_open(const char *filename, int *errp) argument [all...] |
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/ctf/ |
H A D | ctf_mod.c | 67 ctf_zopen(int *errp) argument 88 ctf_fdopen(int fd, int *errp) argument 90 return (ctf_set_open_errno(errp, ENOTSUP)); 95 ctf_open(const char *filename, int *errp) argument 97 return (ctf_set_open_errno(errp, ENOTSUP));
|
/freebsd-9.3-release/contrib/less/ |
H A D | option.c | 602 num_error(printopt, errp) 604 int *errp; 608 if (errp != NULL) 610 *errp = TRUE; 627 getnum(sp, printopt, errp) 630 int *errp; 644 return (num_error(printopt, errp)); 650 if (errp != NULL) 651 *errp = FALSE; 664 getfraction(sp, printopt, errp) [all...] |
/freebsd-9.3-release/contrib/top/ |
H A D | commands.c | 208 register struct errs *errp; local 232 errp = &(errs[cnt++]); 233 if (errp->errnum != currerr) 243 currerr = errp->errnum; 246 if ((stringlen = str_addarg(string, stringlen, errp->arg, first)) ==0) 356 register struct errs *errp = errs; local 361 printf("%5s: %s\n", errp->arg, 362 errp->errnum == 0 ? "Not a number" : errmsg(errp->errnum)); 363 errp [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_util.c | 132 * Store the specified error code into errp if it is non-NULL, and then 136 ctf_set_open_errno(int *errp, int error) argument 138 if (errp != NULL) 139 *errp = error;
|
H A D | ctf_open.c | 544 const ctf_sect_t *strsect, int *errp) 554 return (ctf_set_open_errno(errp, EINVAL)); 558 return (ctf_set_open_errno(errp, ECTF_SYMTAB)); 561 return (ctf_set_open_errno(errp, ECTF_SYMBAD)); 564 return (ctf_set_open_errno(errp, ECTF_STRBAD)); 567 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF)); 581 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF)); 585 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF)); 595 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF)); 607 return (ctf_set_open_errno(errp, ECTF_CTFVER 543 ctf_bufopen(const ctf_sect_t *ctfsect, const ctf_sect_t *symsect, const ctf_sect_t *strsect, int *errp) argument [all...] |
H A D | ctf_create.c | 51 ctf_create(int *errp) argument 61 return (ctf_set_open_errno(errp, EAGAIN)); 71 if ((fp = ctf_bufopen(&cts, NULL, NULL, errp)) == NULL) {
|
/freebsd-9.3-release/sys/rpc/ |
H A D | clnt_dg.c | 337 struct rpc_err *errp; local 369 errp = &ext->rc_err; 372 errp = &cu->cu_error; 395 errp->re_errno = error; 396 errp->re_status = stat = RPC_CANTSEND; 449 errp->re_status = stat = RPC_CANTENCODEARGS; 466 errp->re_errno = error; 468 errp->re_status = stat = RPC_INTR; 470 errp->re_status = stat = RPC_CANTSEND; 499 errp 788 clnt_dg_geterr(CLIENT *cl, struct rpc_err *errp) argument [all...] |
H A D | clnt_vc.c | 293 struct rpc_err *errp; local 318 errp = &ext->rc_err; 321 errp = &ct->ct_error; 358 errp->re_status = stat = RPC_SUCCESS; 363 errp->re_status = stat = RPC_CANTENCODEARGS; 387 if (errp != &ct->ct_error) { 388 errp->re_errno = ct->ct_error.re_errno; 389 errp->re_status = RPC_CANTRECV; 421 errp->re_errno = error; 422 errp 569 clnt_vc_geterr(CLIENT *cl, struct rpc_err *errp) argument [all...] |
H A D | clnt.h | 293 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) 294 #define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp))
|
H A D | clnt_rc.c | 337 clnt_reconnect_geterr(CLIENT *cl, struct rpc_err *errp) argument 341 *errp = rc->rc_err;
|
/freebsd-9.3-release/lib/libc/net/ |
H A D | name6.c | 221 getipnodebyname(const char *name, int af, int flags, int *errp) argument 235 *errp = NO_RECOVERY; 258 *errp = HOST_NOT_FOUND; 261 return _hpaddr(af, name, &addrbuf, errp); 269 *errp = HOST_NOT_FOUND; 273 return _hpaddr(af, name, &addrbuf, errp); 280 *errp = NETDB_INTERNAL; 289 hp = _hpcopy(hp, errp); 299 *errp = statp->res_h_errno; 301 hp = _hpmapv6(hp2, errp); 320 getipnodebyaddr(const void *src, size_t len, int af, int *errp) argument 404 _hpcopy(struct hostent *hp, int *errp) argument 483 _hpaddr(int af, const char *name, void *addr, int *errp) argument 504 _hpmerge(struct hostent *hp1, struct hostent *hp2, int *errp) argument 571 _hpmapv6(struct hostent *hp, int *errp) argument [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_open.c | 823 set_open_errno(dtrace_hdl_t *dtp, int *errp, int err) argument 827 if (errp != NULL) 828 *errp = err; 1005 dt_vopen(int version, int flags, int *errp, argument 1030 return (set_open_errno(dtp, errp, EINVAL)); 1033 return (set_open_errno(dtp, errp, EDT_VERSION)); 1047 return (set_open_errno(dtp, errp, EDT_OVERSION)); 1051 return (set_open_errno(dtp, errp, EINVAL)); 1054 return (set_open_errno(dtp, errp, EINVAL)); 1057 return (set_open_errno(dtp, errp, EINVA 1559 dtrace_open(int version, int flags, int *errp) argument 1565 dtrace_vopen(int version, int flags, int *errp, const dtrace_vector_t *vector, void *arg) argument [all...] |
/freebsd-9.3-release/contrib/nvi/cl/ |
H A D | cl_bsd.c | 169 setupterm(ttype, fno, errp) 171 int fno, *errp; 176 if ((*errp = tgetent(buf, ttype)) > 0) {
|
/freebsd-9.3-release/include/rpc/ |
H A D | clnt.h | 180 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) 181 #define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp))
|
/freebsd-9.3-release/lib/libkvm/ |
H A D | kvm_private.h | 44 char *errp; /* XXX this can probably go away */ member in struct:__kvm
|
/freebsd-9.3-release/contrib/nvi/ex/ |
H A D | ex.c | 1614 ex_range(sp, ecp, errp) 1617 int *errp; 1625 *errp = 0; 1660 *errp = 1; 1675 *errp = 1; 1695 *errp = 1; 1737 if (ex_line(sp, ecp, &m, &isaddr, errp)) 1739 if (*errp) 1745 *errp = 1; 1794 *errp [all...] |
/freebsd-9.3-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdsubs.c | 1482 short *defaulterrp, *errp; local 1490 errp = defaulterrp = nfsrv_v3errmap[nd->nd_procnum]; 1497 errp = defaulterrp = nfsrv_v4errmap[nd->nd_procnum]; 1498 while (*++errp) 1499 if (*errp == nd->nd_repstat) 1655 short *errp; local 1657 errp = nfsrv_v4errmap[op]; 1658 while (*errp != 0) { 1659 if (*errp == NFSERR_MOVED) 1661 errp [all...] |
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/ |
H A D | telnet.c | 639 telnet_setupterm(const char *tname, int fd, int *errp) argument 644 if (errp) 645 *errp = 1; 648 if (errp) 649 *errp = 0; 653 if(errp) *errp = 1;
|
/freebsd-9.3-release/sys/nfsserver/ |
H A D | nfs_srvsubs.c | 1206 const short *defaulterrp, *errp; local 1212 errp = defaulterrp = nfsrv_v3errmap[nd->nd_procnum]; 1213 while (*++errp) { 1214 if (*errp == err) 1216 else if (*errp > err)
|
/freebsd-9.3-release/lib/libc/rpc/ |
H A D | clnt_vc.c | 465 clnt_vc_geterr(cl, errp) 467 struct rpc_err *errp; 472 assert(errp != NULL); 475 *errp = ct->ct_error;
|
H A D | clnt_dg.c | 606 clnt_dg_geterr(cl, errp) 608 struct rpc_err *errp; 612 *errp = cu->cu_error;
|
/freebsd-9.3-release/contrib/telnet/telnet/ |
H A D | telnet.c | 672 setupterm(char *tname, int fd, int *errp) 676 if (errp) 677 *errp = 1; 680 if (errp) 681 *errp = 0; 669 setupterm(char *tname, int fd, int *errp) argument
|
/freebsd-9.3-release/contrib/bsnmp/lib/ |
H A D | snmpagent.c | 111 * Return the node pointer. If the search fails, set the errp to 115 find_node(const struct snmp_value *value, enum snmp_syntax *errp) argument 137 *errp = SNMP_SYNTAX_NOSUCHOBJECT; 147 *errp = SNMP_SYNTAX_NOSUCHINSTANCE;
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | value.h | 504 struct value **valuep, int *errp);
|