Home
last modified time | relevance | path

Searched refs:errp (Results 1 – 21 of 21) sorted by relevance

/dragonfly/contrib/binutils-2.34/libctf/
H A Dctf-open-bfd.c44 int *errp) in ctf_new_archive_internal() argument
82 ctf_bfdopen (struct bfd *abfd, int *errp) in ctf_bfdopen() argument
124 const ctf_sect_t *ctfsect, int *errp) in ctf_bfdopen_ctfsect() argument
200 ctfsect->cts_size, errp)) == NULL) in ctf_bfdopen_ctfsect()
209 ctf_errmsg (*errp)); in ctf_bfdopen_ctfsect()
214 errp); in ctf_bfdopen_ctfsect()
228 ctf_set_open_errno (errp, ECTF_FMT); in ctf_bfdopen_ctfsect()
277 NULL, 0, errp)) == NULL) in ctf_fdopen()
352 if (errp != NULL) in ctf_open()
353 *errp = errno; in ctf_open()
[all …]
H A Dctf-archive.c356 if (errp) in ctf_arc_bufopen()
357 *errp = ECTF_FMT; in ctf_arc_bufopen()
410 if (errp) in ctf_arc_open_internal()
411 *errp = errno; in ctf_arc_open_internal()
474 if (errp) in ctf_arc_open_by_name_internal()
475 *errp = ECTF_ARNNAME; in ctf_arc_open_by_name_internal()
494 int *errp) in ctf_arc_open_by_name_sections() argument
500 name, errp); in ctf_arc_open_by_name_sections()
508 if (errp) in ctf_arc_open_by_name_sections()
509 *errp = ECTF_ARNNAME; in ctf_arc_open_by_name_sections()
[all …]
H A Dctf-open.c1226 int *errp) in ctf_simple_open() argument
1230 0, errp); in ctf_simple_open()
1241 int *errp) in ctf_simple_open_internal() argument
1279 writable, errp); in ctf_simple_open_internal()
1289 const ctf_sect_t *strsect, int *errp) in ctf_bufopen() argument
1299 int writable, int *errp) in ctf_bufopen_internal() argument
1312 return (ctf_set_open_errno (errp, EINVAL)); in ctf_bufopen_internal()
1349 return (ctf_set_open_errno (errp, ECTF_NOCTFBUF)); in ctf_bufopen_internal()
1374 return (ctf_set_open_errno (errp, ENOMEM)); in ctf_bufopen_internal()
1384 return (ctf_set_open_errno (errp, ENOMEM)); in ctf_bufopen_internal()
[all …]
H A Dctf-util.c160 ctf_set_open_errno (int *errp, int error) in ctf_set_open_errno() argument
162 if (errp != NULL) in ctf_set_open_errno()
163 *errp = error; in ctf_set_open_errno()
H A Dctf-create.c70 ctf_create (int *errp) in ctf_create() argument
85 ctf_set_open_errno (errp, EAGAIN); in ctf_create()
93 ctf_set_open_errno (errp, EAGAIN); in ctf_create()
107 ctf_set_open_errno (errp, EAGAIN); in ctf_create()
116 if ((fp = ctf_bufopen_internal (&cts, NULL, NULL, NULL, 1, errp)) == NULL) in ctf_create()
133 ctf_set_open_errno (errp, ctf_errno (fp)); in ctf_create()
/dragonfly/lib/libc/net/
H A Dname6.c228 *errp = NO_RECOVERY; in getipnodebyname()
251 *errp = HOST_NOT_FOUND; in getipnodebyname()
262 *errp = HOST_NOT_FOUND; in getipnodebyname()
273 *errp = NETDB_INTERNAL; in getipnodebyname()
282 hp = _hpcopy(hp, errp); in getipnodebyname()
326 *errp = NO_RECOVERY; in getipnodebyaddr()
339 *errp = NO_RECOVERY; in getipnodebyaddr()
358 *errp = NO_RECOVERY; in getipnodebyaddr()
378 return (_hpcopy(hp, errp)); in getipnodebyaddr()
433 *errp = TRY_AGAIN; in _hpcopy()
[all …]
/dragonfly/contrib/less/
H A Doption.c596 static int num_error(char *printopt, int *errp, int overflow) in num_error() argument
600 if (errp != NULL) in num_error()
602 *errp = TRUE; in num_error()
621 public int getnum(char **sp, char *printopt, int *errp) in getnum() argument
635 return (num_error(printopt, errp, FALSE)); in getnum()
639 return (num_error(printopt, errp, TRUE)); in getnum()
640 if (errp != NULL) in getnum()
641 *errp = FALSE; in getnum()
661 return (num_error(printopt, errp, FALSE)); in getfraction()
673 if (errp != NULL) in getfraction()
[all …]
H A Dfuncs.h290 public int getnum(char **sp, char *printopt, int *errp);
291 public long getfraction(char **sp, char *printopt, int *errp);
/dragonfly/usr.bin/top/
H A Dcommands.c205 register struct errs *errp; in err_string() local
229 errp = &(errs[cnt++]); in err_string()
235 if (errp->errnum != currerr) in err_string()
249 currerr = errp->errnum; in err_string()
254 stringlen = str_addarg(string, stringlen, errp->arg, first); in err_string()
339 register struct errs *errp = errs; in show_errors() local
344 printf("%5s: %s\n", errp->arg, in show_errors()
345 errp->errnum == 0 ? "Not a number" : errmsg(errp->errnum)); in show_errors()
346 errp++; in show_errors()
/dragonfly/include/rpc/
H A Dclnt.h179 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument
180 #define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument
/dragonfly/contrib/nvi2/ex/
H A Dex.c1625 *errp = 0; in ex_range()
1660 *errp = 1; in ex_range()
1739 if (*errp) in ex_range()
1794 *errp = 1; in ex_range()
1835 *errp = 1; in ex_line()
1857 *errp = 1; in ex_line()
1862 *errp = 1; in ex_line()
1876 *errp = 1; in ex_line()
1880 *errp = 1; in ex_line()
1896 *errp = 1; in ex_line()
[all …]
/dragonfly/sys/kern/
H A Dvfs_subr.c2493 vn_isdisk(struct vnode *vp, int *errp) in vn_isdisk() argument
2498 if (errp != NULL) in vn_isdisk()
2499 *errp = ENOTBLK; in vn_isdisk()
2506 if (errp != NULL) in vn_isdisk()
2507 *errp = ENXIO; in vn_isdisk()
2511 if (errp != NULL) in vn_isdisk()
2512 *errp = ENXIO; in vn_isdisk()
2516 if (errp != NULL) in vn_isdisk()
2517 *errp = ENOTBLK; in vn_isdisk()
2520 if (errp != NULL) in vn_isdisk()
[all …]
/dragonfly/lib/libkvm/
H A Dkvm_private.h50 char *errp; /* XXX this can probably go away */ member
/dragonfly/sys/vfs/nfs/
H A Dnfs_subs.c1483 short *defaulterrp, *errp; in nfsrv_errmap() local
1487 errp = defaulterrp = nfsrv_v3errmap[nd->nd_procnum]; in nfsrv_errmap()
1488 while (*++errp) { in nfsrv_errmap()
1489 if (*errp == err) in nfsrv_errmap()
1491 else if (*errp > err) in nfsrv_errmap()
/dragonfly/contrib/binutils-2.34/include/
H A Dctf-api.h259 const char *target, int *errp);
261 const char *target, int *errp);
/dragonfly/usr.bin/telnet/
H A Dtelnet.c653 setupterm(char *tname, int fd, int *errp) in setupterm() argument
657 if (errp) in setupterm()
658 *errp = 1; in setupterm()
661 if (errp) in setupterm()
662 *errp = 0; in setupterm()
/dragonfly/lib/libc/rpc/
H A Dclnt_vc.c427 clnt_vc_geterr(CLIENT *cl, struct rpc_err *errp) in clnt_vc_geterr() argument
432 assert(errp != NULL); in clnt_vc_geterr()
435 *errp = ct->ct_error; in clnt_vc_geterr()
H A Dclnt_dg.c525 clnt_dg_geterr(CLIENT *cl, struct rpc_err *errp) in clnt_dg_geterr() argument
529 *errp = cu->cu_error; in clnt_dg_geterr()
/dragonfly/include/arpa/
H A Dnameser.h529 u_int32_t ns_datetosecs(const char *cp, int *errp);
/dragonfly/sys/sys/
H A Dvnode.h492 int vn_isdisk (struct vnode *vp, int *errp);
/dragonfly/contrib/gdb-7/gdb/
H A Dvalue.h886 struct value **valuep, int *errp);