/freebsd-10.2-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 236 return (ctf_set_open_errno(errp, errno)); 239 return (ctf_set_open_errno(errp, nbytes < 0? errno : ECTF_FMT)); 248 return (ctf_set_open_errno(errp, ECTF_CTFVERS)); 254 return (ctf_set_open_errno(errp, errno)); 263 if ((fp = ctf_bufopen(&ctfsect, NULL, NULL, errp)) 468 ctf_open(const char *filename, int *errp) argument [all...] |
/freebsd-10.2-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-10.2-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-10.2-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-10.2-release/sys/dev/hyperv/utilities/ |
H A D | unicode.h | 46 int flags, int *errp) 134 if (errp) 135 *errp = error; 146 int flags, int *errp) 194 if (errp) 195 *errp = error; 44 utf8_to_utf16(uint16_t *dst, size_t dst_len, const char *src, size_t src_len, int flags, int *errp) argument 144 utf16_to_utf8(char *dst, size_t dst_len, const uint16_t *src, size_t src_len, int flags, int *errp) argument
|
/freebsd-10.2-release/sys/rpc/ |
H A D | clnt_bck.c | 201 struct rpc_err *errp; local 226 errp = &ext->rc_err; 229 errp = &ct->ct_error; 265 errp->re_status = stat = RPC_SUCCESS; 270 errp->re_status = stat = RPC_CANTENCODEARGS; 294 if (errp != &ct->ct_error) { 295 errp->re_errno = ct->ct_error.re_errno; 296 errp->re_status = RPC_CANTRECV; 333 errp->re_errno = error; 334 errp 477 clnt_bck_geterr(CLIENT *cl, struct rpc_err *errp) argument [all...] |
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 568 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 | 336 clnt_reconnect_geterr(CLIENT *cl, struct rpc_err *errp) argument 340 *errp = rc->rc_err;
|
/freebsd-10.2-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 | 545 const ctf_sect_t *strsect, int *errp) 555 return (ctf_set_open_errno(errp, EINVAL)); 559 return (ctf_set_open_errno(errp, ECTF_SYMTAB)); 562 return (ctf_set_open_errno(errp, ECTF_SYMBAD)); 565 return (ctf_set_open_errno(errp, ECTF_STRBAD)); 568 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF)); 582 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF)); 586 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF)); 596 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF)); 608 return (ctf_set_open_errno(errp, ECTF_CTFVER 544 ctf_bufopen(const ctf_sect_t *ctfsect, const ctf_sect_t *symsect, const ctf_sect_t *strsect, int *errp) argument [all...] |
/freebsd-10.2-release/lib/libc/net/ |
H A D | name6.c | 217 getipnodebyname(const char *name, int af, int flags, int *errp) argument 231 *errp = NO_RECOVERY; 254 *errp = HOST_NOT_FOUND; 257 return _hpaddr(af, name, &addrbuf, errp); 265 *errp = HOST_NOT_FOUND; 269 return _hpaddr(af, name, &addrbuf, errp); 276 *errp = NETDB_INTERNAL; 285 hp = _hpcopy(hp, errp); 295 *errp = statp->res_h_errno; 297 hp = _hpmapv6(hp2, errp); 316 getipnodebyaddr(const void *src, size_t len, int af, int *errp) argument 400 _hpcopy(struct hostent *hp, int *errp) argument 479 _hpaddr(int af, const char *name, void *addr, int *errp) argument 500 _hpmerge(struct hostent *hp1, struct hostent *hp2, int *errp) argument 567 _hpmapv6(struct hostent *hp, int *errp) argument [all...] |
/freebsd-10.2-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_open.c | 833 set_open_errno(dtrace_hdl_t *dtp, int *errp, int err) argument 837 if (errp != NULL) 838 *errp = err; 1015 dt_vopen(int version, int flags, int *errp, argument 1040 return (set_open_errno(dtp, errp, EINVAL)); 1043 return (set_open_errno(dtp, errp, EDT_VERSION)); 1057 return (set_open_errno(dtp, errp, EDT_OVERSION)); 1061 return (set_open_errno(dtp, errp, EINVAL)); 1064 return (set_open_errno(dtp, errp, EINVAL)); 1067 return (set_open_errno(dtp, errp, EINVA 1580 dtrace_open(int version, int flags, int *errp) argument 1586 dtrace_vopen(int version, int flags, int *errp, const dtrace_vector_t *vector, void *arg) argument [all...] |
/freebsd-10.2-release/lib/libkvm/ |
H A D | kvm_private.h | 44 char *errp; /* XXX this can probably go away */ member in struct:__kvm
|
/freebsd-10.2-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-10.2-release/contrib/nvi/ex/ |
H A D | ex.c | 1622 ex_range(SCR *sp, EXCMD *ecp, int *errp) argument 1630 *errp = 0; 1665 *errp = 1; 1680 *errp = 1; 1700 *errp = 1; 1742 if (ex_line(sp, ecp, &m, &isaddr, errp)) 1744 if (*errp) 1750 *errp = 1; 1799 *errp = 1; 1821 ex_line(SCR *sp, EXCMD *ecp, MARK *mp, int *isaddrp, int *errp) argument [all...] |
/freebsd-10.2-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdsubs.c | 1496 short *defaulterrp, *errp; local 1504 errp = defaulterrp = nfsrv_v3errmap[nd->nd_procnum]; 1516 errp = defaulterrp = nfsrv_v4errmap[nd->nd_procnum]; 1517 while (*++errp) 1518 if (*errp == nd->nd_repstat) 1693 short *errp; local 1695 errp = nfsrv_v4errmap[op]; 1696 while (*errp != 0) { 1697 if (*errp == NFSERR_MOVED) 1699 errp [all...] |
/freebsd-10.2-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-10.2-release/sys/nfsserver/ |
H A D | nfs_srvsubs.c | 1169 const short *defaulterrp, *errp; local 1175 errp = defaulterrp = nfsrv_v3errmap[nd->nd_procnum]; 1176 while (*++errp) { 1177 if (*errp == err) 1179 else if (*errp > err)
|
/freebsd-10.2-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-10.2-release/contrib/telnet/telnet/ |
H A D | telnet.c | 706 setupterm(char *tname, int fd, int *errp) argument 710 if (errp) 711 *errp = 1; 714 if (errp) 715 *errp = 0;
|
/freebsd-10.2-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-10.2-release/contrib/gdb/gdb/ |
H A D | value.h | 504 struct value **valuep, int *errp);
|