/haiku/src/kits/package/ |
H A D | PackageInfo.cpp | 701 BPackageInfo::SetFileName(const BString& fileName) argument 703 fFileName = fileName;
|
/haiku/headers/os/package/ |
H A D | PackageInfo.h | 125 void SetFileName(const BString& fileName);
|
/haiku/src/servers/package/ |
H A D | CommitTransactionHandler.cpp | 1650 const RelativePath& subDirectoryPath, const char* fileName, uint32 openMode, 1674 status_t error = entry.SetTo(&directory, fileName); 1687 const RelativePath& directoryPath, const char* fileName, 1697 status_t error = _WriteTextFile(directoryPath, fileName, 1700 BString filePath = directoryPath.ToString() << '/' << fileName; 1747 const char* fileName, const BString& content, BEntry& _entry) 1751 fileName, B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE, file, &_entry); 1754 "file \"%s/%s\": %s\n", directoryPath.ToString().String(), fileName, 1763 "file \"%s/%s\": %s\n", directoryPath.ToString().String(), fileName, 1649 _OpenPackagesFile( const RelativePath& subDirectoryPath, const char* fileName, uint32 openMode, BFile& _file, BEntry* _entry) argument 1686 _WriteActivationFile( const RelativePath& directoryPath, const char* fileName, const PackageSet& toActivate, const PackageSet& toDeactivate, BEntry& _entry) argument 1746 _WriteTextFile(const RelativePath& directoryPath, const char* fileName, const BString& content, BEntry& _entry) argument
|
/haiku/src/apps/webpositive/ |
H A D | URLInputGroup.cpp | 579 BString fileName(title); 580 if (fileName.Length() == 0) { 581 fileName = url; 582 int32 leafPos = fileName.FindLast('/'); 584 fileName.Remove(0, leafPos + 1); 586 fileName.ReplaceAll('/', '-'); 587 fileName.Truncate(B_FILE_NAME_LENGTH - 1); 597 drag.AddString("be:clip_name", fileName.String());
|
H A D | BrowserWindow.cpp | 1937 /*! If fileName is an empty BString, a valid file name will be derived from title. 1941 BrowserWindow::_CreateBookmark(const BPath& path, BString fileName, const BString& title, argument 1946 if (fileName.IsEmpty() == true) { 1948 fileName = title; 1949 if (fileName.Length() == 0) { 1950 fileName = url; 1951 int32 leafPos = fileName.FindLast('/'); 1953 fileName.Remove(0, leafPos + 1); 1955 fileName.ReplaceAll('/', '-'); 1956 fileName 2090 const char* fileName; local 2121 BString fileName; local [all...] |
/haiku/src/system/kernel/vm/ |
H A D | vm.cpp | 4066 char* fileName = strrchr(image->name, '/'); local 4067 if (fileName == NULL) 4068 fileName = image->name; 4070 fileName++; 4072 length = strlen(fileName); 4077 memcpy(name, fileName, length);
|
/haiku/src/kits/tracker/ |
H A D | PoseView.cpp | 3398 char fileName[B_FILE_NAME_LENGTH] = "New "; local 3399 strlcat(fileName, message->FindString("name"), sizeof(fileName)); 3400 FSMakeOriginalName(fileName, &destDir, " copy"); 3412 destEntry.Rename(fileName); 3416 BFile destFile(&destDir, fileName, B_READ_WRITE | B_CREATE_FILE); 3437 BNode destNode(&destDir, fileName); 3440 BEntry entry(&destDir, fileName);
|
H A D | FindPanel.cpp | 139 MostUsedNames(const char* fileName, const char* directory, 3250 MostUsedNames::MostUsedNames(const char* fileName, const char* directory, argument 3253 fFileName(fileName),
|
/haiku/src/apps/haikudepot/model/ |
H A D | PackageIconTarRepository.cpp | 79 BString fileName = header.FileName(); 80 if (!fileName.StartsWith("hicn/")) 83 int32 secondSlashIdx = fileName.FindFirst("/", 5); 89 fileName.CopyInto(packageName, 5, secondSlashIdx - 5); 90 fileName.CopyInto(leafName, secondSlashIdx + 1, 91 fileName.Length() - (secondSlashIdx + 1));
|
/haiku/src/apps/haikudepot/tar/ |
H A D | TarArchiveService.cpp | 211 BString fileName; local 212 _ReadHeaderString(&block[OFFSET_FILENAME], LENGTH_FILENAME, fileName); 214 header.SetFileName(fileName);
|
/haiku/src/tools/remote_disk_server/ |
H A D | remote_disk_server.cpp | 59 Server(const char *fileName) argument 60 : fImagePath(fileName), 316 const char *fileName = argv[1]; local 318 Server server(fileName);
|
/haiku/src/kits/debugger/dwarf/ |
H A D | DwarfFile.h | 38 status_t StartLoading(const char* fileName, 198 status_t _GetDebugInfoPath(const char* fileName,
|
H A D | DwarfFile.cpp | 556 DwarfFile::StartLoading(const char* fileName, BString& _requiredExternalFile) argument 558 fName = strdup(fileName); 571 error = fElfFile->Init(fileName); 2188 const char* fileName = NULL; local 2202 format, fileName); 2238 if ((fileName != NULL) && (dirIndex != 0xffffffffffffffffull)) { 2240 fileName, dirIndex); 2242 if (!unit->AddFile(fileName, dirIndex))
|
H A D | DwarfManager.h | 28 status_t LoadFile(const char* fileName,
|
H A D | DwarfManager.cpp | 41 DwarfManager::LoadFile(const char* fileName, DwarfFileLoadingState& _state) argument 58 error = file->StartLoading(fileName, _state.externalInfoFileName);
|
H A D | CompilationUnit.cpp | 17 BString fileName; member in struct:CompilationUnit::File 21 File(const char* fileName, const char* dirName) argument 23 fileName(fileName), 108 CompilationUnit::AddFile(const char* fileName, int32 dirIndex) argument 110 File* file = new(std::nothrow) File(fileName, DirectoryAt(dirIndex)); 111 if (file == NULL || file->fileName.Length() == 0 || !fFiles.AddItem(file)) { 133 return file->fileName.String();
|
H A D | CompilationUnit.h | 50 bool AddFile(const char* fileName, int32 dirIndex);
|
/haiku/src/kits/debugger/debug_info/ |
H A D | DwarfImageDebugInfo.cpp | 1079 for (int32 i = 0; const char* fileName = unit->FileAt(i, &directory); i++) { 1080 LocatableFile* file = fFileManager->GetSourceFile(directory, fileName); 1410 const char* fileName = NULL; local 1414 directoryPath, fileName, line, column); 1417 if (fileName != NULL) { 1419 fileName);
|
/haiku/src/apps/mail/ |
H A D | MailWindow.cpp | 2611 char fileName[B_FILE_NAME_LENGTH]; local 2614 strlcpy(fileName, B_TRANSLATE("Untitled"), 2615 sizeof(fileName)); 2617 strlcpy(fileName, fHeaderView->Subject(), sizeof(fileName)); 2620 uint32 originalLength = strlen(fileName); 2623 for (char* bad = fileName; (bad = strchr(bad, '/')) != NULL; 2627 for (char* bad = fileName; (bad = strchr(bad, '\\')) != NULL; 2631 for (char* bad = fileName; (bad = strchr(bad, ':')) != NULL; 2640 status = draft.SetTo(&dir, fileName, flag [all...] |
H A D | Content.cpp | 2281 char fileName[B_FILE_NAME_LENGTH]; 2282 strcpy(fileName, "untitled"); 2284 attachment->FileName(fileName); 2286 BPath path(fileName);
|
/haiku/src/system/kernel/ |
H A D | elf.cpp | 943 const char* fileName = STRING(image, needed->vn_file); local 951 info.file_name = fileName; 2128 const char *fileName; local 2148 fileName = strrchr(path, '/'); 2149 if (fileName == NULL) 2150 fileName = path; 2152 fileName++; 2197 dprintf("%s: error allocating space for program headers\n", fileName); 2209 TRACE(("%s: error reading in program headers\n", fileName)); 2213 TRACE(("%s: short read while reading in program headers\n", fileName)); [all...] |
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/ |
H A D | Volume.cpp | 974 Volume::_FindPackage(const char* fileName) const 976 return fPackages.Lookup(fileName);
|
/haiku/src/apps/icon-o-matic/ |
H A D | MainWindow.cpp | 1520 const char* fileName = NULL; local 1522 fileName = saver1->Ref()->name; 1523 if ((fileName == NULL || fileName[0] == '\0') && saver2 != NULL) 1524 fileName = saver2->Ref()->name; 1525 return fileName; 1532 const char* fileName = _FileName(false); local 1533 if (fileName != NULL) 1534 SetTitle(fileName);
|
/haiku/src/bin/bfs_tools/ |
H A D | recover.cpp | 746 char *fileName = strrchr(argv[0], '/'); local 747 fileName = fileName ? fileName + 1 : argv[0]; 755 usage(fileName); 779 usage(fileName);
|
/haiku/src/add-ons/kernel/file_cache/ |
H A D | rule_based_prefetcher.cpp | 408 const char *fileName = get_name(line); local 409 if (fileName != NULL) { 415 TRACE(("c %ld:%lld:%s %s %ld\n", device, node, fileName, name, confidence)); 420 strlcpy(head->name, fileName, B_FILE_NAME_LENGTH);
|