/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | ftw.c | 113 int rc, n; local 165 rc = (*fn)(path, &sb, FTW_D); 166 if(rc != 0) 167 return(rc); 210 rc = ftw(subpath, fn, depth-1); 211 if(rc != 0) { 215 return(rc);
|
/illumos-gate/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);
|
/illumos-gate/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 );
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vops3.c | 75 int rc = 0; local 106 rc = -1; 141 rc = -1; 147 rc = -1; 212 rc = -1; 252 return (rc);
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | sel_disp.c | 47 int i, rc = 0; local 55 rc = sav_lastrc; 64 rc = -1; 69 rc = -1; 74 Dout(pn, 2, "type = %d, hdrtype = %d/'%s', rc = %d\n", 75 type, hdrtype, header[hdrtype].tag, rc); 76 sav_lastrc = rc; /* In case next one is H_CONT... */ 77 return (rc);
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | end.c | 44 int rc; local 51 rc = elf->ed_activ; 53 return (rc);
|
H A D | getshdr.c | 40 void * rc; local 52 rc = scn->s_shdr; 54 return (rc);
|
H A D | newdata.c | 41 Elf_Data * rc; local 79 rc = &s->s_dnode.db_data; 81 return (rc); 94 rc = &d->db_data; 97 return (rc);
|
H A D | rawdata.c | 43 Elf_Data * rc; local 80 rc = &d->db_raw->db_data; 82 return (rc); 93 rc = &raw->db_data; 95 return (rc); 114 rc = &raw->db_data; 116 return (rc); 127 rc = &raw->db_data; 129 return (rc);
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetethers.c | 56 int rc = EXC_SUCCESS; local 59 rc = EXC_ENUM_NOT_SUPPORTED; 77 rc = EXC_NAME_NOT_FOUND; 79 rc = putethers(hp, e, stdout); 83 return (rc);
|
H A D | dogetgr.c | 38 int rc = 0; local 48 rc = 1; 55 rc = 1; 59 rc = 1; 62 rc = 1; 63 return (rc); 70 int rc = EXC_SUCCESS; local 96 rc = EXC_NAME_NOT_FOUND; 102 return (rc);
|
H A D | dogethost.c | 43 int rc = 0; local 56 rc = 1; 59 rc = 1; 62 rc = 1; 64 return (rc); 74 int rc = EXC_SUCCESS; local 89 rc = EXC_NAME_NOT_FOUND; 95 return (rc);
|
H A D | dogetnetmask.c | 45 int rc = 0; local 50 rc = 1; 52 rc = 1; 54 rc = 1; 55 return (rc); 64 int rc = EXC_SUCCESS; local 76 rc = EXC_NAME_NOT_FOUND; 79 rc = EXC_NAME_NOT_FOUND; 83 return (rc);
|
H A D | dogetproto.c | 40 int rc = 0; local 48 rc = 1; 51 rc = 1; 54 rc = 1; 55 return (rc); 65 int rc = EXC_SUCCESS; local 78 rc = EXC_NAME_NOT_FOUND; 84 return (rc);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_close.c | 44 int rc; local 46 rc = smbsr_decode_vwv(sr, "wl", &sr->smb_fid, &sr->arg.timestamp); 49 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); 85 int rc; local 87 rc = smbsr_decode_vwv(sr, "wl", &sr->smb_fid, &sr->arg.timestamp); 90 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
|
H A D | smb_lock_byte_range.c | 81 int rc; local 106 rc = smbsr_encode_empty_result(sr); 107 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
|
H A D | smb_seek.c | 99 int rc; local 112 if ((rc = smb_ofile_seek(sr->fid_ofile, mode, off, &off_ret)) != 0) { 113 if (rc == EINVAL) {
|
H A D | smb_vfs.c | 45 int rc; local 59 if ((rc = VFS_ROOT(vfsp, &rootvp)) != 0) { 61 return (rc);
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_pci.c | 122 ACPI_STATUS rc = AE_OK; local 158 rc = AE_OK; 162 rc = AE_BAD_PARAMETER; 164 if (ACPI_FAILURE(rc) && rc != AE_NOT_EXIST && rc != AE_ALREADY_EXISTS) { 168 rc = AE_OK; 171 return (rc);
|
/illumos-gate/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...] |
/illumos-gate/usr/src/cmd/smbsrv/bind-helper/ |
H A D | bind-helper.c | 49 int rc, err = 0; local 61 rc = inet_pton(AF_INET, argv[2], &sin->sin_addr); 65 rc = inet_pton(AF_INET6, argv[2], &sin6->sin6_addr); 69 rc = 0; 73 if (rc > 0) 75 else if (rc == 0) 77 else if (rc < 0)
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | dssetup_clnt.c | 45 int rc; local 58 rc = ndr_rpc_call(&handle, opnum, &arg); 59 if ((rc != 0) || (arg.status != 0) || arg.info == NULL) { 89 int rc; local 93 if ((rc = dssetup_get_domain_info(&ds_info)) == 0) { 99 return (rc);
|
H A D | mlsvc_init.c | 52 int rc; local 59 if ((rc = smb_dclocator_init()) != 0) 60 return (rc); 79 rc = pthread_create(&tid, &tattr, mlsvc_timecheck, 0); 81 return (rc);
|