Home
last modified time | relevance | path

Searched refs:tagnum (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_k_decode.c42 asn1_tagnum tagnum; \
55 tagnum = t2.tagnum; \
66 if (t3.asn1class != UNIVERSAL || t3.tagnum || t3.indef) \
71 tagnum = t3.tagnum; \
87 t1.tagnum != (tagexpect)) return ASN1_BAD_ID; \
91 tagnum = t1.tagnum; \
118 if (tagnum > (tagexpect)) return ASN1_MISSING_FIELD; \
119 if (tagnum < (tagexpect)) return ASN1_MISPLACED_FIELD; \
121 && (tagnum || taglen || asn1class != UNIVERSAL)) \
136 && (tagnum || taglen || asn1class != UNIVERSAL)) \
[all …]
H A Dasn1_make.c30 asn1_tagnum tagnum, unsigned int in_len, in asn1_make_etag() argument
33 return asn1_make_tag(buf,asn1class,CONSTRUCTED,tagnum,in_len,retlen); in asn1_make_etag()
39 asn1_tagnum tagnum, unsigned int in_len, in asn1_make_tag() argument
45 if(tagnum > ASN1_TAGNUM_MAX) return ASN1_OVERFLOW; in asn1_make_tag()
50 retval = asn1_make_id(buf,asn1class,construction,tagnum,&length); in asn1_make_tag()
86 asn1_tagnum tagnum, unsigned int *retlen) in asn1_make_id() argument
90 if(tagnum < 31) { in asn1_make_id()
92 (asn1_octet)tagnum)); in asn1_make_id()
96 asn1_tagnum tagcopy = tagnum; in asn1_make_id()
H A Dkrb5_decode.c50 asn1_tagnum tagnum;\
74 if (t1.tagnum != (tagexpect)) clean_return(KRB5_BADMSGTYPE); \
77 tagnum = t1.tagnum; \
91 tagnum = t2.tagnum; \
101 if (t3.asn1class != UNIVERSAL || t3.tagnum || t3.indef) \
105 tagnum = t3.tagnum; \
122 retval = asn1buf_sync(&buf,&subbuf,asn1class,tagnum,length,indef,seqindef);\
138 if(tagnum > (tagexpect)) clean_return(ASN1_MISSING_FIELD);\
139 if(tagnum < (tagexpect)) clean_return(ASN1_MISPLACED_FIELD);\
149 if (tagnum == (tagexpect)) { \
[all …]
H A Dasn1_get.h39 asn1_tagnum tagnum; member
51 asn1_tagnum *tagnum,
58 asn1_tagnum *tagnum,
H A Dasn1_get.c36 t->tagnum = ASN1_TAGNUM_CEILING; /* emphatically not an EOC tag */ in asn1_get_tag_2()
60 t->tagnum = (asn1_tagnum)(o&ASN1_TAG_NUMBER_MASK); in asn1_get_tag_2()
68 t->tagnum = tn; in asn1_get_tag_2()
111 t.tagnum != ASN1_SEQUENCE) in asn1_get_sequence()
H A Dasn1_make.h52 const asn1_tagnum tagnum,
66 const asn1_tagnum tagnum,
126 const asn1_tagnum tagnum,
H A Dldap_key_seq.c238 if (t.tagnum != expectedtag) in decode_tagged_integer()
264 if (t.tagnum != expectedtag)
293 if (t.tagnum != expectedtag) in decode_tagged_octetstring()
326 if (t.tagnum == 0) { in asn1_decode_key()
359 if (t.tagnum != 1) in asn1_decode_key()
440 if (t.tagnum != 4) in asn1_decode_sequence_of_keys()
H A Dasn1_decode.c46 #define tagnum (tinfo.tagnum) macro
52 if(asn1class != UNIVERSAL || construction != PRIMITIVE || tagnum != type)\
H A Dasn1buf.c142 if (asn1_is_eoc(t.asn1class, t.tagnum, t.indef)) in asn1buf_skiptail()
/illumos-gate/usr/src/cmd/sgs/tsort/common/
H A Derrtext.c106 if (Err.tagnum) in __errtext()
112 if (Err.tagnum) in __errtext()
113 (void) fprintf(stderr, ", line %d", Err.tagnum); in __errtext()
120 Err.vfix && Err.tofix && !Err.tagnum) in __errtext()
151 Err.tagnum = 0; in _errmsg()
H A Derrtag.c43 Err.tagnum = num; in errtag()
H A Derrmsg.h96 int tagnum; member
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c284 open_tag(pr_context_t *context, int tagnum) in open_tag() argument
293 tag = &tokentable[tagnum]; in open_tag()
312 if (is_header_token(tagnum) || is_file_token(tagnum)) { in open_tag()
315 } else if (is_token(tagnum)) { in open_tag()
335 context->pending_flag = tagnum; in open_tag()
341 if (is_header_token(tagnum) && (err == 0)) in open_tag()
342 context->current_rec = tagnum; /* set start of new record */ in open_tag()
351 check_close_rec(pr_context_t *context, int tagnum) in check_close_rec() argument
364 if ((is_header_token(tagnum) || is_file_token(tagnum)) && in check_close_rec()
396 close_tag(pr_context_t *context, int tagnum) in close_tag() argument
[all …]
/illumos-gate/usr/src/cmd/itadm/
H A Ditadm.c237 tag_name_to_num(char *tagname, uint16_t *tagnum);
2160 tag_name_to_num(char *tagname, uint16_t *tagnum) in tag_name_to_num() argument
2165 if (!tagname || !tagnum) { in tag_name_to_num()
2169 *tagnum = 0; in tag_name_to_num()
2179 *tagnum = (uint16_t)id; in tag_name_to_num()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ip.c1420 int optlen, taglen, tagnum; in print_cipso() local
1455 tagnum = 1; in print_cipso()
1457 (void) snprintf(line, sizeof (line), "Tag# %d", tagnum); in print_cipso()
1486 tagnum++; in print_cipso()
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dspitfire.c109 static void cpu_aflt_log(int ce_code, int tagnum, spitf_async_flt *spflt,
3178 cpu_aflt_log(int ce_code, int tagnum, spitf_async_flt *spflt, uint_t logflags, in cpu_aflt_log() argument
3189 console_log_flag = (tagnum < 2) || aft_verbose; in cpu_aflt_log()
3202 (void) sprintf(buf, "[AFT%d]", tagnum); in cpu_aflt_log()
3204 (void) sprintf(buf, "![AFT%d]", tagnum); in cpu_aflt_log()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dus3_module.h494 extern void cpu_aflt_log(int ce_code, int tagnum, ch_async_flt_t *aflt,