Lines Matching refs:fptr
52 FILE *fptr; variable
64 fptr = fdopen(fd, "w+"); in semanage_utilities_test_init()
65 if (!fptr) { in semanage_utilities_test_init()
70 fprintf(fptr, "one\ntwo\nthree\nsigma=foo\n#boo\n#bar\n"); in semanage_utilities_test_init()
72 rewind(fptr); in semanage_utilities_test_init()
297 if (!fptr) { in test_semanage_findval()
303 rewind(fptr); in test_semanage_findval()
307 rewind(fptr); in test_semanage_findval()
323 if (!fptr) { in test_slurp_file_filter()
326 rewind(fptr); in test_slurp_file_filter()
327 data = semanage_slurp_file_filter(fptr, PREDICATE); in test_slurp_file_filter()