Searched refs:errp (Results 1 - 25 of 48) sorted by relevance

12

/macosx-10.10.1/libresolv-57/
H A Dns_date.c59 ns_datetosecs(const char *cp, int *errp) { argument
67 *errp = 1;
70 *errp = 0;
73 time.tm_year = datepart(cp + 0, 4, 1990, 9999, errp) - 1900;
74 time.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1;
75 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp);
76 time.tm_hour = datepart(cp + 8, 2, 00, 23, errp);
77 time.tm_min = datepart(cp + 10, 2, 00, 59, errp);
78 time.tm_sec = datepart(cp + 12, 2, 00, 59, errp);
79 if (*errp) /* An
120 datepart(const char *buf, int size, int min, int max, int *errp) argument
[all...]
/macosx-10.10.1/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.h16 struct hostent **rp, int *errp);
22 char *buffer, int buflen, int *errp);
36 struct hostent **rp, int *errp);
50 size_t buflen, struct hostent **rp, int *errp);
57 int buflen, int *errp);
63 idn_stub_getipnodebyname(const char *name, int af, int flags, int *errp);
68 idn_stub_getipnodebyaddr(const void *src, size_t len, int af, int *errp);
H A Dstub.c214 struct hostent **rp, int *errp)
218 struct hostent **rp, int *errp);
223 return ((*fp)(name, result, buffer, buflen, rp, errp));
232 struct hostent **rp, int *errp)
236 struct hostent **rp, int *errp);
241 return ((*fp)(name, af, result, buffer, buflen, rp, errp));
250 size_t buflen, struct hostent **rp, int *errp)
254 size_t buflen, struct hostent **rp, int *errp);
260 buffer, buflen, rp, errp));
270 char *buffer, int buflen, int *errp)
212 idn_stub_gethostbyname_r(const char *name, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
230 idn_stub_gethostbyname2_r(const char *name, int af, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
248 idn_stub_gethostbyaddr_r(GHBA_ADDR_T addr, GHBA_ADDRLEN_T len, int type, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
269 idn_stub_gethostbyname_r(const char *name, struct hostent *result, char *buffer, int buflen, int *errp) argument
285 idn_stub_gethostbyaddr_r(GHBA_ADDR_T addr, int len, int type, struct hostent *result, char *buffer, int buflen, int *errp) argument
305 idn_stub_getipnodebyname(const char *name, int af, int flags, int *errp) argument
319 idn_stub_getipnodebyaddr(const void *src, size_t len, int af, int *errp) argument
[all...]
H A Dresolver.c130 int *errp);
133 int *errp);
219 char *buf, size_t buflen, int *errp)
228 * returned and '*errp' is set to NO_RECOVERY.
369 *errp = NO_RECOVERY;
393 copy_decode_hostent_dynamic(struct hostent *hp, int *errp) { argument
400 * If malloc() fails, NULL will be returned and '*errp' is set to
476 *errp = NO_RECOVERY;
616 struct hostent **rp, int *errp)
628 buflen, rp, errp));
218 copy_decode_hostent_static(struct hostent *hp, struct hostent *newhp, char *buf, size_t buflen, int *errp) argument
614 gethostbyname_r(const char *name, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
672 gethostbyname2_r(const char *name, int af, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
729 gethostbyaddr_r(GHBA_ADDR_T addr, GHBA_ADDRLEN_T len, int type, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
782 gethostbyname_r(const char *name, struct hostent *result, char *buffer, int buflen, int *errp) argument
834 gethostbyaddr_r(GHBA_ADDR_T addr, GHBA_ADDRLEN_T len, int type, struct hostent *result, char *buffer, int buflen, int *errp) argument
881 getipnodebyname(const char *name, int af, int flags, int *errp) argument
914 getipnodebyaddr(const void *src, size_t len, int af, int *errp) argument
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dschema.c1501 LDAP_CONST char ** errp,
1514 *errp = "";
1518 *errp = s;
1537 *errp = ss;
1552 *errp = EndOfInput;
1562 *errp = ss;
1571 *errp = ss;
1579 *errp = ss;
1588 *errp = ss;
1599 *errp
1499 ldap_str2syntax( LDAP_CONST char * s, int * code, LDAP_CONST char ** errp, LDAP_CONST unsigned flags ) argument
1642 ldap_str2matchingrule( LDAP_CONST char * s, int * code, LDAP_CONST char ** errp, LDAP_CONST unsigned flags ) argument
1842 ldap_str2matchingruleuse( LDAP_CONST char * s, int * code, LDAP_CONST char ** errp, LDAP_CONST unsigned flags ) argument
2045 ldap_str2attributetype( LDAP_CONST char * s, int * code, LDAP_CONST char ** errp, LDAP_CONST unsigned flags ) argument
2427 ldap_str2objectclass( LDAP_CONST char * s, int * code, LDAP_CONST char ** errp, LDAP_CONST unsigned flags ) argument
2715 ldap_str2contentrule( LDAP_CONST char * s, int * code, LDAP_CONST char ** errp, LDAP_CONST unsigned flags ) argument
2970 ldap_str2structurerule( LDAP_CONST char * s, int * code, LDAP_CONST char ** errp, LDAP_CONST unsigned flags ) argument
3155 ldap_str2nameform( LDAP_CONST char * s, int * code, LDAP_CONST char ** errp, LDAP_CONST unsigned flags ) argument
[all...]
/macosx-10.10.1/dtrace-147/libctf/
H A Dctf_lib.c55 ctf_zopen(int *errp) argument
67 return (ctf_set_open_errno(errp, ECTF_ZINIT));
75 return (ctf_set_open_errno(errp, ECTF_ZINIT));
175 ctf_fdopen(int fd, int *errp) argument
195 return (ctf_set_open_errno(errp, errno));
198 return (ctf_set_open_errno(errp, nbytes < 0? errno : ECTF_FMT));
207 return (ctf_set_open_errno(errp, ECTF_CTFVERS));
213 return (ctf_set_open_errno(errp, errno));
222 if ((fp = ctf_bufopen(&ctfsect, NULL, NULL, errp)) == NULL)
249 return (ctf_set_open_errno(errp, ECTF_ENDIA
401 ctf_open(const char *filename, int *errp) argument
[all...]
H A Dctf_util.c132 * 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 Dctf_open.c652 const ctf_sect_t *strsect, int *errp)
662 return (ctf_set_open_errno(errp, EINVAL));
666 return (ctf_set_open_errno(errp, ECTF_SYMTAB));
669 return (ctf_set_open_errno(errp, ECTF_SYMBAD));
672 return (ctf_set_open_errno(errp, ECTF_STRBAD));
675 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF));
689 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF));
693 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF));
703 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF));
715 return (ctf_set_open_errno(errp, ECTF_CTFVER
651 ctf_bufopen(const ctf_sect_t *ctfsect, const ctf_sect_t *symsect, const ctf_sect_t *strsect, int *errp) argument
[all...]
/macosx-10.10.1/less-25/less/
H A Doption.c612 num_error(printopt, errp)
614 int *errp;
618 if (errp != NULL)
620 *errp = TRUE;
639 getnum(sp, printopt, errp)
642 int *errp;
656 return (num_error(printopt, errp));
662 if (errp != NULL)
663 *errp = FALSE;
676 getfraction(sp, printopt, errp)
[all...]
/macosx-10.10.1/dtrace-147/libdtrace/
H A Ddt_open.c702 set_open_errno(dtrace_hdl_t *dtp, int *errp, int err) argument
706 if (errp != NULL)
707 *errp = err;
795 dt_vopen(int version, int flags, int *errp, argument
820 return (set_open_errno(dtp, errp, EINVAL));
823 return (set_open_errno(dtp, errp, EDT_VERSION));
837 return (set_open_errno(dtp, errp, EDT_OVERSION));
841 return (set_open_errno(dtp, errp, EINVAL));
844 return (set_open_errno(dtp, errp, EINVAL));
847 return (set_open_errno(dtp, errp, EINVA
1289 dtrace_open(int version, int flags, int *errp) argument
1295 dtrace_vopen(int version, int flags, int *errp, const dtrace_vector_t *vector, void *arg) argument
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/include/
H A Dldap_schema.h237 LDAP_CONST char ** errp,
244 LDAP_CONST char ** errp,
251 LDAP_CONST char ** errp,
258 LDAP_CONST char ** errp,
265 LDAP_CONST char ** errp,
272 LDAP_CONST char ** errp,
279 LDAP_CONST char ** errp,
286 LDAP_CONST char ** errp,
/macosx-10.10.1/Libinfo-459/rpc.subproj/
H A Dclnt.h211 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp))
212 #define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp))
H A Dclnt_tcp.c403 clnttcp_geterr(h, errp)
405 struct rpc_err *errp;
410 *errp = ct->ct_error;
H A Dclnt_udp.c484 clntudp_geterr(cl, errp)
486 struct rpc_err *errp;
490 *errp = cu->cu_error;
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dmach_process.c437 cantrace(proc_t cur_procp, kauth_cred_t creds, proc_t traced_procp, int *errp) argument
445 *errp = EINVAL;
453 *errp = EBUSY;
464 *errp = my_err;
469 *errp = EPERM;
474 *errp = EBUSY;
480 *errp = my_err;
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/contrib/ldapc++/src/
H A DLDAPAttrType.cpp29 const char *errp; local
30 a = ldap_str2attributetype (at_item.c_str(), &ret, &errp, flags);
H A DLDAPObjClass.cpp43 const char *errp; local
44 o = ldap_str2objectclass ( oc_item.c_str(), &ret, &errp, flags );
/macosx-10.10.1/apache-793/httpd/modules/http/
H A Dbyterange_filter.c155 char *errp; local
172 if (apr_strtoff(&number, dash+1, &errp, 10) || *errp) {
183 if (apr_strtoff(&number, cur, &errp, 10) || *errp) {
188 if (apr_strtoff(&number, dash, &errp, 10) || *errp) {
/macosx-10.10.1/BerkeleyDB-21/db/test/
H A Dreputilsnoenv.tcl322 { dupmasterp NONE } { errp NONE } } {
341 # errp is a call-by-reference variable which lets our caller
343 if { [string compare $errp NONE] != 0 } {
344 upvar $errp errorp
431 if { [string compare $errp NONE] != 0 } {
H A Dsiutils.tcl68 {errp NONE} {errs NONE} {errsg NONE}} {
73 if { [string compare $errp NONE] != 0 } {
74 upvar $errp errorp
90 if { [string equal $errp NONE] } {
H A Drep012.tcl203 keys data "Rep$tnum.f" errp errs errsg
204 error_check_good deadp [is_substr $errp DB_REP_HANDLE_DEAD] 1
H A Dreputils.tcl732 { dupmasterp NONE } { errp NONE } } {
751 # errp is a call-by-reference variable which lets our caller
753 if { [string compare $errp NONE] != 0 } {
754 upvar $errp errorp
833 if { [string compare $errp NONE] != 0 } {
1812 proc process_msgs { elist {perm_response 0} {dupp NONE} {errp NONE} \
1826 if { [string compare $errp NONE] != 0 } {
1827 upvar $errp errorp
1858 proc proc_msgs_once { elist {dupp NONE} {errp NONE} } {
1868 if { [string compare $errp NON
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/rpc_server/c/
H A Ddb_server_util.c369 new_ct_ent(errp)
370 int *errp;
377 *errp = ret;
389 *errp = __os_get_errno();
/macosx-10.10.1/Heimdal-398.1.2/appl/telnet/telnet/
H A Dtelnet.c639 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;
/macosx-10.10.1/BerkeleyDB-21/db/rpc_server/cxx/
H A Ddb_server_cxxutil.cpp348 new_ct_ent(int *errp) argument
355 *errp = ret;
367 *errp = __os_get_errno();

Completed in 348 milliseconds

12