Lines Matching refs:sourcelen
239 static int ber_read_id_len(void *source, int sourcelen, in ber_read_id_len() argument
244 if (sourcelen == 0) in ber_read_id_len()
252 p++, sourcelen--; in ber_read_id_len()
253 if (sourcelen == 0) in ber_read_id_len()
257 p++, sourcelen--; in ber_read_id_len()
260 p++, sourcelen--; in ber_read_id_len()
263 if (sourcelen == 0) in ber_read_id_len()
268 p++, sourcelen--; in ber_read_id_len()
269 if (sourcelen < n) in ber_read_id_len()
274 sourcelen -= n; in ber_read_id_len()
277 p++, sourcelen--; in ber_read_id_len()