Home
last modified time | relevance | path

Searched refs:result (Results 101 – 125 of 1462) sorted by relevance

12345678910>>...59

/illumos-gate/usr/src/lib/pam_modules/krb5/
H A Dkrb5_authenticate.c162 result = err; in pam_sm_authenticate()
214 result = PAM_BUF_ERR; in pam_sm_authenticate()
221 result = err; in pam_sm_authenticate()
239 result = PAM_BUF_ERR; in pam_sm_authenticate()
252 result = PAM_BUF_ERR; in pam_sm_authenticate()
317 result = PAM_IGNORE; in pam_sm_authenticate()
352 result); in pam_sm_authenticate()
370 return (result); in pam_sm_authenticate()
938 result = PAM_BUF_ERR; in attempt_krb5_auth()
942 result = PAM_SUCCESS; in attempt_krb5_auth()
[all …]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetprofattr.c67 ns_ldap_result_t *result = be->result; in _nss_ldap_prof2str() local
71 if (result == NULL) in _nss_ldap_prof2str()
78 name = __ns_ldap_getAttr(result->entry, _PROF_NAME); in _nss_ldap_prof2str()
84 res1 = __ns_ldap_getAttr(result->entry, _PROF_RES1); in _nss_ldap_prof2str()
90 res2 = __ns_ldap_getAttr(result->entry, _PROF_RES2); in _nss_ldap_prof2str()
96 des = __ns_ldap_getAttr(result->entry, _PROF_DESC); in _nss_ldap_prof2str()
102 attr = __ns_ldap_getAttr(result->entry, _PROF_ATTRS); in _nss_ldap_prof2str()
115 if (argp->buf.result != NULL) { in _nss_ldap_prof2str()
126 if (argp->buf.result != NULL) in _nss_ldap_prof2str()
130 (void) __ns_ldap_freeResult(&be->result); in _nss_ldap_prof2str()
H A Dgetuserattr.c67 ns_ldap_result_t *result = be->result; in _nss_ldap_user2str() local
71 if (result == NULL) in _nss_ldap_user2str()
78 name = __ns_ldap_getAttr(result->entry, _USER_NAME); in _nss_ldap_user2str()
85 qu = __ns_ldap_getAttr(result->entry, _USER_QUALIFIER); in _nss_ldap_user2str()
91 res1 = __ns_ldap_getAttr(result->entry, _USER_RES2); in _nss_ldap_user2str()
97 res2 = __ns_ldap_getAttr(result->entry, _USER_RES2); in _nss_ldap_user2str()
103 attr = __ns_ldap_getAttr(result->entry, _USER_ATTRS); in _nss_ldap_user2str()
116 if (argp->buf.result != NULL) { in _nss_ldap_user2str()
127 if (argp->buf.result != NULL) in _nss_ldap_user2str()
131 (void) __ns_ldap_freeResult(&be->result); in _nss_ldap_user2str()
H A Dgetprojent.c72 ns_ldap_result_t *result = be->result; in _nss_ldap_proj2str() local
76 if (result == NULL) in _nss_ldap_proj2str()
80 if (argp->buf.result != NULL) { in _nss_ldap_proj2str()
93 name = __ns_ldap_getAttr(result->entry, _PROJ_NAME); in _nss_ldap_proj2str()
98 id = __ns_ldap_getAttr(result->entry, _PROJ_PROJID); in _nss_ldap_proj2str()
103 descr = __ns_ldap_getAttr(result->entry, _PROJ_DESCR); in _nss_ldap_proj2str()
112 users = __ns_ldap_getAttrStruct(result->entry, _PROJ_USERS); in _nss_ldap_proj2str()
134 groups = __ns_ldap_getAttrStruct(result->entry, _PROJ_GROUPS); in _nss_ldap_proj2str()
154 attr = __ns_ldap_getAttr(result->entry, _PROJ_ATTR); in _nss_ldap_proj2str()
164 if (argp->buf.result != NULL) in _nss_ldap_proj2str()
[all …]
H A Dgetauuser.c62 ns_ldap_result_t *result = be->result; in _nss_ldap_au2str() local
65 if (result == NULL) in _nss_ldap_au2str()
72 name = __ns_ldap_getAttr(result->entry, _AU_NAME); in _nss_ldap_au2str()
78 al = __ns_ldap_getAttr(result->entry, _AU_ALWAYS); in _nss_ldap_au2str()
84 ne = __ns_ldap_getAttr(result->entry, _AU_NEVER); in _nss_ldap_au2str()
97 if (argp->buf.result != NULL) { in _nss_ldap_au2str()
108 if (argp->buf.result != NULL) in _nss_ldap_au2str()
112 (void) __ns_ldap_freeResult(&be->result); in _nss_ldap_au2str()
H A Dgetgrent.c95 ns_ldap_result_t *result = be->result; in _nss_ldap_group2str() local
104 if (result == NULL) in _nss_ldap_group2str()
108 if (argp->buf.result != NULL) { in _nss_ldap_group2str()
142 gid = __ns_ldap_getAttr(result->entry, _G_GID); in _nss_ldap_group2str()
168 if (argp->buf.result != NULL) in _nss_ldap_group2str()
171 (void) __ns_ldap_freeResult(&be->result); in _nss_ldap_group2str()
410 ns_ldap_result_t *result; in getbymember() local
457 if (be->result == NULL) in getbymember()
463 result = (ns_ldap_result_t *)be->result; in getbymember()
464 curEntry = (ns_ldap_entry_t *)result->entry; in getbymember()
[all …]
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_walkdag.c139 int result; in mdl_walk_dag() local
172 result = (func)((md_t *)mdp, parentidx, nodeidx, private); in mdl_walk_dag()
173 if (result != MDE_WALK_NEXT) { in mdl_walk_dag()
174 return (result); in mdl_walk_dag()
183 result = MDE_WALK_NEXT; in mdl_walk_dag()
191 result = mdl_walk_dag(mdp, nodeidx, mdep->d.prop_idx, in mdl_walk_dag()
194 if (result != MDE_WALK_NEXT) { in mdl_walk_dag()
196 return (result); in mdl_walk_dag()
201 return (result); in mdl_walk_dag()
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dcharsets.c210 char *result; in convert_wincs_to_utf8() local
230 result = malloc(maxlen); in convert_wincs_to_utf8()
231 if (result == NULL) { in convert_wincs_to_utf8()
237 if (!CFStringGetCString(s, result, maxlen, kCFStringEncodingUTF8)) { in convert_wincs_to_utf8()
244 return result; in convert_wincs_to_utf8()
260 char *result; in convert_utf8_to_wincs() local
272 result = malloc(maxlen); in convert_utf8_to_wincs()
273 if (result == NULL) { in convert_utf8_to_wincs()
279 if (!CFStringGetCString(s, result, maxlen, in convert_utf8_to_wincs()
287 return result; in convert_utf8_to_wincs()
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_server.c309 result->result = NDR_PCDR_ACCEPTANCE; in ndr_svc_bind()
310 result->reason = 0; in ndr_svc_bind()
311 bzero(&result->transfer_syntax, sizeof (result->transfer_syntax)); in ndr_svc_bind()
333 result->result = NDR_PCDR_PROVIDER_REJECTION; in ndr_svc_bind()
347 result->result = NDR_PCDR_PROVIDER_REJECTION; in ndr_svc_bind()
401 ndr_p_result_t *result; in ndr_svc_alter_context() local
418 result->result = NDR_PCDR_ACCEPTANCE; in ndr_svc_alter_context()
419 result->reason = 0; in ndr_svc_alter_context()
420 bzero(&result->transfer_syntax, sizeof (result->transfer_syntax)); in ndr_svc_alter_context()
429 result->result = NDR_PCDR_PROVIDER_REJECTION; in ndr_svc_alter_context()
[all …]
/illumos-gate/usr/src/common/bignum/
H A Dbignum.h109 typedef BIG_ERR_CODE (*big_modexp_ncp_func_ptr)(BIGNUM *result,
140 BIG_ERR_CODE big_mont_rr(BIGNUM *result, BIGNUM *n);
141 BIG_ERR_CODE big_modexp(BIGNUM *result, BIGNUM *a, BIGNUM *e,
143 BIG_ERR_CODE big_modexp_ext(BIGNUM *result, BIGNUM *a, BIGNUM *e,
153 BIG_ERR_CODE big_div_pos(BIGNUM *result, BIGNUM *remainder,
157 BIG_ERR_CODE big_add(BIGNUM *result, BIGNUM *aa, BIGNUM *bb);
159 BIG_ERR_CODE big_mul(BIGNUM *result, BIGNUM *aa, BIGNUM *bb);
160 void big_shiftright(BIGNUM *result, BIGNUM *aa, int offs);
161 BIG_ERR_CODE big_nextprime_pos(BIGNUM *result, BIGNUM *n);
162 BIG_ERR_CODE big_nextprime_pos_ext(BIGNUM *result, BIGNUM *n,
[all …]
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxpv_timestamp.c97 hrtime_t result; in dtrace_xpv_getsystime() local
135 result = dst->system_time + in dtrace_xpv_getsystime()
138 return (result); in dtrace_xpv_getsystime()
144 hrtime_t result = xpv_getsystime() + hrtime_addend; in dtrace_xpv_gethrtime() local
150 if (result < last) in dtrace_xpv_gethrtime()
151 result = last + 1; in dtrace_xpv_gethrtime()
153 last, result) != last); in dtrace_xpv_gethrtime()
156 return (result); in dtrace_xpv_gethrtime()
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dclient.c208 int result; local
230 return result;
252 return result;
581 int result; local
636 if (result != SASL_OK) RETURN(*pconn, result);
680 return result;
695 int result; local
703 if (result != SASL_OK && result != SASL_INTERACT)
746 int result; local
1010 int result; local
[all …]
H A Dcanonusr.c92 int result; local
119 if(result == SASL_OK && cuser_cb) {
120 result = cuser_cb(conn, context,
128 if (result != SASL_OK) return result;
136 result = _sasl_getcallback(conn, SASL_CB_GETOPT,
138 if(result == SASL_OK && getopt) {
194 if(result != SASL_OK) return result;
285 int result, out_version; local
311 if(result != SASL_OK) {
316 SASL_LOG_ERR, "canonuserfunc error %i\n",result);
[all …]
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/
H A Dpppt_tgt.c137 pppt_tgt_t *result; in pppt_tgt_create() local
158 result->target_devid = (scsi_devid_desc_t *)(result + 1); in pppt_tgt_create()
194 pppt_tgt_destroy(result); in pppt_tgt_create()
198 return (result); in pppt_tgt_create()
216 pppt_tgt_t *result; in pppt_tgt_lookup() local
221 return (result); in pppt_tgt_lookup()
227 pppt_tgt_t *result; in pppt_tgt_lookup_locked() local
235 return (result); in pppt_tgt_lookup_locked()
250 int result; in pppt_tgt_avl_compare() local
274 if (result < 0) { in pppt_tgt_avl_compare()
[all …]
/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_authenticate.c54 int result = PAM_AUTH_ERR; in pam_sm_authenticate() local
108 result = authenticate(&credp, user, password, NULL); in pam_sm_authenticate()
109 if (result == PAM_NEW_AUTHTOK_REQD) { in pam_sm_authenticate()
121 result = PAM_SUCCESS; in pam_sm_authenticate()
122 } else if (result == PAM_AUTHTOK_EXPIRED) { in pam_sm_authenticate()
128 result = PAM_SUCCESS; in pam_sm_authenticate()
133 return (result); in pam_sm_authenticate()
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_gld.c134 int result; in ixgbe_m_multicst() local
148 return (result); in ixgbe_m_multicst()
869 long result; in ixgbe_set_priv_prop() local
879 if (result < MIN_TX_COPY_THRESHOLD || in ixgbe_set_priv_prop()
880 result > MAX_TX_COPY_THRESHOLD) in ixgbe_set_priv_prop()
894 result > MAX_TX_RECYCLE_THRESHOLD) in ixgbe_set_priv_prop()
922 result > MAX_TX_RESCHED_THRESHOLD) in ixgbe_set_priv_prop()
935 if (result < MIN_RX_COPY_THRESHOLD || in ixgbe_set_priv_prop()
936 result > MAX_RX_COPY_THRESHOLD) in ixgbe_set_priv_prop()
949 if (result < MIN_RX_LIMIT_PER_INTR || in ixgbe_set_priv_prop()
[all …]
/illumos-gate/usr/src/lib/libumem/common/
H A Denvvar.c303 ulong_t result; in item_uint_process() local
324 if ((uint_t)result != result) in item_uint_process()
342 ulong_t result; in item_size_process() local
361 result = result_arg; in item_size_process()
366 result *= 1024; in item_size_process()
367 if (result < result_arg) in item_size_process()
372 result *= 1024; in item_size_process()
378 result *= 1024; in item_size_process()
384 result *= 1024; in item_size_process()
432 size_t result; in umem_size_process() local
[all …]
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dfuncs.c232 authattr_t *result; in check_auth() local
269 if (result == NULL) { in check_auth()
274 free_authattr(result); in check_auth()
310 profattr_t *result; in check_prof() local
322 if (result == NULL) { in check_prof()
326 free_profattr(result); in check_prof()
345 userattr_t *result; in check_role() local
358 if (result == NULL) { in check_role()
366 free_userattr(result); in check_role()
370 free_userattr(result); in check_role()
[all …]
/illumos-gate/usr/src/cmd/print/lpset/
H A Dlpset.c104 int result = 0; in main() local
294 result = 1; in main()
308 result = 1; in main()
350 result = ns_printer_put(printer_obj); in main()
351 if (result != 0) { in main()
353 _decode_ldapResult(result, printer); in main()
357 result = 1; in main()
365 result = 1; in main()
370 result = 1; in main()
384 return (result); in main()
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_ldap.c388 if (result) in ldap_match()
394 result->entries_count == 0 || result->entry->attr_count == 0) { in ldap_match()
399 if (result) in ldap_match()
420 entry = result->entry; in ldap_match()
461 __ns_ldap_freeResult(&result); in ldap_match()
522 if (result) in loadmaster_ldap()
531 __ns_ldap_freeResult(&result); in loadmaster_ldap()
567 NULL, 0, &result, &errp, in loaddirect_ldap()
589 if (result) in loaddirect_ldap()
884 if (result) in getmapkeys_ldap()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.timed/
H A Din.timed.c63 uint32_t result = machtime(); in machtime_stream() local
65 (void) safe_write(s, &result, sizeof (result)); in machtime_stream()
73 uint32_t result = machtime(); in machtime_dg() local
75 (void) safe_sendto(s, &result, sizeof (result), 0, sap, sa_len); in machtime_dg()
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Djob.c159 return (result); in papiJobGetPrinterName()
166 int result = -1; in papiJobGetId() local
170 &result); in papiJobGetId()
172 return (result); in papiJobGetId()
275 result = in authorized()
300 return (result); in authorized()
361 return (result); in psm_copy_attrsToFile()
412 result = in psm_modifyAttrsFile()
431 return (result); in psm_modifyAttrsFile()
529 return (result); in psm_modifyAttrsList()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dmain.c447 if (result.tv_sec < 0 || result.tv_sec > in main()
453 dt = result.tv_sec; in main()
487 if (result.tv_sec <= 0) { in main()
494 select_timeout = result; in main()
499 if (result.tv_sec <= 0) { in main()
527 select_timeout = result; in main()
549 if (result.tv_sec <= 0) { in main()
554 select_timeout = result; in main()
558 if (result.tv_sec <= 0) { in main()
563 select_timeout = result; in main()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnfs_cmd.c103 char *result = NULL; in charmap_search() local
143 result = name; in charmap_search()
149 if (result != NULL) in charmap_search()
150 result = strdup(result); in charmap_search()
155 return (result); in charmap_search()
188 (void) strcpy(res.result.charmap.codeset, name); in nfscmd_charmap_lookup()
189 res.result.charmap.apply = B_TRUE; in nfscmd_charmap_lookup()
193 res.result.charmap.apply = B_FALSE; in nfscmd_charmap_lookup()
/illumos-gate/usr/src/cmd/zic/
H A Dscheck.c16 register const char *result; local
19 result = "";
21 return (result);
24 return (result);
51 result = (char *)format;
53 return (result);

12345678910>>...59