/illumos-gate/usr/src/common/crypto/sha2/amd64/ |
H A D | sha512-x86_64.pl | 124 $code.=<<___; 175 $code.=<<___; 211 $code=<<___; 269 $code.=" mov $SZ*$i($inp),$T1\n"; 270 $code.=" bswap $T1\n"; 274 $code.=<<___; 284 $code.=<<___; 327 $code.=<<___; 350 $code.=<<___; 396 $code.=<<___; [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | import_name.c | 61 krb5_error_code code; local 68 code = krb5_gss_init_context(&context); 69 if (code) { 70 *minor_status = code; 102 code = krb5_sname_to_principal(context, host, service, KRB5_NT_SRV_HST, 123 if ((code = krb5_copy_principal(context, input, &princ))) { 124 *minor_status = code; 208 code = krb5_parse_name(context, (char *) stringrep, &princ); 233 if (code) { 235 *minor_status = (OM_uint32) code; [all …]
|
H A D | disp_name.c | 34 krb5_error_code code; local 37 code = krb5_gss_init_context(&context); 38 if (code) { 39 *minor_status = code; 52 if ((code = krb5_unparse_name(context, 54 *minor_status = code;
|
H A D | export_name.c | 38 krb5_error_code code; in krb5_gss_export_name() local 45 code = krb5_gss_init_context(&context); in krb5_gss_export_name() 46 if (code) { in krb5_gss_export_name() 48 *minor_status = code; in krb5_gss_export_name() 73 if ((code = krb5_unparse_name(context, (krb5_principal) input_name, in krb5_gss_export_name() 76 *minor_status = code; in krb5_gss_export_name() 77 save_error_info((OM_uint32)code, context); in krb5_gss_export_name()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irp_ng.c | 126 int code; in ng_rewind() local 137 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); in ng_rewind() 138 if (code != IRPD_GETNETGR_SETOK) { in ng_rewind() 158 int code; in ng_next() local 171 if (irs_irp_get_full_response(pvt->girpdata, &code, in ng_next() 177 if (code == IRPD_GETNETGR_OK) { in ng_next() 202 int code; in ng_test() local 217 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); in ng_test() 218 if (code == IRPD_GETNETGR_MATCHES) { in ng_test()
|
H A D | irp_ho.c | 170 int code; in ho_byname2() local 187 if (irs_irp_get_full_response(pvt->girpdata, &code, in ho_byname2() 193 if (code == IRPD_GETHOST_OK) { in ho_byname2() 223 int code; in ho_byaddr() local 250 if (irs_irp_get_full_response(pvt->girpdata, &code, in ho_byaddr() 256 if (code == IRPD_GETHOST_OK) { in ho_byaddr() 286 int code; in ho_next() local 297 if (irs_irp_get_full_response(pvt->girpdata, &code, in ho_next() 303 if (code == IRPD_GETHOST_OK) { in ho_next() 328 int code; in ho_rewind() local [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | color.c | 48 int code = ERR; in start_color() local 86 int code = ERR; in init_color() local 103 code = OK; in init_color() 107 code = tputs( in init_color() 116 return __m_return_code("init_color", code); in init_color() 122 int code = ERR; in init_pair() local 137 code = OK; in init_pair() 141 code = tputs( in init_pair() 155 return __m_return_code("init_pair", code); in init_pair()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | cbcp.c | 138 u_char code, id; local 150 GETCHAR(code, inp); 161 switch (code) { 221 int code, id, len, olen, alen; local 229 GETCHAR(code, p); 233 if (code >= 1 && code <= Dim(cbcp_codenames)) 236 printer(arg, " code=0x%x", code); 250 switch (code) { 421 cbcp_send(us, code, buf, len) in cbcp_send() argument 423 int code; [all …]
|
H A D | fsm.c | 330 u_char code, id; local 343 GETCHAR(code, inp); 367 switch (code) { 448 code = CODE_CONFACK; 451 if (code <= 0) 545 int code, id; 674 u_char code, id; local 682 GETCHAR(code, inp); 686 code_name(code,0), id); 698 seriouserr = (code >= CODE_CONFREQ && code <= CODE_CODEREJ); [all …]
|
/illumos-gate/usr/src/ucblib/libucb/sparc/sys/ |
H A D | signal.c | 109 int code; in ucbsigvechandler() local 185 code = 0; in ucbsigvechandler() 197 code = ILL_STACK; in ucbsigvechandler() 209 code = EMT_TAG; in ucbsigvechandler() 215 code = FPE_INTDIV_TRAP; in ucbsigvechandler() 218 code = FPE_INTOVF_TRAP; in ucbsigvechandler() 221 code = FPE_FLTDIV_TRAP; in ucbsigvechandler() 241 code = BUS_ALIGN; in ucbsigvechandler() 244 code = BUS_HWERR; in ucbsigvechandler() 255 code = SEGV_NOMAP; in ucbsigvechandler() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | johap_to_euc.c | 166 ci = CHOSUNG(code) - 0x0a; in _johap_to_wansung() 167 v = JOONGSUNG(code) - (unsigned short)JOONGSUNG(code) / 4 - 2; in _johap_to_wansung() 168 cf = JONGSUNG(code); in _johap_to_wansung() 171 return(0xA4A0 + Y19_32[CHOSUNG(code) - 9]); in _johap_to_wansung() 189 code = cmp_srchtbl[ci][v] + disp; in _johap_to_wansung() 192 code += SKIP; in _johap_to_wansung() 194 return(code); in _johap_to_wansung() 231 KCHAR code; local 281 code = c<<8|d; 283 if ((code = packtocomp(code)) == K_ILLEGAL) { [all …]
|
H A D | utf_to_uhang_sub.c | 38 …ret = (int)(((const hcode_table *)node1)->utf8.code) -(int)(((const hcode_table *)node2)->utf8.cod… in node_compare2() 46 return((int)(((const hcode_table *)node1)->utf8.code) - in node_compare2() 47 (int)(((const hcode_table *)node2)->utf8.code)); in node_compare2() 92 uhang.code = NON_ID_CHAR; /* initial & default set to fail value */ in _utf8_to_unified_hangul() 96 uhang.word.low = node_ptr->code; /* Success */ in _utf8_to_unified_hangul()
|
H A D | ojh_to_utf_sub.c | 39 if (ojh_code.code < 0xA421 || 0xF3BC < ojh_code.code) { in _johap82_to_utf8() 40 utf_code.code = 0; /* Not Hangul */ in _johap82_to_utf8() 50 utf_code.code = 0; /* Not Hangul */ in _johap82_to_utf8() 54 unicode.code = (unsigned int)(x*588 + y*28 + z) in _johap82_to_utf8()
|
H A D | comb_to_byte.c | 40 void echo_conso(char code, struct _cv_state *st); 41 void echo_vowel(char code, struct _cv_state *st); 75 echo_vowel(char code, struct _cv_state* st) in echo_vowel() argument 77 switch (code) { in echo_vowel() 114 AddChar(code, st); in echo_vowel() 121 echo_conso(char code, struct _cv_state *st) in echo_conso() argument 123 switch (code) { in echo_conso() 180 AddChar(code, st); in echo_conso()
|
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg_test.c | 51 const char *code = "TEST-8000-08"; in main() local 99 err |= nvlist_add_string(list, FM_SUSPECT_DIAG_CODE, code); in main() 172 if ((s = fmd_msg_getitem_id(h, NULL, code, i)) == NULL) { in main() 175 argv[0], code, i, strerror(errno)); in main() 178 (void) printf("code %s item %d = <<%s>>\n", code, i, s); in main() 186 if ((s = fmd_msg_gettext_id(h, NULL, code)) == NULL) { in main() 188 "%s\n", argv[0], code, strerror(errno)); in main() 203 argv[0], code, i, strerror(errno)); in main() 206 (void) printf("code %s item %d = <<%s>>\n", code, i, s); in main() 216 "%s\n", argv[0], code, strerror(errno)); in main() [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | color.c | 95 int code = ERR; in init_color() local 108 code = OK; in init_color() 112 code = tputs(tparm(initialize_color, (long) color, in init_color() 117 return (code); in init_color() 123 int code = ERR; in init_pair() local 134 code = OK; in init_pair() 138 code = tputs(tparm(initialize_pair, in init_pair() 148 return (code); in init_pair()
|
H A D | wadd_wch.c | 55 int code = wadd_wch(w, cc); in __m_wadd_wch() local 57 if (code == ERR) { in __m_wadd_wch() 61 return (code); in __m_wadd_wch() 76 int code, x, y; in wadd_wch() local 81 code = ERR; in wadd_wch() 125 code = WFLUSH(w); in wadd_wch() 129 return (code); in wadd_wch()
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | trees.c | 239 int code; /* code value */ in tr_static_init() local 257 for (code = 0; code < LENGTH_CODES-1; code++) { in tr_static_init() 258 base_length[code] = length; in tr_static_init() 272 for (code = 0 ; code < 16; code++) { in tr_static_init() 273 base_dist[code] = dist; in tr_static_init() 280 for ( ; code < D_CODES; code++) { in tr_static_init() 281 base_dist[code] = dist << 7; in tr_static_init() 586 code = (code + bl_count[bits-1]) << 1; 1071 code = d_code(dist); 1143 res |= code & 1; [all …]
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | regerror.c | 52 int code; member 102 for (r = rerrs; r->code != 0; r++) { in regerror() 103 if (r->code == target) in regerror() 108 if (r->code != 0) in regerror() 140 for (r = rerrs; r->code != 0; r++) { in regatoi() 144 if (r->code == 0) in regatoi() 147 (void) sprintf(localbuf, "%d", r->code); in regatoi()
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | clnt_policy.c | 63 return r->code; in kadm5_create_policy() 85 return r->code; in kadm5_delete_policy() 109 return r->code; in kadm5_modify_policy() 134 if(r->code == 0) { in kadm5_get_policy() 143 if (r->code == 0) in kadm5_get_policy() 147 return r->code; in kadm5_get_policy() 167 if(r->code == 0) { in kadm5_get_policies() 175 return r->code; in kadm5_get_policies()
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioDebug.cc | 57 AudioError code, // error code in AudioStderrMsg() argument 80 id, str, name, code.msg()); in AudioStderrMsg() 84 name, code.msg(), str); in AudioStderrMsg() 90 name, code.msg(), str); in AudioStderrMsg() 97 name, str, code.msg()); in AudioStderrMsg() 105 name, str, code.msg()); in AudioStderrMsg()
|
/illumos-gate/usr/src/lib/iconv_modules/th_TH/common/ |
H A D | common_utf.c | 58 unicode.code = 0; in _utf8_to_uni() 73 utf8.code = UTF_UDC_ERROR; /* over the UDC bound */ in _udcidx_to_utf() 75 unicode.code = UNICODE_UDC_START + udcidx; in _udcidx_to_utf() 89 if (unicode.code < UNICODE_UDC_START || UNICODE_UDC_END < unicode.code) in _utf_to_udcidx() 92 return((int)(unicode.code - UNICODE_UDC_START)); in _utf_to_udcidx()
|
/illumos-gate/usr/src/common/ficl/ |
H A D | word.c | 30 ficlPrimitive code; in ficlWordClassify() local 41 code = word->code; in ficlWordClassify() 43 if ((((ficlInstruction)code) > ficlInstructionInvalid) && in ficlWordClassify() 44 (((ficlInstruction)code) < ficlInstructionLast)) { in ficlWordClassify() 45 i = (ficlInstruction)code; in ficlWordClassify()
|
H A D | hash.c | 44 ficlUnsigned16 code = (ficlUnsigned16)s.length; in ficlHashCode() local 53 code = (ficlUnsigned16)((code << 4) + tolower(*trace)); in ficlHashCode() 54 shift = (ficlUnsigned16)(code & 0xf000); in ficlHashCode() 56 code ^= (ficlUnsigned16)(shift >> 8); in ficlHashCode() 57 code ^= (ficlUnsigned16)shift; in ficlHashCode() 61 return ((ficlUnsigned16)code); in ficlHashCode()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | malloc_check.c | 140 int code, char *whichisit) in print_alloc_dealloc_detail() argument 144 whichisit, addr, code, alloc_type_name[code], in print_alloc_dealloc_detail() 167 dwarf_malloc_check_alloc_data(void *addr_in, unsigned char code) in dwarf_malloc_check_alloc_data() argument 173 print_alloc_dealloc_detail(addr, code, "alloc "); in dwarf_malloc_check_alloc_data() 175 newd->mc_alloc_code = code; in dwarf_malloc_check_alloc_data() 236 dwarf_malloc_check_dealloc_data(void *addr_in, unsigned char code) in dwarf_malloc_check_dealloc_data() argument 246 print_alloc_dealloc_detail(addr, code, "dealloc "); in dwarf_malloc_check_dealloc_data() 248 newd->mc_alloc_code = code; in dwarf_malloc_check_dealloc_data()
|