/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | auth.test | 28 proc auth {code arg1 arg2 arg3 arg4} { 45 if {$code=="SQLITE_CREATE_TABLE"} { 395 if {$code=="SQLITE_SELECT"} { 404 if {$code=="SQLITE_SELECT"} { 413 if {$code=="SQLITE_SELECT"} { 426 if {$code=="SQLITE_COPY"} { 442 if {$code=="SQLITE_COPY"} { 458 if {$code=="SQLITE_COPY"} { 1491 if {$code=="SQLITE_PRAGMA"} { 1507 if {$code=="SQLITE_PRAGMA"} { [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | init_sec_context.c | 131 if (code) 193 if (code) { in make_gss_checksum() 320 if (code) 351 code = 0; 378 if (code) in setup_enc() 449 if (code) { in setup_enc() 559 if (code) in new_connection() 701 if (code) in mutual_auth() 775 if (code) in mutual_auth() 1457 if (code) { in load_root_cred_using_keytab() [all …]
|
H A D | copy_ccache.c | 17 krb5_error_code code; local 26 code = k5_mutex_lock(&k5creds->lock); 27 if (code) { 28 *minor_status = code; 37 code = krb5_gss_init_context(&context); 38 if (code) { 40 *minor_status = code; 45 if (code) { 47 *minor_status = code; 57 if (code) { [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_krb.c | 70 krb5_error_code code; in smb_kinit() local 84 code = krb5_init_context(&ctx); in smb_kinit() 85 if (code) { in smb_kinit() 98 code = krb5_cc_default(ctx, &cc); in smb_kinit() 99 if (code != 0) { in smb_kinit() 107 if (code != 0) { in smb_kinit() 116 if (code != 0) { in smb_kinit() 118 switch (code) { in smb_kinit() 137 if (code != 0) { in smb_kinit() 144 if (code != 0) { in smb_kinit() [all …]
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | IANACharCode.java | 133 switch (code) { in decodeCharacterEncoding() 183 int code = 0; in escapeChar() local 192 code = (int)(code | ((b[1] & 0xFF) << 8)); in escapeChar() 193 code = (int)(code | ((b[2] & 0xFF) << 16)); in escapeChar() 194 code = (int)(code | ((b[3] & 0xFF) << 24)); in escapeChar() 206 code = (int)(b[0] & 0xFF); in escapeChar() 226 code = (int)(b[0] & 0xFF); in escapeChar() 229 code = (int)(code | ((b[1] & 0xFF) << 8)); in escapeChar() 233 code = (int)(code | ((b[2] & 0xFF) << 16)); in escapeChar() 254 int code = 0; in unescapeChar() local [all …]
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioError.h | 48 audioerror_t code; // error code 55 code(val), sys(0) in code() function 56 { if (code == AUDIO_UNIXERROR) sys = errno; } in code() 58 code((audioerror_t)val), sys(0) in AudioError() 59 { if (code == AUDIO_UNIXERROR) sys = errno; } in AudioError() 62 { code = val.code; sys = val.sys; return (*this); } 64 { return (code); } 66 { return (code == e); } 68 { return (code != e); } 70 { return ((code == e.code) && (sys == e.sys)); } [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | printw.c | 51 int code; in printw() local 55 code = vw_printw(stdscr, fmt, ap); in printw() 58 return (code); in printw() 64 int code; in mvprintw() local 72 return (code); in mvprintw() 78 int code; in mvwprintw() local 83 code = vw_printw(w, fmt, ap); in mvwprintw() 86 return (code); in mvwprintw() 92 int code; in wprintw() local 96 code = vw_printw(w, fmt, ap); in wprintw() [all …]
|
H A D | scanw.c | 51 int code; in scanw() local 55 code = vw_scanw(stdscr, fmt, ap); in scanw() 58 return (code); in scanw() 64 int code; in mvscanw() local 72 return (code); in mvscanw() 78 int code; in mvwscanw() local 83 code = vw_scanw(w, fmt, ap); in mvwscanw() 86 return (code); in mvwscanw() 92 int code; in wscanw() local 96 code = vw_scanw(w, fmt, ap); in wscanw() [all …]
|
H A D | scr_dump.c | 56 int code; in scr_dump() local 59 code = ERR; in scr_dump() 66 return (code); in scr_dump() 137 int code; in scr_restore() local 141 return (code); in scr_restore() 152 int code; in scr_init() local 159 code = ERR; in scr_init() 162 code = ERR; in scr_init() 168 return (code); in scr_init() 178 int code; in scr_set() local [all …]
|
H A D | delch.c | 52 int code; in delch() local 54 code = wdelch(stdscr); in delch() 56 return (code); in delch() 64 int code; in mvdelch() local 66 if ((code = wmove(stdscr, y, x)) == OK) in mvdelch() 67 code = wdelch(stdscr); in mvdelch() 69 return (code); in mvdelch() 77 int code; in mvwdelch() local 79 if ((code = wmove(w, y, x)) == OK) in mvwdelch() 80 code = wdelch(w); in mvwdelch() [all …]
|
H A D | insch.c | 52 int code; in insch() local 54 code = winsch(stdscr, ch); in insch() 56 return (code); in insch() 64 int code; in mvinsch() local 66 if ((code = wmove(stdscr, y, x)) == OK) in mvinsch() 67 code = winsch(stdscr, ch); in mvinsch() 69 return (code); in mvinsch() 77 int code; in mvwinsch() local 79 if ((code = wmove(w, y, x)) == OK) in mvwinsch() 80 code = winsch(w, ch); in mvwinsch() [all …]
|
H A D | add_wch.c | 52 int code; in add_wch() local 54 code = wadd_wch(stdscr, cc); in add_wch() 56 return (code); in add_wch() 64 int code; in mvadd_wch() local 66 if ((code = wmove(stdscr, y, x)) == OK) in mvadd_wch() 67 code = wadd_wch(stdscr, cc); in mvadd_wch() 69 return (code); in mvadd_wch() 77 int code; in mvwadd_wch() local 79 if ((code = wmove(w, y, x)) == OK) in mvwadd_wch() 80 code = wadd_wch(w, cc); in mvwadd_wch() [all …]
|
H A D | addch.c | 52 int code; in addch() local 54 code = waddch(stdscr, ch); in addch() 56 return (code); in addch() 64 int code; in mvaddch() local 66 if ((code = wmove(stdscr, y, x)) == OK) in mvaddch() 67 code = waddch(stdscr, ch); in mvaddch() 69 return (code); in mvaddch() 77 int code; in mvwaddch() local 79 if ((code = wmove(w, y, x)) == OK) in mvwaddch() 80 code = waddch(w, ch); in mvwaddch() [all …]
|
H A D | get_wch.c | 52 int code; in get_wch() local 54 code = wget_wch(stdscr, wcp); in get_wch() 56 return (code); in get_wch() 64 int code; in mvget_wch() local 66 if ((code = wmove(stdscr, y, x)) == OK) in mvget_wch() 67 code = wget_wch(stdscr, wcp); in mvget_wch() 69 return (code); in mvget_wch() 77 int code; in mvwget_wch() local 79 if ((code = wmove(w, y, x)) == OK) in mvwget_wch() 80 code = wget_wch(w, wcp); in mvwget_wch() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | euc_to_johap.c | 134 if (code != FAILED && code != ILLEGAL_SEQ) in _icv_iconv() 169 if (code >= 0xB0A1 && code <= 0xC8FE) /* Hangul */ in _wansung_to_johap() 211 code = ci + 0xa; in _wansung_to_johap() 212 code = (code << 5) | (v + (v + 1) / 3 + 2); in _wansung_to_johap() 215 else if (code >= 0xA4A1 && code <= 0xA4BE) /* Chosung-only */ in _wansung_to_johap() 221 else if (code >= 0xA4BF && code <= 0xA4D3) /* Joongsung-only */ in _wansung_to_johap() 223 code -= 0xA4BE; in _wansung_to_johap() 224 return(((code + code / 3 + 1) << 5) | 0xA401); in _wansung_to_johap() 265 KCHAR code; local 315 code = c<<8|d; [all …]
|
H A D | johap92_to_euc.c | 140 ch1 = code >> 8; in _johap92_to_wansung() 141 ch2 = code & 0xff; in _johap92_to_wansung() 146 ci = CHOSUNG(code) - 0x02; in _johap92_to_wansung() 147 v = JOONGSUNG(code) - ((unsigned short)(JOONGSUNG(code) - 2) / in _johap92_to_wansung() 149 cf = JONGSUNG(code) - (unsigned short)JONGSUNG(code) / 18; in _johap92_to_wansung() 152 return(0xA4A0 + Y19_32[CHOSUNG(code) - 1]); in _johap92_to_wansung() 170 code = cmp_srchtbl[ci][v] + disp; in _johap92_to_wansung() 173 code += SKIP; in _johap92_to_wansung() 175 return(code); in _johap92_to_wansung() 182 return(code | ((ch2 > 0xa0) ? ch2 in _johap92_to_wansung() [all …]
|
H A D | nbyte_to_UTF2.c | 307 code += 2; in make_johap_code() 309 code++; in make_johap_code() 311 code += 2; in make_johap_code() 313 code++; in make_johap_code() 315 code += 2; in make_johap_code() 317 code += 3; in make_johap_code() 319 code += 4; in make_johap_code() 321 code += 5; in make_johap_code() 323 code += 6; in make_johap_code() 327 code++; in make_johap_code() [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | printw.c | 49 int code; in printw() local 57 code = vw_printw(stdscr, fmt, ap); in printw() 60 return __m_return_code("printw", code); in printw() 66 int code; in mvprintw() local 74 if ((code = wmove(stdscr, y, x)) == OK) in mvprintw() 75 code = vw_printw(stdscr, fmt, ap); in mvprintw() 84 int code; in mvwprintw() local 92 if ((code = wmove(w, y, x)) == OK) in mvwprintw() 93 code = vw_printw(w, fmt, ap); in mvwprintw() 102 int code; in wprintw() local [all …]
|
H A D | scanw.c | 49 int code; in scanw() local 57 code = vw_scanw(stdscr, fmt, ap); in scanw() 60 return __m_return_code("scanw", code); in scanw() 66 int code; in mvscanw() local 74 if ((code = wmove(stdscr, y, x)) == OK) in mvscanw() 75 code = vw_scanw(stdscr, fmt, ap); in mvscanw() 84 int code; in mvwscanw() local 92 if ((code = wmove(w, y, x)) == OK) in mvwscanw() 93 code = vw_scanw(w, fmt, ap); in mvwscanw() 102 int code; in wscanw() local [all …]
|
H A D | scr_dump.c | 52 int code; local 59 code = ERR; 62 code = putwin(curscr, fp); 66 return __m_return_code("scr_dump", code); 138 int code; local 158 int code; local 168 code = ERR; 183 int code; local 189 if ((code = scr_init(f)) == OK) 190 code = scr_restore(f); [all …]
|
/illumos-gate/usr/src/cmd/krb5/kinit/ |
H A D | kinit.c | 475 if (code) 605 if (code) { 613 if (code != 0) { 644 if (code) { 653 if (code) 683 if (code) { 695 if (code) { 872 if (code) 1036 if (code) { 1072 if (code) { [all …]
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | changepw.c | 163 code = errno; 169 code = errno; 185 code = errno; 197 code = errno; 237 code = errno; 266 code = errno; 273 code = errno; 299 code = errno; 335 code = 0; 339 code = errno; [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | mbtranslate.c | 62 *_strcode2byte(wchar_t *code, char *byte, int n) in _strcode2byte() argument 71 for (n = 0; code[n] != 0; ++n) in _strcode2byte() 89 endcode = code+n; in _strcode2byte() 90 while (code < endcode && *code) { in _strcode2byte() 91 bufp += _curs_wctomb(bufp, *code & TRIM); in _strcode2byte() 92 ++code; in _strcode2byte() 105 *_strbyte2code(char *byte, wchar_t *code, int n) in _strbyte2code() argument 116 if (!code && (n + 1) > bufsize) { in _strbyte2code() 125 if (!code && !buf) in _strbyte2code() 128 bufp = code ? code : buf; in _strbyte2code() [all …]
|
/illumos-gate/usr/src/cmd/krb5/kdestroy/ |
H A D | kdestroy.c | 112 int code = 0; local 218 if (code != 0) { 221 progname, code); 226 com_err(progname, code, 237 if (code != 0) { 243 if (code) { 254 if (code != 0) 262 code = krb5_cc_destroy (kcontext, cache); 263 if (code != 0) { 265 if (code != KRB5_FCC_NOFILE) { [all …]
|
/illumos-gate/usr/src/uts/common/io/bpf/net/ |
H A D | bpf.h | 198 #define BPF_CLASS(code) ((code) & 0x07) argument 209 #define BPF_SIZE(code) ((code) & 0x18) argument 213 #define BPF_MODE(code) ((code) & 0xe0) argument 222 #define BPF_OP(code) ((code) & 0xf0) argument 237 #define BPF_SRC(code) ((code) & 0x08) argument 242 #define BPF_RVAL(code) ((code) & 0x18) argument 246 #define BPF_MISCOP(code) ((code) & 0xf8) argument 254 uint16_t code; member 263 #define BPF_STMT(code, k) { (uint16_t)(code), 0, 0, k } argument 264 #define BPF_JUMP(code, k, jt, jf) { (uint16_t)(code), jt, jf, k } argument
|