Home
last modified time | relevance | path

Searched refs:fdir (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/rename/
Drename06.c75 char fdir[255], mdir[255]; variable
103 TEST(rename(fdir, mdir)); in main()
107 fdir, mdir); in main()
136 sprintf(fdir, "./tdir_%d", getpid()); in setup()
137 sprintf(mdir, "%s/rndir_%d", fdir, getpid()); in setup()
140 if (stat(fdir, &buf1) != -1) { in setup()
141 tst_brkm(TBROK, cleanup, "tmp directory %s found!", fdir); in setup()
143 SAFE_MKDIR(cleanup, fdir, 00770); in setup()
144 SAFE_STAT(cleanup, fdir, &buf1); in setup()
Drename07.c57 char mname[255], fdir[255]; variable
85 TEST(rename(fdir, mname)); in main()
89 fdir, mname); in main()
118 sprintf(fdir, "./rndir_%d", getpid()); in setup()
122 if (stat(fdir, &buf1) != -1) { in setup()
123 tst_brkm(TBROK, cleanup, "tmp directory %s found!", fdir); in setup()
126 SAFE_MKDIR(cleanup, fdir, 00770); in setup()
128 SAFE_STAT(cleanup, fdir, &buf1); in setup()
Drename12.c87 char fdir[255]; variable
192 sprintf(fdir, "./tdir_%d", getpid()); in setup()
193 sprintf(fname, "%s/tfile_%d", fdir, getpid()); in setup()
194 sprintf(mname, "%s/rnfile_%d", fdir, getpid()); in setup()
197 SAFE_MKDIR(cleanup, fdir, PERMS); in setup()
199 SAFE_STAT(cleanup, fdir, &buf1); in setup()
202 if (chmod(fdir, buf1.st_mode | S_ISVTX) != 0) { in setup()
Drename04.c77 char fdir[255], mdir[255]; variable
106 TEST(rename(fdir, mdir)); in main()
110 fdir, mdir); in main()
146 sprintf(fdir, "./tdir_%d", getpid()); in setup()
151 SAFE_MKDIR(cleanup, fdir, 00770); in setup()
153 SAFE_STAT(cleanup, fdir, &buf1); in setup()
Drename01.c84 char fdir[255], mdir[255]; variable
101 fdir, mdir, "directory", &d_olddev, &d_oldino}
165 SAFE_RENAME(cleanup, mdir, fdir); in main()
188 sprintf(fdir, "./tdir_%d", getpid()); in setup()
199 SAFE_MKDIR(cleanup, fdir, 00770); in setup()
201 SAFE_STAT(cleanup, fdir, &buf1); in setup()
Drename03.c82 char fdir[255], mdir[255]; variable
96 fdir, mdir, "directory", &d_olddev, &d_oldino}
189 sprintf(fdir, "./tdir_%d", getpid()); in setup()
209 SAFE_MKDIR(cleanup, fdir, 00770); in setup2()
210 SAFE_STAT(cleanup, fdir, &buf1); in setup2()
/third_party/quickjs/tests/
Dtest_std.js144 var fd, fpath, fname, fdir, buf, buf2, i, files, err, fdate, st, link_path;
148 fdir = "test_tmp_dir";
150 fpath = fdir + "/" + fname;
151 link_path = fdir + "/test_link";
155 os.remove(fdir);
157 err = os.mkdir(fdir, 0o755);
183 [files, err] = os.readdir(fdir);
223 assert(os.remove(fdir) === 0);
/third_party/skia/third_party/externals/microhttpd/
Daclocal.m4601 fdir=`AS_DIRNAME(["$file"])`
602 AS_MKDIR_P([$dirpart/$fdir])
Dconfigure18678 as_dir=$dirpart/$fdir; as_fn_mkdir_p