Lines Matching refs:f
218 double f = so_far / (double)signed_len; in verify_file() local
219 if (f > frac + 0.02 || size == so_far) { in verify_file()
220 ui->SetProgress(f); in verify_file()
221 frac = f; in verify_file()
332 FILE* f = fopen(filename, "r"); in load_keys() local
333 if (f == NULL) { in load_keys()
348 if (fscanf(f, " %c", &start_char) != 1) goto exit; in load_keys()
357 if (fscanf(f, "%d {", &version) != 1) goto exit; in load_keys()
389 if (fscanf(f, " %i , 0x%x , { %u", in load_keys()
398 if (fscanf(f, " , %u", &(key->n[i])) != 1) goto exit; in load_keys()
400 if (fscanf(f, " } , { %u", &(key->rr[0])) != 1) goto exit; in load_keys()
402 if (fscanf(f, " , %u", &(key->rr[i])) != 1) goto exit; in load_keys()
404 fscanf(f, " } } "); in load_keys()
413 if (fscanf(f, " %i , { %u", &key_len, &byte) != 2) goto exit; in load_keys()
420 if (fscanf(f, " , %u", &byte) != 1) goto exit; in load_keys()
423 if (fscanf(f, " } , { %u", &byte) != 1) goto exit; in load_keys()
426 if (fscanf(f, " , %u", &byte) != 1) goto exit; in load_keys()
429 fscanf(f, " } } "); in load_keys()
438 switch (fgetc(f)) { in load_keys()
454 fclose(f); in load_keys()
458 if (f) fclose(f); in load_keys()