Lines Matching defs:fp2
44 char *fp1 = NULL, *fp2 = NULL, *p1 = NULL, *p2 = NULL;
54 fp2 = malloc(l*2);
55 assert(NULL != fp2);
98 p2 = fp2;
112 *path2 = fp2;
132 char *fp1, *fp2;
224 mkfullpath(&fp1, &fp2, "aaa/file1", 0);
231 assertFileContents(fp2, strlen(fp2), "../list10");
233 free(fp2);
236 mkfullpath(&fp1, &fp2, "aaa/file1", 1);
243 assertFileContents(fp2, strlen(fp2), "../list11");
245 free(fp2);
248 mkfullpath(&fp1, &fp2, "aaa/file1", 2);
255 assertFileContents(fp2, strlen(fp2), "../list12");
257 free(fp2);
260 mkfullpath(&fp1, &fp2, "aaa/file1", 3);
267 assertFileContents(fp2, strlen(fp2), "../list13");
269 free(fp2);
272 mkfullpath(&fp1, &fp2, "aaa/file1", 4);
279 assertFileContents(fp2, strlen(fp2), "../list14");
281 free(fp2);
284 mkfullpath(&fp1, &fp2, "aaa/file1", 5);
291 assertFileContents(fp2, strlen(fp2), "../list15");
293 free(fp2);
296 mkfullpath(&fp1, &fp2, "aaa/file1", 6);
297 failure("fp1=%s, fp2=%s", fp1, fp2);
304 assertFileContents(fp2, strlen(fp2), "../list16");
306 free(fp2);
309 mkfullpath(&fp1, &fp2, "aaa/file1", 7);
310 failure("fp1=%s, fp2=%s", fp1, fp2);
317 assertFileContents(fp2, strlen(fp2), "../list17");
319 free(fp2);