Searched defs:rc (Results 151 - 175 of 479) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/pam_modules/ldap/
H A Dldap_acct_mgmt.c185 int rc = PAM_AUTH_ERR; local
190 if ((rc = __ns_ldap_getAcctMgmt(user, &acctResp))
194 user, rc);
307 * just return the rc.
308 * Otherwise, reset rc to the appropriate PAM error or
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c138 int rc = 0; local
266 rc = blowfish_encrypt_contiguous_blocks(
270 if (rc == 0) {
316 int rc = 0; local
435 rc = blowfish_decrypt_contiguous_blocks(
439 if (rc == 0) {
H A DsoftDecryptUtil.c640 int rc; local
699 rc = des_decrypt_contiguous_blocks(
703 if (rc == 0) {
808 rc = aes_decrypt_contiguous_blocks(
812 if (rc == 0) {
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_ia_open.c512 int rc; local
526 rc = gethostname(hostname, NAMELEN);
540 rc = dapls_osd_getaddrinfo(hostname, &addr);
542 if (rc != 0) {
/osnet-11/usr/src/lib/librdc/common/
H A Drdcrules.c94 int rc; local
118 rc = sscanf(buf, "%s %s %s %s %s", mas, sha, bit, mod, ovr);
119 if (rc != 5) {
251 int rc; local
257 rc = cfg_dgname_islocal(dgname, &othernode);
258 if (rc < 0) {
265 if (rc == 0) {
422 int rc; local
447 if ((rc = getmntany(mntfp, &mntent, &mntref)) != -1) {
523 rdc_rc_t *rc; local
[all...]
/osnet-11/usr/src/lib/librstp/common/
H A Dstp_in.c62 int rc, err_code; local
98 rc = STP_stpm_enable (this, admin_state);
99 if (! rc) {
103 if (rc && created_here) {
107 return rc;
703 int rc = 0, prev_prio, err_code; local
734 rc = _check_stpm_config (&old);
735 if (0 != rc) {
736 stp_trace ("_check_stpm_config failed %d", (int) rc);
738 return rc;
896 int rc; local
940 int rc = STP_OK; local
[all...]
/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare_fs.c436 int rc; local
445 rc = ops->saf_get_mntpnt_for_path(shdl, sh_path, mntpnt, mp_len,
447 if (rc == SA_OK && fstypep != NULL)
449 return (rc);
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_kmod.c166 int rc; local
172 rc = smb_kmod_ioctl(SMB_IOC_NUMOPEN, &ioc.hdr, sizeof (ioc));
173 if (rc == 0) {
179 return (rc);
299 int rc; local
303 rc = smb_kmod_ioctl(SMB_IOC_SVCENUM, &ioc->hdr, ioclen);
304 if (rc != 0)
305 return (rc);
321 rc = smb_netuserinfo_decode(user, data, len, &nbytes);
325 rc
362 int rc; local
379 int rc; local
412 int rc; local
445 int rc; local
456 int rc = EINVAL; local
[all...]
H A Dsmb_sam.c216 int rc; local
265 rc = smb_lgrp_getbyrid(rid, SMB_DOMAIN_LOCAL, &grp);
266 if (rc != SMB_LGRP_SUCCESS)
368 int rc; local
372 rc = smb_lgrp_numbydomain(SMB_DOMAIN_BUILTIN, &grpcnt);
376 rc = smb_lgrp_numbydomain(SMB_DOMAIN_LOCAL, &grpcnt);
380 rc = SMB_LGRP_INVALID_ARG;
383 return ((rc == SMB_LGRP_SUCCESS) ? grpcnt : 0);
H A Dsmb_sd.c159 int rc; local
163 rc = sa_share_get_acl(NULL, si->shr_name, si->shr_path, &z_acl);
164 if (rc != SA_OK) {
165 switch (rc) {
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_file.c387 int rc; local
392 rc = smbfs_fh_scf_getbool(hd, propname, &vbool);
395 if (rc != 0)
411 int rc; local
416 rc = smbfs_fh_scf_getint(hd, propname, vint);
418 return (rc);
429 int rc; local
447 rc = scf_handle_get_local_scope(hd->scf_handle, hd->scf_scope);
448 if (rc != SCF_SUCCESS)
454 rc
505 int rc = -1; local
535 int rc = -1; local
[all...]
H A Dsmbfs_pwdutil.c414 int rc; local
424 rc = fprintf(fp, "%u:%s:%s:%s:%s\n", pw->pw_uid, pw->pw_dom, pw->pw_usr,
427 if (rc <= 0)
H A Dsmbfs_utf_str.c188 int rc, err; local
204 while ((rc = u8_textprep_str((char *)s, &inbleft, outs,
217 if (rc < 0) {
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_kpasswd.c198 int rc; local
222 rc = -1;
229 rc = -1;
234 rc = 0;
245 rc = -1;
255 rc = -1;
259 rc = 0;
268 return (rc);
287 int rc = 0; local
315 rc
332 int rc = 0; local
360 int rc = 0; local
456 krb5_error_code kerr, rc = 0; local
[all...]
H A Dsmbns_netbios.c59 int rc; local
66 rc = pthread_create(&tid, &attr, smb_netbios_service, NULL);
68 return (rc);
100 int rc; local
104 rc = pthread_create(&tid, NULL, smb_netbios_name_service, NULL);
105 if (rc != 0) {
118 rc = pthread_create(&tid, NULL, smb_netbios_datagram_service, NULL);
119 if (rc != 0) {
130 rc = pthread_create(&tid, NULL, smb_browser_service, NULL);
131 if (rc !
[all...]
H A Dsmbns_netlogon.c141 int rc; local
175 rc = smb_msgbuf_decode(&mb, "sUU", &junk, &primary, &domain);
176 if (rc < 0) {
191 rc = smb_msgbuf_decode(&mb, "UUU", &primary, &junk, &domain);
192 if (rc < 0) {
480 int rc; local
484 rc = smb_config_getstr(SMB_CI_DOMAIN_SRV, ipstr, INET_ADDRSTRLEN);
485 if (rc == SMBD_SMF_OK) {
486 rc = inet_pton(AF_INET, ipstr, &prefer_ipaddr);
487 if (rc
[all...]
/osnet-11/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c445 int rc; local
447 rc = kmfber_get_int(ber, &longbool);
450 return (rc);
514 ber_int_t rc, tag, *b_int; local
521 for (rc = 0, p = (char *)fmt; *p && rc != KMFBER_DEFAULT; p++) {
525 rc = kmfber_get_stringa(ber, ss);
530 rc = kmfber_get_boolean(ber, i);
535 rc = ber_get_oid(ber, bval);
540 rc
[all...]
H A Dencode.c230 ber_int_t taglen, lenlen, rc, len; local
242 rc = -1;
245 rc = taglen + lenlen + oid->bv_len;
247 return (rc);
254 ber_int_t taglen, lenlen, ilen, rc; local
282 rc = taglen + lenlen + len;
284 return (rc);
291 ber_int_t taglen, lenlen, ilen, rc; local
322 rc = -1;
325 rc
605 int rc, i, t; local
[all...]
/osnet-11/usr/src/lib/libkstat/common/
H A Dkstat.c359 int rc; local
362 rc = close(kc->kc_kd);
364 return (rc);
/osnet-11/usr/src/lib/libldap4/ber/
H A Ddecode.c354 int rc; local
356 rc = ber_get_int( ber, &longbool );
359 return( rc );
408 int *l, rc, tag; local
426 for ( rc = 0; *fmt && rc != LBER_DEFAULT; fmt++ ) {
430 rc = ber_get_stringa( ber, ss );
435 rc = ber_get_boolean( ber, i );
441 rc = ber_get_int( ber, l );
446 rc
[all...]
H A Dencode.c246 int taglen, lenlen, rc; local
272 rc = -1;
275 rc = taglen + lenlen + len;
284 return( rc );
551 int rc, i; local
562 for ( rc = 0; *fmt && rc != -1; fmt++ ) {
566 rc = ber_put_boolean( ber, i, ber->ber_tag );
571 rc = ber_put_int( ber, i, ber->ber_tag );
576 rc
[all...]
H A Dio.c149 ssize_t rc; local
164 rc = udp_read(sb, sb->sb_ber.ber_buf, READBUFSIZ, addrlen );
168 (int)rc );
169 if ( lber_debug > 1 && rc > 0 )
170 lber_bprint( sb->sb_ber.ber_buf, (int)rc );
174 rc = -1;
178 rc = SSL_read(sb->sb_ssl,(u_char *)sb->sb_ber.ber_buf,
187 rc = read( sb->sb_sd, sb->sb_ber.ber_buf,
194 if ( rc <= 0 && (errno==EWOULDBLOCK || errno==EAGAIN) ) {
209 if ( rc >
335 ssize_t nwritten, towrite, rc; local
571 int rc; local
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dcache.c601 int rc; local
609 rc = ( strcasecmp( dn, s ) == 0 ) ? 1 : 0;
611 if ( rc != 0 ) {
612 return( rc );
623 rc = 0;
624 for ( m = msg->lm_chain; m != NULLMSG && rc == 0 ; m = m->lm_chain ) {
630 rc = ( strcasecmp( dn, s ) == 0 ) ? 1 : 0;
635 return( rc );
H A Dcldap.c480 int rc; local
486 rc = LDAP_DECODING_ERROR; /* pessimistic */
492 tag != LBER_DEFAULT && rc != LDAP_SUCCESS;
497 rc = LDAP_NO_MEMORY;
517 rc = LDAP_SUCCESS;
530 rc = LDAP_NO_MEMORY;
551 rc = LDAP_PROTOCOL_ERROR;
595 return(( *res == NULLMSG ) ? rc : ldap_result2error( ld, *res, 0 ));
H A Dos-ip.c144 int rc, i, s, connected, use_hp; local
177 rc = -1;
212 rc = -2;
230 rc = 0;
247 return (rc);

Completed in 57 milliseconds

1234567891011>>