CreateFile
status_t CreateFile(const char *path, BFile *file,
status_t CreateFile(const char *path, BFile *file,
virtual status_t CreateFile(const char *name, mode_t permissions,
status_t result = CreateFile(name, mode, perms, state, &changeInfo,
status_t CreateFile(const char* name, int mode, int perms,
handle = CreateFile(vol_name,
*handle = CreateFile(filename,
status_t CreateFile(const char *name, File **file);
error = dir->CreateFile(name, &file);
settingsDirectory.CreateFile(fCurrentItem->Label(), &file);
profileDirectory.CreateFile(fCurrentItem->Label(), &file);
theDir.CreateFile(settingsFileName, fSettingsFile);
theDir.CreateFile(clockSettingsFileName, fClockSettingsFile);
&& (err = destDir.CreateFile(archLoader, &loaderDest, true)) == B_FILE_EXISTS) {
dir.CreateFile("Shelf", NULL);
parentDir.CreateFile(name, &file);
result = dir.CreateFile(name, &file);
if ((result = dir.CreateFile(name, fFile, true)) == B_NO_ERROR)
if ((result = dir.CreateFile(newName, &file, true)) == B_NO_ERROR)
parentDir.CreateFile(name, &file);
if (dir.CreateFile("People_data", fPrefs) != B_OK) {
void CreateFile(const entry_ref* ref);
directory.CreateFile(name, &file);
fView->CreateFile(fRef);
prefdir.CreateFile(fName, &file, false);
newDir.CreateFile(new_name, &newFile);
error = BDirectory().CreateFile(destPath, &destFile);
status_t status = dir->CreateFile(worker.String(), &file);
error = BDirectory().CreateFile(destPath, &destFile);
result = superTypeDirectory.CreateFile(BString(slash + 1).ToLower(),
if (dir.CreateFile(name, &file) != B_OK)
status_t error = directory->CreateFile(resultingName, &result, true);
if (directory.CreateFile("Open Draft", &file) < B_OK)
dir.CreateFile(kMountServerSettings, &fPrefsFile);
virtual status_t CreateFile(const char *name, mode_t permissions,
error = directory->CreateFile(name, permissions, &node);
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true) == B_OK );
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, false) == B_OK );
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), &file, true)
CPPUNIT_ASSERT( equals(dir.CreateFile(NULL, &file), B_ENTRY_NOT_FOUND,
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), NULL, true) == B_OK );
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), NULL, false) == B_OK );
CPPUNIT_ASSERT( dir.CreateFile(entryName.c_str(), NULL, true)
CreateFile(pathname.c_str());
CreateFile(newPathname.c_str());
CreateFile(file3.cpath);
CreateFile(file3.cpath);
CreateFile(pathname.c_str());
CreateFile(newPathname.c_str());
CreateFile(file3.cpath);
CreateFile(file3.cpath);
CreateFile(file2.cpath);
CreateFile(file2.cpath);
void CreateFile(const char *file);
CreateFile("dir2/file1");
CreateFile("dir2/dir3/file2");
CreateFile("base/dir2/file1");
CreateFile("base/dir2/dir3/file2");
CreateFile("base/dir1/dir2/file1");
CreateFile("base/dir1/dir2/dir3/file2");
CreateFile("base/dir1/dir2/file1");
CreateFile("base/dir1/dir2/dir3/file2");
CreateFile("base/dir2/file1");
CreateFile("base/dir2/dir3/file2");
CreateFile("ancestorSibling/base/file1");
CreateFile("ancestorSibling/base/dir1/file1");
CreateFile("ancestor/baseSibling/file1");
CreateFile("ancestor/baseSibling/dir1/file1");
CreateFile("ancestor/base/file1");
CreateFile("ancestor/base/dir1/file1");
CreateFile("ancestor/base/file1");
CreateFile("ancestor/base/dir1/file1");
ExpectNotification(CreateFile("file"),
CreateFile("fileSibling");
CreateFile("file");
CreateFile("file");
CreateFile("file");
CreateFile("base/file0");
CreateFile("base/dir1/file0.0");
CreateFile("file1");
ExpectNotification(CreateFile("base/file1"),
ExpectNotification(CreateFile("base/dir1/file1"),
CreateFile("file1");
CreateFile("file1");
ExpectNotification(CreateFile("base/file1"),
ExpectNotification(CreateFile("base/dir1/file1"),
ExpectNotification(CreateFile("base/dir1/file1"),
ExpectNotification(CreateFile("base/file1"),
CreateFile("dir2/file1");
CreateFile("dir2/dir3/file2");
status_t CreateFile(mode_t mode,
error = volume->CreateFile(permissions, transaction, newFile);
error = targetDomain->CreateFile(target, sourceNode->Stat(), file);
virtual fssh_status_t CreateFile(const char *path,
attributeDir.CreateFile(ref.name, NULL);