/illumos-gate/usr/src/lib/pam_modules/smb/ |
H A D | smb_passwd.c | 85 int res; in pam_sm_chauthtok() local 129 res = __user_to_authenticate(user, &files_rep, &local_user, in pam_sm_chauthtok() 131 if (res != PWU_SUCCESS) { in pam_sm_chauthtok() 132 switch (res) { in pam_sm_chauthtok() 148 res = smb_pwd_setpasswd(user, newpw); in pam_sm_chauthtok() 156 switch (res) { in pam_sm_chauthtok() 199 res = PAM_SYSTEM_ERR; in pam_sm_chauthtok() 203 return (res); in pam_sm_chauthtok()
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | __get_authtoken_attr.c | 42 int res; in __get_authtoken_attr() local 55 res = PWU_NOT_FOUND; in __get_authtoken_attr() 58 while ((i <= REP_LAST) && (res == PWU_NOT_FOUND)) { in __get_authtoken_attr() 60 res = rops[i]->getattr(name, item, rep); in __get_authtoken_attr() 63 return (res); in __get_authtoken_attr()
|
H A D | __check_history.c | 53 int res; in __check_history() local 64 res = PWU_NOT_FOUND; in __check_history() 67 while ((i <= REP_LAST) && (res == PWU_NOT_FOUND)) { in __check_history() 70 res = rops[i]->checkhistory(user, passwd, rep); in __check_history() 73 return (res); in __check_history()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | mdeg.c | 672 mde_cookie_t res = nodesp[idx]; in mdeg_find_start_node() local 675 return (res); in mdeg_find_start_node() 735 res->added.mdp = mdeg.md_curr; in mdeg_get_diff_results() 736 res->added.nelem = md_diff_added(mdd, &(res->added.mdep)); in mdeg_get_diff_results() 738 if (res->added.nelem == -1) { in mdeg_get_diff_results() 745 res->removed.mdp = mdeg.md_prev; in mdeg_get_diff_results() 746 res->removed.nelem = md_diff_removed(mdd, &(res->removed.mdep)); in mdeg_get_diff_results() 748 if (res->removed.nelem == -1) { in mdeg_get_diff_results() 757 res->match_curr.nelem = md_diff_matched(mdd, &(res->match_prev.mdep), in mdeg_get_diff_results() 758 &(res->match_curr.mdep)); in mdeg_get_diff_results() [all …]
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getprotoent_r.c | 56 nss_status_t res; in getprotobyname_r() local 65 res = nss_search(&db_root, _nss_initf_proto, in getprotobyname_r() 67 arg.status = res; in getprotobyname_r() 76 nss_status_t res; in getprotobynumber_r() local 81 res = nss_search(&db_root, _nss_initf_proto, in getprotobynumber_r() 83 arg.status = res; in getprotobynumber_r() 109 nss_status_t res; in getprotoent_r() local 113 res = nss_getent(&db_root, _nss_initf_proto, &context, &arg); in getprotoent_r() 114 arg.status = res; in getprotoent_r()
|
H A D | getnetent_r.c | 60 nss_status_t res; in getnetbyname_r() local 69 res = nss_search(&db_root, _nss_initf_net, in getnetbyname_r() 71 arg.status = res; in getnetbyname_r() 81 nss_status_t res; in getnetbyaddr_r() local 87 res = nss_search(&db_root, _nss_initf_net, in getnetbyaddr_r() 89 arg.status = res; in getnetbyaddr_r() 115 nss_status_t res; in getnetent_r() local 119 res = nss_getent(&db_root, _nss_initf_net, &context, &arg); in getnetent_r() 120 arg.status = res; in getnetent_r()
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | getrpcent_r.c | 57 nss_status_t res; in getrpcbyname_r() local 66 res = nss_search(&db_root, _nss_initf_rpc, in getrpcbyname_r() 68 arg.status = res; in getrpcbyname_r() 77 nss_status_t res; in getrpcbynumber_r() local 82 res = nss_search(&db_root, _nss_initf_rpc, in getrpcbynumber_r() 84 arg.status = res; in getrpcbynumber_r() 107 nss_status_t res; in getrpcent_r() local 111 res = nss_getent(&db_root, _nss_initf_rpc, &context, &arg); in getrpcent_r() 112 arg.status = res; in getrpcent_r()
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | getaddr.c | 122 struct addrinfo hints, *res; in smb_ctx_getaddr() local 160 gaierr = getaddrinfo(srvaddr_str, smb_port, &hints, &res); in smb_ctx_getaddr() 162 ctx->ct_addrinfo = res; in smb_ctx_getaddr() 179 int gaierr2 = nbns_getaddrinfo(ctx->ct_fullserver, nbc, &res); in smb_ctx_getaddr() 181 if (res->ai_canonname) in smb_ctx_getaddr() 183 res->ai_canonname, in smb_ctx_getaddr() 185 ctx->ct_addrinfo = res; in smb_ctx_getaddr()
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | bootparams_getbyname.c | 45 nss_status_t res; local 48 if ((res = _nss_files_setent(be, 0)) != NSS_SUCCESS) { 49 return (res); 88 nss_status_t res; local 96 res = NSS_NOTFOUND; 159 res = NSS_SUCCESS; 163 return (res);
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getaddrinfo.c | 323 struct addrinfo **res; 600 *res = NULL; 612 struct addrinfo **res; 622 INSIST(res != NULL && *res == NULL); 680 *res = result; 694 struct addrinfo **res; 736 struct addrinfo **res; 743 *res = NULL; 783 struct addrinfo **res; 791 *res = NULL; [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
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/lib/libnsl/key/ |
H A D | publickey.c | 234 char *res; in getkeys_files() local 248 if ((res[0] == '#') || (res[0] == '\n')) in getkeys_files() 554 int needfree = 1, res, err; in __getpublickey_cached_g() local 571 res = getkeys_ldap_g(&err, (char *)netname, in __getpublickey_cached_g() 587 res = 0; in __getpublickey_cached_g() 596 return ((res & 1) != 0); in __getpublickey_cached_g() 637 int needfree = 1, res, err; in getsecretkey_g() local 660 res = getkeys_nis(&err, (char *)netname, in getsecretkey_g() 664 res = getkeys_files(&err, (char *)netname, in getsecretkey_g() 670 res = 0; in getsecretkey_g() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_dsc.c | 169 int res = 0; in dwarf_discr_list() local 194 if (res != DW_DLV_OK) { in dwarf_discr_list() 196 return res; in dwarf_discr_list() 245 int res =0; in dwarf_discr_entry_u() local 249 res = get_dsc_leb_entries(dsh->dsh_debug, in dwarf_discr_entry_u() 256 if (res != DW_DLV_OK) { in dwarf_discr_entry_u() 257 return res; in dwarf_discr_entry_u() 287 int res =0; in dwarf_discr_entry_s() local 291 res = get_dsc_leb_entries(dsh->dsh_debug, in dwarf_discr_entry_s() 298 if (res != DW_DLV_OK) { in dwarf_discr_entry_s() [all …]
|
H A D | dwarf_gdbindex.c | 145 int res = DW_DLV_ERROR; in dwarf_gdbindex_header() local 153 return res; in dwarf_gdbindex_header() 198 if (res == DW_DLV_ERROR) { in dwarf_gdbindex_header() 199 return res; in dwarf_gdbindex_header() 207 if (res == DW_DLV_ERROR) { in dwarf_gdbindex_header() 208 return res; in dwarf_gdbindex_header() 216 if (res == DW_DLV_ERROR) { in dwarf_gdbindex_header() 217 return res; in dwarf_gdbindex_header() 225 if (res == DW_DLV_ERROR) { in dwarf_gdbindex_header() 226 return res; in dwarf_gdbindex_header() [all …]
|
H A D | dwarf_die_deliv.c | 734 return res; in _dwarf_make_CU_Context() 1004 return res; in dwarf_next_cu_header_c() 1023 int res = 0; in dwarf_next_cu_header_d() local 1039 return res; in dwarf_next_cu_header_d() 1335 int res = 0; in finish_up_cu_context_from_cudie() local 1488 int res = 0; in _dwarf_next_cu_header_internal() local 2120 int res = 0; in dwarf_siblingof() local 2128 return res; in dwarf_siblingof() 2139 int res; in dwarf_siblingof_b() local 2148 return res; in dwarf_siblingof_b() [all …]
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | SystemMonitor.java | 174 Resource res = (Resource)resIt.next(); in setResourceMonitors() local 178 List compList = res.getComponents(null); in setResourceMonitors() 193 if (monitored.containsKey(res)) { in setResourceMonitors() 194 mon = get(res); in setResourceMonitors() 198 mon = new ResourceMonitor(res, 50); in setResourceMonitors() 207 monitored.put(res, mon); in setResourceMonitors() 210 oldKeys.remove(res); in setResourceMonitors() 317 ResourceMonitor mon = get(res); in getUtilization() 326 res + " utilization " + util.toString()); in getUtilization() 358 public ResourceMonitor get(Resource res) throws StaleMonitorException in get() argument [all …]
|
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ec2_aff.c | 94 res = MP_OKAY; in ec_GF2m_pt_add_aff() 101 res = MP_OKAY; in ec_GF2m_pt_add_aff() 153 return res; in ec_GF2m_pt_add_aff() 173 return res; in ec_GF2m_pt_sub_aff() 277 return res; in ec_GF2m_pt_mul_aff() 301 res = MP_NO; in ec_GF2m_validate_point() 309 res = MP_NO; in ec_GF2m_validate_point() 333 res = MP_NO; in ec_GF2m_validate_point() 341 res = MP_NO; in ec_GF2m_validate_point() 345 res = MP_YES; in ec_GF2m_validate_point() [all …]
|
H A D | ecp_521.c | 61 mp_err res = MP_OKAY; in ec_GFp_nistp521_mod() local 109 return res; in ec_GFp_nistp521_mod() 118 mp_err res = MP_OKAY; in ec_GFp_nistp521_sqr() local 123 return res; in ec_GFp_nistp521_sqr() 133 mp_err res = MP_OKAY; in ec_GFp_nistp521_mul() local 138 return res; in ec_GFp_nistp521_mul() 147 mp_err res = MP_OKAY; in ec_GFp_nistp521_div() local 162 return res; in ec_GFp_nistp521_div()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ufn.c | 89 LDAPMessage **res, in ldap_ufn_search_ctx() argument 119 *res = NULL; in ldap_ufn_search_ctx() 246 *res = candidates; in ldap_ufn_search_ctx() 282 if ( ldap_count_entries( ld, *res ) > 0 ) { in ldap_ufn_search_ct() 286 ldap_msgfree( *res ); in ldap_ufn_search_ct() 287 *res = NULL; in ldap_ufn_search_ct() 326 if ( ldap_count_entries( ld, *res ) > 0 ) { in ldap_ufn_search_ct() 329 ldap_msgfree( *res ); in ldap_ufn_search_ct() 330 *res = NULL; in ldap_ufn_search_ct() 360 LDAPMessage **res ) in ldap_ufn_search_s() argument [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_db.cc | 103 res->status = s; in empty_result() 111 return (res); in empty_result() 118 res->status = s; in set_result() 120 return (res); in set_result() 360 return (res); in db_first_entry() 435 return (res); in __db_list_entries() 503 db_result *res; in dbFindObject() local 580 if (res == 0) in dbFindObject() 1600 return (res); in db_add_entry_x() 1616 return (res); in db_add_entry_x() [all …]
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcb_check.c | 196 boolean_t res = B_TRUE; in rpcb_check() local 208 res = B_FALSE; in rpcb_check() 213 res = B_FALSE; in rpcb_check() 223 res = B_FALSE; in rpcb_check() 229 if (!res) in rpcb_check() 232 if (verboselog || !res) in rpcb_check() 233 rpcb_log(res, transp, procnum, 0, ispmap); in rpcb_check() 235 return (res); in rpcb_check()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | sasl.c | 159 char *hr, *h1, *h, *res; local 167 res = (char *) sm_rpool_malloc(rpool, rl + 1); 168 if (res == NULL) 170 *res = '\0'; 172 return res; 173 hr = res; 189 if (hr != res) 206 return res;
|
/illumos-gate/usr/src/lib/policykit/libpolkit/common/ |
H A D | libpolkit-rbac.c | 96 LibPolKitResult res; in libpolkit_get_allowed_resources_for_privilege_for_uid() local 104 res = LIBPOLKIT_RESULT_ERROR; in libpolkit_get_allowed_resources_for_privilege_for_uid() 108 res = LIBPOLKIT_RESULT_OK; in libpolkit_get_allowed_resources_for_privilege_for_uid() 110 return res; in libpolkit_get_allowed_resources_for_privilege_for_uid() 123 LibPolKitResult res; in libpolkit_is_uid_allowed_for_privilege() local 189 LibPolKitResult res; in libpolkit_get_privilege_list() local 202 res = LIBPOLKIT_RESULT_OK; in libpolkit_get_privilege_list() 204 return res; in libpolkit_get_privilege_list()
|
/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | cxx_util.c | 187 str_t res = { 0 }; in name_join() local 208 (void) str_init(&res, n->nm_ops); in name_join() 233 str_fini(&res); in name_join() 314 str_pair_t res; in name_fmt() local 332 n->nm_items[n->nm_len++] = res; in name_fmt() 336 str_pair_fini(&res); in name_fmt() 582 boolean_t res = B_TRUE; in templ_save() local 590 if (res) in templ_save() 591 res &= sub_save(s, &name, 1); in templ_save() 594 res &= sub_save(s, n, amt); in templ_save() [all …]
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | tftp.c | 298 ssize_t res; in tftp_makereq() local 349 if (res == -1) { in tftp_makereq() 392 int res; in tftp_getnextblock() local 436 int res; in tftp_open() local 475 if (res < 0 || res > pathsize) { in tftp_open() 483 if (res) { in tftp_open() 487 return (res); in tftp_open() 499 size_t res; in tftp_read() local 503 res = size; in tftp_read() 559 res -= count; in tftp_read() [all …]
|