Home
last modified time | relevance | path

Searched refs:subbuf (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dldap_key_seq.c234 asn1buf tmp, subbuf; in decode_tagged_integer() local
244 ret = asn1buf_imbed(&subbuf, &tmp, t.length, 0); checkerr; in decode_tagged_integer()
245 ret = asn1_decode_integer(&subbuf, val); checkerr; in decode_tagged_integer()
247 safe_syncbuf(&tmp, &subbuf); in decode_tagged_integer()
260 asn1buf tmp, subbuf;
270 ret = asn1buf_imbed(&subbuf, &tmp, t.length, 0); checkerr;
271 ret = asn1_decode_unsigned_integer(&subbuf, val); checkerr;
273 safe_syncbuf(&tmp, &subbuf);
287 asn1buf tmp, subbuf; in decode_tagged_octetstring() local
299 ret = asn1buf_imbed(&subbuf, &tmp, t.length, 0); checkerr; in decode_tagged_octetstring()
[all …]
H A Dasn1_k_decode.c50 retval = asn1_get_tag_2(&subbuf, &t2); \
64 retval = asn1_get_tag_2(&subbuf, &t3); \
105 retval = decoder(&subbuf, &(var)); \
134 if (asn1buf_remains(&subbuf, seqindef)) { \
147 retval = decoder(&subbuf, &(len), &(var)); \
174 retval = asn1buf_remove_octetstring(&subbuf, taglen, &(var)); \
183 retval = asn1buf_remove_octetstring(&subbuf, taglen, &(var)); \
197 asn1buf subbuf; \
202 retval = asn1buf_imbed(&subbuf, buf, length, seqindef); \
212 asn1buf subbuf; \
[all …]
H A Dasn1buf.c84 asn1_error_code asn1buf_imbed(asn1buf *subbuf, const asn1buf *buf, const unsigned int length, const… in asn1buf_imbed() argument
87 subbuf->base = subbuf->next = buf->next; in asn1buf_imbed()
90 subbuf->bound = subbuf->base + length - 1; in asn1buf_imbed()
92 subbuf->bound = buf->bound; in asn1buf_imbed()
96 asn1_error_code asn1buf_sync(asn1buf *buf, asn1buf *subbuf, in asn1buf_sync() argument
104 buf->next = subbuf->bound + 1; in asn1buf_sync()
106 retval = asn1buf_skiptail(subbuf, length, indef); in asn1buf_sync()
111 buf->next = subbuf->next; in asn1buf_sync()
H A Dasn1buf.h116 (asn1buf *subbuf, const asn1buf *buf,
127 (asn1buf *buf, asn1buf *subbuf, const asn1_class Class,
H A Dkrb5_decode.c87 retval = asn1_get_tag_2(&subbuf, &t2); \
99 retval = asn1_get_tag_2(&subbuf, &t3); \
112 asn1buf subbuf;\
117 retval = asn1buf_imbed(&subbuf,&buf,length,seqindef);\
122 retval = asn1buf_sync(&buf,&subbuf,asn1class,tagnum,length,indef,seqindef);\
128 retval = decoder(&subbuf,&(var));\
146 if (asn1buf_remains(&subbuf, seqindef)) { \
156 retval = decoder(&subbuf,&(len),&(var));\
171 if (asn1buf_remains(&subbuf, seqindef)) { \
549 tmpbody.data = subbuf.next; in decode_krb5_safe_with_body()
/titanic_50/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c138 print_ascii_block(char *subbuf, int length) in print_ascii_block() argument
143 char char_print = isprint(subbuf[i]) ? subbuf[i] : '.'; in print_ascii_block()