Home | History | Annotate | Download | only in recovery

Lines Matching defs:fp

502 void WearRecoveryUI::ShowFile(FILE* fp) {
504 offsets.push_back(ftell(fp));
508 fstat(fileno(fp), &sb);
514 static_cast<int>(100 * (double(ftell(fp)) / double(sb.st_size))),
527 fseek(fp, offsets.back(), SEEK_SET);
530 if (feof(fp)) {
533 offsets.push_back(ftell(fp));
539 int ch = getc(fp);
564 FILE* fp = fopen_path(filename, "re");
565 if (fp == nullptr) {
569 ShowFile(fp);
570 fclose(fp);