Searched refs:so_far (Results 1 – 2 of 2) sorted by relevance
152 size_t so_far = 0; in verify_file() local154 while (so_far < signed_len) { in verify_file()156 if (signed_len - so_far < size) size = signed_len - so_far; in verify_file()163 so_far += size; in verify_file()164 double f = so_far / (double)signed_len; in verify_file()165 if (f > frac + 0.02 || size == so_far) { in verify_file()
478 size_t so_far = 0; in WriteToPartition() local479 while (so_far < to_read) { in WriteToPartition()480 ssize_t read_count = read(fd, buffer+so_far, to_read-so_far); in WriteToPartition()494 so_far += read_count; in WriteToPartition()