Home | History | Annotate | Download | only in asn1

Lines Matching defs:len

92 	int len;
94 len = asn1_d2i_read_bio(in, &b);
95 if(len < 0) goto err;
98 ret=d2i(x,&p,len);
111 int len;
113 len = asn1_d2i_read_bio(in, &b);
114 if(len < 0) goto err;
117 ret=ASN1_item_d2i(x,&p,len, it);
151 size_t len=0;
163 if (want >= (len-off))
165 want-=(len-off);
167 if (len + want < len || !BUF_MEM_grow_clean(b,len+want))
172 i=BIO_read(in,&(b->data[len]),want);
173 if ((i < 0) && ((len-off) == 0))
180 if (len+i < len)
185 len+=i;
193 len-off);
231 if (want > (len-off))
233 want-=(len-off);
235 len+want < len)
240 if (!BUF_MEM_grow_clean(b,len+want))
247 i=BIO_read(in,&(b->data[len]),want);
255 * |len+want| didn't overflow. */
256 len+=i;