/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | test1.c | 150 int rc; local 160 rc = sqlite_exec_printf(db, argv[2], exec_printf_cb, &str, &zErr, argv[3]); 161 sprintf(zBuf, "%d", rc); 163 Tcl_AppendElement(interp, rc==SQLITE_OK ? Tcl_DStringValue(&str) : zErr); 208 int rc; local 221 rc = sqlite_get_table_printf(db, argv[2], &aResult, &nRow, &nCol, 223 sprintf(zBuf, "%d", rc); 225 if( rc==SQLITE_OK ){ 668 int rc; local 675 rc 721 int rc; local 751 int rc; local 790 int rc, i; local 849 int rc; local 880 int rc; local 922 int rc; local [all...] |
H A D | tclsqlite.c | 62 int rc; /* Return code of most recent sqlite_exec() */ member in struct:SqliteDb 95 int i, rc; local 158 rc = Tcl_EvalObj(cbData->interp, cbData->pCode); 159 if( rc==TCL_CONTINUE ) rc = TCL_OK; 160 cbData->tcl_rc = rc; 161 return rc!=TCL_OK; 184 int i, rc; local 214 rc = Tcl_EvalObj(cbData->interp, cbData->pCode); 215 if( rc 314 int rc; local 338 int rc; local 372 int rc; local 389 int rc; local 420 int rc; local 492 int rc = TCL_OK; local [all...] |
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | jtag.c | 1294 jtag_phys_comp *rc; local 1319 rc = find_chip(rd, &chip_ac, 0); 1320 if (rc != NULL) { 1321 sc->ac_compid = jtag_get_comp_id(jreg, rc); 1325 rc = find_chip(rd, &chip_fhc, 0); 1326 if (rc != NULL) { 1327 sc->fhc_compid = jtag_get_comp_id(jreg, rc); 1371 rc = find_chip(rd, &chip_spitfire, 0); 1372 if (rc != NULL) { 1374 jtag_get_comp_id(jreg, rc); 1642 jtag_phys_comp *rc; local 1957 int rc = JTAG_OK; local 2035 int rc = JTAG_OK; local 2121 int rc = JTAG_OK; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_subr.c | 393 ilbadm_status_t rc = ILBADM_OK; local 438 rc = ILBADM_INVAL_SYNTAX; 450 rc = ILBADM_INVAL_SYNTAX; 455 rc = i_match_onehost(host1p, ip1, &at); 456 if (rc != ILBADM_OK) 459 rc = ILBADM_INVAL_ADDR; 463 rc = ILBADM_INVAL_AF; 476 rc = ILBADM_LIBERR; 481 rc = ILBADM_INVAL_SYNTAX; 487 rc 834 ilbadm_status_t rc = ILBADM_OK; local 1080 ilbadm_status_t rc = ILBADM_OK; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_server.c | 299 int rc; local 301 if ((rc = smb_vop_init()) != 0) 303 if ((rc = smb_fem_init()) != 0) 337 return (rc); 456 int rc; local 458 rc = smb_server_lookup(&sv); 459 if (rc != 0) 460 return (rc); 533 int rc = 0; local 536 rc 576 int rc = 0; local 671 int rc; local 728 int rc; local 753 int rc; local 806 int rc; local 821 int rc; local 841 int rc; local 882 int rc; local 909 int rc; local 954 int rc = 0; local 1010 int rc; local 1035 int rc; local 1362 int rc; local 1522 int rc; local 1731 int rc = 0; local 1773 int rc = 0; local 1874 int rc = ENOENT; local 2293 int rc = 0; local [all...] |
H A D | smb_authenticate.c | 393 int rc; local 455 rc = smb2_sign_begin(sr, token); 457 rc = smb_sign_begin(sr, token); 459 if (rc != 0) { 527 int rc; local 541 rc = smb_authsock_send(so, hdr, sizeof (*hdr)); 542 if (rc == 0 && hdr->lmh_msglen != 0) { 543 rc = smb_authsock_send(so, sndbuf, hdr->lmh_msglen); 545 if (rc) 548 rc 602 int rc; local 663 int rc; local 681 int rc; local [all...] |
H A D | smb_common_transact.c | 71 int rc; local 85 rc = smbsr_decode_vwv(sr, SMB_TRANSHDR_ED_FMT, 89 if (rc != 0) 101 rc = smbsr_decode_data(sr, "%.U", sr, &stn); 103 rc = smbsr_decode_data(sr, "%s", sr, &stn); 105 if (rc != 0) { 143 rc = smbsr_encode_empty_result(sr); 144 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); 175 int rc; local 194 rc 273 int rc; local 307 int rc; local 387 int rc; local 462 int rc; local 581 int rc; local 663 int rc; local 738 int rc; local 1076 int rc; local 1449 int rc, pos; local 1602 int rc, pos; local 1966 int rc; local 2006 int rc; local [all...] |
H A D | smb_odir.c | 281 int rc; local 299 rc = smb_pathname_reduce(sr, sr->user_cr, path, 301 if (rc != 0) 302 return (smb_errno2status(rc)); 373 int rc; local 388 rc = smb_vop_lookup_xattrdir(unode->vp, &xattr_dvp, LOOKUP_XATTR, cr); 389 if (rc != 0) 390 return (smb_errno2status(rc)); 519 int rc; local 542 if ((rc 590 int rc, errnum; local 675 int rc; local 1045 int rc; local 1152 int rc; local 1277 int rc; local 1392 int rc; local [all...] |
H A D | smb_rename.c | 66 int rc; local 68 if ((rc = smbsr_decode_vwv(sr, "w", &src_fqi->fq_sattr)) == 0) { 69 rc = smbsr_decode_data(sr, "%SS", sr, &src_fqi->fq_path.pn_path, 78 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); 138 int rc; local 140 rc = smbsr_decode_vwv(sr, "wwl", &src_fqi->fq_sattr, 142 if (rc == 0) { 143 rc = smbsr_decode_data(sr, "%SS", sr, 152 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_tx.c | 207 efx_rc_t rc; local 213 rc = EINVAL; 218 rc = EINVAL; 243 rc = ENOTSUP; 249 if ((rc = etxop->etxo_init(enp)) != 0) 263 EFSYS_PROBE1(fail1, efx_rc_t, rc); 267 return (rc); 303 efx_rc_t rc; local 314 rc = ENOMEM; 327 if ((rc 372 efx_rc_t rc; local 408 efx_rc_t rc; local 428 efx_rc_t rc; local 460 efx_rc_t rc; local 508 efx_rc_t rc; local 535 efx_rc_t rc; local 563 efx_rc_t rc; local 737 int rc = ENOSPC; local 805 efx_rc_t rc; local 898 efx_rc_t rc; local 969 efx_rc_t rc; local [all...] |
H A D | efx_nic.c | 114 efx_rc_t rc; local 130 rc = EIO; 136 rc = EIO; 153 rc = EIO; 159 rc = EIO; 172 EFSYS_PROBE1(fail1, efx_rc_t, rc); 174 return (rc); 244 efx_rc_t rc; local 253 rc = ENOMEM; 312 rc 344 efx_rc_t rc; local 380 efx_rc_t rc; local 406 efx_rc_t rc; local 442 efx_rc_t rc; local 478 efx_rc_t rc; local 574 efx_rc_t rc; local 625 efx_rc_t rc; local 652 efx_rc_t rc; local 731 efx_rc_t rc; local 891 efx_rc_t rc; local [all...] |
H A D | mcdi_mon.c | 267 efx_rc_t rc; local 286 rc = ENOTSUP; 301 EFSYS_PROBE1(fail1, efx_rc_t, rc); 303 return (rc); 345 efx_rc_t rc; local 363 rc = req.emr_rc; 374 EFSYS_PROBE1(fail1, efx_rc_t, rc); 376 return (rc); 389 efx_rc_t rc; local 408 rc 447 efx_rc_t rc; local 473 efx_rc_t rc; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_process.c | 297 int rc; local 380 rc = ndr_outer_grow(outer_ref, n_fixed); 381 if (!rc) 392 rc = ndr_inner(outer_ref); 393 if (!rc) 661 int rc; local 690 rc = ndr_outer_grow(outer_ref, n_pdu_total); 691 if (!rc) 692 return (rc); /* error already set */ 733 rc 751 int rc; local 843 int rc; local 971 int rc; local 1099 int rc; local 1171 int rc; local 1378 int rc; local 1413 int rc; local 1451 int rc; local 1494 int rc, is_ok = 0; local 1814 int rc; local 2036 int rc; local [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_sasl.c | 116 int **cLevel = NULL, **cNext = NULL, rc; local 140 if ((rc = __ns_ldap_getParam(NS_LDAP_CREDENTIAL_LEVEL_P, 146 return (rc); 151 if ((rc = __ns_ldap_getParam(NS_LDAP_AUTH_P, 159 return (rc); 311 int ldap, dns, i, pserr, rc = NS_LDAP_SUCCESS; local 374 rc = NS_LDAP_CONFIG; 378 return (rc); 472 int rc; local 493 rc 545 int rc; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/ |
H A D | kctl_main.c | 300 int rc; local 311 if ((rc = kctl_mod_decompress(lp->modl_modp)) != 0) { 314 ctf_errmsg(rc)); 328 int rc; local 332 rc = kmdb_init(kctl.kctl_execname, &kav); 336 if (rc < 0) 401 int rc; local 406 rc = EMDB_KNOUNLOAD; 410 if ((rc = kctl_state_check(kctl.kctl_state, KCTL_ST_ACTIVE)) != 0) 425 return (rc); 510 int rc; local [all...] |
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldaplist.c | 196 int rc; local 219 rc = __ns_ldap_list_sort(database, (const char *)ldapfilter, 222 if (rc != NS_LDAP_SUCCESS) { 224 (void) __ns_ldap_err2str(rc, &p); 232 return (rc); 242 switch_err(int rc) argument 244 switch (rc) { 268 int rc; local 496 rc = rc1 = -1; 511 rc [all...] |
/illumos-gate/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 194 ipsec_proto_t *rc = NULL, *new_proto = NULL; local 266 new_proto = (ipsec_proto_t *)realloc(rc, 268 rc = new_proto; 308 for (new_proto = rc; new_proto < (rc + new_num); 312 if (new_proto == (rc + new_num)) { 570 return (rc); 580 _clean_trash(rc, rc_num); 594 int rc, trash_num; local 616 rc 727 struct ipsecalgent *rc; local 790 int *rc, i; local 815 int *rc = NULL, i; local 846 struct ipsecalgent *rc = NULL; local 891 struct ipsecalgent *rc = NULL; local 920 int rc = -1; local 937 char *rc = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_hw.c | 81 int i, rc; local 102 rc = lm_enable_rss((lm_device_t *)pUM, 111 if (rc == LM_STATUS_PENDING) 113 if ((rc = lm_wait_config_rss_done(&pUM->lm_dev)) != LM_STATUS_SUCCESS) 115 BnxeLogWarn(pUM, "Failed to enable RSS from pending operation (%d)", rc); 119 else if (rc != LM_STATUS_SUCCESS) 121 BnxeLogWarn(pUM, "Failed to enable RSS (%d)", rc); 125 return (rc == LM_STATUS_SUCCESS) ? B_TRUE : B_FALSE; 131 int rc; local 133 rc 656 int rc; local 720 int i, rc; local 818 int i, rc; local 970 int rc; local 1020 int rc; local 1101 int rc; local 1232 int idx, rc; local 1376 int rc; local 1509 int rc; local 1599 int idx, rc; local 1737 int rc; local 1876 int rc; local [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_crontab.c | 266 int rc = 0; /* 0 == allow */ local 270 rc = 1; /* deny access if invalid */ 272 rc = 0; /* editing his own crontab */ 274 rc = audit_crontab_process_not_audited(); 276 return (rc); 282 int rc; local 286 rc = 0; /* audit failure: not enabled */ 288 rc = (info.ap_auid == AU_NOAUDITID); 290 return (rc);
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
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 | 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 );
|
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nskernd.c | 78 int rc = 0; local 83 rc = 1; 85 rc = 2; 93 return (rc); 191 int rc; local 194 rc = 0; 247 rc = EFAULT; 272 rc = EINVAL; 281 return (rc);
|
H A D | nsc_proc.c | 84 int rc = 0; local 112 rc = nskernd_get(nsk); 115 if (!rc && nsk->data1) 116 rc = nsk->data1; 120 if (!rc) { 145 return (rc); 208 int rc = 0; local 235 rc = nskernd_get(nsk); 238 if (!rc && nsk->data1) 239 rc [all...] |
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun_dev.c | 126 int rc; local 128 rc = ldi_ident_from_mod(&iptun_modlinkage, &iptun_ldi_ident); 129 if (rc != 0) 130 return (rc); 152 if ((rc = mod_install(&iptun_modlinkage)) != 0) 154 return (rc); 160 int rc; local 162 if ((rc = mod_remove(&iptun_modlinkage)) == 0) 164 return (rc);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp.sh | 197 rc=$? 198 if [ $rc != 0 ]; then 199 echo "$0: ypbind failed with $rc" 223 rc=$? 224 if [ $rc != 0 ]; then 225 echo "$0: ypserv failed with $rc" 242 rc=$? 243 if [ $rc != 0 ]; then 244 echo "$0: rpc.yppasswdd failed with $rc"
|