Searched refs:res (Results 1 - 25 of 435) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libnsl/yp/
H A Dyp_b_clnt.c48 static char res; local
50 res = 0;
52 argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS)
54 return ((void *)&res);
60 static ypbind_resp res; local
62 (void) memset(&res, 0, sizeof (res));
65 (char *)&res, TIMEOUT) != RPC_SUCCESS)
67 return (&res);
73 static char res; local
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dsecutil.c16 char *res; local
19 if ((res = (char *)calloc (aLen*2 + 1, 1 )) == NULL){
25 res[i] = hexdig[ ( *aString & 0xf0 ) >> 4 ];
26 res[i + 1] = hexdig[ *aString & 0x0f ];
31 return (res);
H A Dreferral.c38 ldap_first_reference( LDAP *ld, LDAPMessage *res )
40 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || res == NULLMSG ) {
44 if ( res->lm_msgtype == LDAP_RES_SEARCH_REFERENCE ) {
45 return( res );
48 return( ldap_next_reference( ld, res ));
72 ldap_count_references( LDAP *ld, LDAPMessage *res )
80 for ( i = 0; res != NULL; res = res->lm_chain ) {
81 if ( res
173 ldap_get_reference_urls(LDAP *ld, LDAPMessage *res) argument
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Ddns_p.h25 #define maybe_ok(res, nm, ok) (((res)->options & RES_NOCHECKNAME) != 0U || \
27 #define maybe_hnok(res, hn) maybe_ok((res), (hn), res_hnok)
28 #define maybe_dnok(res, dn) maybe_ok((res), (dn), res_dnok)
35 struct __res_state *res; member in struct:dns_p
H A Ddns.c76 dns->res = NULL;
113 if (dns->res == NULL) {
114 struct __res_state *res; local
115 res = (struct __res_state *)malloc(sizeof *res);
116 if (res == NULL)
118 memset(res, 0, sizeof *res);
119 dns_res_set(this, res, free);
122 if ((dns->res
130 dns_res_set(struct irs_acc *this, struct __res_state *res, void (*free_res)(void *)) argument
[all...]
H A Dlcl.c71 lcl->res = NULL;
100 if (lcl->res == NULL) {
101 struct __res_state *res; local
102 res = (struct __res_state *)malloc(sizeof *res);
103 if (res == NULL)
105 memset(res, 0, sizeof *res);
106 lcl_res_set(this, res, free);
109 if ((lcl->res
117 lcl_res_set(struct irs_acc *this, struct __res_state *res, void (*free_res)(void *)) argument
[all...]
H A Dnis.c113 if (nis->res == NULL) {
114 struct __res_state *res; local
115 res = (struct __res_state *)malloc(sizeof *res);
116 if (res == NULL)
118 memset(res, 0, sizeof *res);
119 nis_res_set(this, res, free);
122 if ((nis->res->options & RES_INIT) == 0 &&
123 res_ninit(nis->res) <
130 nis_res_set(struct irs_acc *this, struct __res_state *res, void (*free_res)(void *)) argument
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dgetmsg.c20 LDAPMessage * ldap_first_message(LDAP *ld, LDAPMessage *res) argument
22 return (res == NULLMSG ? NULLMSG : res);
32 int ldap_count_messages( LDAP *ld, LDAPMessage *res) argument
36 for ( i =0; res != NULL; res = res->lm_chain)
H A Dgetentry.c41 ldap_first_entry( LDAP *ld, LDAPMessage *res )
43 LDAPMessage *msg = res;
73 ldap_count_entries( LDAP *ld, LDAPMessage *res )
77 for ( i = 0; res != NULL; res = res->lm_chain )
78 if (res->lm_msgtype == LDAP_RES_SEARCH_ENTRY)
H A Dgetref.c21 LDAPMessage * ldap_first_reference(LDAP *ld, LDAPMessage *res) argument
23 LDAPMessage *msg = res;
51 ldap_count_references( LDAP *ld, LDAPMessage *res )
55 for ( i = 0; res != NULL; res = res->lm_chain )
56 if (res->lm_msgtype == LDAP_RES_SEARCH_REFERENCE)
62 char ** ldap_get_reference_urls(LDAP *ld, LDAPMessage *res) argument
69 if (res == NULL){
73 tmp = *res
[all...]
/osnet-11/usr/src/lib/libsocket/inet/
H A Dgetnetent.c53 struct netent *res = 0; local
56 res = getnetbyname_r(nam, b->result, b->buffer, b->buflen);
58 return (res);
65 struct netent *res = 0; local
68 res = getnetbyaddr_r(net, type, b->result,
71 return (res);
78 struct netent *res = 0; local
81 res = getnetent_r(b->result, b->buffer, b->buflen);
83 return (res);
H A Dgetprotoent.c53 struct protoent *res = 0; local
56 res = getprotobyname_r(nam, b->result, b->buffer, b->buflen);
58 return (res);
65 struct protoent *res = 0; local
68 res = getprotobynumber_r(proto, b->result,
71 return (res);
78 struct protoent *res = 0; local
81 res = getprotoent_r(b->result, b->buffer, b->buflen);
83 return (res);
H A Dgetservent.c52 struct servent *res = 0; local
55 res = getservbyname_r(nam, proto,
58 return (res);
65 struct servent *res = 0; local
68 res = getservbyport_r(port, proto,
71 return (res);
78 struct servent *res = 0; local
81 res = getservent_r(b->result, b->buffer, b->buflen);
83 return (res);
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddtsol.c48 int res, retval; local
53 res = genent_attr(line, TNRHDB_NCOL, &ecol);
54 if (res != GENENT_OK)
55 return (res);
69 res = GENENT_CBERR;
73 return (res);
77 dump_tnrhdb(ns_ldap_result_t *res) argument
81 value = __ns_ldap_getAttr(res->entry, "ipTnetNumber");
88 value = __ns_ldap_getAttr(res->entry, "ipTnetTemplateName");
99 int res, retva local
125 dump_tnrhtp(ns_ldap_result_t *res) argument
[all...]
H A Dldapaddent.h77 extern void dump_user_attr(ns_ldap_result_t *res);
78 extern void dump_prof_attr(ns_ldap_result_t *res);
79 extern void dump_exec_attr(ns_ldap_result_t *res);
80 extern void dump_auth_attr(ns_ldap_result_t *res);
81 extern void dump_tnrhdb(ns_ldap_result_t *res);
82 extern void dump_tnrhtp(ns_ldap_result_t *res);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dsubst_amp.t19 @res = ();
21 s/\Ga(?{push @res, $_, $`})/xx/g;
22 print "not " unless "$_ @res" eq 'axxxx aaa a aaa aa';
26 @res = ();
28 s/\Ga(?{push @res, $_, $`})/x/g;
29 print "not " unless "$_ @res" eq 'axx aaa a aaa aa';
33 @res = ();
35 s/\Ga(?{push @res, $_, $`})/xx/;
36 print "not " unless "$_ @res" eq 'axxa aaa a';
40 @res
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dctime_r.c96 struct tm res; local
98 if (localtime_r(t, &res) == NULL)
101 if (asctime_r(&res, buffer, buflen) == NULL)
114 struct tm res; local
116 if (localtime_r(t, &res) == NULL)
119 if (__posix_asctime_r(&res, buffer) == NULL)
/osnet-11/usr/src/lib/libsqlite/src/
H A Dtable.c137 TabResult res; local
142 res.zErrMsg = 0;
143 res.nResult = 0;
144 res.nRow = 0;
145 res.nColumn = 0;
146 res.nData = 1;
147 res.nAlloc = 20;
148 res.rc = SQLITE_OK;
149 res.azResult = malloc( sizeof(char*)*res
[all...]
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dctermid.c41 static const char res[L_ctermid] = "/dev/tty"; variable
50 return ((char *)res);
51 return (strcpy(s, res));
/osnet-11/usr/src/lib/passwdutil/
H A D__check_history.c55 int res; local
66 res = PWU_NOT_FOUND;
69 while ((i <= REP_LAST) && (res == PWU_NOT_FOUND)) {
72 res = rops[i]->checkhistory(user, passwd, rep);
75 return (res);
H A D__get_authtoken_attr.c45 int res; local
58 res = PWU_NOT_FOUND;
61 while ((i <= REP_LAST) && (res == PWU_NOT_FOUND)) {
63 res = rops[i]->getattr(name, item, rep);
66 return (res);
/osnet-11/usr/src/lib/libresolv2/common/bsd/
H A Dgettimeofday.c20 int res; local
22 res = gettimeofday(tp, tzp);
23 if (res < 0)
24 return (res);
26 return (res);
40 return (res);
43 return (res);
/osnet-11/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c56 int res; local
66 res = pam_get_item(pamh, PAM_OLDAUTHTOK, (void **)&authtok);
67 if (res != PAM_SUCCESS)
68 return (res);
71 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&authtok);
72 if (res != PAM_SUCCESS)
73 return (res);
75 res = pam_set_item(pamh, PAM_OLDAUTHTOK,
77 if (res == PAM_SUCCESS)
78 res
148 int res; local
199 int res; local
226 int res; local
[all...]
/osnet-11/usr/src/lib/libc/port/i18n/
H A Dgettext.c71 char *res; local
75 res = _real_bindtextdomain_u(domain, binding, TP_BINDING);
77 return (res);
83 char *res; local
87 res = _real_bindtextdomain_u(domain, codeset, TP_CODESET);
89 return (res);
99 char *res; local
104 res = _textdomain_u(domain, tmp_domain);
105 if (res == NULL) {
120 char *res; local
138 char *res; local
152 char *res; local
169 char *res; local
184 char *res; local
199 char *res; local
[all...]
/osnet-11/usr/src/lib/nsswitch/nis/common/
H A Dgethostent.c46 nss_status_t res; local
65 res = _nss_nis_lookup(be, argp, 1, "hosts.byname",
68 argp->h_errno = __nss2herrno(res);
69 return (res);
72 res = _nss_nis_lookup(be, argp, 1,
74 if (res != NSS_SUCCESS)
75 argp->h_errno = __nss2herrno(res);
76 return (res);
87 nss_status_t res; local
98 res
[all...]

Completed in 77 milliseconds

1234567891011>>