Searched refs:file (Results 601 - 625 of 737) sorted by relevance

<<21222324252627282930

/haiku/src/system/kernel/
H A Dusergroup.cpp269 update_set_id_user_and_group(Team* team, const char* file) argument
272 status_t status = vfs_read_stat(-1, file, true, &st, false);
/haiku/src/build/libroot/
H A Dfs.cpp79 utimes_helper(File& file, const struct timespec times[2]) argument
82 return file.SetTimes(NULL);
92 if (file.GetStat(st) != 0)
120 return file.SetTimes(timeBuffer);
153 FDFile file(fd);
154 return utimes_helper(file, times);
191 FDPathFile file(fd, path, flag);
192 return utimes_helper(file, times);
684 // open the file
1336 // stat the file
[all...]
/haiku/src/apps/icon-o-matic/
H A DMainWindow.cpp238 // If our icon is empty, open the file in this window,
345 // this message comes from the file panel
370 // configure the file panel
388 // next time a file panel is used, in case it was set!
680 BFile file(&ref, B_READ_ONLY);
681 if (file.InitCheck() < B_OK)
704 // try different file types
706 status_t ret = flatImporter.Import(icon, &file);
710 file.Seek(0, SEEK_SET);
712 ret = msgImporter.Import(icon, &file);
[all...]
/haiku/src/apps/people/
H A DPeopleApp.cpp11 * This file may be used under the terms of the Be Sample Code License.
275 BFile file(&ref, B_READ_ONLY);
276 if (file.InitCheck() == B_OK)
/haiku/src/apps/screenshot/
H A DScreenshotWindow.cpp667 B_TRANSLATE("This file already exists.\n Are you sure you would "
802 BFile file(settingsPath.Path(), B_READ_ONLY);
803 if (file.InitCheck() == B_OK)
804 settings.Unflatten(&file);
857 BFile file(settingsPath.Path(), B_CREATE_FILE | B_ERASE_FILE
859 if (file.InitCheck() == B_OK) {
861 settings.Flatten(&file, &size);
/haiku/src/tests/servers/app/drawing_modes/
H A DDrawingModes.cpp394 BFile file("DESTINATION.png",
397 r = roster->Translate(&stream, NULL, NULL, &file, pngFormat.type);
399 fprintf(stderr, "Failed to save PNG file for destination\n");
403 BFile file("SOURCE.png", B_WRITE_ONLY | B_CREATE_FILE | B_ERASE_FILE);
405 r = roster->Translate(&stream, NULL, NULL, &file, pngFormat.type);
407 fprintf(stderr, "Failed to save PNG file for source\n");
433 BFile file(fileName.Append(".png"),
436 r = roster->Translate(&stream, NULL, NULL, &file, pngFormat.type);
438 fprintf(stderr, "Failed to save PNG file for %s\n",
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNetFSServer.cpp901 "file: %s - falling back to driver settings.\n", strerror(error));
903 // fall back to the driver settings file
927 // get the settings file path
940 // open the settings file
941 BFile file; local
942 error = FDManager::SetFile(&file, filePath.Path(), B_READ_ONLY);
948 error = settings.Unflatten(&file);
997 // open the settings file
1002 BFile file; local
1003 error = FDManager::SetFile(&file, filePat
[all...]
/haiku/src/preferences/filetypes/
H A DApplicationTypeWindow.cpp263 // TODO: we could identify the file in case it doesn't have a type...
320 B_TRANSLATE("Save into resource file" B_UTF8_ELLIPSIS), NULL));
559 BFile file(&entry, B_READ_ONLY);
560 if (file.InitCheck() != B_OK)
563 BAppFileInfo info(&file);
721 BFile file; local
722 status_t status = file.SetTo(&fEntry, B_READ_WRITE);
726 BAppFileInfo info(&file);
/haiku/src/bin/network/ftpd/
H A Dftpd.c137 int assumeutf8 = 0; /* Assume that server file names are in UTF-8 */
223 #define LOGCMD(cmd, file) logcmd((cmd), (file), NULL, -1)
225 #define LOGBYTES(cmd, file, cnt) logcmd((cmd), (file), NULL, (cnt))
757 case 2: /* statistics file */
1006 * shell as returned by getusershell(). Disallow anyone mentioned in the file
1101 * Check if a user is in the file "fname",
1277 * error occurs (e.g., the "/etc/pam.conf" file is missing) then this
1718 reply(550, "%s: not a plain file
1922 FILE *file; local
[all...]
/haiku/src/apps/deskbar/
H A DStatusView.cpp495 BFile file(path.Path(), B_READ_ONLY);
496 if (file.InitCheck() == B_OK) {
501 if (fAddOnSettings.Unflatten(&file) == B_OK) {
960 BFile file; local
961 status_t status = file.SetTo(&ref, B_READ_ONLY);
966 status = file.GetNodeRef(&nodeRef);
1333 BFile file(path.Path(), B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE);
1334 if ((result = file.InitCheck()) == B_OK)
1335 result = fAddOnSettings.Flatten(&file);
H A DPreferencesWindow.cpp387 PreferencesWindow::_InitSettingsFile(BFile* file, bool write) argument
399 status = file->SetTo(prefsPath.Path(),
402 status = file->SetTo(prefsPath.Path(), B_READ_ONLY);
/haiku/src/kits/mail/
H A Dmail_util.cpp830 readfoldedline(FILE *file, char **buffer, size_t *buflen) argument
851 // Read the next character, or end of file, or IO error.
852 if ((c = fgetc(file)) == EOF) {
853 if (ferror (file)) {
858 // Really is end of file. Also make it end of line if there is
886 c = fgetc(file); // Note it's OK to read EOF and ungetc it too.
891 ungetc(c,file);
940 // Really is end of file. Also make it end of line if there is
980 } else // No next line; at the end of the file. Return the line.
1024 // Read the next character, or end of file
[all...]
/haiku/src/add-ons/translators/rtf/
H A Dconvert.cpp629 BFile *file = dynamic_cast<BFile *>(&target); local
632 TextOutput output(header, &target, file != NULL);
640 if (file == NULL) {
647 ssize_t written = file->WriteAttr("styles", B_RAW_TYPE, 0, flattenedRuns,
650 file->RemoveAttr("styles");
744 // Now we write them to the file
/haiku/src/servers/net/
H A DDHCPClient.cpp131 uint8 file[128]; member in struct:dhcp_message
225 // options from "file"
226 bytesLeft = sizeof(file) - (cookie.next - file);
239 // handle option overload in file and/or server_name fields.
242 // options from "file" field
244 bytesLeft = sizeof(file);
245 cookie.next = file;
/haiku/src/apps/mediaconverter/
H A DMediaConverterWindow.cpp5 // This file may be used under the terms of the Be Sample Code License.
173 // file list view box
576 // get selected file format
712 // add menu items for each file format
750 MediaConverterWindow::AddSourceFile(BMediaFile* file, const entry_ref& ref) argument
752 if (!fListView->AddMediaItem(file, ref))
800 BMediaFile* file = NULL; local
802 bool enabled = GetSourceFileAt(selected, &file, &ref) == B_OK;
812 fInfoView->Update(file, &ref);
/haiku/3rdparty/mmu_man/onlinedemo/
H A Dhaiku.php37 // (you will have to move the VncViewer.jar file around)
78 // default arguments: no network, emulate tablet, readonly image file.
530 // redirect output to log file
596 "or open <a href=\"" . $_SERVER['PHP_SELF'] . "?getfile=vncinfo&slot=" . vnc_display() . "\">this file</a>, " .
/haiku/src/preferences/media/
H A DMediaWindow.cpp214 BFile file(path.Path(), B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE);
215 if (file.InitCheck() == B_OK)
216 file.Write(buffer, strlen(buffer));
/haiku/src/kits/support/
H A DArchivable.cpp219 BFile file(info.name, B_READ_ONLY);
220 status_t err = file.InitCheck();
225 BAppFileInfo appFileInfo(&file);
/haiku/src/apps/mediaplayer/playlist/
H A DFilePlaylistItem.cpp272 BString locationURI("file://");
388 BFile file(&entry, B_READ_ONLY);
389 if (file.InitCheck() != B_OK)
409 = new(std::nothrow) SubTitlesSRT(&file, language.String());
575 // construct the entry to the file in the trash
/haiku/src/kits/package/hpkg/
H A DWriterImplBase.cpp257 WriterImplBase::Init(BPositionIO* file, bool keepFile, const char* fileName, argument
265 if (file == NULL) {
269 // open file (don't truncate in update mode)
277 fErrorOutput->PrintError("Failed to open %s file \"%s\": %s\n",
286 fFile = file;
478 // global writable file info list
506 // user settings file info list
/haiku/src/apps/networkstatus/
H A DNetworkStatusView.cpp145 BFile file(info.name, B_READ_ONLY);
146 if (file.InitCheck() < B_OK)
149 BResources resources(&file);
/haiku/src/preferences/shortcuts/
H A DShortcutsWindow.cpp63 // Because the "shortcuts_settings" file (SHORTCUTS_SETTING_FILE_NAME) is
66 // with window position information, instead, a separate file is used.
161 B_TRANSLATE("(Choose application with file requester)"), NULL));
204 // The window settings file is not accepted via B_REFS_RECEIVED; this
205 // is a behind-the-scenes file that the user will never see or
219 // tell ourselves to load this file if it exists
284 // up the file requester
289 "KeySet file!"),
332 // Saves a settings file to (saveEntry). Returns true iff successful.
361 // Appends new entries from the file specifie
[all...]
/haiku/src/system/boot/loader/file_systems/fat/
H A DDirectory.cpp476 // We only support 8.3 file names ATM.
486 // prepare a directory entry for the new file
517 File* file = new(nothrow) File(fVolume, entryOffset,
519 if (file == NULL)
522 *_node = file;
/haiku/src/apps/codycam/
H A DVideoConsumer.cpp46 static status_t SetFileType(BFile* file, int32 translator, uint32 type);
708 B_TRANSLATE("Error setting type of output file"));
711 UpdateFtpStatus(B_TRANSLATE("Error writing output file"));
720 UpdateFtpStatus(B_TRANSLATE("Error creating output file"));
746 // ftp the local file to our web site
759 // send the file to the server
793 SetFileType(BFile* file, int32 translator, uint32 type) argument
816 /* use BNodeInfo to set the file type */
817 BNodeInfo ninfo(file);
/haiku/src/apps/soundrecorder/
H A DRecorderWindow.cpp172 item->Entry().Remove(); // delete temp file
178 // Clean up currently recording file, if any.
661 // Create a file with a temporary name
668 // Find the file so we can refer to it later
671 ErrorAlert(B_TRANSLATE("Cannot find the temporary file created to "
677 ErrorAlert(B_TRANSLATE("Cannot open the temporary file created to "
727 ErrorAlert(B_TRANSLATE("Cannot get the file to play"), B_ERROR);
791 // User picked a place to put the file.
793 // temporary file), and the name of the
794 // new file t
[all...]

Completed in 204 milliseconds

<<21222324252627282930