Lines Matching refs:cpath

58 	const char *	cpath;
264 const char *filename = testEntry->cpath;
304 CPPUNIT_ASSERT( path == testEntry->cpath );
314 CPPUNIT_ASSERT( path == testEntry->super->cpath );
323 CPPUNIT_ASSERT( path == testEntry->super->cpath );
340 //printf("%s\n", testEntry->cpath);
341 BEntry entry(testEntry->cpath, traverse);
352 //printf("%s\n", testEntry->cpath);
353 if (chdir(testEntry->super->cpath) == 0) {
374 //printf("%s\n", testEntry->cpath);
396 //printf("%s\n", testEntry->cpath);
399 BEntry entry(&dir, testEntry->cpath, traverse);
413 //printf("%s + %s\n", testEntry->super->cpath, testEntry->cname);
414 BDirectory dir(testEntry->super->cpath);
430 //printf("%s + %s\n", testEntry->super->super->cpath, entryName.c_str());
431 BDirectory dir(testEntry->super->super->cpath);
787 BDirectory dir(badEntry1.cpath);
821 //printf("%s\n", testEntry->cpath);
822 status_t result = entry.SetTo(testEntry->cpath, traverse);
833 //printf("%s\n", testEntry->cpath);
834 if (chdir(testEntry->super->cpath) == 0) {
856 //printf("%s\n", testEntry->cpath);
879 //printf("%s\n", testEntry->cpath);
882 status_t result = entry.SetTo(&dir, testEntry->cpath, traverse);
896 //printf("%s + %s\n", testEntry->super->cpath, testEntry->cname);
897 BDirectory dir(testEntry->super->cpath);
913 //printf("%s + %s\n", testEntry->super->super->cpath, entryName.c_str());
914 BDirectory dir(testEntry->super->super->cpath);
1263 BDirectory dir(badEntry1.cpath);
1309 CPPUNIT_ASSERT( entry.SetTo(badEntry1.cpath) == B_ENTRY_NOT_FOUND );
1327 CPPUNIT_ASSERT( entry.SetTo(badEntry1.cpath) == B_ENTRY_NOT_FOUND );
1335 BDirectory dir(tooLongDir16.super->super->cpath);
1339 CPPUNIT_ASSERT( path == tooLongDir16.cpath );
1352 CPPUNIT_ASSERT( entry.SetTo(badEntry1.cpath) == B_ENTRY_NOT_FOUND );
1365 CPPUNIT_ASSERT( entry.SetTo(badEntry1.cpath) == B_ENTRY_NOT_FOUND );
1383 CPPUNIT_ASSERT( entry.SetTo(badEntry1.cpath) == B_ENTRY_NOT_FOUND );
1401 CPPUNIT_ASSERT( entry.SetTo(badEntry1.cpath) == B_ENTRY_NOT_FOUND );
1435 CreateLink(pathname.c_str(), file1.cpath);
1462 CPPUNIT_ASSERT( PingLink(newPathname.c_str(), file1.cpath) );
1475 CPPUNIT_ASSERT( PingLink(pathname.c_str(), file1.cpath) );
1573 CreateFile(file3.cpath);
1574 CPPUNIT_ASSERT( entry.SetTo(file3.cpath) == B_OK );
1575 CPPUNIT_ASSERT( entry.Rename(dir1.cpath, true) == B_DIRECTORY_NOT_EMPTY );
1576 CPPUNIT_ASSERT( PingDir(dir1.cpath) );
1577 CPPUNIT_ASSERT( PingFile(file3.cpath, &entry) );
1578 RemoveFile(file3.cpath);
1583 CreateFile(file3.cpath);
1584 CPPUNIT_ASSERT( entry.SetTo(file3.cpath) == B_OK );
1585 CPPUNIT_ASSERT( entry.Rename(subDir1.cpath, true) == B_OK );
1586 CPPUNIT_ASSERT( PingFile(subDir1.cpath, &entry) );
1587 CPPUNIT_ASSERT( !PingFile(file3.cpath) );
1588 RemoveFile(subDir1.cpath);
1593 CPPUNIT_ASSERT( entry.SetTo(file2.cpath) == B_OK );
1600 CPPUNIT_ASSERT( entry.Rename(file4.cpath) == B_NO_INIT );
1605 CPPUNIT_ASSERT( entry.SetTo(badEntry1.cpath) == B_ENTRY_NOT_FOUND );
1606 CPPUNIT_ASSERT( entry.Rename(file4.cpath) == B_NO_INIT );
1616 BEntry abstract(abstractEntry1.cpath);
1625 CPPUNIT_ASSERT( entry.SetTo(file1.cpath) == B_OK );
1665 CreateLink(pathname.c_str(), file1.cpath);
1701 CPPUNIT_ASSERT( PingLink(newPathname.c_str(), file1.cpath) );
1714 CPPUNIT_ASSERT( PingLink(pathname.c_str(), file1.cpath) );
1855 CreateFile(file3.cpath);
1856 CPPUNIT_ASSERT( entry.SetTo(file3.cpath) == B_OK );
1857 CPPUNIT_ASSERT( dir.SetTo(dir1.super->cpath) == B_OK );
1860 CPPUNIT_ASSERT( PingDir(dir1.cpath) );
1861 CPPUNIT_ASSERT( PingFile(file3.cpath, &entry) );
1862 RemoveFile(file3.cpath);
1866 CreateFile(file3.cpath);
1867 CPPUNIT_ASSERT( entry.SetTo(file3.cpath) == B_OK );
1868 CPPUNIT_ASSERT( dir.SetTo(subDir1.super->cpath) == B_OK );
1870 CPPUNIT_ASSERT( PingFile(subDir1.cpath, &entry) );
1871 CPPUNIT_ASSERT( !PingFile(file3.cpath) );
1872 RemoveFile(subDir1.cpath);
1876 CPPUNIT_ASSERT( entry.SetTo(file2.cpath) == B_OK );
1877 CPPUNIT_ASSERT( dir.SetTo(dir2.cpath) == B_OK );
1883 CPPUNIT_ASSERT( dir.SetTo(dir2.cpath) == B_OK );
1888 CPPUNIT_ASSERT( entry.SetTo(badEntry1.cpath) == B_ENTRY_NOT_FOUND );
1889 CPPUNIT_ASSERT( dir.SetTo(dir2.cpath) == B_OK );
1896 CreateFile(file2.cpath);
1897 CPPUNIT_ASSERT( entry.SetTo(file2.cpath) == B_OK );
1898 CPPUNIT_ASSERT( entry.MoveTo(NULL, file3.cpath) == B_BAD_VALUE );
1899 RemoveFile(file3.cpath);
1904 CreateFile(file2.cpath);
1905 CPPUNIT_ASSERT( entry.SetTo(file2.cpath) == B_OK );
1907 CPPUNIT_ASSERT( entry.MoveTo(&dir, file3.cpath) == B_BAD_VALUE );
1908 RemoveFile(file3.cpath);
1920 CPPUNIT_ASSERT( entry.SetTo(file1.cpath) == B_OK );
1922 CPPUNIT_ASSERT( !PingFile(file1.cpath) );
1926 CPPUNIT_ASSERT( entry.SetTo(absFileLink1.cpath) == B_OK );
1928 CPPUNIT_ASSERT( !PingLink(absFileLink1.cpath) );
1932 CPPUNIT_ASSERT( entry.SetTo(subDir1.cpath) == B_OK );
1934 CPPUNIT_ASSERT( !PingDir(subDir1.cpath) );
1938 CPPUNIT_ASSERT( entry.SetTo(dir1.cpath) == B_OK );
1940 CPPUNIT_ASSERT( PingDir(dir1.cpath) );
1944 CPPUNIT_ASSERT( entry.SetTo(abstractEntry1.cpath) == B_OK );
1954 CPPUNIT_ASSERT( entry.SetTo(badEntry1.cpath) == B_ENTRY_NOT_FOUND );
1969 //printf("compare: `%s', `%s'\n", testEntry->cpath, testEntry2->cpath);
1995 BEntry entry(file1.cpath);
2004 BEntry entry2(file1.cpath);
2027 BEntry entry(testEntry->cpath);
2028 BEntry traversedEntry(testEntry->cpath, true);
2032 BEntry entry2(testEntry2->cpath);
2033 BEntry traversedEntry2(testEntry2->cpath, true);
2077 BEntry entry(testEntry->cpath);
2101 BEntry entry2(file1.cpath);
2111 BEntry entry(testEntry->cpath);
2113 BEntry entry3(file1.cpath);
2176 const char *path = testEntry->cpath;
2192 const char *path2 = testEntry2->cpath;
2357 BNode node(file1.cpath);
2358 BEntry entry(file1.cpath);
2526 cpath(""),
2596 cpath = path.c_str();
2605 get_entry_ref_for_entry(super->cpath, cname, &ref);