Lines Matching refs:p
214 char* p = (char*)file->data; in LoadPartitionContents() local
226 read = mtd_read_data(ctx, p, next); in LoadPartitionContents()
230 read = fread(p, 1, next, dev); in LoadPartitionContents()
240 SHA_update(&sha_ctx, p, read); in LoadPartitionContents()
266 p += read; in LoadPartitionContents()
478 size_t p; in WriteToPartition() local
479 for (p = 0; p < len; p += sizeof(buffer)) { in WriteToPartition()
480 size_t to_read = len - p; in WriteToPartition()
489 partition, p, strerror(errno)); in WriteToPartition()
494 partition, p, read_count, to_read, strerror(errno)); in WriteToPartition()
499 if (memcmp(buffer, data+p, to_read)) { in WriteToPartition()
500 printf("verification failed starting at %zu\n", p); in WriteToPartition()
501 start = p; in WriteToPartition()