Lines Matching defs:fp
428 FILE *fp;
438 fp = fopen(CALIB_FILE,"wb");
439 if (!fp) {
447 fwrite(&status.r0[i], sizeof(status.r0[i]), 1, fp);
448 fwrite(&protCfg.t0[i], sizeof(protCfg.t0[i]), 1, fp);
450 fclose(fp);
528 FILE *fp;
564 fp = fopen(CALIB_FILE,"rb");
565 if (fp) {
577 fread(&protCfg.r0[i], sizeof(protCfg.r0[i]), 1, fp);
578 fread(&protCfg.t0[i], sizeof(protCfg.t0[i]), 1, fp);
584 fclose(fp);