Lines Matching refs:want
148 size_t want=HEADER_SIZE; in asn1_d2i_read_bio() local
163 if (want >= (len-off)) in asn1_d2i_read_bio()
165 want-=(len-off); in asn1_d2i_read_bio()
167 if (len + want < len || !BUF_MEM_grow_clean(b,len+want)) in asn1_d2i_read_bio()
172 i=BIO_read(in,&(b->data[len]),want); in asn1_d2i_read_bio()
216 want=HEADER_SIZE; in asn1_d2i_read_bio()
225 want=HEADER_SIZE; in asn1_d2i_read_bio()
230 want=c.slen; in asn1_d2i_read_bio()
231 if (want > (len-off)) in asn1_d2i_read_bio()
233 want-=(len-off); in asn1_d2i_read_bio()
234 if (want > INT_MAX /* BIO_read takes an int length */ || in asn1_d2i_read_bio()
235 len+want < len) in asn1_d2i_read_bio()
240 if (!BUF_MEM_grow_clean(b,len+want)) in asn1_d2i_read_bio()
245 while (want > 0) in asn1_d2i_read_bio()
247 i=BIO_read(in,&(b->data[len]),want); in asn1_d2i_read_bio()
257 want-=i; in asn1_d2i_read_bio()
271 want=HEADER_SIZE; in asn1_d2i_read_bio()