Lines Matching refs:rename
1838 if (rename(oldpath, newpath)) in test_rename()
1877 ASSERT_EQ(-1, rename(file1_s2d3, file1_s1d3)); in TEST_F_FORK()
1890 ASSERT_EQ(-1, rename(file1_s2d1, file1_s1d3)); in TEST_F_FORK()
1904 ASSERT_EQ(-1, rename(dir_s2d2, file1_s2d1)); in TEST_F_FORK()
1910 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK()
1914 ASSERT_EQ(-1, rename(file1_s2d2, file1_s1d2)); in TEST_F_FORK()
1917 ASSERT_EQ(-1, rename(file1_s2d1, file1_s1d3)); in TEST_F_FORK()
1923 ASSERT_EQ(0, rename(file2_s2d3, file1_s2d3)); in TEST_F_FORK()
1961 ASSERT_EQ(-1, rename(dir_s2d3, dir_s1d3)); in TEST_F_FORK()
1975 ASSERT_EQ(-1, rename(dir_s1d2, file1_s1d1)); in TEST_F_FORK()
1981 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK()
1992 ASSERT_EQ(0, rename(file1_s1d2, dir_s1d3)); in TEST_F_FORK()
2016 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d1)); in TEST_F_FORK()
2018 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d2)); in TEST_F_FORK()
2020 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d3)); in TEST_F_FORK()
2023 ASSERT_EQ(-1, rename(dir_s1d3, dir_s2d1)); in TEST_F_FORK()
2025 ASSERT_EQ(-1, rename(dir_s1d3, dir_s2d2)); in TEST_F_FORK()
2031 ASSERT_EQ(-1, rename(dir_s1d3, dir_s2d3)); in TEST_F_FORK()
2035 ASSERT_EQ(0, rename(dir_s1d3, dir_s2d3)); in TEST_F_FORK()
2265 ASSERT_EQ(-1, rename(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
2273 ASSERT_EQ(-1, rename(file1_s2d1, file1_s1d2)); in TEST_F_FORK()
2287 ASSERT_EQ(-1, rename(file1_s2d1, file1_s1d3)); in TEST_F_FORK()
2295 ASSERT_EQ(-1, rename(file1_s2d2, file1_s1d1)); in TEST_F_FORK()
2298 ASSERT_EQ(-1, rename(file1_s2d2, file1_s1d2)); in TEST_F_FORK()
2306 ASSERT_EQ(0, rename(file1_s2d2, file1_s1d3)); in TEST_F_FORK()
2309 ASSERT_EQ(-1, rename(file1_s1d3, file1_s2d2)); in TEST_F_FORK()
2312 ASSERT_EQ(0, rename(file1_s1d3, file1_s2d3)); in TEST_F_FORK()
2315 ASSERT_EQ(0, rename(file1_s2d3, file1_s1d3)); in TEST_F_FORK()
2318 ASSERT_EQ(0, rename(file1_s1d3, file1_s2d3)); in TEST_F_FORK()
2324 ASSERT_EQ(0, rename(file1_s2d3, file1_s1d3)); in TEST_F_FORK()
2325 ASSERT_EQ(0, rename(file1_s1d3, file1_s2d3)); in TEST_F_FORK()
2334 ASSERT_EQ(0, rename(dir_s2d3, file1_s1d3)); in TEST_F_FORK()
2335 ASSERT_EQ(0, rename(file1_s1d3, dir_s2d3)); in TEST_F_FORK()
2346 ASSERT_EQ(-1, rename(file1_s2d3, dir_s1d3)); in TEST_F_FORK()
2349 ASSERT_EQ(-1, rename(file2_s1d2, file1_s1d3)); in TEST_F_FORK()
2351 ASSERT_EQ(-1, rename(file2_s1d3, file1_s1d2)); in TEST_F_FORK()
2355 ASSERT_EQ(0, rename(file2_s1d2, file1_s1d2)); in TEST_F_FORK()
2356 ASSERT_EQ(0, rename(file2_s1d3, file1_s1d3)); in TEST_F_FORK()
2360 ASSERT_EQ(-1, rename(dir_s2d3, file1_s1d2)); in TEST_F_FORK()
2365 ASSERT_EQ(-1, rename(dir_s2d2, file1_s1d3)); in TEST_F_FORK()
2434 ASSERT_EQ(0, rename(dir_s1d3, file1_s2d2)); in TEST_F_FORK()
2435 ASSERT_EQ(0, rename(file1_s2d2, dir_s1d3)); in TEST_F_FORK()
2442 ASSERT_EQ(0, rename(dir_s1d3, file1_s2d3)); in TEST_F_FORK()
2443 ASSERT_EQ(0, rename(file1_s2d3, dir_s1d3)); in TEST_F_FORK()
2450 ASSERT_EQ(0, rename(file1_s1d3, file1_s2d3)); in TEST_F_FORK()
2458 ASSERT_EQ(-1, rename(dir_s1d3, file1_s2d2)); in TEST_F_FORK()
2465 ASSERT_EQ(-1, rename(dir_s1d3, file1_s2d3)); in TEST_F_FORK()
2473 ASSERT_EQ(-1, rename(file2_s1d3, file1_s2d3)); in TEST_F_FORK()
2482 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d2)); in TEST_F_FORK()
2484 ASSERT_EQ(-1, rename(file1_s1d2, file1_s2d2)); in TEST_F_FORK()
2486 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d3)); in TEST_F_FORK()
2489 ASSERT_EQ(0, rename(file1_s1d2, file1_s2d3)); in TEST_F_FORK()
2492 ASSERT_EQ(-1, rename(dir_s1d1, file1_s2d2)); in TEST_F_FORK()
2494 ASSERT_EQ(-1, rename(dir_s1d2, file1_s2d2)); in TEST_F_FORK()
2500 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d2)); in TEST_F_FORK()
2503 ASSERT_EQ(-1, rename(file2_s1d2, file1_s2d2)); in TEST_F_FORK()
2505 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d3)); in TEST_F_FORK()
2511 ASSERT_EQ(-1, rename(file2_s1d2, file1_s2d3)); in TEST_F_FORK()
2515 ASSERT_EQ(-1, rename(dir_s1d1, file1_s2d2)); in TEST_F_FORK()
2517 ASSERT_EQ(-1, rename(dir_s1d2, file1_s2d2)); in TEST_F_FORK()
2700 ASSERT_EQ(-1, rename(file1_s1d1, dir_s2d2)); in TEST_F_FORK()
2702 ASSERT_EQ(-1, rename(dir_s2d2, file1_s1d1)); in TEST_F_FORK()
2712 ASSERT_EQ(-1, rename(file1_s2d1, dir_s1d2)); in TEST_F_FORK()
2714 ASSERT_EQ(-1, rename(dir_s1d2, file1_s2d1)); in TEST_F_FORK()
2716 ASSERT_EQ(-1, rename(dir_s1d3, file1_s2d1)); in TEST_F_FORK()
2721 ASSERT_EQ(0, rename(dir_s1d3, file1_s2d1)); in TEST_F_FORK()
2773 ASSERT_EQ(-1, rename(file1_s1d2, file1_s2d1)); in TEST_F_FORK()
2779 ASSERT_EQ(-1, rename(file1_s1d2, file1_s2d3)); in TEST_F_FORK()
2786 ASSERT_EQ(0, rename(file1_s1d2, file1_s2d2)); in TEST_F_FORK()
2787 ASSERT_EQ(0, rename(file1_s2d2, file1_s1d2)); in TEST_F_FORK()
2789 ASSERT_EQ(-1, rename(dir_s1d3, file1_s2d1)); in TEST_F_FORK()
2795 ASSERT_EQ(-1, rename(dir_s1d3, file1_s2d3)); in TEST_F_FORK()
2802 ASSERT_EQ(0, rename(dir_s1d3, file1_s2d2)); in TEST_F_FORK()
2803 ASSERT_EQ(0, rename(file1_s2d2, dir_s1d3)); in TEST_F_FORK()
2811 ASSERT_EQ(0, rename(file1_s2d3, file2_s1d2)); in TEST_F_FORK()
2812 ASSERT_EQ(-1, rename(file2_s1d2, file1_s2d3)); in TEST_F_FORK()
2820 ASSERT_EQ(0, rename(dir_s2d3, file2_s1d2)); in TEST_F_FORK()
2821 ASSERT_EQ(-1, rename(file2_s1d2, dir_s2d3)); in TEST_F_FORK()
2922 ASSERT_EQ(-1, rename(file2_s1d1, file1_s1d1)); in test_make_file()
2932 ASSERT_EQ(0, rename(file1_s1d2, file2_s1d2)); in test_make_file()
2937 ASSERT_EQ(0, rename(file1_s1d3, file2_s1d3)); in test_make_file()
3007 ASSERT_EQ(-1, rename(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
3013 ASSERT_EQ(0, rename(file1_s1d2, file2_s1d2)); in TEST_F_FORK()
3018 ASSERT_EQ(0, rename(file1_s1d3, file2_s1d3)); in TEST_F_FORK()
3396 ASSERT_EQ(-1, rename(file1_s1d1, file1_s1d2)); in TEST_F_FORK()
3400 ASSERT_EQ(-1, rename(file1_s2d1, file1_s2d2)); in TEST_F_FORK()
3404 ASSERT_EQ(-1, rename(file1_s2d2, bind_file1_s1d3)); in TEST_F_FORK()
3408 ASSERT_EQ(0, rename(bind_file1_s1d3, file1_s2d2)); in TEST_F_FORK()