/osnet-11/usr/src/cmd/hal/addons/network-devices/ |
H A D | addon-network-discovery.c | 157 int rc = -1; local 179 rc = nds_EnablePrinterScanningViaSNMP(ctx, udi, interval, 196 rc = nds_ScanForPrintersViaSNMP(ctx, udi, community, network); 199 rc = nds_DisablePrinterScanningViaSNMP(ctx); 214 dbus_message_append_args(reply, DBUS_TYPE_INT32, &rc,
|
H A D | common.c | 60 int sd, rc; local 72 rc = connect(sd, (struct sockaddr *)&sin6, sizeof (sin6)); 78 return ((rc < 0) ? 1 : 0); 116 int sd, rc, errnum; local 143 rc = ioctl(sd, SIOCGXARP, (caddr_t)&ar); 171 int rc = -1; local 235 rc = libhal_device_commit_to_gdl(ctx, tmp_udi, udi, &error); 262 return (rc); 268 int rc = -1; local 274 rc [all...] |
/osnet-11/usr/src/cmd/hal/addons/storage/ |
H A D | addon-storage.c | 242 dbus_bool_t rc = FALSE; local 247 return rc; 253 rc = TRUE; 257 return rc;
|
/osnet-11/usr/src/cmd/hal/probing/network-printer/ |
H A D | probe-snmp.c | 29 int rc = -1; local 37 rc = ieee1284_devid_to_printer_info(string, manufacturer, model, 40 rc = 0; 49 return (rc); 118 int rc = -1; local 129 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, 138 return (rc); 146 int rc = -1; local 157 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, 166 return (rc); 174 int rc = -1; local 202 int rc = -1; local 264 int rc = -1; local 301 int rc = -1; local 329 int rc = -1; local 357 int rc = -1; local 380 int rc = -1; local 411 int rc = -1; local 485 int rc; local [all...] |
/osnet-11/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 47 dbus_bool_t rc = FALSE; local 52 return rc; 58 rc = TRUE; 62 return rc;
|
/osnet-11/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldaplist.c | 203 int rc; local 226 rc = __ns_ldap_list_sort(database, (const char *)ldapfilter, 231 if (rc != NS_LDAP_SUCCESS) { 233 (void) __ns_ldap_err2str(rc, &p); 241 return (rc); 251 switch_err(int rc) argument 253 switch (rc) { 277 int rc; local 505 rc = rc1 = -1; 520 rc [all...] |
H A D | mapping.c | 298 int rc; local 307 rc = set_keys_publickey(key, 309 switch (rc) { 383 int rc, v2 = 1; local 406 rc = __ns_ldap_getParam(NS_LDAP_FILE_VERSION_P, ¶mVal, &errorp); 407 if (rc != NS_LDAP_SUCCESS || !paramVal || !*paramVal) {
|
/osnet-11/usr/src/lib/libc/port/regex/ |
H A D | glob.c | 104 int sc = 0, rc = 0; local 126 rv = globit(0, pattern, gp, flags, errfn, &path, &sc, &rc);
|
/osnet-11/usr/src/lib/libc/port/rt/ |
H A D | sigev_thread.c | 552 int rc = 0; local 558 if ((rc = port_alert(tcdp->tcd_port, 566 return (rc); 595 int rc; local 601 if ((rc = pthread_cancel(server_id)) != 0) { /* "can't happen" */ 604 server_id, rc, strerror(rc)); 634 int rc = 0; local 655 rc = -1; 660 rc [all...] |
/osnet-11/usr/src/lib/libsqlite/src/ |
H A D | insert.c | 183 int rc, iInitCode; local 187 rc = sqliteSelect(pParse, pSelect, SRT_Subroutine, iInsertBlock, 0,0,0); 188 if( rc || pParse->nErr || sqlite_malloc_failed ) goto insert_cleanup;
|
H A D | test3.c | 31 static char *errorName(int rc){ argument 33 switch( rc ){ 66 int rc; local 73 rc = sqliteBtreeFactory(0, argv[1], 0, 1000, &pBt); 74 if( rc!=SQLITE_OK ){ 75 Tcl_AppendResult(interp, errorName(rc), 0); 98 int rc; local 105 rc = sqliteBtreeClose(pBt); 106 if( rc!=SQLITE_OK ){ 107 Tcl_AppendResult(interp, errorName(rc), 125 int rc; local 152 int rc; local 179 int rc; local 206 int rc, iTable; local 237 int rc; local 266 int rc; local 294 int rc; local 328 int rc; local 364 int rc; local 394 int rc; local 521 int rc; local 555 int rc; local 583 int rc; local 617 int rc; local 646 int rc; local 677 int rc; local 711 int rc; local 744 int rc; local 777 int rc; local 809 int rc; local 847 int rc; local 923 int rc; local [all...] |
H A D | test4.c | 49 int rc; /* operation return code */ member in struct:Thread 127 int rc; local 145 rc = pthread_create(&x, 0, thread_main, &threadset[i]); 146 if( rc ){ 372 switch( threadset[i].rc ){ 443 p->rc = SQLITE_ERROR; 450 p->rc = sqlite_compile(p->db, p->zArg, 0, &p->vm, &p->zErr); 490 p->rc = SQLITE_ERROR; 493 p->rc = sqlite_step(p->vm, &p->argc, &p->argv, &p->colv); 531 p->rc [all...] |
H A D | vacuum.c | 44 int rc; /* Set to non-zero on an error */ member in struct:vacuumStruct 96 int rc; local 99 rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg); 104 return rc; 132 p->rc = execsql(p->pzErrMsg, p->dbNew, p->s2.z); 133 return p->rc; 146 int rc = 0; local 152 rc = execsql(p->pzErrMsg, p->dbNew, argv[2]); 153 if( rc==SQLITE_OK && strcmp(argv[0],"table")==0 ){ 159 rc 227 int rc = SQLITE_OK; /* Return code from service routines */ local [all...] |
/osnet-11/usr/src/lib/libsqlite/test/ |
H A D | threadtest1.c | 43 static void Exit(int rc){ argument 44 exit(rc); 107 int rc; local 117 rc = sqlite_exec(db, zSql, db_query_callback, &sResult, &zErrMsg); 118 if( rc==SQLITE_SCHEMA ){ 120 rc = sqlite_exec(db, zSql, db_query_callback, &sResult, &zErrMsg); 142 int rc; local 149 rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg); 150 while( rc==SQLITE_SCHEMA ){ 152 rc [all...] |
/osnet-11/usr/src/lib/libuvfs/common/ |
H A D | fs.c | 181 char *rc; local 183 rc = umem_alloc(strlen(str) + 1, UMEM_NOFAIL); 185 return (strcpy(rc, str)); 198 char *rc = umem_alloc(howlong * 2 + 1, UMEM_NOFAIL); local 202 rc[howlong * 2] = '\0'; 205 rc[2*i] = hex[bytes[i] >> 4]; 206 rc[2*i+1] = hex[bytes[i] & 0x0f]; 209 return (rc);
|
H A D | svc.c | 190 int rc; local 195 rc = scf_value_set_astring(scfval, val); 196 if (rc == 0) 197 rc = libuvfs_trans_set_value(tr, name, scfval); 201 return (rc); 210 int rc; local 213 rc = libuvfs_trans_set_value(tr, name, scfval); 215 return (rc); 228 int rc; local 236 rc 368 int rc = 0; local [all...] |
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_cache.c | 403 int rc; local 405 rc = ioctl(hdl->libzfs_fd, arg, zc); 407 if (rc == -1) { 421 rc = 1; 424 rc = zfs_standard_error_fmt(hdl, NULL, 431 return (rc);
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_notify.c | 626 int rc; local 634 rc = meta_notify_doputev(&ev_packet, ep); 636 if (0 == rc && !mdisok(ep)) { 637 rc = EINVAL; 640 return (rc);
|
/osnet-11/usr/src/lib/nsswitch/ad/common/ |
H A D | ad_common.c | 387 adutils_rc rc, brc; local 395 rc = adutils_lookup_batch_start(cp->ad, 1, NULL, NULL, &qs); 397 if (rc != ADUTILS_SUCCESS) 400 rc = adutils_lookup_batch_add(qs, filter, attrs, domain, result, &brc); 401 if (rc != ADUTILS_SUCCESS) { 406 rc = adutils_lookup_batch_end(&qs); 407 if (rc != ADUTILS_SUCCESS) 409 rc = brc; 412 if (rc == ADUTILS_ERR_RETRIABLE_NET_ERR && 415 return (map_adrc2nssrc(rc)); [all...] |
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent.c | 274 int rc; local 279 rc = snprintf(searchfilter, sizeof (searchfilter), _F_GETHOSTBYNAME, 281 if (rc >= sizeof (searchfilter) || rc < 0) 284 rc = snprintf(userdata, sizeof (userdata), _F_GETHOSTBYNAME_SSD, 286 if (rc >= sizeof (userdata) || rc < 0) 290 rc = sysinfo(SI_SRPC_DOMAIN, realdomain, BUFSIZ); 291 if (rc <= 0) 317 rc [all...] |
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getexecattr.c | 99 int rc; local 118 rc = check_match(argp, check_policy); 122 return (rc);
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/ |
H A D | kmsAESCrypt.c | 199 int rc = 0; local 368 rc = aes_encrypt_contiguous_blocks( 372 if (rc != 0) 404 rc = aes_encrypt_contiguous_blocks( 411 if (rc == 0) { 481 int rc = 0; local 653 rc = aes_decrypt_contiguous_blocks( 657 if (rc != 0) 668 rc = aes_decrypt_contiguous_blocks( 672 if (rc ! 791 int rc; local 918 int rc; local [all...] |
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softAESCrypt.c | 179 int rc = 0; local 377 rc = aes_encrypt_contiguous_blocks( 381 if (rc != 0) { 415 rc = aes_encrypt_contiguous_blocks( 419 if (rc != 0) { 455 rc = aes_encrypt_contiguous_blocks( 462 if (rc != 0) { 482 rc = aes_encrypt_contiguous_blocks(soft_aes_ctx->mode_ctx, 485 if (rc != 0) { 551 int rc local [all...] |
H A D | softDESCrypt.c | 172 int rc = 0; local 330 rc = des_encrypt_contiguous_blocks( 334 if (rc != 0) 366 rc = des_encrypt_contiguous_blocks( 372 if (rc == 0) { 438 int rc = 0; local 605 rc = des_decrypt_contiguous_blocks( 609 if (rc != 0) 620 rc = des_decrypt_contiguous_blocks( 624 if (rc ! [all...] |
H A D | softEncryptUtil.c | 659 int rc; local 717 rc = des_encrypt_contiguous_blocks( 721 if (rc == 0) { 812 rc = aes_encrypt_contiguous_blocks( 816 if (rc == 0) {
|