Lines Matching refs:pfile
226 FILE *pfile; in handle_file() local
231 pfile = fileargs_fopen(fa, name, "rb"); in handle_file()
232 if (pfile == NULL) { in handle_file()
237 rt = handle_elf(name, pfile); in handle_file()
238 fclose(pfile); in handle_file()
247 handle_binary(const char *name, FILE *pfile, size_t size) in handle_binary() argument
250 (void)fseeko(pfile, 0, SEEK_SET); in handle_binary()
251 return (find_strings(name, pfile, 0, size)); in handle_binary()
261 handle_elf(const char *name, FILE *pfile) in handle_elf() argument
271 fd = fileno(pfile); in handle_elf()
277 return (handle_binary(name, pfile, buf.st_size)); in handle_elf()
283 return (handle_binary(name, pfile, buf.st_size)); in handle_elf()
294 return (handle_binary(name, pfile, buf.st_size)); in handle_elf()
302 rc = find_strings(name, pfile, shdr.sh_offset, in handle_elf()
316 getcharacter(FILE *pfile, long *rt) in getcharacter() argument
322 c = getc(pfile); in getcharacter()
360 find_strings(const char *name, FILE *pfile, off_t offset, off_t size) in find_strings() argument
373 (void)fseeko(pfile, offset, SEEK_SET); in find_strings()
382 if (getcharacter(pfile, &c) < 0) in find_strings()
424 if (getcharacter(pfile, &c) < 0) in find_strings()