/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_b_clnt.c | 52 static char res; local 54 res = 0; 56 argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS) 58 return ((void *)&res); 64 static ypbind_resp res; local 66 (void) memset(&res, 0, sizeof (res)); 69 (char *)&res, TIMEOUT) != RPC_SUCCESS) 71 return (&res); 77 static char res; local [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | secutil.c | 16 char *res; local 19 if ((res = (char *)calloc (aLen*2 + 1, 1 )) == NULL){ 25 res[i] = hexdig[ ( *aString & 0xf0 ) >> 4 ]; 26 res[i + 1] = hexdig[ *aString & 0x0f ]; 31 return (res);
|
/illumos-gate/usr/src/cmd/amt/ |
H A D | amt.sh | 37 res=$? 38 if [ $res != 0 ]; then 39 exit $res
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | ctermid.c | 31 static char res[L_ctermid]; variable 37 return (strcpy(s != NULL ? s : res, "/dev/tty"));
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | nametokva.c | 10 ipfunc_resolve_t res; local 13 strncpy(res.ipfu_name, name, sizeof(res.ipfu_name)); 14 res.ipfu_addr = NULL; 22 (void) (*iocfunc)(fd, SIOCFUNCL, &res); 25 if (res.ipfu_addr == NULL) 26 res.ipfu_addr = (ipfunc_t)-1; 27 return res.ipfu_addr;
|
H A D | kvatoname.c | 11 ipfunc_resolve_t res; local 14 res.ipfu_addr = func; 15 res.ipfu_name[0] = '\0'; 23 (void) (*iocfunc)(fd, SIOCFUNCL, &res); 26 strncpy(funcname, res.ipfu_name, sizeof(funcname));
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | util.c | 289 * res is a pointer to the scf_resources_t to be released. 292 release_scf_resources(scf_resources_t *res) argument 294 scf_entry_destroy(res->sr_ent); 295 scf_transaction_destroy(res->sr_tx); 296 scf_value_destroy(res->sr_val); 297 scf_property_destroy(res->sr_prop); 298 scf_pg_destroy(res->sr_pg); 299 scf_snapshot_destroy(res->sr_snap); 300 scf_instance_destroy(res->sr_inst); 301 (void) scf_handle_unbind(res 323 create_scf_resources(const char *fmri, scf_resources_t *res) argument 399 get_property_value(const char *fmri, const char *pg, const char *prop, boolean_t running, scf_resources_t *res) argument 441 scf_resources_t res; local 484 scf_resources_t res; local 529 scf_resources_t res; local 550 set_property_value(scf_resources_t *res, const char *propname, scf_type_t proptype) argument 600 scf_resources_t res; local 633 scf_resources_t res; local 670 scf_resources_t res; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_p.h | 25 #define maybe_ok(res, nm, ok) (((res)->options & RES_NOCHECKNAME) != 0U || \ 27 #define maybe_hnok(res, hn) maybe_ok((res), (hn), res_hnok) 28 #define maybe_dnok(res, dn) maybe_ok((res), (dn), res_dnok) 35 struct __res_state *res; member in struct:dns_p
|
H A D | dns.c | 76 dns->res = NULL; 113 if (dns->res == NULL) { 114 struct __res_state *res; local 115 res = (struct __res_state *)malloc(sizeof *res); 116 if (res == NULL) 118 memset(res, 0, sizeof *res); 119 dns_res_set(this, res, free); 122 if ((dns->res 130 dns_res_set(struct irs_acc *this, struct __res_state *res, void (*free_res)(void *)) argument [all...] |
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_svc_subr.c | 38 med_err_t *res, 43 *res = med_null_err; 56 med_err_t *res, 63 *res = med_null_err; 66 if ((err = med_init(rqstp, W_OK, res)) < 0) 72 if (med_db_init(res)) 75 (void) med_db_put_data(&argp->med, &argp->med_data, res); 88 med_get_data_res_t *res, 94 med_err_t *medep = &res->med_status; 97 (void) memset(res, 36 med_null_1_svc( void *argp, med_err_t *res, struct svc_req *rqstp ) argument 54 med_upd_data_1_svc( med_upd_data_args_t *argp, med_err_t *res, struct svc_req *rqstp ) argument 86 med_get_data_1_svc( med_args_t *argp, med_get_data_res_t *res, struct svc_req *rqstp ) argument 124 med_upd_rec_1_svc( med_upd_rec_args_t *argp, med_err_t *res, struct svc_req *rqstp ) argument 156 med_get_rec_1_svc( med_args_t *argp, med_get_rec_res_t *res, struct svc_req *rqstp ) argument 194 med_hostname_1_svc( void *argp, med_hnm_res_t *res, struct svc_req *rqstp ) argument [all...] |
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getnetent.c | 53 struct netent *res = 0; local 56 res = getnetbyname_r(nam, b->result, b->buffer, b->buflen); 58 return (res); 65 struct netent *res = 0; local 68 res = getnetbyaddr_r(net, type, b->result, 71 return (res); 78 struct netent *res = 0; local 81 res = getnetent_r(b->result, b->buffer, b->buflen); 83 return (res);
|
H A D | getprotoent.c | 53 struct protoent *res = 0; local 56 res = getprotobyname_r(nam, b->result, b->buffer, b->buflen); 58 return (res); 65 struct protoent *res = 0; local 68 res = getprotobynumber_r(proto, b->result, 71 return (res); 78 struct protoent *res = 0; local 81 res = getprotoent_r(b->result, b->buffer, b->buflen); 83 return (res);
|
H A D | getservent.c | 52 struct servent *res = 0; local 55 res = getservbyname_r(nam, proto, 58 return (res); 65 struct servent *res = 0; local 68 res = getservbyport_r(port, proto, 71 return (res); 78 struct servent *res = 0; local 81 res = getservent_r(b->result, b->buffer, b->buflen); 83 return (res);
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddtsol.c | 51 int res, retval; local 56 res = genent_attr(line, TNRHDB_NCOL, &ecol); 57 if (res != GENENT_OK) 58 return (res); 72 res = GENENT_CBERR; 76 return (res); 80 dump_tnrhdb(ns_ldap_result_t *res) argument 84 value = __ns_ldap_getAttr(res->entry, "ipTnetNumber"); 91 value = __ns_ldap_getAttr(res->entry, "ipTnetTemplateName"); 102 int res, retva local 127 dump_tnrhtp(ns_ldap_result_t *res) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ctime_r.c | 96 struct tm res; local 98 if (localtime_r(t, &res) == NULL) 101 if (asctime_r(&res, buffer, buflen) == NULL) 114 struct tm res; local 116 if (localtime_r(t, &res) == NULL) 119 if (__posix_asctime_r(&res, buffer) == NULL)
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/scalars/ |
H A D | tst.selfarray.d | 40 self int res; 45 self->res = self->x[self->y, self->z]++; 46 printf("The result = %d\n", self->res);
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | table.c | 137 TabResult res; local 142 res.zErrMsg = 0; 143 res.nResult = 0; 144 res.nRow = 0; 145 res.nColumn = 0; 146 res.nData = 1; 147 res.nAlloc = 20; 148 res.rc = SQLITE_OK; 149 res.azResult = malloc( sizeof(char*)*res [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sparc.c | 232 /* initialize res to the default untrapped result and ex to the 236 info->res.type = fex_nodata; 271 info->res.type = fex_float; 272 info->res.val.f = info->op1.val.f + info->op2.val.f; 277 info->res.type = fex_double; 278 info->res.val.d = info->op1.val.d + info->op2.val.d; 283 info->res.type = fex_ldouble; 284 info->res.val.q = info->op1.val.q + info->op2.val.q; 289 info->res.type = fex_float; 290 info->res [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | zalloc_malloc.c | 56 Guard *res; local 64 while ((res = znalloc(&MallocPool, bytes)) == NULL) { 78 res->ga_Magic = GAMAGIC; 80 res->ga_Bytes = bytes; 82 *((signed char *)res + bytes - 1) = -2; 85 return((char *)res + MALLOCALIGN); 94 Guard *res = (void *)((char *)ptr - MALLOCALIGN); local 99 if (res->ga_Magic == GAFREE) { 103 if (res->ga_Magic != GAMAGIC) 105 res 130 void *res; local 151 void *res; local 181 void *res; local [all...] |
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | ctermid.c | 41 static const char res[L_ctermid] = "/dev/tty"; variable 50 return ((char *)res); 51 return (strcpy(s, res));
|
/illumos-gate/usr/src/cmd/unlink/ |
H A D | unlink.c | 42 int res = 0; local 58 if (res = unlink(argv[1])) 61 return (res);
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | ulimit.c | 67 int hard, soft, cnt, c, res; local 72 for (res = 0; res < RLIM_NLIMITS; res++) { 73 resources[res] = 0; 96 for (res = 0; res < RLIM_NLIMITS; res++) { 97 resources[res]++; 102 res [all...] |
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | gettext.c | 75 char *res; local 79 res = _real_bindtextdomain_u(domain, binding, TP_BINDING); 81 return (res); 87 char *res; local 91 res = _real_bindtextdomain_u(domain, codeset, TP_CODESET); 93 return (res); 103 char *res; local 108 res = _textdomain_u(domain, tmp_domain); 109 if (res == NULL) { 124 char *res; local 142 char *res; local 156 char *res; local 170 char *res; local 184 char *res; local 199 char *res; local 214 char *res; local [all...] |
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | __check_history.c | 55 int res; local 66 res = PWU_NOT_FOUND; 69 while ((i <= REP_LAST) && (res == PWU_NOT_FOUND)) { 72 res = rops[i]->checkhistory(user, passwd, rep); 75 return (res);
|
H A D | __get_authtoken_attr.c | 45 int res; local 58 res = PWU_NOT_FOUND; 61 while ((i <= REP_LAST) && (res == PWU_NOT_FOUND)) { 63 res = rops[i]->getattr(name, item, rep); 66 return (res);
|