Home
last modified time | relevance | path

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

12345678910>>...59

/titanic_50/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 …]
/titanic_50/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 …]
/titanic_50/usr/src/cmd/krb5/kadmin/kclient/
H A Dksetpw.c52 krb5_error_code code = 0; in main() local
77 code = krb5_init_context(&ctx); in main()
78 if (code != 0) { in main()
79 com_err(whoami, code, gettext("krb5_init_context() failed")); in main()
98 if ((code = krb5_kt_resolve(ctx, ktname, &kt)) != 0) { in main()
99 com_err(whoami, code, in main()
108 if ((code = krb5_cc_resolve(ctx, optarg, &cc)) != 0) { in main()
109 com_err(whoami, code, in main()
133 code = krb5_string_to_enctype(token, in main()
136 if (code != 0) { in main()
[all …]
/titanic_50/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 …]
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dinsnstr.c54 int code; in insnstr() local
56 code = winsnstr(stdscr, mbs, n); in insnstr()
58 return (code); in insnstr()
66 int code; in mvinsnstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvinsnstr()
69 code = winsnstr(stdscr, mbs, n); in mvinsnstr()
71 return (code); in mvinsnstr()
79 int code; in mvwinsnstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwinsnstr()
82 code = winsnstr(w, mbs, n); in mvwinsnstr()
[all …]
H A Daddnstr.c54 int code; in addnstr() local
56 code = waddnstr(stdscr, str, n); in addnstr()
58 return (code); in addnstr()
66 int code; in mvaddnstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvaddnstr()
69 code = waddnstr(stdscr, str, n); in mvaddnstr()
71 return (code); in mvaddnstr()
79 int code; in mvwaddnstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwaddnstr()
82 code = waddnstr(w, str, n); in mvwaddnstr()
[all …]
H A Dgetnstr.c54 int code; in getnstr() local
56 code = wgetnstr(stdscr, str, n); in getnstr()
58 return (code); in getnstr()
66 int code; in mvgetnstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvgetnstr()
69 code = wgetnstr(stdscr, str, n); in mvgetnstr()
71 return (code); in mvgetnstr()
79 int code; in mvwgetnstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwgetnstr()
82 code = wgetnstr(w, str, n); in mvwgetnstr()
[all …]
H A Daddwchn.c54 int code; in add_wchnstr() local
56 code = wadd_wchnstr(stdscr, ccs, n); in add_wchnstr()
58 return (code); in add_wchnstr()
66 int code; in mvadd_wchnstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvadd_wchnstr()
69 code = wadd_wchnstr(stdscr, ccs, n); in mvadd_wchnstr()
71 return (code); in mvadd_wchnstr()
79 int code; in mvwadd_wchnstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwadd_wchnstr()
82 code = wadd_wchnstr(w, ccs, n); in mvwadd_wchnstr()
[all …]
H A Daddchn.c54 int code; in addchnstr() local
56 code = waddchnstr(stdscr, chs, n); in addchnstr()
58 return (code); in addchnstr()
66 int code; in mvaddchnstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvaddchnstr()
69 code = waddchnstr(stdscr, chs, n); in mvaddchnstr()
71 return (code); in mvaddchnstr()
79 int code; in mvwaddchnstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwaddchnstr()
82 code = waddchnstr(w, chs, n); in mvwaddchnstr()
[all …]
H A Daddnws.c54 int code; in addnwstr() local
56 code = waddnwstr(stdscr, wcs, n); in addnwstr()
58 return (code); in addnwstr()
66 int code; in mvaddnwstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvaddnwstr()
69 code = waddnwstr(stdscr, wcs, n); in mvaddnwstr()
71 return (code); in mvaddnwstr()
79 int code; in mvwaddnwstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwaddnwstr()
82 code = waddnwstr(w, wcs, n); in mvwaddnwstr()
[all …]
H A Dgetn_ws.c54 int code; in getn_wstr() local
56 code = wgetn_wstr(stdscr, wis, n); in getn_wstr()
58 return (code); in getn_wstr()
66 int code; in mvgetn_wstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvgetn_wstr()
69 code = wgetn_wstr(stdscr, wis, n); in mvgetn_wstr()
71 return (code); in mvgetn_wstr()
79 int code; in mvwgetn_wstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwgetn_wstr()
82 code = wgetn_wstr(w, wis, n); in mvwgetn_wstr()
[all …]
H A Din_wchn.c54 int code; in in_wchnstr() local
56 code = win_wchnstr(stdscr, ccs, n); in in_wchnstr()
58 return (code); in in_wchnstr()
66 int code; in mvin_wchnstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvin_wchnstr()
69 code = win_wchnstr(stdscr, ccs, n); in mvin_wchnstr()
71 return (code); in mvin_wchnstr()
79 int code; in mvwin_wchnstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwin_wchnstr()
82 code = win_wchnstr(w, ccs, n); in mvwin_wchnstr()
[all …]
H A Dinchn.c54 int code; in inchnstr() local
56 code = winchnstr(stdscr, chs, n); in inchnstr()
58 return (code); in inchnstr()
66 int code; in mvinchnstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvinchnstr()
69 code = winchnstr(stdscr, chs, n); in mvinchnstr()
71 return (code); in mvinchnstr()
79 int code; in mvwinchnstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwinchnstr()
82 code = winchnstr(w, chs, n); in mvwinchnstr()
[all …]
H A Dins_nws.c54 int code; in ins_nwstr() local
56 code = wins_nwstr(stdscr, wcs, n); in ins_nwstr()
58 return (code); in ins_nwstr()
66 int code; in mvins_nwstr() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvins_nwstr()
69 code = wins_nwstr(stdscr, wcs, n); in mvins_nwstr()
71 return (code); in mvins_nwstr()
79 int code; in mvwins_nwstr() local
81 if ((code = wmove(w, y, x)) == OK) in mvwins_nwstr()
82 code = wins_nwstr(w, wcs, n); in mvwins_nwstr()
[all …]
H A Dinnstr.c56 int code; in innstr() local
58 code = winnstr(stdscr, s, n); in innstr()
60 return (code); in innstr()
68 int code; in mvinnstr() local
70 if ((code = wmove(stdscr, y, x)) == OK) in mvinnstr()
71 code = winnstr(stdscr, s, n); in mvinnstr()
73 return (code); in mvinnstr()
81 int code; in mvwinnstr() local
83 if ((code = wmove(w, y, x)) == OK) in mvwinnstr()
84 code = winnstr(w, s, n); in mvwinnstr()
[all …]
H A Dinnwstr.c56 int code; in innwstr() local
58 code = winnwstr(stdscr, wcs, n); in innwstr()
60 return (code); in innwstr()
68 int code; in mvinnwstr() local
70 if ((code = wmove(stdscr, y, x)) == OK) in mvinnwstr()
71 code = winnwstr(stdscr, wcs, n); in mvinnwstr()
73 return (code); in mvinnwstr()
81 int code; in mvwinnwstr() local
83 if ((code = wmove(w, y, x)) == OK) in mvwinnwstr()
84 code = winnwstr(w, wcs, n); in mvwinnwstr()
[all …]
H A Dhln.c54 int code; in hline() local
56 code = whline(stdscr, h, n); in hline()
58 return (code); in hline()
66 int code; in mvhline() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvhline()
69 code = whline(stdscr, h, n); in mvhline()
71 return (code); in mvhline()
79 int code; in mvwhline() local
81 if ((code = wmove(w, y, x)) == OK) in mvwhline()
82 code = whline(w, h, n); in mvwhline()
[all …]
H A Dhln_st.c54 int code; in hline_set() local
56 code = whline_set(stdscr, h, n); in hline_set()
58 return (code); in hline_set()
66 int code; in mvhline_set() local
68 if ((code = wmove(stdscr, y, x)) == OK) in mvhline_set()
69 code = whline_set(stdscr, h, n); in mvhline_set()
71 return (code); in mvhline_set()
79 int code; in mvwhline_set() local
81 if ((code = wmove(w, y, x)) == OK) in mvwhline_set()
82 code = whline_set(w, h, n); in mvwhline_set()
[all …]
/titanic_50/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 …]
/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dslk.c52 int code = ERR; in slk_init() local
60 code = OK; in slk_init()
63 return __m_return_code("slk_init", code); in slk_init()
69 int code = ERR; in slk_attron() local
76 code = wattron(__m_screen->_slk._w, at); in slk_attron()
78 return __m_return_code("slk_attron", code); in slk_attron()
84 int code = ERR; in slk_attroff() local
91 code = wattroff(__m_screen->_slk._w, at); in slk_attroff()
93 return __m_return_code("slk_attroff", code); in slk_attroff()
99 int code = ERR; in slk_attrset() local
[all …]
H A Daddnstr.c51 int code; variable
57 code = waddnstr(stdscr, str, n);
59 return __m_return_code("addnstr", code);
68 int code; variable
74 if ((code = wmove(stdscr, y, x)) == OK)
75 code = waddnstr(stdscr, str, n);
77 return __m_return_code("mvaddnstr", code);
87 int code; variable
93 if ((code = wmove(w, y, x)) == OK)
94 code = waddnstr(w, str, n);
[all …]
H A Dgetnstr.c51 int code; variable
57 code = wgetnstr(stdscr, str, n);
59 return __m_return_code("getnstr", code);
68 int code; variable
74 if ((code = wmove(stdscr, y, x)) == OK)
75 code = wgetnstr(stdscr, str, n);
77 return __m_return_code("mvgetnstr", code);
87 int code; variable
93 if ((code = wmove(w, y, x)) == OK)
94 code = wgetnstr(w, str, n);
[all …]
H A Dinnstr.c51 int code; variable
57 code = winnstr(stdscr, s, n);
59 return __m_return_code("innstr", code);
68 int code; variable
74 if ((code = wmove(stdscr, y, x)) == OK)
75 code = winnstr(stdscr, s, n);
77 return __m_return_code("mvinnstr", code);
87 int code; variable
93 if ((code = wmove(w, y, x)) == OK)
94 code = winnstr(w, s, n);
[all …]
H A Dinsnstr.c51 int code; variable
57 code = winsnstr(stdscr, mbs, n);
59 return __m_return_code("insnstr", code);
68 int code; variable
74 if ((code = wmove(stdscr, y, x)) == OK)
75 code = winsnstr(stdscr, mbs, n);
77 return __m_return_code("mvinsnstr", code);
87 int code; variable
93 if ((code = wmove(w, y, x)) == OK)
94 code = winsnstr(w, mbs, n);
[all …]
/titanic_50/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 …]

12345678910>>...59