Lines Matching refs:pfile
1335 readarcs(FILE *pfile) in readarcs() argument
1355 sizeof (L_cgarc64), 1, pfile) != 1) in readarcs()
1374 sizeof (L_cgarc), 1, pfile) != 1) in readarcs()
1389 pfile) != 1) { in readarcs()
1400 1, pfile) != 1) in readarcs()
1425 readsamples(FILE *pfile) in readsamples() argument
1442 (void) fread(&sample, sizeof (unsigned_UNIT), 1, pfile); in readsamples()
1443 if (feof(pfile)) in readsamples()
1456 handle_versioned(FILE *pfile, char *filename, size_t *fsz) in handle_versioned() argument
1469 if (fread(&prof_hdr, sizeof (ProfHeader), 1, pfile) == 0) { in handle_versioned()
1491 (void) fclose(pfile); in handle_versioned()
1533 FILE *pfile; in openpfile() local
1539 if ((pfile = fopen(filename, "r")) == NULL) { in openpfile()
1549 if (fread(&magic_num, sizeof (unsigned int), 1, pfile) == 0) { in openpfile()
1554 rewind(pfile); in openpfile()
1567 return (handle_versioned(pfile, filename, fsz)); in openpfile()
1605 if (fread(&l_hdr64, sizeof (L_hdr64), 1, pfile) == 0) { in openpfile()
1629 if (fread(&l_hdr, sizeof (L_hdr), 1, pfile) == 0) { in openpfile()
1647 if (fread(&tmp, sizeof (struct hdr), 1, pfile) == 0) { in openpfile()
1658 if (fread(&hdr32, sizeof (hdr32), 1, pfile) == 0) { in openpfile()
1714 return ((void *) pfile); in openpfile()