Lines Matching defs:fp
57 FILE *fp)
80 fprintf(fp, ",%s", perm);
88 static int render_key(avtab_key_t *key, policydb_t *p, FILE *fp)
95 fprintf(fp, "%s,%s,%s", stype, ttype, tclass);
108 FILE *fp;
121 render_key(key, cb_data->policy, cb_data->fp);
122 render_access_mask(datum->data, key, cb_data->policy, cb_data->fp);
123 fprintf(cb_data->fp, "\n");
134 fprintf(cb_data->fp, "[Attribute %s]\n", key);
149 FILE *fp;
152 fp = fopen(filename, "r");
153 if (fp == NULL) {
161 pf.fp = fp;
183 fclose(fp);
198 FILE *fp;
211 fp = fopen(argv[2], "w");
212 if (fp == NULL) {
221 cb_data.fp = fp;
229 fclose(fp);