/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | rcmd.c | 110 int rc; local 146 rc = getaddrinfo(*ahost, aport, &hints, &res); 147 if (rc != 0) { 150 *ahost, rc == EAI_AGAIN ? " (try again later)" : "");
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | date.c | 460 int rc = 1; local 480 rc = 0; 494 rc = 0; 502 rc = 0; 526 rc = 0; 547 rc = 0; 552 rc = 0; 554 rc = 0; 592 rc = 0; 601 rc [all...] |
H A D | main.c | 144 int rc; local 156 rc = sqlite_exec_printf(pData->db, 177 return rc!=SQLITE_OK; 191 int rc; local 263 rc = sqliteBtreeCursor(db->aDb[iDb].pBt, 2, 0, &curMain); 264 if( rc ){ 265 sqliteSetString(pzErrMsg, sqlite_error_string(rc), (char*)0); 266 return rc; 271 rc = sqliteBtreeGetMeta(db->aDb[iDb].pBt, meta); 272 if( rc ){ 383 int i, rc; local 480 int rc, i; local 633 int rc = SQLITE_OK; local 707 int rc, cnt = 1; local 801 int rc = sqliteVdbeFinalize((Vdbe*)pVm, pzErrMsg); local 817 int rc = sqliteVdbeReset((Vdbe*)pVm, pzErrMsg); local 827 sqlite_error_string(int rc) argument [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...] |
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 | vdbeaux.c | 541 int rc = SQLITE_OK; local 555 p->rc = SQLITE_OK; 556 rc = SQLITE_DONE; 560 p->rc = SQLITE_MISUSE; 562 p->rc = SQLITE_INTERRUPT; 564 rc = SQLITE_ERROR; 565 sqliteSetString(&p->zErrMsg, sqlite_error_string(p->rc), (char*)0); 580 p->rc = SQLITE_OK; 581 rc = SQLITE_ROW; 583 return rc; 924 int rc; local [all...] |
/illumos-gate/usr/src/lib/libsysevent/ |
H A D | libevchannel.c | 271 int rc; local 295 rc = ioctl(EV_FD(scp), SEV_PUBLISH, (intptr_t)&uargs); 302 if (rc != 0) { 692 int rc; local 723 rc = ioctl(EV_FD(scp), SEV_UNSUBSCRIBE, (intptr_t)&uargs); 725 if (rc != 0) { 781 int rc = 0; local 803 rc = EINVAL; 806 rc = ioctl(EV_FD(scp), SEV_CHAN_CONTROL, (intptr_t)&uargs); 813 rc 837 int rc; local 865 int rc; local [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_devadm.c | 1287 int rc = -1; local 1291 rc = devid_get(fd, &devid1); 1296 if (rc != 0) {
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access.c | 1084 int i, rc, statP = SUCCESS; local 1132 if ((rc = makeNISObject(0, dn)) == FAILURE) {
|
/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/lib/libbsm/common/ |
H A D | adt_token.c | 139 int rc; local 141 rc = au_close(event->ae_event_handle, AU_TO_WRITE, 143 if (rc < 0) 145 return (rc); 476 int rc; local 484 rc = auditon(A_GETPINFO_ADDR, (caddr_t)info, 486 if (rc == -1) {
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | io.c | 126 ssize_t rc; local 143 rc = udp_read(sb, sb->sb_ber.ber_buf, READBUFSIZ, addrlen ); 148 rc ); 150 if ( lber_debug > 1 && rc > 0 ) 151 lber_bprint( sb->sb_ber.ber_buf, rc ); 155 rc = -1; 159 rc = sb->sb_ext_io_fns.lbextiofn_read( 165 rc = read( sb->sb_sd, sb->sb_ber.ber_buf, 171 if ( rc > 0 ) { 173 sb->sb_ber.ber_end = sb->sb_ber.ber_buf + rc; 339 ssize_t nwritten, towrite, rc; local 599 ber_int_t rc; local 1105 ssize_t rc; local [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | request.c | 363 int rc; local 421 rc = nsldapi_connect_to_host( ld, lc->lconn_sb, 425 if (rc != -1) { 448 if (ld->ld_options & LDAP_BITOPT_ASYNC && rc == -2) 821 int rc, tmprc, len, unknown; local 859 rc = LDAP_SUCCESS; 862 for ( ref = p; rc == LDAP_SUCCESS && ref != NULL; ref = p ) { 871 rc = chase_one_referral( ld, lr, origreq, ref, "v2 referral", 874 if ( rc != LDAP_SUCCESS || unknown ) { 877 rc 896 int i, rc, unknown; local 951 int rc, tmprc, secure, msgid; local 1116 int rc; local [all...] |
H A D | sasl.c | 411 int rc, value; local 421 rc = ber_sockbuf_get_option( sb, 424 if (rc != 0 || value != 0) 430 rc = sasl_getprop( sb->sb_sasl_ctx, SASL_SEC_PROPS, 432 if (rc != SASL_OK) 450 rc = ber_sockbuf_get_option( sb, 453 if (rc != 0) { 459 rc = ldap_get_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, 461 if (rc != 0 ) { 491 rc 523 int rc = LDAP_LOCAL_ERROR; local 657 int saslrc, rc; local 842 int slen, rc; local 1038 int rc; local [all...] |
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | exrecover.c | 810 int rc; local 812 if ((rc =(*iofcn)(tfile, buf, BUFSIZE)) != BUFSIZE) { 813 (void)fprintf(stderr,gettext("Failed on BLK: %d with %d/%d\n"),b,rc,BUFSIZE);
|
/illumos-gate/usr/src/cmd/vscan/vscanadm/ |
H A D | vscanadm.c | 314 int i, rc; local 341 rc = vs_props_get(&vp, propids); 342 if (rc != VS_ERR_NONE) { 343 (void) fprintf(stderr, "%s\n", vs_strerror(rc)); 366 int rc; local 371 rc = vs_adm_props_from_input(argc, argv, &vp, &propids); 372 if (rc != VS_ADM_EXIT_SUCCESS) 373 return (rc); 375 rc = vs_props_set(&vp, propids); 376 if (rc ! 394 int i, rc; local 475 int i, rc; local 547 int rc; local 576 int rc; local 606 int rc; local 634 int rc; local 781 int rc; local [all...] |
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_main.c | 443 int fd, rc = 0; local 448 rc = -1; 451 rc = -1; 455 rc = -1; 461 rc = -1; 468 if (rc == -1) { 474 return (rc); 572 int rc; local 577 rc = vscand_configure(); 580 if (rc ! 700 int rc; local 841 int rc = -1; local [all...] |
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_types.c | 64 int rc; local 84 if ((rc = func(name, mp->ctm_type, mp->ctm_offset, 86 return (rc); 95 if ((rc = func(name, lmp->ctlm_type, 97 return (rc); 116 int rc; local 133 if ((rc = func(name, ep->cte_value, arg)) != 0) 134 return (rc); 148 int rc, child = (fp->ctf_flags & LCTF_CHILD); local 153 (rc 817 int rc; local [all...] |
/illumos-gate/usr/src/lib/auditd_plugins/remote/ |
H A D | transport.c | 511 int rc; local 530 rc = poll(&fds, 1, timeout * 1000); 531 if (rc == 0) { /* timeout */ 533 } else if (rc < 0) { 559 int rc; local 566 rc = poll(&fds, 1, timeout * 1000); 567 if (rc == 0) { /* timeout */ 569 } else if (rc < 0) { 608 int rc; local 615 rc 728 int rc; local 961 int rc; local [all...] |
/illumos-gate/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 148 auditd_rc_t rc = AUDITD_SUCCESS; local 175 rc = AUDITD_INVALID; 181 return (rc); 198 int rc; local 213 rc = au_preselect(id, &mask, selFlag, AU_PRS_USECACHE); 216 return (rc == 0); 325 int rc; local 389 tid->at_type, af, &rc); 510 auditd_rc_t rc = AUDITD_SUCCESS; local 580 rc 796 auditd_rc_t rc = AUDITD_SUCCESS; local 846 auditd_rc_t rc; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclscsi.c | 274 picl_errno_t rc; local 301 if ((rc = find_scsi_controller(devfs_path, &list, 305 return (rc); 415 picl_errno_t rc; local 460 rc = create_children(frup, cfgalist[i].ap_log_id, 463 if (rc != PICL_SUCCESS) { 466 cfgalist[i].ap_log_id, frup->name, rc); 481 picl_errno_t rc; local 527 rc = create_children(frup, cfglist[i].ap_log_id, 530 if (rc ! 647 picl_errno_t rc; local 682 picl_errno_t rc; local 842 picl_errno_t rc; local [all...] |
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | common.c | 443 int rc; local 451 while ((status == PAPI_OK) && ((rc = read(0, buf, sizeof (buf))) > 0)) 452 status = papiJobStreamWrite(svc, stream, buf, rc); 485 int rc = -1; local 492 rc = is_postscript_stream(fd, buf, &len); 496 return (rc);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_rules.c | 133 ilb_status_t rc = ILB_STATUS_OK; local 159 rc = ILB_STATUS_INVAL_SRVR; 162 rc = ILB_STATUS_BADPORT; 168 rc = ILB_STATUS_BADPORT; 183 rc = ILB_STATUS_BADPORT; 193 rc = ILB_STATUS_INVAL_SRVR; 208 rc = ILB_STATUS_INVAL_SRVR; 215 rc = ILB_STATUS_BADPORT; 221 return (rc); 287 ilb_status_t rc; local 321 ilb_status_t rc; local 364 ilb_status_t rc; local 415 ilb_status_t rc = ILB_STATUS_OK; local 457 ilb_status_t rc = ILB_STATUS_OK; local 503 ilbd_audit_rule_event(const char *audit_rule_name, ilb_rule_info_t *rlinfo, ilbd_cmd_t cmd, ilb_status_t rc, ucred_t *ucredp) argument 754 ilb_status_t rc; local 830 ilb_status_t rc = ILB_STATUS_OK; local 1020 ilb_status_t rc; local 1107 ilb_status_t rc; local 1249 ilb_status_t rc = ILB_STATUS_OK; local 1347 ilb_status_t rc = ILB_STATUS_OK; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_sg.c | 243 ilbadm_status_t rc = ILBADM_OK; local 260 rc = ILBADM_LIBERR; 288 rc = ILBADM_LIBERR; 294 rc = ILBADM_LIBERR; 313 rc = ILBADM_LIBERR; 316 return (rc); 335 ilbadm_status_t rc; local 338 rc = i_parse_optstring(arg, (void *) sgp, servrange_keys, 340 return (rc); 346 ilbadm_status_t rc; local 361 ilbadm_status_t rc = ILBADM_OK; local 439 ilbadm_status_t rc = ILBADM_OK; local 520 ilbadm_status_t rc = ILBADM_OK; local 578 ilbadm_status_t rc = ILBADM_OK; local 658 ilbadm_status_t rc = ILBADM_OK; local 711 ilbadm_status_t rc = ILBADM_OK; local 800 ilb_status_t rc = ILB_STATUS_OK; local 823 ilbadm_status_t rc = ILBADM_OK; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_capture.c | 754 int rc; local 760 rc = ioctl(fd, I_STR, &sioc); 762 if (rc < 0) 763 return (rc);
|