/haiku/src/system/kernel/disk_device_manager/ |
H A D | KFileDiskDevice.cpp | 41 KFileDiskDevice::SetTo(const char* filePath, const char* devicePath) argument 44 if (!filePath || strlen(filePath) > B_PATH_NAME_LENGTH 52 status_t error = tmpFilePath.SetTo(filePath, KPath::NORMALIZE); 57 if (stat(filePath, &st) != 0) 85 error = _RegisterDevice(filePath, devicePath); 89 error = set_string(fFilePath, filePath);
|
H A D | KDiskDeviceManager.cpp | 459 KDiskDeviceManager::FindFileDevice(const char* filePath) argument 464 && !strcmp(filePath, fileDevice->FilePath())) { 557 KDiskDeviceManager::RegisterFileDevice(const char* filePath) argument 560 if (KFileDiskDevice* device = FindFileDevice(filePath)) { 748 KDiskDeviceManager::CreateFileDevice(const char* filePath, bool* newlyCreated) argument 750 if (!filePath) 755 status_t error = normalizedFilePath.SetTo(filePath, KPath::NORMALIZE); 758 filePath = normalizedFilePath.Path(); 763 if ((device = FindFileDevice(filePath))) { 776 error = device->SetTo(filePath); 810 DeleteFileDevice(const char* filePath) argument [all...] |
/haiku/src/kits/debugger/debug_info/ |
H A D | DwarfTeamDebugInfo.cpp | 71 BString filePath; local 72 if (imageFile == NULL || !imageFile->GetLocatedPath(filePath)) 89 status_t error = fManager->LoadFile(filePath, dwarfState->GetFileState());
|
/haiku/headers/private/kernel/fs/ |
H A D | devfs.h | 20 status_t devfs_publish_file_device(const char* path, const char* filePath);
|
/haiku/src/apps/haikudepot/server/ |
H A D | AbstractServerProcess.h | 66 status_t DeleteLocalFile(const BPath& filePath); 67 status_t MoveDamagedFileAside(const BPath& filePath);
|
/haiku/headers/private/kernel/disk_device_manager/ |
H A D | KDiskDeviceManager.h | 52 KFileDiskDevice *FindFileDevice(const char *filePath); 59 KFileDiskDevice *RegisterFileDevice(const char *filePath); 75 partition_id CreateFileDevice(const char* filePath, 77 status_t DeleteFileDevice(const char *filePath);
|
H A D | KFileDiskDevice.h | 20 status_t SetTo(const char *filePath, const char *devicePath = NULL);
|
/haiku/src/apps/expander/ |
H A D | ExpanderRules.cpp | 140 BPath filePath; local 141 if (filePath.SetTo(path.Path(), entry.name) == B_OK) 142 _LoadRulesFile(filePath.Path());
|
/haiku/src/kits/debugger/debugger_interface/ |
H A D | DebuggerInterface.cpp | 83 DebuggerInterface::GetElfSymbols(const char* filePath, int64 textDelta, argument 88 status_t error = elfFile.Init(filePath);
|
H A D | DebuggerInterface.h | 105 status_t GetElfSymbols(const char* filePath,
|
/haiku/src/tests/kits/media/mpeg2_decoder_test/ |
H A D | mpeg2_decoder_test.cpp | 111 status_t SaveBitmapAtPathUsingFormat(BBitmap* bitmap, BString* filePath, 290 SaveBitmapAtPathUsingFormat(BBitmap* bitmap, BString* filePath, argument 293 BFile file(*filePath, B_CREATE_FILE | B_ERASE_FILE | B_WRITE_ONLY);
|
/haiku/src/preferences/shortcuts/ |
H A D | ShortcutsSpec.cpp | 398 char* filePath = strrchr(nextPath.Path(), '/') + 1; local 399 if (strncmp(filePath, fileFragment, fragmentLength) == 0) { 400 int len = strlen(filePath); 404 strcpy(newStr, filePath);
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | NetFSServer.cpp | 928 BPath filePath; local 929 status_t error = _GetSettingsFilePath(&filePath, false); 935 if (FDManager::SetEntry(&bEntry, filePath.Path()) != B_OK 942 error = FDManager::SetFile(&file, filePath.Path(), B_READ_ONLY); 998 BPath filePath; local 999 error = _GetSettingsFilePath(&filePath, true); 1003 error = FDManager::SetFile(&file, filePath.Path(),
|
/haiku/src/preferences/sounds/ |
H A D | HWindow.cpp | 220 const char* filePath; local 222 if (message->FindString("path", &filePath) == B_OK) { 225 BPath path(filePath);
|
/haiku/src/apps/deskbar/ |
H A D | BarApp.cpp | 307 BPath filePath = dirPath; local 308 filePath.Append(settingsFileName); 309 fSettingsFile = new BFile(filePath.Path(), O_RDWR); 375 filePath = dirPath; 376 filePath.Append(clockSettingsFileName); 377 fClockSettingsFile = new BFile(filePath.Path(), O_RDWR);
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/ |
H A D | ram_disk.cpp | 191 status_t Register(const char* filePath, uint64 deviceSize, int32& _id) argument 202 {kFilePathItem, B_STRING_TYPE, {.string = filePath}}, 206 // If filePath is NULL, remove the attribute. 207 if (filePath == NULL) { 269 status_t Init(int32 id, const char* filePath, uint64 deviceSize) argument 272 fFilePath = filePath != NULL ? strdup(filePath) : NULL; 273 if (filePath != NULL && fFilePath == NULL) 1164 const char* filePath = NULL; local 1165 sDeviceManager->get_attr_string(node, kFilePathItem, &filePath, fals [all...] |
/haiku/src/servers/debug/ |
H A D | DebugServer.cpp | 753 BPath filePath; local 760 error = filePath.SetTo(directoryPath.Path(), fileName.String()); 768 if (lstat(filePath.Path(), &st) != 0) { 782 strlcpy(message.path, filePath.Path(), sizeof(message.path));
|
/haiku/src/apps/text_search/ |
H A D | GrepWindow.cpp | 1359 BString filePath; local 1375 if (filePath == item->Text()) 1378 filePath = item->Text(); 1380 if (get_ref_for_path(filePath.String(), &file_ref) != B_OK) 1386 folderPath.SetTo(filePath.String());
|
/haiku/src/apps/debugger/user_interface/gui/team_window/ |
H A D | TeamWindow.cpp | 2114 BPath filePath(path); 2115 status_t error = filePath.InitCheck(); 2124 query.PushString(filePath.Leaf()); 2149 filePath.SetTo(&ref); 2150 _entries->Add(filePath.Path());
|
/haiku/src/system/kernel/ |
H A D | module.cpp | 1746 module_get_path(const char* moduleName, char** filePath) argument 1748 if (moduleName == NULL || filePath == NULL) 1759 *filePath = strdup(foundModule->module_image->path); 1760 return *filePath != NULL ? B_OK : B_NO_MEMORY;
|
/haiku/src/servers/package/ |
H A D | CommitTransactionHandler.cpp | 1700 BString filePath = directoryPath.ToString() << '/' << fileName; local 1703 FSUtils::Entry(fVolume->PackagesDirectoryRef(), filePath), 1704 filePath))
|
/haiku/src/apps/mail/ |
H A D | MailWindow.cpp | 2732 BPath filePath; local 2742 errorCode = fileEntry.GetPath(&filePath); 2794 filePath.Path(), strlen(filePath.Path()) + 1, false); 2814 filePath.Path(), commandWord, strerror(errorCode), errorCode);
|
/haiku/src/system/kernel/device_manager/ |
H A D | devfs.cpp | 2055 devfs_publish_file_device(const char* path, const char* filePath) argument 2063 status_t error = device->Init(filePath);
|
/haiku/src/tests/kits/storage/ |
H A D | MimeTypeTest.cpp | 3892 char filePath[B_PATH_NAME_LENGTH + 1]; 3893 CHK(typeFile.ReadAttr("META:PPATH", B_STRING_TYPE, 0, filePath, 3895 CHK(path == filePath);
|