Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 865) sorted by relevance

12345678910>>...35

/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dutil.c292 release_scf_resources(scf_resources_t *res) in release_scf_resources() argument
294 scf_entry_destroy(res->sr_ent); in release_scf_resources()
295 scf_transaction_destroy(res->sr_tx); in release_scf_resources()
296 scf_value_destroy(res->sr_val); in release_scf_resources()
297 scf_property_destroy(res->sr_prop); in release_scf_resources()
298 scf_pg_destroy(res->sr_pg); in release_scf_resources()
299 scf_snapshot_destroy(res->sr_snap); in release_scf_resources()
300 scf_instance_destroy(res->sr_inst); in release_scf_resources()
301 (void) scf_handle_unbind(res->sr_handle); in release_scf_resources()
302 scf_handle_destroy(res->sr_handle); in release_scf_resources()
[all …]
/titanic_41/usr/src/cmd/gss/gssd/
H A Dgssd_proc.c338 gss_acquire_cred_1_svc(argp, res, rqstp) in gss_acquire_cred_1_svc() argument
340 gss_acquire_cred_res *res;
360 memset(res, 0, sizeof (*res));
369 res->output_cred_handle.GSS_CRED_ID_T_val = NULL;
370 res->actual_mechs.GSS_OID_SET_val = NULL;
404 res->status = (OM_uint32) GSS_S_FAILURE;
405 res->minor_status = minor_status;
460 res->status = (OM_uint32)gss_acquire_cred(&res->minor_status,
467 &res->time_rec);
474 res->output_cred_handle.GSS_CRED_ID_T_len = sizeof (gss_cred_id_t);
[all …]
H A Dgssd_clnt_stubs.c94 gss_acquire_cred_res res; local
154 memset(&res, 0, sizeof (res));
155 if (gss_acquire_cred_1(&arg, &res, clnt) != RPC_SUCCESS) {
186 *minor_status = res.minor_status;
191 *((gssd_cred_id_t *)res.output_cred_handle.GSS_CRED_ID_T_val);
192 *gssd_cred_verifier = res.gssd_cred_verifier;
195 if (res.status == GSS_S_COMPLETE &&
196 res.actual_mechs.GSS_OID_SET_len != 0 &&
200 (int)res.actual_mechs.GSS_OID_SET_len;
206 res.actual_mechs.GSS_OID_SET_val[i].GSS_OID_len;
[all …]
/titanic_41/usr/src/lib/libm/common/m9x/
H A D__fex_sparc.c236 info->res.type = fex_nodata; in __fex_get_op()
271 info->res.type = fex_float; in __fex_get_op()
272 info->res.val.f = info->op1.val.f + info->op2.val.f; in __fex_get_op()
277 info->res.type = fex_double; in __fex_get_op()
278 info->res.val.d = info->op1.val.d + info->op2.val.d; in __fex_get_op()
283 info->res.type = fex_ldouble; in __fex_get_op()
284 info->res.val.q = info->op1.val.q + info->op2.val.q; in __fex_get_op()
289 info->res.type = fex_float; in __fex_get_op()
290 info->res.val.f = info->op1.val.f - info->op2.val.f; in __fex_get_op()
295 info->res.type = fex_double; in __fex_get_op()
[all …]
/titanic_41/usr/src/lib/libmvec/common/vis/
H A D__vrsqrt.S89 ! ((float*)&res)[0] = ((float*)px)[0];
90 ! ((float*)&res)[1] = ((float*)px)[1];
94 ! res = DONE / res;
95 ! ((float*)py)[0] = ((float*)&res)[0];
96 ! ((float*)py)[1] = ((float*)&res)[1];
108 ! res = DONE / res;
109 ! ((float*)py)[0] = ((float*)&res)[0];
110 ! ((float*)py)[1] = ((float*)&res)[1];
119 ! res = *(long long*)&res;
120 ! hx = *(int*)&res - (537 << 21);
[all …]
H A D__vsqrt.S606 ! ((float*)&res)[0] = ((float*)px)[0];
607 ! ((float*)&res)[1] = ((float*)px)[1];
613 ! res = sqrt(res);
614 ! ((float*)py)[0] = ((float*)&res)[0];
615 ! ((float*)py)[1] = ((float*)&res)[1];
621 ! res = sqrt(res);
622 ! ((float*)py)[0] = ((float*)&res)[0];
623 ! ((float*)py)[1] = ((float*)&res)[1];
641 ! res = vis_fand(res,DC0); /* DC0 = vis_to_double(0x000fffff, 0xffffffff); */
642 ! res = vis_for(res,A1); /* A1 = vis_to_double(0x3fe00000, 0x00000000); */
[all …]
/titanic_41/usr/src/lib/libsqlite/src/
H A Dtable.c137 TabResult res; in sqlite_get_table() local
142 res.zErrMsg = 0; in sqlite_get_table()
143 res.nResult = 0; in sqlite_get_table()
144 res.nRow = 0; in sqlite_get_table()
145 res.nColumn = 0; in sqlite_get_table()
146 res.nData = 1; in sqlite_get_table()
147 res.nAlloc = 20; in sqlite_get_table()
148 res.rc = SQLITE_OK; in sqlite_get_table()
149 res.azResult = malloc( sizeof(char*)*res.nAlloc ); in sqlite_get_table()
150 if( res.azResult==0 ){ in sqlite_get_table()
[all …]
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_metad.c409 mdrpc_generic_res res; in clnt_add_drv_sidenms() local
418 (void) memset(&res, 0, sizeof (res)); in clnt_add_drv_sidenms()
437 bool = mdrpc_add_drv_sidenms_2_svc(&v2_args, &res, NULL); in clnt_add_drv_sidenms()
439 (void) mdstealerror(ep, &res.status); in clnt_add_drv_sidenms()
478 rval = mdrpc_add_drv_sidenms_1(&v1_args, &res, clntp); in clnt_add_drv_sidenms()
488 (void) mdstealerror(ep, &res.status); in clnt_add_drv_sidenms()
490 rval = mdrpc_add_drv_sidenms_2(&v2_args, &res, clntp); in clnt_add_drv_sidenms()
497 (void) mdstealerror(ep, &res.status); in clnt_add_drv_sidenms()
503 xdr_free(xdr_mdrpc_generic_res, (char *)&res); in clnt_add_drv_sidenms()
529 mdrpc_generic_res res; in clnt_imp_adddrvs() local
[all …]
/titanic_41/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_init_finish.c198 int res = DW_DLV_ERROR; in _dwarf_setup() local
201 res = obj->methods->get_section_info(obj->object, in _dwarf_setup()
204 if(res == DW_DLV_ERROR){ in _dwarf_setup()
220 res = get_basic_section_data(dbg,&dbg->de_debug_info, &doas, in _dwarf_setup()
223 if(res != DW_DLV_OK) { in _dwarf_setup()
224 return res; in _dwarf_setup()
229 res = get_basic_section_data(dbg,&dbg->de_debug_abbrev, &doas, in _dwarf_setup()
232 if(res != DW_DLV_OK) { in _dwarf_setup()
233 return res; in _dwarf_setup()
237 res = get_basic_section_data(dbg,&dbg->de_debug_aranges, &doas, in _dwarf_setup()
[all …]
H A Ddwarf_addr_finder.c80 int res = 0; in _dwarf_addr_finder() local
84 res = dwarf_elf_init(elf_file_ptr, DW_DLC_READ, /* errhand */ 0, in _dwarf_addr_finder()
86 if (res == DW_DLV_ERROR) { in _dwarf_addr_finder()
91 if (res == DW_DLV_NO_ENTRY) { in _dwarf_addr_finder()
92 return res; in _dwarf_addr_finder()
97 res = handle_debug_info(dbg, &errval); in _dwarf_addr_finder()
98 switch (res) { in _dwarf_addr_finder()
109 return res; in _dwarf_addr_finder()
112 res = handle_debug_aranges(dbg, cb_func, &errval); in _dwarf_addr_finder()
113 switch (res) { in _dwarf_addr_finder()
[all …]
/titanic_41/usr/src/lib/libmvec/common/
H A D__vhypot.c106 double x, y, res; in __vhypot() local
141 if (hx0 == 0x7ff00000 && lx == 0) res = x == y ? y : x; in __vhypot()
142 else if (hy0 == 0x7ff00000 && ly == 0) res = x == y ? x : y; in __vhypot()
143 else res = x + y; in __vhypot()
144 RETURN (res) in __vhypot()
158 res = (x_hi * x_hi + y_hi * y_hi); in __vhypot()
159 res += ((x + x_hi) * x_lo + (y + y_hi) * y_lo); in __vhypot()
161 res = sqrt (res); in __vhypot()
163 res = D2ONP1022 * res; in __vhypot()
164 RETURN (res) in __vhypot()
[all …]
/titanic_41/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_svc_subr.c38 med_err_t *res, in med_null_1_svc() argument
43 *res = med_null_err; in med_null_1_svc()
56 med_err_t *res, in med_upd_data_1_svc() argument
63 *res = med_null_err; in med_upd_data_1_svc()
66 if ((err = med_init(rqstp, W_OK, res)) < 0) in med_upd_data_1_svc()
72 if (med_db_init(res)) in med_upd_data_1_svc()
75 (void) med_db_put_data(&argp->med, &argp->med_data, res); in med_upd_data_1_svc()
88 med_get_data_res_t *res, in med_get_data_1_svc() argument
94 med_err_t *medep = &res->med_status; in med_get_data_1_svc()
97 (void) memset(res, 0, sizeof (*res)); in med_get_data_1_svc()
[all …]
/titanic_41/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c57 int res; in read_authtok() local
67 res = pam_get_item(pamh, PAM_OLDAUTHTOK, (void **)&authtok); in read_authtok()
68 if (res != PAM_SUCCESS) in read_authtok()
69 return (res); in read_authtok()
72 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&authtok); in read_authtok()
73 if (res != PAM_SUCCESS) in read_authtok()
74 return (res); in read_authtok()
76 res = pam_set_item(pamh, PAM_OLDAUTHTOK, in read_authtok()
78 if (res == PAM_SUCCESS) in read_authtok()
79 res = pam_set_item(pamh, PAM_AUTHTOK, NULL); in read_authtok()
[all …]
/titanic_41/usr/src/cmd/sh/
H A Dulimit.c67 int hard, soft, cnt, c, res; in sysulimit() local
72 for (res = 0; res < RLIM_NLIMITS; res++) { in sysulimit()
73 resources[res] = 0; in sysulimit()
96 for (res = 0; res < RLIM_NLIMITS; res++) { in sysulimit()
97 resources[res]++; in sysulimit()
102 res = RLIMIT_CORE; in sysulimit()
105 res = RLIMIT_DATA; in sysulimit()
108 res = RLIMIT_FSIZE; in sysulimit()
111 res = RLIMIT_NOFILE; in sysulimit()
114 res = RLIMIT_STACK; in sysulimit()
[all …]
/titanic_41/usr/src/cmd/pfexecd/
H A Dpfexecd.c238 priv_set_t *res; in get_privset() local
240 if ((res = priv_str_to_set(s, ",", NULL)) == NULL) { in get_privset()
245 return (res); in get_privset()
252 priv_set_t *res = vres; in ggp_callback() local
263 priv_union(tmp, res); in ggp_callback()
278 priv_set_t *res; in get_granted_privs() local
285 res = priv_allocset(); in get_granted_privs()
286 if (res == NULL) in get_granted_privs()
289 priv_emptyset(res); in get_granted_privs()
291 (void) _enum_profs(pwd->pw_name, ggp_callback, NULL, res); in get_granted_privs()
[all …]
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dgettext.c74 char *res; in bindtextdomain() local
78 res = _real_bindtextdomain_u(domain, binding, TP_BINDING); in bindtextdomain()
80 return (res); in bindtextdomain()
86 char *res; in bind_textdomain_codeset() local
90 res = _real_bindtextdomain_u(domain, codeset, TP_CODESET); in bind_textdomain_codeset()
92 return (res); in bind_textdomain_codeset()
102 char *res; in textdomain() local
107 res = _textdomain_u(domain, tmp_domain); in textdomain()
108 if (res == NULL) { in textdomain()
123 char *res; in gettext() local
[all …]
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgen_ho.c52 struct __res_state * res; member
69 struct __res_state *res,
118 if (pvt->res && pvt->free_res) in ho_close()
119 (*pvt->free_res)(pvt->res); in ho_close()
138 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL); in ho_byname()
144 pvt->res->res_h_errno != HOST_NOT_FOUND && in ho_byname()
145 pvt->res->res_h_errno != NETDB_INTERNAL) { in ho_byname()
147 therrno = pvt->res->res_h_errno; in ho_byname()
159 if (pvt->res->res_h_errno != TRY_AGAIN || errno != ECONNREFUSED) in ho_byname()
162 if (softerror != 0 && pvt->res->res_h_errno == HOST_NOT_FOUND) in ho_byname()
[all …]
H A Ddns.c76 dns->res = NULL; in irs_dns_acc()
113 if (dns->res == NULL) { in dns_res_get()
114 struct __res_state *res; in dns_res_get() local
115 res = (struct __res_state *)malloc(sizeof *res); in dns_res_get()
116 if (res == NULL) in dns_res_get()
118 memset(res, 0, sizeof *res); in dns_res_get()
119 dns_res_set(this, res, free); in dns_res_get()
122 if ((dns->res->options & RES_INIT) == 0U && in dns_res_get()
123 res_ninit(dns->res) < 0) in dns_res_get()
126 return (dns->res); in dns_res_get()
[all …]
H A Dlcl.c71 lcl->res = NULL; in irs_lcl_acc()
100 if (lcl->res == NULL) { in lcl_res_get()
101 struct __res_state *res; in lcl_res_get() local
102 res = (struct __res_state *)malloc(sizeof *res); in lcl_res_get()
103 if (res == NULL) in lcl_res_get()
105 memset(res, 0, sizeof *res); in lcl_res_get()
106 lcl_res_set(this, res, free); in lcl_res_get()
109 if ((lcl->res->options & RES_INIT) == 0U && in lcl_res_get()
110 res_ninit(lcl->res) < 0) in lcl_res_get()
113 return (lcl->res); in lcl_res_get()
[all …]
/titanic_41/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddrbac.c119 int res, retval; in genent_user_attr() local
124 res = genent_attr(line, USERATTR_DB_NCOL, &ecol); in genent_user_attr()
125 if (res != GENENT_OK) in genent_user_attr()
126 return (res); in genent_user_attr()
144 if (continue_onerror == 0) res = GENENT_CBERR; in genent_user_attr()
149 return (res); in genent_user_attr()
153 dump_user_attr(ns_ldap_result_t *res) in dump_user_attr() argument
157 value = __ns_ldap_getAttr(res->entry, "uid"); in dump_user_attr()
164 value = __ns_ldap_getAttr(res->entry, "SolarisAttrKeyValue"); in dump_user_attr()
175 int res, retval; in genent_prof_attr() local
[all …]
H A Dldapaddtsol.c51 int res, retval; in genent_tnrhdb() local
56 res = genent_attr(line, TNRHDB_NCOL, &ecol); in genent_tnrhdb()
57 if (res != GENENT_OK) in genent_tnrhdb()
58 return (res); in genent_tnrhdb()
72 res = GENENT_CBERR; in genent_tnrhdb()
76 return (res); in genent_tnrhdb()
80 dump_tnrhdb(ns_ldap_result_t *res) in dump_tnrhdb() argument
84 value = __ns_ldap_getAttr(res->entry, "ipTnetNumber"); in dump_tnrhdb()
91 value = __ns_ldap_getAttr(res->entry, "ipTnetTemplateName"); in dump_tnrhdb()
102 int res, retval; in genent_tnrhtp() local
[all …]
/titanic_41/usr/src/uts/common/gssapi/
H A Dgssd_clnt_stubs.c118 gss_acquire_cred_res res; local
180 bzero((caddr_t)&res, sizeof (res));
181 client_stat = gss_acquire_cred_1(&arg, &res, clnt);
217 *minor_status = res.minor_status;
220 (res.status == GSS_S_COMPLETE)) {
222 *((gssd_cred_id_t *)res.output_cred_handle.GSS_CRED_ID_T_val);
223 *gssd_cred_verifier = res.gssd_cred_verifier;
226 if (res.status == GSS_S_COMPLETE &&
227 res.actual_mechs.GSS_OID_SET_len != 0 &&
231 (int)res.actual_mechs.GSS_OID_SET_len;
[all …]
/titanic_41/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c174 char *res = NULL; in tolower_u8() local
189 if ((res = malloc(outlen)) == NULL) in tolower_u8()
191 outs = res; in tolower_u8()
196 if ((res = realloc(res, outlen + inbytesleft)) == NULL) in tolower_u8()
200 outs = res + outlen - outbytesleft; in tolower_u8()
207 free(res); in tolower_u8()
208 res = NULL; in tolower_u8()
212 res[outlen - outbytesleft] = '\0'; in tolower_u8()
214 return (res); in tolower_u8()
1224 lookup_wksids_sid2pid(idmap_mapping *req, idmap_id_res *res, int *is_wksid) in lookup_wksids_sid2pid() argument
[all …]
/titanic_41/usr/src/lib/pam_modules/authtok_store/
H A Dauthtok_store.c103 int res;
136 res = pam_get_item(pamh, PAM_SERVICE, (void **)&service);
137 if (res != PAM_SUCCESS) {
142 res = pam_get_item(pamh, PAM_USER, (void **)&user);
143 if (res != PAM_SUCCESS) {
153 res = pam_get_item(pamh, PAM_OLDAUTHTOK, (void **)&oldpw);
154 if (res != PAM_SUCCESS) {
159 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&newpw);
160 if (res != PAM_SUCCESS || newpw == NULL) {
185 res = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep);
[all …]
/titanic_41/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_svc_subr.c404 mdrpc_flush_internal_common(mdrpc_null_args *args, mdrpc_generic_res *res, in mdrpc_flush_internal_common() argument
407 md_error_t *ep = &res->status; in mdrpc_flush_internal_common()
410 (void) memset(res, 0, sizeof (*res)); in mdrpc_flush_internal_common()
424 mdrpc_flush_internal_1_svc(mdrpc_null_args *args, mdrpc_generic_res *res, in mdrpc_flush_internal_1_svc() argument
427 return (mdrpc_flush_internal_common(args, res, rqstp)); in mdrpc_flush_internal_1_svc()
431 mdrpc_flush_internal_2_svc(mdrpc_null_args *args, mdrpc_generic_res *res, in mdrpc_flush_internal_2_svc() argument
434 return (mdrpc_flush_internal_common(args, res, rqstp)); in mdrpc_flush_internal_2_svc()
444 mdrpc_generic_res *res, in mdrpc_add_drv_sidenms_common() argument
448 md_error_t *ep = &res->status; in mdrpc_add_drv_sidenms_common()
478 mdrpc_generic_res *res, in mdrpc_add_drv_sidenms_1_svc() argument
[all …]

12345678910>>...35