Lines Matching refs:super

35 	void init(TestEntry &super, string name, test_entry_kind kind,
37 void initDir(TestEntry &super, string name);
38 void initFile(TestEntry &super, string name);
39 void initRLink(TestEntry &super, string name, TestEntry &target);
40 void initALink(TestEntry &super, string name, TestEntry &target);
48 TestEntry * super;
314 CPPUNIT_ASSERT( path == testEntry->super->cpath );
323 CPPUNIT_ASSERT( path == testEntry->super->cpath );
353 if (chdir(testEntry->super->cpath) == 0) {
412 && testEntry->super->path.length() < B_PATH_NAME_LENGTH) {
413 //printf("%s + %s\n", testEntry->super->cpath, testEntry->cname);
414 BDirectory dir(testEntry->super->cpath);
428 if (!testEntry->super->isBad() && !testEntry->super->super->isBad()) {
429 string entryName = testEntry->super->name + "/" + testEntry->name;
430 //printf("%s + %s\n", testEntry->super->super->cpath, entryName.c_str());
431 BDirectory dir(testEntry->super->super->cpath);
834 if (chdir(testEntry->super->cpath) == 0) {
895 && testEntry->super->path.length() < B_PATH_NAME_LENGTH) {
896 //printf("%s + %s\n", testEntry->super->cpath, testEntry->cname);
897 BDirectory dir(testEntry->super->cpath);
911 if (!testEntry->super->isBad() && !testEntry->super->super->isBad()) {
912 string entryName = testEntry->super->name + "/" + testEntry->name;
913 //printf("%s + %s\n", testEntry->super->super->cpath, entryName.c_str());
914 BDirectory dir(testEntry->super->super->cpath);
1335 BDirectory dir(tooLongDir16.super->super->cpath);
1336 string entryName = tooLongDir16.super->name + "/" + tooLongDir16.name;
1422 string dirname = testEntry->super->path;
1493 string relPath = get_shortest_relative_path(testEntry->super,
1784 MoveToTestFile(&file2, file2.super, NULL, false, false, B_FILE_EXISTS);
1785 MoveToTestFile(&file2, file2.super, NULL, false, true, B_NOT_ALLOWED);
1794 MoveToTestDir(&file2, file2.super, NULL, false, false, B_FILE_EXISTS);
1795 MoveToTestDir(&file2, file2.super, NULL, false, true, B_NOT_ALLOWED);
1804 MoveToTestLink(&file2, file2.super, NULL, false, false, B_FILE_EXISTS);
1805 MoveToTestLink(&file2, file2.super, NULL, false, true, B_NOT_ALLOWED);
1816 MoveToTestFile(&file2, file2.super, &file2, false, false,
1818 MoveToTestFile(&file2, file2.super, &file2, false, true,
1820 MoveToTestFile(&file2, file2.super, &file3, false, false, B_OK);
1829 MoveToTestDir(&file2, file2.super, &file2, false, false,
1831 MoveToTestDir(&file2, file2.super, &file2, false, true,
1833 MoveToTestDir(&file2, file2.super, &file3, false, false, B_OK);
1842 MoveToTestLink(&file2, file2.super, &file2, false, false,
1844 MoveToTestLink(&file2, file2.super, &file2, false, true,
1846 MoveToTestLink(&file2, file2.super, &file3, false, false, B_OK);
1857 CPPUNIT_ASSERT( dir.SetTo(dir1.super->cpath) == B_OK );
1868 CPPUNIT_ASSERT( dir.SetTo(subDir1.super->cpath) == B_OK );
2475 + "cd " + entry->super->super->path + " ; "
2476 + " mkdir " + entry->super->name + "/" + entry->name
2517 : super(&badTestEntry),
2533 TestEntry::init(TestEntry &super, string name, test_entry_kind kind,
2536 this->super = &super;
2545 TestEntry::initDir(TestEntry &super, string name)
2547 init(super, name, DIR_ENTRY);
2552 TestEntry::initFile(TestEntry &super, string name)
2554 init(super, name, FILE_ENTRY);
2559 TestEntry::initRLink(TestEntry &super, string name, TestEntry &target)
2561 init(super, name, LINK_ENTRY, true);
2567 TestEntry::initALink(TestEntry &super, string name, TestEntry &target)
2569 init(super, name, LINK_ENTRY, false);
2580 path = super->path + "/" + name;
2590 link = get_shortest_relative_path(super, target);
2605 get_entry_ref_for_entry(super->cpath, cname, &ref);
2615 // put all super directories (including dir itself) of the dir in a set
2620 superDir = superDir->super, dirSuperLevel++) {
2623 // find the first super dir that dir and entry have in common
2629 superDir = superDir->super, targetSuperLevel++) {
2643 superDir = superDir->super) {