Lines Matching refs:fptr
40 FILE *fptr = fopen(ptr, "w+"); in mmap_0100() local
41 EXPECT_PTRNE("mmap_0100", fptr, NULL); in mmap_0100()
44 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0100()
45 fseek(fptr, 0L, SEEK_SET); in mmap_0100()
46 EXPECT_TRUE("mmap_0100", fgetc(fptr) != EOF); in mmap_0100()
48 fclose(fptr); in mmap_0100()
61 fptr = NULL; in mmap_0100()
77 FILE *fptr = fopen(ptr, "w+"); in mmap_0200() local
78 EXPECT_PTRNE("mmap_0200", fptr, NULL); in mmap_0200()
82 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0200()
83 fseek(fptr, 0L, SEEK_SET); in mmap_0200()
84 EXPECT_TRUE("mmap_0200", fgetc(fptr) != EOF); in mmap_0200()
87 fclose(fptr); in mmap_0200()
99 fptr = NULL; in mmap_0200()
131 FILE *fptr = fopen(ptr, "w+"); in mmap_0400() local
132 EXPECT_PTRNE("mmap_0400", fptr, NULL); in mmap_0400()
136 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0400()
137 fseek(fptr, 0L, SEEK_SET); in mmap_0400()
138 EXPECT_TRUE("mmap_0400", fgetc(fptr) != EOF); in mmap_0400()
141 fclose(fptr); in mmap_0400()
151 fptr = NULL; in mmap_0400()
168 FILE *fptr = fopen(ptr, "w+"); in mmap_0500() local
169 EXPECT_PTRNE("mmap_0500", fptr, NULL); in mmap_0500()
173 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0500()
174 fseek(fptr, 0L, SEEK_SET); in mmap_0500()
175 EXPECT_TRUE("mmap_0500", fgetc(fptr) != EOF); in mmap_0500()
178 fclose(fptr); in mmap_0500()
189 fptr = NULL; in mmap_0500()
206 FILE *fptr = fopen(ptr, "w+"); in mmap_0600() local
207 EXPECT_PTRNE("mmap_0600", fptr, NULL); in mmap_0600()
211 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0600()
212 fseek(fptr, 0L, SEEK_SET); in mmap_0600()
213 EXPECT_TRUE("mmap_0600", fgetc(fptr) != EOF); in mmap_0600()
216 fclose(fptr); in mmap_0600()
224 fptr = NULL; in mmap_0600()
241 FILE *fptr = fopen(ptr, "w+"); in mmap_0700() local
242 EXPECT_PTRNE("mmap_0700", fptr, NULL); in mmap_0700()
246 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0700()
247 fseek(fptr, 0L, SEEK_SET); in mmap_0700()
248 EXPECT_TRUE("mmap_0700", fgetc(fptr) != EOF); in mmap_0700()
251 fclose(fptr); in mmap_0700()
260 fptr = NULL; in mmap_0700()
277 FILE *fptr = fopen(ptr, "w+"); in mmap_0800() local
278 EXPECT_PTRNE("mmap_0800", fptr, NULL); in mmap_0800()
280 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0800()
281 fseek(fptr, 0L, SEEK_SET); in mmap_0800()
282 EXPECT_TRUE("mmap_0800", fgetc(fptr) != EOF); in mmap_0800()
284 fclose(fptr); in mmap_0800()
292 fptr = NULL; in mmap_0800()
308 FILE *fptr = fopen(ptr, "w+"); in mmap_0900() local
309 EXPECT_PTRNE("mmap_0900", fptr, NULL); in mmap_0900()
311 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0900()
312 fseek(fptr, 0L, SEEK_SET); in mmap_0900()
313 EXPECT_TRUE("mmap_0900", fgetc(fptr) != EOF); in mmap_0900()
315 fclose(fptr); in mmap_0900()
323 fptr = NULL; in mmap_0900()
340 FILE *fptr = fopen(ptr, "w+"); in mmap_1000() local
341 EXPECT_PTRNE("mmap_1000", fptr, NULL); in mmap_1000()
345 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_1000()
346 fseek(fptr, 0L, SEEK_SET); in mmap_1000()
347 EXPECT_TRUE("mmap_1000", fgetc(fptr) != EOF); in mmap_1000()
350 fclose(fptr); in mmap_1000()
359 fptr = NULL; in mmap_1000()
376 FILE *fptr = fopen(ptr, "w+"); in mmap_1100() local
377 EXPECT_PTRNE("mmap_1100", fptr, NULL); in mmap_1100()
381 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_1100()
382 fseek(fptr, 0L, SEEK_SET); in mmap_1100()
383 EXPECT_TRUE("mmap_1100", fgetc(fptr) != EOF); in mmap_1100()
386 fclose(fptr); in mmap_1100()
398 fptr = NULL; in mmap_1100()