/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getentry.c | 99 int rc; local 110 rc = LDAP_PARAM_ERROR; 119 rc = LDAP_DECODING_ERROR; 123 rc = nsldapi_get_controls( &tmpber, serverctrlsp ); 126 LDAP_SET_LDERRNO( ld, rc, NULL, NULL ); 127 return( rc );
|
H A D | proxyauthctrl.c | 54 int rc; local 86 rc = nsldapi_build_control( LDAP_CONTROL_PROXYAUTH, ber, 1, 89 LDAP_SET_LDERRNO( ld, rc, NULL, NULL ); 90 return( rc ); 118 int rc; local 146 rc = nsldapi_build_control( LDAP_CONTROL_PROXIEDAUTH, ber, 1, 1, ctrlp ); 148 LDAP_SET_LDERRNO( ld, rc, NULL, NULL ); 149 return( rc );
|
H A D | abandon.c | 78 int rc; local 88 rc = do_abandon( ld, msgid, msgid, serverctrls, clientctrls ); 98 return( rc );
|
H A D | add.c | 86 int i, rc, lderr; local 128 if ( (rc = (ld->ld_cache_add)( ld, *msgidp, LDAP_REQ_ADD, dn, 130 *msgidp = rc; 154 rc = ber_printf( ber, "{s[V]}", attrs[i]->mod_type, 157 rc = ber_printf( ber, "{s[v]}", attrs[i]->mod_type, 160 if ( rc == -1 ) { 182 rc = nsldapi_send_initial_request( ld, *msgidp, LDAP_REQ_ADD, 184 *msgidp = rc; 185 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
|
H A D | cache.c | 66 int i, max, rc; local 121 if (( rc = LDAP_GET_LDERRNO( ld, NULL, NULL )) != LDAP_SUCCESS ) { 124 ldap_err2string( rc ), 0, 0 ); 161 rc = (ld->ld_cache_add)( ld, -1, m->lm_msgtype, dn, mods ); 163 "<= nsldapi_add_result_to_cache added (rc %d)\n", rc, 0, 0 );
|
H A D | delete.c | 66 int rc, lderr; local 95 if ( (rc = (ld->ld_cache_delete)( ld, *msgidp, LDAP_REQ_DELETE, 97 *msgidp = rc; 125 rc = nsldapi_send_initial_request( ld, *msgidp, LDAP_REQ_DELETE, 127 *msgidp = rc; 128 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
|
H A D | getoption.c | 42 int rc = 0; local 65 rc = nsldapi_get_api_info( (LDAPAPIInfo *)optdata ); 66 if ( rc != LDAP_SUCCESS ) { 68 LDAP_SET_LDERRNO( ld, rc, NULL, NULL ); 140 rc = -1; 165 rc = nsldapi_dup_controls( ld, (LDAPControl ***)optdata, 206 rc = -1; 259 rc = nsldapi_get_feature_info( (LDAPAPIFeatureInfo *)optdata ); 260 if ( rc != LDAP_SUCCESS ) { 261 LDAP_SET_LDERRNO( ld, rc, NUL [all...] |
H A D | modify.c | 79 int i, rc, lderr; local 126 if ( (rc = (ld->ld_cache_modify)( ld, *msgidp, LDAP_REQ_MODIFY, 128 *msgidp = rc; 152 rc = ber_printf( ber, "{e{s[V]}}", 156 rc = ber_printf( ber, "{e{s[v]}}", mods[i]->mod_op, 160 if ( rc == -1 ) { 182 rc = nsldapi_send_initial_request( ld, *msgidp, LDAP_REQ_MODIFY, 184 *msgidp = rc; 185 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
|
H A D | sbind.c | 58 int rc; local 66 rc = simple_bind_nolock( ld, dn, passwd, 1 ); 68 return( rc ); 77 int rc, msgid; local 107 rc = (ld->ld_cache_bind)( ld, msgid, LDAP_REQ_BIND, dn, &bv, 111 if ( rc != 0 ) { 112 return( rc ); 117 if (( rc = nsldapi_alloc_ber_with_options( ld, &ber )) 184 int msgid, rc; local 203 rc [all...] |
H A D | setoption.c | 50 int rc, i; local 110 rc = 0; 169 rc = nsldapi_dup_controls(ld, &ld->ld_servercontrols, 174 rc = nsldapi_dup_controls(ld, &ld->ld_clientcontrols, 189 if ((rc = nsldapi_install_compat_io_fns(ld, 191 LDAP_SET_LDERRNO(ld, rc, NULL, NULL); 192 rc = -1; 228 if ((rc = nsldapi_install_lber_extiofns(ld, ld->ld_sbp)) 230 LDAP_SET_LDERRNO(ld, rc, NULL, NULL); 231 rc [all...] |
H A D | spagectrl.c | 27 int rc; local 44 rc = nsldapi_build_control(LDAP_CONTROL_SIMPLE_PAGE, ber, 1, isCritical, 47 ld->ld_errno = rc; 48 return (rc); 53 int i, rc; local 63 if ((rc = ber_scanf(theBer, "{iO}", totalcount, cookie)) == LBER_ERROR){
|
/osnet-11/usr/src/lib/libcmdutils/common/ |
H A D | sysattrs.c | 113 int rc; local 121 if (((rc = pathconf(file, name)) == 1) || (errno != EINVAL)) { 122 return (rc);
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_misc_solaris.c | 27 int rc = LDAP_SUCCESS; local 44 rc = ldap_url_parse_nodn(url, &ludp); 46 rc = ldap_url_parse(url, &ludp); 48 if (rc == 0) { 59 rc = LDAP_OPERATIONS_ERROR; 66 *errstr = ldap_err2string(rc); 68 rc = LDAP_OPERATIONS_ERROR; 70 return rc;
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sffilbuf.c | 43 reg int first, local, rcrv, rc, justseek; local 52 rc = f->getr; 104 f->getr = rc;
|
H A D | sfputr.c | 29 ssize_t sfputr(Sfio_t* f, const char* s, int rc) argument 31 ssize_t sfputr(f,s,rc) 34 int rc; /* record separator. */ 48 for(w = 0; (*s || rc >= 0); ) 54 if(p >= (n + (rc < 0 ? 0 : 1)) ) 61 if(rc >= 0) 62 { *ps++ = rc; 71 p = n + (rc >= 0 ? 1 : 0); 77 if(rc >= 0) 78 rsrv->data[n] = rc; [all...] |
H A D | sfgetr.c | 31 char* sfgetr(Sfio_t *f, int rc, int type) argument 33 char* sfgetr(f,rc,type) 35 int rc; /* record separator */ 47 if(rc < 0 || (f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0) ) 77 f->getr = rc; 88 { s = ends[-1] == rc ? ends-1 : ends; 95 if(!(s = (uchar*)memchr((char*)s,rc,n))) 98 while(*s != rc) 149 if(found && rc != 0 && (type&SF_STRING) ) 152 { f->getr = rc; [all...] |
/osnet-11/usr/src/lib/libuvfs/common/ |
H A D | ioctl.c | 57 int rc; local 60 rc = open_device(fs); 61 if (rc != 0) 62 return (rc); 67 rc = ioctl(fs->fs_dev, UVFS_IOC_DAEMON_WAIT, &args); 69 return (rc); 76 int rc; local 79 rc = open_device(fs); 80 if (rc != 0) 81 return (rc); 104 int rc; local [all...] |
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | dsparse.c | 63 ssize_t rc; local 68 if (( rc = next_line( bufp, blenp, &line )) <= 0 ) { 69 return( (int)rc );
|
H A D | error.c | 309 int rc; local 330 rc = ber_scanf( &ber, "{iaa}", &along, &ld->ld_matched, 333 rc = ber_scanf( &ber, "{ia}", &along, &ld->ld_error ); 335 if ( rc == LBER_ERROR ) {
|
H A D | extensions.c | 33 int rc; local 50 rc = ldap_build_control(LDAP_CONTROL_SIMPLE_PAGE, ber, 1, isCritical, 53 ld->ld_errno = rc; 54 return (rc); 59 int i, rc; local 69 if ((rc = ber_scanf(theBer, "{iO}", totalcount, cookie)) == LBER_ERROR){
|
H A D | vlistctrl.c | 26 int rc; local 64 rc = ldap_build_control(LDAP_CONTROL_VLVREQUEST, ber, 1, 1, ctrlp); 65 ld->ld_errno = rc; 66 return (rc);
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | wkssvc_clnt.c | 38 int rc; local 52 rc = ndr_rpc_call(&handle, opnum, &arg); 57 if (rc != 0 || arg.status != 0 || info100 == NULL) {
|
/osnet-11/usr/src/lib/libfru/libfru/ |
H A D | Parser.cc | 75 int rc = fruparse(); local 82 if (rc != 0) {
|
/osnet-11/usr/src/lib/libfru/libfrureg/ |
H A D | frureg.c | 74 char **rc = NULL; local 81 rc = realloc(rc, sizeof (char *) * (number + 1)); 82 rc[number] = strdup(def->name); 87 return (rc);
|
/osnet-11/usr/src/lib/libc/port/stdio/ |
H A D | fopen.c | 64 FILE *rc; local 71 rc = _endopen(name, type, iop, LARGE_OPEN); 73 if (rc == NULL && iop != NULL) 76 return (rc); 199 FILE *rc; local 208 rc = _freopen_null(type, iop); 210 return (rc); 225 rc = _endopen(name, type, iop, LARGE_OPEN); 227 if (rc == NULL) 231 return (rc); [all...] |