/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddtsol.c | 49 int res, retval; in genent_tnrhdb() local 55 if (res != GENENT_OK) in genent_tnrhdb() 56 return (res); in genent_tnrhdb() 70 res = GENENT_CBERR; in genent_tnrhdb() 74 return (res); in genent_tnrhdb() 78 dump_tnrhdb(ns_ldap_result_t *res) in dump_tnrhdb() argument 100 int res, retval; in genent_tnrhtp() local 106 if (res != GENENT_OK) in genent_tnrhtp() 107 return (res); in genent_tnrhtp() 117 res = GENENT_CBERR; in genent_tnrhtp() [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 …]
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
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 …]
|
H A D | lcl.c | 65 lcl->res = NULL; in irs_lcl_acc() 94 if (lcl->res == NULL) { in lcl_res_get() 95 struct __res_state *res; in lcl_res_get() local 96 res = (struct __res_state *)malloc(sizeof *res); in lcl_res_get() 97 if (res == NULL) in lcl_res_get() 99 memset(res, 0, sizeof *res); in lcl_res_get() 104 res_ninit(lcl->res) < 0) in lcl_res_get() 107 return (lcl->res); in lcl_res_get() 116 res_nclose(lcl->res); in lcl_res_set() 117 (*lcl->free_res)(lcl->res); in lcl_res_set() [all …]
|
H A D | nis.c | 107 if (nis->res == NULL) { in nis_res_get() 108 struct __res_state *res; in nis_res_get() local 109 res = (struct __res_state *)malloc(sizeof *res); in nis_res_get() 110 if (res == NULL) in nis_res_get() 112 memset(res, 0, sizeof *res); in nis_res_get() 117 res_ninit(nis->res) < 0) in nis_res_get() 120 return (nis->res); in nis_res_get() 129 res_nclose(nis->res); in nis_res_set() 130 (*nis->free_res)(nis->res); in nis_res_set() 133 nis->res = res; in nis_res_set() [all …]
|
H A D | gen_nw.c | 45 struct __res_state * res; member 200 if (pvt->res) in nw_minimize() 201 res_nclose(pvt->res); in nw_minimize() 213 if (!pvt->res) { in nw_res_get() 214 struct __res_state *res; in nw_res_get() local 215 res = (struct __res_state *)malloc(sizeof *res); in nw_res_get() 216 if (!res) { in nw_res_get() 220 memset(res, 0, sizeof *res); in nw_res_get() 224 return (pvt->res); in nw_res_get() 234 res_nclose(pvt->res); in nw_res_set() [all …]
|
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_subr.c | 72 static bp_whoami_res res; in bootparamproc_whoami_1() local 107 res.client_name = hp->h_name; in bootparamproc_whoami_1() 132 res.domain_name = domain; in bootparamproc_whoami_1() 147 res.client_name, in bootparamproc_whoami_1() 150 return (&res); in bootparamproc_whoami_1() 161 static bp_getfile_res res; in bootparamproc_getfile_1() local 235 if (*res.server_name == 0) { in bootparamproc_getfile_1() 260 getf_printres(&res); in bootparamproc_getfile_1() 262 return (&res); in bootparamproc_getfile_1() 273 res->server_name, in getf_printres() [all …]
|
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/ |
H A D | mem_devmem.c | 48 int res, fd; in main() local 59 if (res != 0) { in main() 64 if (res != 0) { in main() 70 if (res != 0) { in main() 75 if (res != 0) { in main() 91 if (res != 0) { in main() 103 if (res != 0) { in main() 136 res = munmap(guest_mem, WHOLE_SZ); in main() 137 if (res != 0) { in main() 142 if (res != 0) { in main() [all …]
|
H A D | mem_partial.c | 58 int res, fd; in main() local 70 if (res != 0) { in main() 75 if (res != 0) { in main() 82 if (res != 0) { in main() 87 if (res != 0) { in main() 131 res = sigaction(SIGSEGV, &sa, &old_sa); in main() 132 if (res != 0) { in main() 154 res = munmap(guest_mem, TOTAL_SZ); in main() 155 if (res != 0) { in main() 177 res = sigaction(SIGSEGV, &old_sa, NULL); in main() [all …]
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vrsqrt.c | 121 double res; in __vrsqrt() local 158 res = *(long long*)&res; in __vrsqrt() 176 res = dexp_hi0 * res + dexp_lo0 + dexp_hi0; in __vrsqrt() 182 RETURN (res) in __vrsqrt() 201 res = *px; in __vrsqrt() 208 res = *px; in __vrsqrt() 221 res = *(long long*)&res; in __vrsqrt() 239 res = dexp_hi0 * res + dexp_lo0 + dexp_hi0; in __vrsqrt() 245 *py = res; in __vrsqrt() 275 res = dexp_hi0 * res + dexp_lo0 + dexp_hi0; in __vrsqrt() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | dbm.c | 166 return &res; in dbm_page_get() 219 return res; in dbm_page_next() 268 return res; in page_bytitle() 293 return res; in page_bytitle() 309 return res; in page_bytitle() 326 return res; in page_byarch() 345 return res; in page_byarch() 369 return res; in page_bymacro() 372 return res; in page_bymacro() 379 return res; in page_bymacro() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_dnames.c | 285 int res = 0; in read_a_name_index() local 568 int res = 0; in dwarf_debugnames_header() local 701 int res = 0; in dwarf_debugnames_sizes() local 757 int res; in dwarf_debugnames_cu_entry() local 800 int res; in dwarf_debugnames_local_tu_entry() local 854 int res; in dwarf_debugnames_foreign_tu_entry() local 911 int res; in dwarf_debugnames_bucket() local 957 int res; in dwarf_debugnames_name() local 1123 int res; in dwarf_debugnames_abbrev_by_code() local 1133 return res; in dwarf_debugnames_abbrev_by_code() [all …]
|
H A D | pro_macinfo.c | 154 int res; in libdwarf_compose_add_line() local 167 if (res != DW_DLV_OK) { in libdwarf_compose_add_line() 203 int res; in dwarf_def_macro() local 230 if (res != DW_DLV_OK) { in dwarf_def_macro() 235 if (res != DW_DLV_OK) { in dwarf_def_macro() 261 int res; in dwarf_undef_macro() local 304 int res; in dwarf_start_macro_file() local 337 int res; in dwarf_end_macro_file() local 354 return res; in dwarf_end_macro_file() 356 return res; in dwarf_end_macro_file() [all …]
|
H A D | dwarf_arange.c | 119 int res = 0; in dwarf_get_aranges_list() local 133 return res; in dwarf_get_aranges_list() 167 return res; in dwarf_get_aranges_list() 184 return res; in dwarf_get_aranges_list() 419 return res; in dwarf_get_aranges() 425 return res; in dwarf_get_aranges() 431 return res; in dwarf_get_aranges() 502 return res; in _dwarf_get_aranges_addr_offsets() 508 return res; in _dwarf_get_aranges_addr_offsets() 512 return res; in _dwarf_get_aranges_addr_offsets() [all …]
|
H A D | dwarf_elf_load_headers.c | 175 int res = 0; 191 return res; 363 int res = 0; 423 int res = 0; 485 int res = 0; in generic_shdr_from_shdr32() local 550 int res = 0; in generic_shdr_from_shdr64() local 766 return res; in dwarf_generic_elf_load_symbols() 792 return res; 819 return res; in _dwarf_load_elf_symtab_symbols() 1099 return res; in _dwarf_elf_load_sectstrings() [all …]
|
H A D | dwarf_form.c | 114 return res; in dwarf_hasform() 130 return res; in dwarf_whatform_direct() 392 int res = 0; in dwarf_convert_to_global_offset() local 638 return res; in dwarf_formsig8_const() 654 return res; in dwarf_formsig8() 1008 int res = 0; in dwarf_get_debug_str_index() local 1093 return res; in dwarf_formdata16() 1325 return res; in dwarf_formudata() 1530 int res = 0; in dwarf_formblock() local 1567 int res = 0; in _dwarf_extract_string_offset_via_str_offsets() local [all …]
|
H A D | pro_pubnames.c | 53 int res = 0; in dwarf_add_pubname() local 55 res = _dwarf_add_simple_name_entry(dbg, die, pubname_name, in dwarf_add_pubname() 57 if (res != DW_DLV_OK) { in dwarf_add_pubname() 68 int res = 0; in dwarf_add_pubname_a() local 70 res = _dwarf_add_simple_name_entry(dbg, die, in dwarf_add_pubname_a() 73 return res; in dwarf_add_pubname_a() 83 int res = 0; in dwarf_add_pubtype() local 85 res = _dwarf_add_simple_name_entry(dbg, die, pubtype_name, in dwarf_add_pubtype() 87 if (res != DW_DLV_OK) { in dwarf_add_pubtype() 98 int res = 0; in dwarf_add_pubtype_a() local [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypxfrd_server.c | 127 int res; in getdbm_1_svc() local 148 res = GETDBM_ERROR; in getdbm_1_svc() 150 (caddr_t)&res)) { in getdbm_1_svc() 160 res = GETDBM_ERROR; in getdbm_1_svc() 173 res = GETDBM_ERROR; in getdbm_1_svc() 184 res = GETDBM_ERROR; in getdbm_1_svc() 193 res = GETDBM_ERROR; in getdbm_1_svc() 266 res.status = mygetpage(res.pag_u.ok.blkdat, &(res.pag_u.ok.blkno), m); in xdr_pages() 283 res.status = mygetpage(res.pag_u.ok.blkdat, in xdr_pages() 341 res.status = mygetdir(res.dir_u.ok.blkdat, &(res.dir_u.ok.blkno), m); in xdr_dirs() [all …]
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_b_clnt.c | 50 static char res; in ypbindproc_null_3() local 52 res = 0; in ypbindproc_null_3() 54 argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS) in ypbindproc_null_3() 56 return ((void *)&res); in ypbindproc_null_3() 62 static ypbind_resp res; in ypbindproc_domain_3() local 64 (void) memset(&res, 0, sizeof (res)); in ypbindproc_domain_3() 67 (char *)&res, TIMEOUT) != RPC_SUCCESS) in ypbindproc_domain_3() 69 return (&res); in ypbindproc_domain_3() 75 static char res; in ypbindproc_setdom_3() local 77 res = 0; in ypbindproc_setdom_3() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 450 int res; in modify_params() local 1196 int res; in diffparams() local 1233 int res; in difffilter() local 1384 int res; in diffconf() local 1442 int res; in diffaction() local 1493 int res; in diffclasses() local 1597 int res; in difffilters() local 1750 int res; in diffnvlists() local 2106 int res; in applydiff() local 2141 int res; in add_items() local [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/demangle/ |
H A D | llvm-stdcxxabi.c | 29684 VERIFY3P(res, !=, NULL); in pass_test() 29685 VERIFY3S(strcmp(pass[i].demangled, res), ==, 0); in pass_test() 29686 free(res); in pass_test() 29699 VERIFY3P(res, !=, NULL); in fp_test() 29701 strcmp(fptests[i].demangled[1], res) == 0 || in fp_test() 29702 strcmp(fptests[i].demangled[2], res) == 0 || in fp_test() 29703 strcmp(fptests[i].demangled[3], res) == 0 || in fp_test() 29704 strcmp(fptests[i].demangled[4], res) == 0); in fp_test() 29706 free(res); in fp_test() 29718 VERIFY3P(res, ==, NULL); in fail_test() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db.cc | 180 if (res == NULL) in exec_action() 218 delete res; in exec_action() 267 delete res; in exec_action() 280 res->status = DB_SUCCESS; in exec_action() 310 return (res); in exec_action() 312 return (res); in exec_action() 326 db_result * res; in log_action() local 382 return (res); in log_action() 395 db_result *res; in execute() local 407 return (res); in execute() [all …]
|
/illumos-gate/usr/src/common/mpi/ |
H A D | mpi.c | 371 return res; in mp_set_int() 375 return res; in mp_set_int() 405 return res; in mp_set_ulong() 409 return res; in mp_set_ulong() 458 return res; in mp_add_d() 503 return res; in mp_sub_d() 534 return res; in mp_mul_d() 612 return res; in mp_div_d() 1252 return res; in mp_mod() 1261 return res; in mp_mod() [all …]
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keyserv.c | 644 cryptkeyres *res; 672 cryptkeyres *res; 759 res->status = pk_get_conv_key(uid, arg, res); in __key_get_conv_2_svc() 779 cryptkeyres *res; 807 cryptkeyres *res; 869 getcredres *res; 916 res->status = pk_encrypt3(uid, arg, &res->cryptkeyres3_u.deskey); in __key_encrypt_3_svc() 936 res->status = pk_decrypt3(uid, arg, &res->cryptkeyres3_u.deskey); in __key_decrypt_3_svc() 987 res->status = pk_encrypt3(uid, arg, &res->cryptkeyres3_u.deskey); in __key_encrypt_pk_3_svc() 1004 res->status = pk_decrypt3(uid, arg, &res->cryptkeyres3_u.deskey); in __key_decrypt_pk_3() [all …]
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | adspriv_impl.c | 79 int *res, in adspriv_forcerediscovery_1_svc() argument 85 *res = 0; in adspriv_forcerediscovery_1_svc() 95 DsGetDcNameRes *res, in adspriv_getdcname_1_svc() argument 105 (void) memset(res, 0, sizeof (*res)); in adspriv_getdcname_1_svc() 106 res->status = 0; in adspriv_getdcname_1_svc() 107 dci = &res->DsGetDcNameRes_u.res0; in adspriv_getdcname_1_svc() 172 res->status = NT_STATUS_NO_MEMORY; in adspriv_getdcname_1_svc() 178 res->status = NT_STATUS_NO_MEMORY; in adspriv_getdcname_1_svc() 209 res->status = NT_STATUS_NO_MEMORY; in adspriv_getdcname_1_svc() 228 if (res->status != 0) { in adspriv_getdcname_1_svc() [all …]
|