Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 1554) sorted by relevance

12345678910>>...63

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_solaris.c40 errcode_t code, code2; in __profile_iter_name_value() local
49 if (code = init_list(&values)) in __profile_iter_name_value()
50 return (code); in __profile_iter_name_value()
52 code = profile_iterator_create(profile, hierarchy, in __profile_iter_name_value()
54 while (code == 0) { in __profile_iter_name_value()
55 code = profile_iterator(&state, &name, &value); in __profile_iter_name_value()
56 if (code == 0 && name != NULL) { in __profile_iter_name_value()
62 code2 = code; in __profile_iter_name_value()
77 code = 0; in __profile_iter_name_value()
92 return (code); in __profile_iter_name_value()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Deuc_to_johap92.c31 static unsigned short _wansung_to_johap92(unsigned short code);
91 unsigned short code; in _icv_iconv() local
107 code = _wansung_to_johap92((unsigned short)(*ib)<<8 | in _icv_iconv()
109 if (code != FAILED && code != ILLEGAL_SEQ) in _icv_iconv()
111 *ob++ = (unsigned char)(code >> 8); in _icv_iconv()
112 *ob++ = (unsigned char)(code & 0xFF); in _icv_iconv()
134 static unsigned short _wansung_to_johap92(unsigned short code) in _wansung_to_johap92() argument
142 if ((unsigned short)(code & 0xFF) < 0xA1) in _wansung_to_johap92()
145 if (code >= 0xB0A1 && code <= 0xC8FE) /* Hangul */ in _wansung_to_johap92()
152 if (code < cmp_srchtbl[ci][0]) in _wansung_to_johap92()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dksetpw.c53 krb5_error_code code = 0; in main() local
78 code = krb5_init_context(&ctx); in main()
79 if (code != 0) { in main()
80 com_err(whoami, code, gettext("krb5_init_context() failed")); in main()
99 if ((code = krb5_kt_resolve(ctx, ktname, &kt)) != 0) { in main()
100 com_err(whoami, code, in main()
109 if ((code = krb5_cc_resolve(ctx, optarg, &cc)) != 0) { in main()
110 com_err(whoami, code, in main()
134 code = krb5_string_to_enctype(token, in main()
137 if (code != 0) { in main()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkeytab.c83 int code; in process_keytab() local
87 if (code = krb5_kt_default(my_context, keytab)) { in process_keytab()
88 com_err(whoami, code, gettext("while opening default keytab")); in process_keytab()
91 if (code = krb5_kt_get_name(my_context, *keytab, buf, BUFSIZ)) { in process_keytab()
92 com_err(whoami, code, gettext("while retrieving keytab name")); in process_keytab()
120 code = krb5_kt_resolve(my_context, *keytab_str, keytab); in process_keytab()
121 if (code != 0) { in process_keytab()
122 com_err(whoami, code, in process_keytab()
137 int code, num, i; in kadmin_keytab_add() local
190 code = kadm5_get_principals(handle, *argv, &princs, &num); in kadmin_keytab_add()
[all …]
/illumos-gate/usr/src/uts/intel/sys/
H A Dmca_x86.h226 #define MCAX86_ERRCODE_TT(code) \ argument
227 (((code) & MCAX86_ERRCODE_TT_MASK) >> MCAX86_ERRCODE_TT_SHIFT)
235 #define MCAX86_ERRCODE_LL(code) \ argument
236 ((code) & MCAX86_ERRCODE_LL_MASK)
249 #define MCAX86_ERRCODE_RRRR(code) \ argument
250 (((code) & MCAX86_ERRCODE_RRRR_MASK) >> MCAX86_ERRCODE_RRRR_SHIFT)
258 #define MCAX86_ERRCODE_PP(code) \ argument
259 (((code) & MCAX86_ERRCODE_PP_MASK) >> MCAX86_ERRCODE_PP_SHIFT)
266 #define MCAX86_ERRCODE_II(code) \ argument
267 (((code) & MCAX86_ERRCODE_II_MASK) >> MCAX86_ERRCODE_II_SHIFT)
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Daddnstr.c52 int code; in addnstr() local
54 code = waddnstr(stdscr, str, n); in addnstr()
56 return (code); in addnstr()
64 int code; in mvaddnstr() local
66 if ((code = wmove(stdscr, y, x)) == OK) in mvaddnstr()
67 code = waddnstr(stdscr, str, n); in mvaddnstr()
69 return (code); in mvaddnstr()
77 int code; in mvwaddnstr() local
79 if ((code = wmove(w, y, x)) == OK) in mvwaddnstr()
80 code = waddnstr(w, str, n); in mvwaddnstr()
[all …]
H A Dgetnstr.c52 int code; in getnstr() local
54 code = wgetnstr(stdscr, str, n); in getnstr()
56 return (code); in getnstr()
64 int code; in mvgetnstr() local
66 if ((code = wmove(stdscr, y, x)) == OK) in mvgetnstr()
67 code = wgetnstr(stdscr, str, n); in mvgetnstr()
69 return (code); in mvgetnstr()
77 int code; in mvwgetnstr() local
79 if ((code = wmove(w, y, x)) == OK) in mvwgetnstr()
80 code = wgetnstr(w, str, n); in mvwgetnstr()
[all …]
H A Dinsnstr.c52 int code; in insnstr() local
54 code = winsnstr(stdscr, mbs, n); in insnstr()
56 return (code); in insnstr()
64 int code; in mvinsnstr() local
66 if ((code = wmove(stdscr, y, x)) == OK) in mvinsnstr()
67 code = winsnstr(stdscr, mbs, n); in mvinsnstr()
69 return (code); in mvinsnstr()
77 int code; in mvwinsnstr() local
79 if ((code = wmove(w, y, x)) == OK) in mvwinsnstr()
80 code = winsnstr(w, mbs, n); in mvwinsnstr()
[all …]
H A Daddchn.c52 int code; in addchnstr() local
54 code = waddchnstr(stdscr, chs, n); in addchnstr()
56 return (code); in addchnstr()
64 int code; in mvaddchnstr() local
66 if ((code = wmove(stdscr, y, x)) == OK) in mvaddchnstr()
67 code = waddchnstr(stdscr, chs, n); in mvaddchnstr()
69 return (code); in mvaddchnstr()
77 int code; in mvwaddchnstr() local
79 if ((code = wmove(w, y, x)) == OK) in mvwaddchnstr()
80 code = waddchnstr(w, chs, n); in mvwaddchnstr()
[all …]
H A Daddnws.c52 int code; in addnwstr() local
54 code = waddnwstr(stdscr, wcs, n); in addnwstr()
56 return (code); in addnwstr()
64 int code; in mvaddnwstr() local
66 if ((code = wmove(stdscr, y, x)) == OK) in mvaddnwstr()
67 code = waddnwstr(stdscr, wcs, n); in mvaddnwstr()
69 return (code); in mvaddnwstr()
77 int code; in mvwaddnwstr() local
79 if ((code = wmove(w, y, x)) == OK) in mvwaddnwstr()
80 code = waddnwstr(w, wcs, n); in mvwaddnwstr()
[all …]
H A Daddwchn.c52 int code; in add_wchnstr() local
54 code = wadd_wchnstr(stdscr, ccs, n); in add_wchnstr()
56 return (code); in add_wchnstr()
64 int code; in mvadd_wchnstr() local
66 if ((code = wmove(stdscr, y, x)) == OK) in mvadd_wchnstr()
67 code = wadd_wchnstr(stdscr, ccs, n); in mvadd_wchnstr()
69 return (code); in mvadd_wchnstr()
77 int code; in mvwadd_wchnstr() local
79 if ((code = wmove(w, y, x)) == OK) in mvwadd_wchnstr()
80 code = wadd_wchnstr(w, ccs, n); in mvwadd_wchnstr()
[all …]
H A Dgetn_ws.c52 int code; in getn_wstr() local
54 code = wgetn_wstr(stdscr, wis, n); in getn_wstr()
56 return (code); in getn_wstr()
64 int code; in mvgetn_wstr() local
66 if ((code = wmove(stdscr, y, x)) == OK) in mvgetn_wstr()
67 code = wgetn_wstr(stdscr, wis, n); in mvgetn_wstr()
69 return (code); in mvgetn_wstr()
77 int code; in mvwgetn_wstr() local
79 if ((code = wmove(w, y, x)) == OK) in mvwgetn_wstr()
80 code = wgetn_wstr(w, wis, n); in mvwgetn_wstr()
[all …]
H A Din_wchn.c52 int code; in in_wchnstr() local
54 code = win_wchnstr(stdscr, ccs, n); in in_wchnstr()
56 return (code); in in_wchnstr()
64 int code; in mvin_wchnstr() local
66 if ((code = wmove(stdscr, y, x)) == OK) in mvin_wchnstr()
67 code = win_wchnstr(stdscr, ccs, n); in mvin_wchnstr()
69 return (code); in mvin_wchnstr()
77 int code; in mvwin_wchnstr() local
79 if ((code = wmove(w, y, x)) == OK) in mvwin_wchnstr()
80 code = win_wchnstr(w, ccs, n); in mvwin_wchnstr()
[all …]
H A Dinchn.c52 int code; in inchnstr() local
54 code = winchnstr(stdscr, chs, n); in inchnstr()
56 return (code); in inchnstr()
64 int code; in mvinchnstr() local
66 if ((code = wmove(stdscr, y, x)) == OK) in mvinchnstr()
67 code = winchnstr(stdscr, chs, n); in mvinchnstr()
69 return (code); in mvinchnstr()
77 int code; in mvwinchnstr() local
79 if ((code = wmove(w, y, x)) == OK) in mvwinchnstr()
80 code = winchnstr(w, chs, n); in mvwinchnstr()
[all …]
H A Dins_nws.c52 int code; in ins_nwstr() local
54 code = wins_nwstr(stdscr, wcs, n); in ins_nwstr()
56 return (code); in ins_nwstr()
64 int code; in mvins_nwstr() local
66 if ((code = wmove(stdscr, y, x)) == OK) in mvins_nwstr()
67 code = wins_nwstr(stdscr, wcs, n); in mvins_nwstr()
69 return (code); in mvins_nwstr()
77 int code; in mvwins_nwstr() local
79 if ((code = wmove(w, y, x)) == OK) in mvwins_nwstr()
80 code = wins_nwstr(w, wcs, n); in mvwins_nwstr()
[all …]
H A Dinnstr.c54 int code; in innstr() local
56 code = winnstr(stdscr, s, n); in innstr()
58 return (code); in innstr()
66 int code; in mvinnstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvinnstr()
69 code = winnstr(stdscr, s, n); in mvinnstr()
71 return (code); in mvinnstr()
79 int code; in mvwinnstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwinnstr()
82 code = winnstr(w, s, n); in mvwinnstr()
[all …]
H A Dinnwstr.c54 int code; in innwstr() local
56 code = winnwstr(stdscr, wcs, n); in innwstr()
58 return (code); in innwstr()
66 int code; in mvinnwstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvinnwstr()
69 code = winnwstr(stdscr, wcs, n); in mvinnwstr()
71 return (code); in mvinnwstr()
79 int code; in mvwinnwstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwinnwstr()
82 code = winnwstr(w, wcs, n); in mvwinnwstr()
[all …]
H A Dslk.c58 int code = ERR; in slk_init() local
63 code = OK; in slk_init()
66 return (code); in slk_init()
72 int code = OK; in slk_attron() local
75 code = wattron(__m_screen->_slk._w, (int) at); in slk_attron()
77 return (code); in slk_attron()
83 int code = OK; in slk_attroff() local
86 code = wattroff(__m_screen->_slk._w, (int) at); in slk_attroff()
88 return (code); in slk_attroff()
94 int code = OK; in slk_attrset() local
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dslk.c44 int code = ERR; in slk_init() local
52 code = OK; in slk_init()
55 return __m_return_code("slk_init", code); in slk_init()
61 int code = ERR; in slk_attron() local
68 code = wattron(__m_screen->_slk._w, at); in slk_attron()
70 return __m_return_code("slk_attron", code); in slk_attron()
76 int code = ERR; in slk_attroff() local
83 code = wattroff(__m_screen->_slk._w, at); in slk_attroff()
85 return __m_return_code("slk_attroff", code); in slk_attroff()
91 int code = ERR; in slk_attrset() local
[all …]
H A Dgetnstr.c49 int code; variable
55 code = wgetnstr(stdscr, str, n);
57 return __m_return_code("getnstr", code);
66 int code; variable
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = wgetnstr(stdscr, str, n);
75 return __m_return_code("mvgetnstr", code);
85 int code; variable
91 if ((code = wmove(w, y, x)) == OK)
92 code = wgetnstr(w, str, n);
[all …]
H A Dinnstr.c49 int code; variable
55 code = winnstr(stdscr, s, n);
57 return __m_return_code("innstr", code);
66 int code; variable
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = winnstr(stdscr, s, n);
75 return __m_return_code("mvinnstr", code);
85 int code; variable
91 if ((code = wmove(w, y, x)) == OK)
92 code = winnstr(w, s, n);
[all …]
H A Dinsnstr.c49 int code; variable
55 code = winsnstr(stdscr, mbs, n);
57 return __m_return_code("insnstr", code);
66 int code; variable
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = winsnstr(stdscr, mbs, n);
75 return __m_return_code("mvinsnstr", code);
85 int code; variable
91 if ((code = wmove(w, y, x)) == OK)
92 code = winsnstr(w, mbs, n);
[all …]
H A Daddnstr.c49 int code; variable
55 code = waddnstr(stdscr, str, n);
57 return __m_return_code("addnstr", code);
66 int code; variable
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = waddnstr(stdscr, str, n);
75 return __m_return_code("mvaddnstr", code);
85 int code; variable
91 if ((code = wmove(w, y, x)) == OK)
92 code = waddnstr(w, str, n);
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/kpasswd/
H A Dkpasswd.c107 kadm5_ret_t code; local
141 code = krb5_cc_default(context, &ccache);
143 if (code == 0) {
145 code = krb5_cc_get_principal(context, ccache, &princ);
149 if (code == 0) {
150 code = krb5_unparse_name(context, princ, &princ_str);
151 if (code != 0) {
152 com_err(whoami, code, string_text(KPW_STR_UNPARSE_NAME));
163 if (code && code != KRB5_FCC_NOFILE) {
164 com_err(whoami, code, string_text(KPW_STR_WHILE_LOOKING_AT_CC));
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_solaris.c45 krb5_error_code code; in kt_open() local
51 if ((code = krb5_kt_default_name(ctx, buf, sizeof (buf))) != 0) in kt_open()
52 return (code); in kt_open()
76 krb5_error_code code; in kt_add_entry() local
84 if ((code = krb5_principal2salt(ctx, svc_princ, &salt)) != 0) { in kt_add_entry()
85 return (code); in kt_add_entry()
95 code = krb5_kt_add_entry(ctx, kt, &entry); in kt_add_entry()
102 return (code); in kt_add_entry()
166 krb5_error_code code; in krb5_kt_add_ad_entries() local
173 if ((code = krb5_parse_name(ctx, *sprincs_str, &f_princ)) != 0) in krb5_kt_add_ad_entries()
[all …]

12345678910>>...63