/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | util.c | 355 if ((res->sr_pg = scf_pg_create(res->sr_handle)) == NULL) { in create_scf_resources() 361 if ((res->sr_val = scf_value_create(res->sr_handle)) == NULL) { in create_scf_resources() 367 if ((res->sr_ent = scf_entry_create(res->sr_handle)) == NULL) { in create_scf_resources() 406 running ? res->sr_snap : NULL, pg, res->sr_pg) != 0) { in get_property_value() 412 if (scf_property_get_value(res->sr_prop, res->sr_val) != 0) { in get_property_value() 559 if (scf_transaction_start(res->sr_tx, res->sr_pg) == -1) { in set_property_value() 563 if (scf_transaction_property_new(res->sr_tx, res->sr_ent, in set_property_value() 568 if (scf_transaction_property_change(res->sr_tx, res->sr_ent, in set_property_value() 574 if (scf_entry_add_value(res->sr_ent, res->sr_val) != 0) { in set_property_value() 685 if (scf_pg_get_property(res.sr_pg, prop, res.sr_prop) != 0) in nwamd_delete_scf_property() [all …]
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_proc.c | 360 memset(res, 0, sizeof (*res)); 614 memset(res, 0, sizeof (*res)); 775 memset(res, 0, sizeof (*res)); 848 memset(res, 0, sizeof (*res)); 1121 memset(res, 0, sizeof (*res)); 1401 memset(res, 0, sizeof (*res)); 1461 memset(res, 0, sizeof (*res)); 1577 memset(res, 0, sizeof (*res)); 1686 memset(res, 0, sizeof (*res)); 1749 memset(res, 0, sizeof (*res)); [all …]
|
H A D | gssd_clnt_stubs.c | 154 memset(&res, 0, sizeof (res)); 501 memset(&res, 0, sizeof (res)); 696 memset(&res, 0, sizeof (res)); 940 memset(&res, 0, sizeof (res)); 1117 memset(&res, 0, sizeof (res)); 1172 memset(&res, 0, sizeof (res)); 1299 memset(&res, 0, sizeof (res)); 1392 memset(&res, 0, sizeof (res)); 1485 memset(&res, 0, sizeof (res)); 1591 memset(&res, 0, sizeof (res)); [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sparc.c | 650 info->res.val.i = (int) info->res.val.l; in __fex_st_result() 654 info->res.val.i = (int) info->res.val.f; in __fex_st_result() 658 info->res.val.i = (int) info->res.val.d; in __fex_st_result() 662 info->res.val.i = (int) info->res.val.q; in __fex_st_result() 700 info->res.val.f = (float) info->res.val.i; in __fex_st_result() 704 info->res.val.f = (float) info->res.val.l; in __fex_st_result() 708 info->res.val.f = (float) info->res.val.d; in __fex_st_result() 829 info->res.val.f = (float) info->res.val.i; in __fex_st_result() 833 info->res.val.f = (float) info->res.val.l; in __fex_st_result() 837 info->res.val.f = (float) info->res.val.d; in __fex_st_result() [all …]
|
/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vrsqrt.S | 94 ! res = DONE / res; 108 ! res = DONE / res; 119 ! res = *(long long*)&res; 124 ! res = vis_fand(res,DC4); 125 ! res = *(long long*)&res; 132 ! res = sqrt(res); 151 ! res = vis_fand(res,DC0); 152 ! res = vis_for(res,DC1); 173 ! res = dexp_hi * res; 1144 fdivd DONE,%f0,%f0 ! res = DONE / res; [all …]
|
H A D | __vsqrt.S | 613 ! res = sqrt(res); 621 ! res = sqrt(res); 664 ! res = dexp_hi * res; 732 for %f50,A1,%f40 ! (5_1) res = vis_for(res,A1); 764 for %f50,A1,%f42 ! (0_0) res = vis_for(res,A1); 804 for %f50,A1,%f14 ! (1_0) res = vis_for(res,A1); 847 for %f50,A1,%f18 ! (2_0) res = vis_for(res,A1); 893 for %f50,A1,%f44 ! (3_0) res = vis_for(res,A1); 945 for %f50,A1,%f24 ! (4_0) res = vis_for(res,A1); 1015 for %f50,A1,%f40 ! (5_1) res = vis_for(res,A1); [all …]
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | table.c | 137 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() 149 res.azResult = malloc( sizeof(char*)*res.nAlloc ); in sqlite_get_table() 156 res.azResult[0] = (char*)res.nData; in sqlite_get_table() 176 if( res.nAlloc>res.nData ){ in sqlite_get_table() 178 azNew = realloc( res.azResult, sizeof(char*)*(res.nData+1) ); in sqlite_get_table() [all …]
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vhypot.c | 161 res = sqrt (res); in __vhypot() 163 res = D2ONP1022 * res; in __vhypot() 203 res = sqrt (res); in __vhypot() 229 res = sqrt(res); in __vhypot() 231 res = D2ONM1022 * res; in __vhypot() 289 res = sqrt (res); in __vhypot() 291 res = D2ONP1022 * res; in __vhypot() 315 res = sqrt(res); in __vhypot() 317 res = D2ONM1022 * res; in __vhypot() 335 res = sqrt(res); in __vhypot() [all …]
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | gettext.c | 75 char *res; in bindtextdomain() local 81 return (res); in bindtextdomain() 87 char *res; in bind_textdomain_codeset() local 103 char *res; in textdomain() local 124 char *res; in gettext() local 142 char *res; in dgettext() local 156 char *res; in dgettext_l() local 170 char *res; in dcgettext() local 184 char *res; in ngettext() local 199 char *res; in dngettext() local [all …]
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | zalloc_malloc.c | 73 Guard *res; in Malloc_align() local 127 if (*((signed char *)res + res->ga_Bytes - 1) == -1) { in Free() 132 if (*((signed char *)res + res->ga_Bytes - 1) != -2) in Free() 135 *((signed char *)res + res->ga_Bytes - 1) = -1; in Free() 150 void *res; in Calloc() local 153 bzero(res, bytes); in Calloc() 159 return (res); in Calloc() 171 void *res; in Realloc() local 197 return (res); in Realloc() 203 void *res; in Reallocf() local [all …]
|
/illumos-gate/usr/src/lib/pam_modules/authtok_get/ |
H A D | authtok_get.c | 57 int res; in read_authtok() local 69 return (res); in read_authtok() 74 return (res); in read_authtok() 143 return (res); in read_authtok() 149 int res; in verify_authtok() local 170 return (res); in verify_authtok() 200 int res; in pam_sm_chauthtok() local 211 return (res); in pam_sm_chauthtok() 227 int res; in pam_sm_authenticate() local 247 return (res); in pam_sm_authenticate() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | pro_section.c | 374 int res = 0; in dwarf_transform_to_disk_form() local 752 int res = 0; in pretend_write_uval() local 842 int res = 0; in write_opcode_uval() local 867 int res = 0; in determine_form_size() local 1196 int res = 0; in calculate_size_of_line_header5() local 1351 int res = 0; in _dwarf_pro_generate_debugline() local 2407 int res = 0; in dwarf_get_die_markers() local 2927 int res = 0; in write_out_debug_abbrev() local 3000 int res = 0; in sort_die_attrs() local 3071 int res = 0; in _dwarf_pro_generate_debuginfo() local [all …]
|
H A D | dwarf_query.c | 171 int res = 0; in dwarf_die_offsets() local 189 return res; in dwarf_die_offsets() 235 int res = 0; in dwarf_offset_list() local 258 if (DW_DLV_ERROR == res || DW_DLV_NO_ENTRY == res) { in dwarf_offset_list() 770 return res; in dwarf_die_text() 970 return res; in dwarf_debug_addr_index_to_addr() 1106 return res; in dwarf_dietype_offset() 1696 return res; in dwarf_bytesize() 1708 return res; in dwarf_bitsize() 1720 return res; in dwarf_bitoffset() [all …]
|
H A D | dwarf_original_elf_init.c | 82 int res = DW_DLV_OK; in dwarf_elf_init_b() 101 return res; in dwarf_elf_init_b() 111 return res; in dwarf_elf_init_b() 117 return res; in dwarf_elf_init_b() 120 return res; in dwarf_elf_init_b() 144 int res = 0; in dwarf_elf_init() 148 return res; in dwarf_elf_init() 186 int res = DW_DLV_OK; in _dwarf_elf_setup() 204 return res; in _dwarf_elf_setup() 214 return res; in _dwarf_elf_setup() [all …]
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | ulimit.c | 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() 117 res = RLIMIT_CPU; in sysulimit() 120 res = RLIMIT_VMEM; in sysulimit() 126 resources[res]++; in sysulimit() [all …]
|
/illumos-gate/usr/src/cmd/pfexecd/ |
H A D | pfexecd.c | 239 priv_set_t *res; in get_privset() local 246 return (res); in get_privset() 279 priv_set_t *res; in get_granted_privs() local 287 if (res == NULL) in get_granted_privs() 294 return (res); in get_granted_privs() 339 uint32_t res; in callback_user_privs() local 347 (void) door_return((char *)&res, sizeof (res), NULL, 0); in callback_user_privs() 368 res->pfr_len = 0; in callback_pfexec() 376 res->pfr_ioff = 0; in callback_pfexec() 377 res->pfr_loff = 0; in callback_pfexec() [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/ |
H A D | gssd_clnt_stubs.c | 180 bzero((caddr_t)&res, sizeof (res)); 402 bzero((caddr_t)&res, sizeof (res)); 547 bzero((caddr_t)&res, sizeof (res)); 731 bzero((caddr_t)&res, sizeof (res)); in kgss_init_sec_context_wrapped() 1024 bzero((caddr_t)&res, sizeof (res)); in kgss_accept_sec_context_wrapped() 1225 bzero(&res, sizeof (res)); 1289 bzero((caddr_t)&res, sizeof (res)); in kgss_delete_sec_context_wrapped() 2484 bzero(&res, sizeof (res)); 2577 bzero(&res, sizeof (res)); 2639 bzero(&res, sizeof (res)); [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gen_ho.c | 48 struct __res_state * res; member 282 if (pvt->res) in ho_minimize() 283 res_nclose(pvt->res); in ho_minimize() 295 if (!pvt->res) { in ho_res_get() 296 struct __res_state *res; in ho_res_get() local 297 res = (struct __res_state *)malloc(sizeof *res); in ho_res_get() 298 if (!res) { in ho_res_get() 302 memset(res, 0, sizeof *res); in ho_res_get() 306 return (pvt->res); in ho_res_get() 316 res_nclose(pvt->res); in ho_res_set() [all …]
|
H A D | dns.c | 72 dns->res = NULL; in irs_dns_acc() 109 if (dns->res == NULL) { in dns_res_get() 110 struct __res_state *res; in dns_res_get() local 111 res = (struct __res_state *)malloc(sizeof *res); in dns_res_get() 112 if (res == NULL) in dns_res_get() 114 memset(res, 0, sizeof *res); in dns_res_get() 119 res_ninit(dns->res) < 0) in dns_res_get() 122 return (dns->res); in dns_res_get() 131 res_nclose(dns->res); in dns_res_set() 132 (*dns->free_res)(dns->res); in dns_res_set() [all …]
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddrbac.c | 119 int res, retval; in genent_user_attr() local 126 return (res); in genent_user_attr() 149 return (res); in genent_user_attr() 175 int res, retval; in genent_prof_attr() local 182 return (res); in genent_prof_attr() 212 return (res); in genent_prof_attr() 242 int res, retval; in genent_exec_attr() local 249 return (res); in genent_exec_attr() 283 return (res); in genent_exec_attr() 332 return (res); in genent_auth_attr() [all …]
|
H A D | ldapaddtsol.c | 51 int res, retval; in genent_tnrhdb() local 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 102 int res, retval; in genent_tnrhtp() local 108 if (res != GENENT_OK) in genent_tnrhtp() 109 return (res); in genent_tnrhtp() 119 res = GENENT_CBERR; in genent_tnrhtp() [all …]
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | dbutils.c | 174 char *res = NULL; in tolower_u8() local 191 outs = res; in tolower_u8() 196 if ((res = realloc(res, outlen + inbytesleft)) == NULL) in tolower_u8() 207 free(res); in tolower_u8() 208 res = NULL; in tolower_u8() 214 return (res); in tolower_u8() 2583 TRACE(req, res, in sid2pid_first_pass() 3128 &res->id); in name_based_mapping_sid2pid() 3675 res->id.idmap_id_u.sid.prefix, res->id.idmap_id_u.sid.rid, in update_cache_pid2sid() 3708 res->id.idmap_id_u.sid.prefix, res->id.idmap_id_u.sid.rid, in update_cache_pid2sid() [all …]
|
/illumos-gate/usr/src/lib/pam_modules/authtok_store/ |
H A D | authtok_store.c | 103 int res; 209 switch (res) { 218 res = PAM_SUCCESS; 237 res = PAM_SYSTEM_ERR; 254 res = PAM_BUF_ERR; 257 res = PAM_SYSTEM_ERR; 260 res = PAM_SYSTEM_ERR; 271 res = PAM_SUCCESS; 278 res = PAM_SYSTEM_ERR; 317 res = PAM_SYSTEM_ERR; [all …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | key_call.c | 293 cryptkeyres res; in key_encryptsession_pk() local 341 (void) memset(&res, 0, sizeof (res)); in key_encryptsession_pk_g() 363 cryptkeyres res; in key_decryptsession_pk() local 412 (void) memset(&res, 0, sizeof (res)); in key_decryptsession_pk_g() 433 cryptkeyres res; in key_encryptsession() local 468 (void) memset(&res, 0, sizeof (res)); in key_encryptsession_g() 489 cryptkeyres res; in key_decryptsession() local 524 (void) memset(&res, 0, sizeof (res)); in key_decryptsession_g() 555 deskeyarray res; in key_gendes_g() local 750 (void) memset(&res, 0, sizeof (res)); in key_get_conv_g() [all …]
|
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getexecattr.c | 133 nss_status_t res; in _exec_nis_parse() local 176 return (res); in _exec_nis_parse() 197 nss_status_t res; in _exec_nis_cb() local 240 switch (res) { in _exec_nis_cb() 291 res = ypres; in _exec_nis_lookup() 353 return (res); in _exec_nis_lookup() 382 return (res); in get_wild() 389 nss_status_t res; in getbynam() local 396 return (res); in getbynam() 414 return (res); in getbyid() [all …]
|