Lines Matching defs:read_len
408 size_t read_len = 0;
413 while (in->first_block != NULL && read_len < out_len)
416 if (block_len <= out_len - read_len)
419 memcpy(out + read_len, cur_entry->data + in->data_start,
422 read_len += block_len;
434 memcpy(out + read_len, in->first_block->data + in->data_start,
435 out_len - read_len);
436 in->data_start += out_len - read_len;
437 read_len = out_len;
441 return read_len;