Lines Matching defs:fn
297 char fn[] = "/tmp/test-write_string_stream-XXXXXX";
302 fd = mkostemp_safe(fn, O_RDWR);
309 f = freopen(fn, "r+", f);
318 f = freopen(fn, "w+", f);
328 unlink(fn);
332 char fn[] = "/tmp/test-write_string_file-XXXXXX";
336 fd = mkostemp_safe(fn, O_RDWR);
339 assert_se(write_string_file(fn, "boohoo", WRITE_STRING_FILE_CREATE) == 0);
344 unlink(fn);
348 char fn[] = "/tmp/test-write_string_file_no_create-XXXXXX";
352 fd = mkostemp_safe(fn, O_RDWR);
356 assert_se(write_string_file(fn, "boohoo", 0) == 0);
361 unlink(fn);
385 char fn[] = "/tmp/test-load_env_file_pairs-XXXXXX";
392 fd = mkostemp_safe(fn, O_RDWR);
395 r = write_string_file(fn,
409 r = load_env_file_pairs(f, fn, NULL, &l);
425 unlink(fn);