/haiku/src/servers/package/ |
H A D | CommitTransactionHandler.cpp | 436 // package file system. 457 // use the modification time of the old activations file, if possible 527 // write the old activation file 648 ERROR("Failed to compare new package %s to existing file in " 833 for (int32 i = 0; const BGlobalWritableFileInfo* file = files.ItemAt(i); 835 if (file->IsIncluded() && !contentPaths.Add(file->Path())) 877 for (int32 i = 0; const BGlobalWritableFileInfo* file = files.ItemAt(i); 879 if (file->IsIncluded()) { 880 _AddGlobalWritableFile(package, *file, rootDirector 888 _AddGlobalWritableFile(Package* package, const BGlobalWritableFileInfo& file, const BDirectory& rootDirectory, const BDirectory& extractedFilesDirectory) argument 1749 BFile file; local [all...] |
/haiku/src/add-ons/media/media-add-ons/ |
H A D | AbstractFileInterfaceNode.cpp | 307 // it's valid but they already got our 1 file format 347 const entry_ref & file, 352 return StaticSniffRef(file,out_mime_type,out_quality); 357 const entry_ref & file, 365 f_current_ref = file; 405 const entry_ref & file, 411 BNode node(&file); 667 // XXX: we may decide later that a 0 chunk size means ship the whole file in one chunk (!) 867 info->info = strdup("A AbstractFileInterfaceNode node handles a file."); 912 strncpy(outFileFormat->pretty_name,"any media file forma 346 SniffRef( const entry_ref & file, char * out_mime_type, float * out_quality) argument 356 SetRef( const entry_ref & file, uint32 openMode, bool create, bigtime_t * out_time) argument 404 StaticSniffRef( const entry_ref & file, char * out_mime_type, float * out_quality) argument [all...] |
H A D | AbstractFileInterfaceAddOn.h | 8 // AbstractFileInterfaceNode handles a file and a multistream 48 const entry_ref & file,
|
/haiku/src/bin/network/telnet/ |
H A D | utilities.c | 113 SetNetTrace(char *file) 117 if (file && (strcmp(file, "-") != 0)) { 118 NetTrace = fopen(file, "w"); 120 strcpy((char *)NetTraceFile, file); 123 fprintf(stderr, "Cannot open %s.\n", file); 112 SetNetTrace(char *file) argument
|
/haiku/src/apps/deskbar/ |
H A D | ResourceSet.cpp | 145 TypeItem(int32 id, const char* name, BFile* file) argument 155 if (file->GetSize(&size) == B_OK) { 158 if (file->ReadAt(0, fData, fSize) < B_OK ) { 739 BFile file(&entry, B_READ_ONLY); 740 if (file.InitCheck() == B_OK ) { 741 item = new TypeItem(id, name, &file);
|
/haiku/src/kits/shared/ |
H A D | SettingsMessage.cpp | 58 BFile file(fPath.Path(), B_READ_ONLY); 59 status_t status = file.InitCheck(); 62 status = Unflatten(&file); 73 BFile file(fPath.Path(), B_WRITE_ONLY | B_CREATE_FILE | B_ERASE_FILE); 74 status_t status = file.InitCheck(); 77 status = Flatten(&file);
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | Playlist.cpp | 499 // open first file 550 BFile file(&ref, B_READ_ONLY); 551 FileReadWrite lineReader(&file); 558 str = str.RemoveFirst("file://"); 576 BFile file(&ref, B_READ_ONLY); 578 if (temp.Unflatten(&file) == B_OK) 741 BFile file(ref, B_READ_ONLY); 742 BNodeInfo nodeInfo(&file); 765 // If the media file is foo.mp3, _BindExtraMedia() searches foo.avi.
|
/haiku/src/apps/mediaconverter/ |
H A D | MediaConverterApp.cpp | 4 // This file may be used under the terms of the Be Sample Code License. 119 BMediaFile* file = new(std::nothrow) BMediaFile(&ref, flags); local 121 if (file == NULL || file->InitCheck() != B_OK) { 124 delete file; 128 if (!fWin->AddSourceFile(file, ref)) 129 delete file; 137 "one{The file was not recognized as a supported media file:} " 144 B_TRANSLATE("Error loading a file"), [all...] |
/haiku/src/apps/showimage/ |
H A D | ImageFileNavigator.cpp | 53 // Navigation to the next/previous image file is based on 56 // to find the next candidate file, then tries to load it as image. 58 // candidate file. 148 BFile file(&ref, B_READ_ONLY); 149 if (file.InitCheck() != B_OK) 158 return roster->Identify(&file, NULL, &info, 0, NULL, 186 // Ask the Tracker what the next/prev file in the window is. 604 /*! Moves the current file into the trash. 605 Returns true if a new file should be loaded, false if not.
|
/haiku/src/servers/launch/ |
H A D | Conditions.cpp | 517 BFile file(fPath.Path(), B_READ_ONLY); 518 if (file.InitCheck() != B_OK) 522 if (settings.Unflatten(&file) == B_OK) { 557 BString string = "setting file ";
|
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/ |
H A D | PPPManager.cpp | 98 BFile file(PTP_SETTINGS_PATH, B_WRITE_ONLY | B_CREATE_FILE | B_ERASE_FILE); 99 if (file.InitCheck() != B_OK) 102 if (WriteMessageDriverSettings(file, settings)) 238 \param name The PPP interface description file's name.
|
/haiku/src/tests/kits/support/barchivable/ |
H A D | InstantiateObjectTester.cpp | 55 void FormatAndThrow(int line, const char* file, const char* msg, int err); 539 void FormatAndThrow(int line, const char *file, const char *msg, int err) argument 544 s += file;
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | Directory.cpp | 94 Directory::CreateFile(const char *name, File **file) argument 96 status_t error = (name && file ? B_OK : B_BAD_VALUE); 98 // create file 103 *file = node;
|
/haiku/src/kits/app/ |
H A D | Notification.cpp | 355 BNotification::SetOnClickFile(const entry_ref* file) argument 359 if (file != NULL) { 360 fFile = new(std::nothrow) entry_ref(*file);
|
/haiku/src/system/libroot/os/ |
H A D | image.cpp | 325 __look_up_in_path(const char *file, char *buffer) argument 332 int fileNameLen = strlen(file); 355 strcat(path, file); 357 // check whether it is a file 474 executed. If the executable file specifies changes to environment variable
|
/haiku/src/apps/cortex/RouteApp/ |
H A D | DormantNodeIO.cpp | 108 entry_ref file; local 109 if(ref->getFile(&file) == B_OK) 110 m_entry.SetTo(&file);
|
/haiku/headers/os/storage/ |
H A D | Directory.h | 57 status_t CreateFile(const char *path, BFile *file,
|
/haiku/src/bin/unzip/ |
H A D | crc_i386.S | 4 See the accompanying file LICENSE, version 2000-Apr-09 or later 41 /* This file is NOT used in conjunction with zlib. */ 63 * This file is only optional. If you want to use the C version, 67 .file "crc_i386.S"
|
/haiku/docs/develop/media/ |
H A D | MediaFileProducerAddOn.h | 43 const entry_ref & file,
|
/haiku/src/apps/launchbox/ |
H A D | LaunchButton.cpp | 305 BFile file(ref, B_READ_ONLY); 307 if (info.SetTo(&file) == B_OK) { 397 BFile file(fRef, B_READ_ONLY); 400 if (appFileInfo.SetTo(&file) == B_OK
|
/haiku/src/tests/kits/game/direct_window_test/ |
H A D | StarWindow.cpp | 11 This file may be used under the terms of the Be Sample Code License. 30 // return the version_info of a file, described by its 36 BFile file; local 44 // find the file 46 file.SetTo(path.Path(), O_RDONLY); 47 if ((res = file.InitCheck()) != B_NO_ERROR) 51 if ((res = appinfo.SetTo(&file)) != B_NO_ERROR) 343 // the clipping count is bounded (see comment in header file).
|
/haiku/headers/private/package/hpkg/ |
H A D | ReaderImplBase.h | 99 // ownership of both. The file may need to 125 status_t Init(BPositionIO* file, bool keepFile, 172 status_t _Init(BPositionIO* file, bool keepFile); 432 ReaderImplBase::Init(BPositionIO* file, bool keepFile, Header& header, uint32 flags) argument 434 status_t error = _Init(file, keepFile); 438 // get the file size 444 "Error: Failed to get size of %s file: %s\n", 449 // Might be a stream. We only use the file size for checking the total 454 // validate file is longer than header (when not a stream) 456 ErrorOutput()->PrintError("Error: Invalid %s file [all...] |
/haiku/src/tests/kits/app/broster/ |
H A D | FindAppTester.cpp | 108 BFile file; local 109 CHK(file.SetTo(filename, B_READ_WRITE) == B_OK); 111 CHK(appFileInfo.SetTo(&file) == B_OK); 130 BFile file; local 131 CHK(file.SetTo(filename, B_READ_WRITE) == B_OK); 133 CHK(nodeInfo.SetTo(&file) == B_OK); 177 BFile file; local 178 CHK(file.SetTo(filename, B_READ_WRITE) == B_OK); 180 CHK(appFileInfo.SetTo(&file) == B_OK); 676 @case 3 ref is valid, file ha [all...] |
/haiku/headers/build/os/storage/ |
H A D | Directory.h | 55 status_t CreateFile(const char *path, BFile *file,
|
/haiku/src/system/libroot/posix/glibc/locale/ |
H A D | localeinfo.h | 3 This file is part of the GNU C Library. 40 /* Magic number at the beginning of a locale data file for CATEGORY. */ 55 const char *filedata; /* Region mapping the file data. */ 56 off_t filesize; /* Size of the file (and the region). */ 188 /* Load the locale data for CATEGORY from the file specified by *NAME. 196 /* Try to load the file described by FILE. */ 197 extern void _nl_load_locale (struct loaded_l10nfile *file, int category);
|