Home
last modified time | relevance | path

Searched refs:code (Results 151 – 175 of 1554) sorted by relevance

12345678910>>...63

/illumos-gate/usr/src/lib/iconv_modules/th_TH/common/
H A D874_to_838_sub.c36 return(((int)(((const hcode_table *)node1)->code) - in node_compare()
37 (int)(((const hcode_table *)node2)->code))); in node_compare()
58 utf_code.code = 0; in _874_to_838()
69 if (utf_code.code == UTF_UDC_ERROR) in _874_to_838()
70 utf_code.code = 0; /* Failed */ in _874_to_838()
79 node.code = euc_code.word.low; in _874_to_838()
88 utf_code.code = 0; in _874_to_838()
H A Deuc_to_utf_sub.c36 return(((int)(((const hcode_table *)node1)->code) - in node_compare()
37 (int)(((const hcode_table *)node2)->code))); in node_compare()
54 utf_code.code = 0; in _eucTH_to_utf8()
65 if (utf_code.code == UTF_UDC_ERROR) in _eucTH_to_utf8()
66 utf_code.code = 0; /* Failed */ in _eucTH_to_utf8()
71 node.code = euc_code.word.low; in _eucTH_to_utf8()
80 utf_code.code = 0; in _eucTH_to_utf8()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dkillwch.c48 int code; variable
54 code = __m_tty_wc(VERASE, wcp);
56 return __m_return_int("erasewchar", code);
63 int code; variable
69 code = __m_tty_wc(VKILL, wcp);
71 return __m_return_int("killwchar", code);
H A Dbkgd.c47 int code; variable
54 if ((code = __m_chtype_cc(bg, &cc)) == OK)
57 return __m_return_code("bkgd", code);
63 int code; variable
70 if ((code = __m_chtype_cc(bg, &cc)) == OK)
73 return __m_return_code("wbkgd", code);
H A Dvidattr.c47 int code; in vidattr() local
55 code = vid_puts(cc._at, cc._co, (void *) 0, __m_putchar); in vidattr()
57 return __m_return_code("vidattr", code); in vidattr()
63 int code; in vidputs() local
71 code = vid_puts(cc._at, cc._co, (void *) 0, putout); in vidputs()
73 return __m_return_code("vidputs", code); in vidputs()
H A Dbkgdset.c47 int code; variable
53 code = __m_chtype_cc(bg, &stdscr->_bg);
55 return __m_return_code("bkgdset", code);
61 int code; variable
67 code = __m_chtype_cc(bg, &w->_bg);
69 return __m_return_code("wbkgdset", code);
H A Dwhln.c47 int code; in whline() local
55 code = whline_set(w, &cc, n); in whline()
57 return __m_return_code("whline", code); in whline()
63 int code; in wvline() local
71 code = wvline_set(w, &cc, n); in wvline()
73 return __m_return_code("wvline", code); in wvline()
H A Dwgetn_ws.c64 wint_t code; member
138 key_table[EOL_KEY].code = (wint_t) wc;
140 key_table[EOF_KEY].code = (wint_t) wc;
142 key_table[KILL_KEY].code = (wint_t) wc;
144 key_table[ERASE_KEY].code = (wint_t) wc;
161 if (k->type == type && k->code == fld_key)
312 int code; local
318 code = __m_wgetn_wstr(w, (void *) s, n, 1);
320 return __m_return_code("wgetnstr", code);
329 int code; local
[all …]
H A Dnonl.c50 int code; in nl() local
62 if ((code = __m_tty_set(&cur_term->_prog)) == OK) in nl()
65 return __m_return_code("nl", code); in nl()
74 int code; in nonl() local
87 if ((code = __m_tty_set(&cur_term->_prog)) == OK) in nonl()
90 return __m_return_code("nonl", code); in nonl()
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dunihan_to_UCS_sub.c37 return(((int)(((const hcode_table *)node1)->code) - in node_compare()
38 (int)(((const hcode_table *)node2)->code))); in node_compare()
56 utf_code.code = 0; in _unified_hangul_to_UCS2LE()
67 if (utf_code.code == UTF_UDC_ERROR) in _unified_hangul_to_UCS2LE()
68 utf_code.code = UTF8_NON_ID_CHAR; /* Failed */ in _unified_hangul_to_UCS2LE()
73 node.code = euc_code.word.low; in _unified_hangul_to_UCS2LE()
82 utf_code.code = UTF8_NON_ID_CHAR; in _unified_hangul_to_UCS2LE()
H A Dutf_euc.h53 unsigned short code;\
64 code = _johap_to_wansung(cd->ci, cd->v, cd->cf);\
65 if (code == FAILED)\
68 code = (((unsigned short)NON_IDENTICAL) << 8) |\
72 *ob++ = (char)((code >> 8) & 0xFF);\
73 *ob++ = (char)(code & 0xFF);\
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwhln.c50 int code; in whline() local
54 code = whline_set(w, &cc, n); in whline()
56 return (code); in whline()
62 int code; in wvline() local
66 code = wvline_set(w, &cc, n); in wvline()
68 return (code); in wvline()
H A Dbkgd.c52 int code; in bkgd() local
55 if ((code = __m_chtype_cc(bg, &cc)) == OK) in bkgd()
58 return (code); in bkgd()
66 int code; in wbkgd() local
69 if ((code = __m_chtype_cc(bg, &cc)) == OK) in wbkgd()
72 return (code); in wbkgd()
H A Dvidattr.c50 int code; in vidattr() local
54 code = vid_puts(cc._at, cc._co, NULL, __m_putchar); in vidattr()
56 return (code); in vidattr()
62 int code; in vidputs() local
66 code = vid_puts(cc._at, cc._co, NULL, putout); in vidputs()
68 return (code); in vidputs()
H A Decho_wch.c54 int code; in echo_wchar() local
58 code = wrefresh(stdscr); in echo_wchar()
60 return ((code1 == OK) ? code : code1); in echo_wchar()
68 int code; in wecho_wchar() local
72 code = wrefresh(w); in wecho_wchar()
74 return ((code1 == OK) ? code : code1); in wecho_wchar()
H A Dechochar.c54 int code; in echochar() local
58 code = wrefresh(stdscr); in echochar()
60 return ((code1 == OK) ? code : code1); in echochar()
68 int code; in wechochar() local
72 code = wrefresh(w); in wechochar()
74 return ((code1 == OK) ? code : code1); in wechochar()
H A Dnonl.c55 int code; in nl() local
63 if ((code = __m_tty_set_prog_mode()) == OK) in nl()
66 return (code); in nl()
75 int code; in nonl() local
84 if ((code = __m_tty_set_prog_mode()) == OK) in nonl()
87 return (code); in nonl()
H A Dwgetn_ws.c69 wint_t code; member
147 key_table[EOL_KEY].code = (wint_t) wc; in __m_wgetn_wstr()
149 key_table[EOF_KEY].code = (wint_t) wc; in __m_wgetn_wstr()
152 key_table[KILL_KEY].code = (wint_t) wc; in __m_wgetn_wstr()
154 key_table[ERASE_KEY].code = (wint_t) wc; in __m_wgetn_wstr()
334 int code; in wgetnstr() local
336 code = __m_wgetn_wstr(w, (void *) s, n, 1); in wgetnstr()
338 return (code); in wgetnstr()
344 int code; in wgetn_wstr() local
346 code = __m_wgetn_wstr(w, (void *) s, n, 0); in wgetn_wstr()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinq_cred.c88 krb5_error_code code; local
98 code = krb5_gss_init_context(&context);
99 if (code) {
100 *minor_status = code;
128 if ((code = krb5_timeofday(context, &now))) {
129 *minor_status = code;
134 code = k5_mutex_lock(&cred->lock);
135 if (code != 0) {
136 *minor_status = code;
149 (code = krb5_copy_principal(context, cred->princ, &ret_name))) {
[all …]
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c1193 *bp++ = code; in output()
1194 code >>= 8; in output()
1199 *bp = code; in output()
1292 for (code = 255; code >= 0; code--) { in decompress()
1294 tab_suffixof(code) = (char_type)code; in decompress()
1312 for (code = 255; code >= 0; code--) in decompress()
1319 incode = code; in decompress()
1339 code = tab_prefixof(code); in decompress()
1389 code_int code; in getcode() local
1449 return (code); in getcode()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_seed.c36 krb5_error_code code; local
40 code = krb5_copy_keyblock(context, key, &tmpkey);
41 if (code)
42 return(code);
49 code = kg_encrypt(context, tmpkey, KG_USAGE_SEAL, NULL, zeros, seed, 16);
53 return(code);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirp_pr.c130 int code; in pr_byname() local
146 if (irs_irp_get_full_response(pvt->girpdata, &code, in pr_byname()
152 if (code == IRPD_GETPROTO_OK) { in pr_byname()
179 int code; in pr_bynumber() local
195 if (irs_irp_get_full_response(pvt->girpdata, &code, in pr_bynumber()
201 if (code == IRPD_GETPROTO_OK) { in pr_bynumber()
226 int code; in pr_rewind() local
237 if (code != IRPD_GETPROTO_SETOK) { in pr_rewind()
257 int code; in pr_next() local
268 if (irs_irp_get_full_response(pvt->girpdata, &code, in pr_next()
[all …]
H A Dirp_sv.c135 int code; in sv_next() local
146 if (irs_irp_get_full_response(pvt->girpdata, &code, in sv_next()
152 if (code == IRPD_GETSERVICE_OK) { in sv_next()
181 int code; in sv_byname() local
197 if (irs_irp_get_full_response(pvt->girpdata, &code, in sv_byname()
203 if (code == IRPD_GETSERVICE_OK) { in sv_byname()
232 int code; in sv_byport() local
249 if (irs_irp_get_full_response(pvt->girpdata, &code, in sv_byport()
255 if (code == IRPD_GETSERVICE_OK) { in sv_byport()
280 int code; in sv_rewind() local
[all …]
H A Dirp_nw.c139 int code; in nw_byaddr() local
155 if (irs_irp_get_full_response(pvt->girpdata, &code, in nw_byaddr()
161 if (code == IRPD_GETNET_OK) { in nw_byaddr()
188 int code; in nw_byname() local
204 if (irs_irp_get_full_response(pvt->girpdata, &code, in nw_byname()
210 if (code == IRPD_GETNET_OK) { in nw_byname()
235 int code; in nw_rewind() local
246 if (code != IRPD_GETNET_SETOK) { in nw_rewind()
266 int code; in nw_next() local
277 if (irs_irp_get_full_response(pvt->girpdata, &code, in nw_next()
[all …]
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dhayes.c27 char code = 0, cr = 0; in hayes_dialer() local
69 (void) read(FD, &code, 1); in hayes_dialer()
71 if (code == '1' && cr == '0') in hayes_dialer()
75 if ((code == '1' || code == '5') && cr == '\r') in hayes_dialer()
111 char code = 0, cr = 0; in hayes_sync() local
142 (void) read(FD, &code, 1); in hayes_sync()
144 if (code == '0' && cr == '\r') in hayes_sync()

12345678910>>...63