Home
last modified time | relevance | path

Searched refs:dir2 (Results 1 - 25 of 36) sorted by relevance

12

/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/
H A Dfs_bind_cloneNS02.sh17 mkdir dir2
18 EXPECT_PASS mount --bind dir1 dir2
19 EXPECT_PASS mount --make-slave dir2
24 fs_bind_check dir1/a dir2/a
25 EXPECT_PASS mount --bind "$FS_BIND_DISK3" dir2/b
26 fs_bind_check -n dir1/b dir2/b
29 fs_bind_check -s "$FS_BIND_DISK2" dir1/a dir2/a
30 fs_bind_check -s -n "$FS_BIND_DISK3" dir2/b
33 fs_bind_check -s dir1/c dir2/c
35 fs_bind_exec_ns umount $PWD/dir2/
[all...]
H A Dfs_bind_cloneNS06.sh16 mkdir dir1/x dir2 dir3 dir4
18 EXPECT_PASS mount --rbind dir1 dir2
19 EXPECT_PASS mount --make-rslave dir2
20 EXPECT_PASS mount --make-rshared dir2
22 EXPECT_PASS mount --rbind dir2 dir3
33 fs_bind_check dir1/x dir2/x dir3/x dir4/x
35 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" dir2/x/a
36 fs_bind_check -n dir1/x/a dir2/x/a
37 fs_bind_check dir2/x/a dir3/x/a dir4/x/a
40 fs_bind_check -s dir1/x dir2/
[all...]
H A Dfs_bind_cloneNS01.sh15 fs_bind_makedir rshared dir2
18 EXPECT_PASS mount --bind dir1 dir2
22 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir2/a
23 fs_bind_check dir1/a dir2/a
25 fs_bind_check -s "$FS_BIND_DISK2" dir1/a dir2/a
27 fs_bind_check -s dir1/b dir2/b
30 EXPECT_PASS umount dir2/a
31 EXPECT_PASS umount dir2
33 EXPECT_PASS umount dir2
/third_party/ltp/testcases/kernel/fs/fs_bind/
H A Dfs_bind_regression.sh26 mkdir dir2
29 EXPECT_PASS mount --rbind dir1 dir2
31 fs_bind_check dir1/a dir2/a
34 EXPECT_PASS umount dir2/a
35 EXPECT_PASS umount dir2
44 mkdir dir2
47 EXPECT_PASS mount --move dir1 dir2
49 fs_bind_check dir2/a "$FS_BIND_DISK2"
51 EXPECT_PASS umount dir2/a
52 EXPECT_PASS umount dir2
[all...]
H A Dfs_bind_lib.sh70 local OPTIND expect_diff use_ns args msg dir1 dir2 fail output
96 for dir2 in "$@"; do
102 elif [ ! -d "$dir2" ]; then
107 tst_res TFAIL "$msg: \"$dir2\" does not exist"
113 output="$(tst_ns_exec ${FS_BIND_MNTNS_PID} mnt diff -r "$PWD/$dir1" "$PWD/$dir2" 2> /dev/null)"
115 output="$(diff -r "$dir1" "$dir2" 2> /dev/null)"
126 tst_res TFAIL "\"$dir1\" \"$dir2\" differ:\n$output"
130 dir1="$dir2"
/third_party/ltp/testcases/kernel/fs/fs_bind/rbind/
H A Dfs_bind_rbind33.sh16 mkdir dir1/x dir2 dir3 dir4
18 EXPECT_PASS mount --rbind dir1 dir2
19 EXPECT_PASS mount --make-rslave dir2
20 EXPECT_PASS mount --make-shared dir2
22 EXPECT_PASS mount --rbind dir2 dir3
31 fs_bind_check dir1/x dir2/x dir3/x dir4/x
33 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" dir2/x/a
34 fs_bind_check -n dir1/x/a dir2/x/a
35 fs_bind_check dir2/x/a dir3/x/a dir4/x/a
39 fs_bind_check -n dir2/
[all...]
/third_party/ltp/testcases/kernel/fs/fs_bind/bind/
H A Dfs_bind21.sh16 mkdir dir1/x dir2 dir3 dir4
18 EXPECT_PASS mount --bind dir1 dir2
19 EXPECT_PASS mount --make-rslave dir2
20 EXPECT_PASS mount --make-rshared dir2
22 EXPECT_PASS mount --bind dir2 dir3
30 fs_bind_check dir1/x dir2/x dir3/x dir4/x
32 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir2/x/a
33 fs_bind_check -n dir1/x/a dir2/x/a
34 fs_bind_check dir2/x/a dir3/x/a dir4/x/a
38 fs_bind_check -n dir2/
[all...]
H A Dfs_bind24.sh15 mkdir dir1/1 dir1/1/2 dir1/1/2/3 dir1/1/2/fs_bind_check dir2 dir3 dir4
18 EXPECT_PASS mount --bind dir1/1/2 dir2
25 EXPECT_PASS mount --bind dir4 dir2/fs_bind_check
28 EXPECT_PASS umount dir2/fs_bind_check
30 EXPECT_PASS umount dir2
/third_party/node/test/parallel/
H A Dtest-fs-mkdir.js270 const dir2 = nextdir();
272 const pathname = path.join(tmpdir.path, dir1, dir2);
285 const dir2 = nextdir();
286 const pathname = path.join(tmpdir.path, dir1, dir2);
299 const dir2 = nextdir();
300 const pathname = path.join(tmpdir.path, dir1, dir2);
301 fs.mkdirSync(path.join(tmpdir.path, dir1, dir2), common.mustNotMutateObjectDeep({ recursive: true }));
313 const dir2 = nextdir();
315 const pathname = path.join(tmpdir.path, dir1, dir2);
325 const dir2
[all...]
/third_party/ltp/testcases/kernel/fs/mongo/
H A Dmongo.pl232 my ($phase_num, $phase_name, $cmd, $dir1, $dir2, $flag, $processes) = @_ ;
262 $com .= "$cmd $dir1-$i-$j $dir2-$i-$j";
275 #$com .= " & $cmd $dir2-$i-$j "."-type d -exec mv {} {}.r ';'";
279 $com .= "$cmd $dir1-$i-$j & $cmd $dir2-$i-$j";
282 $com .= "$cmd $dir1-$i-$j ; $cmd $dir2-$i-$j";
402 $dir2 = "$TESTDIR/testdir2";
415 mongo_launcher ( 1, "Create", $cmd_1, $dir1, $dir2, $flag, $p); # phase 1
416 mongo_launcher ( 2, "Copy ", $cmd_2, $dir1, $dir2, $flag, $p); # phase 2
417 mongo_launcher ( 3, "Slinks", $cmd_3, $dir1, $dir2, $flag, $p); # phase 3
418 mongo_launcher ( 4, "Read ", $cmd_4, $dir1, $dir2,
[all...]
/third_party/ltp/testcases/kernel/fs/fs_inod/
H A Dfs_inod155 echo "$0: creating dir2 subdirectories"
156 [ -d dir2 ] || { \
157 mkdir -p dir2 || end_testcase "mkdir dir2 failed"
159 cd dir2 || err_log "cd dir2 FAILED"
160 make_subdirs || err_log "make_subdirs on dir2 FAILED"
190 echo "$0: cd ../dir2 & creating files"
191 cd ../dir2
196 echo "$0: cd ../dir2
[all...]
/third_party/python/Lib/test/test_tools/
H A Dtest_lll.py21 tempfile.TemporaryDirectory() as dir2:
23 fn2 = os.path.join(dir2, 'foo2')
24 for fn, dir in (fn1, dir1), (fn2, dir2):
29 self.lll.main([dir1, dir2])
35 f'{dir2}:\n'
/third_party/ltp/testcases/kernel/fs/fs-bench/
H A Dcreate-files.c32 char dir2[MAXN]; in main() local
55 sprintf(dir2, "%2.2x", j); in main()
56 makedir(dir2); in main()
57 changedir(dir2); in main()
64 dir2, dir3, l); in main()
/third_party/node/test/sequential/
H A Dtest-diagnostic-dir-heap-prof.js95 const dir2 = path.join(tmpdir.path, 'prof');
103 dir2,
113 assert(fs.existsSync(dir2));
114 const profiles = getHeapProfiles(dir2);
/third_party/ltp/testcases/network/nfs/nfs_stress/
H A Dnfs03.sh58 tst_res TINFO "creating dir2 subdirectories & files"
59 ROD mkdir -p dir2
60 cd dir2
71 tst_res TINFO "cd dir2 & removing files"
72 cd ../dir2
/third_party/musl/libc-test/src/functionalext/supplement/dirent/dirent_gtest/
H A Ddirent_opendir_test.cpp22 dirent* dir2 = readdir(dir); in HWTEST_F() local
23 EXPECT_EQ(strcmp(dir2->d_name, "."), 0); in HWTEST_F()
/third_party/ltp/testcases/kernel/fs/fs_readonly/
H A Dtest_robind.sh30 # b) mount --bind dir2
47 DIRS="dir1 dir2-bound dir3-ro"
82 umount dir2-bound
84 tst_resm TWARN "umount dir2-bound failed"
220 mount --bind dir1 dir2-bound
222 tst_brkm TBROK "mount --bind dir1 dir2-bound failed"
240 testdir dir2-bound $fstype false
/third_party/musl/libc-test/src/functionalext/supplement/dirent/
H A Dopendir.c73 DIR *dir2 = opendir("/does/not/exit/folder"); in opendir_0200() local
74 if (dir2) { in opendir_0200()
/third_party/eudev/src/udev/
H A Dudevadm-info.c212 _cleanup_closedir_ DIR *dir2; in cleanup_dir() local
214 dir2 = fdopendir(openat(dirfd(dir), dent->d_name, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC)); in cleanup_dir()
215 if (dir2 != NULL) in cleanup_dir()
216 cleanup_dir(dir2, mask, depth-1); in cleanup_dir()
/third_party/libinput/src/
H A Devdev-mt-touchpad-gestures.c275 tp_gesture_same_directions(int dir1, int dir2) in tp_gesture_same_directions() argument
284 return ((dir1 | (dir1 >> 1)) & dir2) || in tp_gesture_same_directions()
285 ((dir2 | (dir2 >> 1)) & dir1) || in tp_gesture_same_directions()
286 ((dir1 & 0x80) && (dir2 & 0x01)) || in tp_gesture_same_directions()
287 ((dir2 & 0x80) && (dir1 & 0x01)); in tp_gesture_same_directions()
869 uint32_t dir1, dir2; in tp_gesture_detect_motion_gestures() local
1002 dir2 = tp_gesture_get_direction(tp, second); in tp_gesture_detect_motion_gestures()
1008 tp_gesture_same_directions(dir1, dir2)) { in tp_gesture_detect_motion_gestures()
1029 uint32_t dir1, dir2; in tp_gesture_is_pinch() local
[all...]
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
H A Dmain.c248 char dir2[MAXN]; in do_create_file_test() local
273 sprintf(dir2, "%2.2x", j); in do_create_file_test()
275 makedir(dir2); in do_create_file_test()
277 changedir(dir2); in do_create_file_test()
287 dir2, dir3, l); in do_create_file_test()
/third_party/skia/src/utils/
H A DSkPolyUtils.cpp741 int dir2 = (top->fChild[1] == grandparent); in insert() local
743 top->fChild[dir2] = SingleRotation(grandparent, !last); in insert()
745 top->fChild[dir2] = DoubleRotation(grandparent, !last); in insert()
755 int dir2 = (top->fChild[1] == grandparent); in insert() local
757 top->fChild[dir2] = SingleRotation(grandparent, !last); in insert()
759 top->fChild[dir2] = DoubleRotation(grandparent, !last); in insert()
911 int dir2 = (grandparent->fChild[1] == parent); in remove() local
914 grandparent->fChild[dir2] = DoubleRotation(parent, last); in remove()
916 grandparent->fChild[dir2] = SingleRotation(parent, last); in remove()
920 curr->fRed = grandparent->fChild[dir2] in remove()
[all...]
/third_party/littlefs/
H A Dlfs.c5373 lfs_mdir_t dir2 = {.split=true, .tail={cwd[0], cwd[1]}}; local
5374 while (dir2.split) {
5375 err = lfs_dir_fetch(lfs, &dir2, dir2.tail);
5381 err = cb(data, dir2.pair[i]);
5523 lfs_mdir_t dir2; local
5534 err = lfs_dir_alloc(lfs, &dir2);
5539 dir2.rev = dir1.d.rev;
5542 lfs->root[0] = dir2.pair[0];
5543 lfs->root[1] = dir2
[all...]
/third_party/ffmpeg/libavcodec/
H A Dvc1_block.c2198 int dir, dir2; in vc1_decode_b_mb_intfr() local
2390 dir2 = dir; in vc1_decode_b_mb_intfr()
2392 dir2 = !dir; in vc1_decode_b_mb_intfr()
2402 ff_vc1_pred_mv_intfr(v, 2, dmv_x, dmv_y, 2, v->range_x, v->range_y, dir2); in vc1_decode_b_mb_intfr()
2408 s->mv[dir2][i+2][0] = s->mv[dir2][i][0] = s->current_picture.motion_val[dir2][s->block_index[i]][0] = s->current_picture.motion_val[dir2][s->block_index[i+2]][0]; in vc1_decode_b_mb_intfr()
2409 s->mv[dir2][i+2][1] = s->mv[dir2][ in vc1_decode_b_mb_intfr()
2490 int dir2 = dir; vc1_decode_b_mb_intfr() local
[all...]
/third_party/skia/tests/
H A DPathBuilderTest.cpp125 SkPathDirection dir2; in DEF_TEST() local
126 REPORTER_ASSERT(reporter, bp.isRect(&r2, &closed, &dir2)); in DEF_TEST()
129 REPORTER_ASSERT(reporter, dir == dir2); in DEF_TEST()

Completed in 20 milliseconds

12