Searched refs:file (Results 526 - 550 of 738) sorted by relevance

<<21222324252627282930

/haiku/src/kits/network/libnetservices/
H A DHttpForm.cpp55 BHttpFormData::BHttpFormData(const BString& name, const BPath& file) argument
61 fPathValue(file),
309 // Send the buffer only if its not marked as a file
324 // file content, this should be preferably handled by the protocol
396 BHttpForm::AddFile(const BString& fieldName, const BPath& file) argument
398 BHttpFormData formData(fieldName, file);
/haiku/src/kits/interface/
H A DAboutWindow.cpp248 BFile file(&ref, B_READ_ONLY);
249 BAppFileInfo appMime(&file);
309 BFile file(&ref, B_READ_ONLY);
310 BAppFileInfo appMime(&file);
/haiku/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.cpp229 BFile file(ref, B_READ_ONLY);
230 err = file.InitCheck();
234 BNodeInfo info(&file);
244 err = file.GetSize(&size);
/haiku/src/apps/people/
H A DPersonWindow.cpp10 * This file may be used under the terms of the Be Sample Code License.
207 BFile file; local
208 directory.CreateFile(name, &file);
209 if (file.InitCheck() == B_NO_ERROR) {
210 BNodeInfo* node = new BNodeInfo(&file);
238 // We lost our file. Close the window.
/haiku/src/bin/network/traceroute/
H A Difaddrlist.c35 #include <sys/file.h>
/haiku/src/kits/tracker/
H A DUtilities.cpp1426 GetAppSignatureFromAttr(BFile* file, char* attr) argument
1434 BAppFileInfo appFileInfo(file);
1437 ssize_t readResult = file->ReadAttr(kAttrAppSignature, B_MIME_STRING_TYPE,
1449 GetAppIconFromAttr(BFile* file, BBitmap* icon, icon_size which) argument
1457 BAppFileInfo appFileInfo(file);
1466 // status_t result = file->GetAttrInfo(attrName, &ainfo);
1470 // ssize_t readResult = file->ReadAttr(attrName, type, 0, buffer,
1482 // result = file->GetAttrInfo(attrName, &ainfo);
1488 // ssize_t readResult = file->ReadAttr(attrName, type, 0, buffer, ainfo.size);
1712 _ThrowOnError(status_t result, const char* DEBUG_ONLY(file),
[all...]
H A DFindPanel.h137 static bool IsQueryTemplate(BNode* file);
146 void SaveQueryAttributes(BNode* file, bool templateQuery);
150 // save the contents of the find window into the query file
/haiku/src/tests/add-ons/print/ppd/parser/
H A DPPDParser.cpp105 // keyword is not required if file version < since
172 PPDParser::PPDParser(const char* file) argument
173 : Parser(file)
/haiku/src/apps/webpositive/
H A DBrowsingHistory.cpp350 BrowsingHistory::_OpenSettingsFile(BFile& file, uint32 mode) argument
358 return file.SetTo(path.Path(), mode) == B_OK;
/haiku/src/servers/midi/
H A DDeviceWatcher.cpp64 BFile file(&info.ref, B_READ_ONLY);
67 if (resources.SetTo(&file) == B_OK) {
/haiku/src/servers/package/
H A DFSUtils.cpp228 FSUtils::_OpenFile(const Entry& entry, BFile& file) argument
236 return file.SetTo(path, B_READ_ONLY);
/haiku/src/preferences/network/
H A DNetworkSettingsAddOn.cpp293 BFile file(info.name, B_READ_ONLY);
294 if (resources->SetTo(&file) == B_OK)
/haiku/docs/develop/media/
H A DMediaFileProducer.h101 const entry_ref & file,
105 const entry_ref & file,
/haiku/src/tests/kits/media/mp3_decoder_test/
H A Dmp3_decoder_test.cpp15 The test requires a MP3 test file at the same directory you start the
16 test from. Normally there is a test file included at the same location
17 this source file is located if not have a look at the git history.
23 The originally included test file results in an audio signal containing
25 This test file has the following properties:
77 FileDecoder(BFile* file) : BMediaDecoder() { argument
78 sourceFile = file;
/haiku/src/preferences/keymap/
H A DKeymapWindow.cpp879 //! Saves previous map to the "Key_map" file.
903 //! Saves current map to the "Key_map" file.
1063 KeymapWindow::_GetSettings(BFile& file, int mode) const argument
1073 return file.SetTo(path.Path(), mode);
1092 BFile file; local
1093 status_t status = _GetSettings(file, B_READ_ONLY);
1096 status = settings.Unflatten(&file);
1116 BFile file; local
1118 = _GetSettings(file, B_WRITE_ONLY | B_ERASE_FILE | B_CREATE_FILE);
1129 return settings.Flatten(&file);
[all...]
/haiku/headers/posix/
H A Dstdio.h68 /* file operations */
120 /* file I/O */
136 extern void setbuf (FILE *file, char *buff);
137 extern int setvbuf(FILE *file, char *buff, int mode, size_t size);
/haiku/build/scripts/
H A Dbuild_cross_tools_gcc4263 bootLibgcc=`$installDir/bin/$haikuMachine-gcc -m32 -print-file-name=libgcc.a`
265 bootLibsupcxx=`$installDir/bin/$haikuMachine-gcc -m32 -print-file-name=libsupc++.a`
/haiku/src/kits/package/hpkg/
H A DPackageFileHeapAccessorBase.cpp185 BErrorOutput* errorOutput, BPositionIO* file, off_t heapOffset,
189 fFile(file),
184 PackageFileHeapAccessorBase( BErrorOutput* errorOutput, BPositionIO* file, off_t heapOffset, DecompressionAlgorithmOwner* decompressionAlgorithm) argument
/haiku/src/apps/powerstatus/
H A DPowerStatusView.cpp856 PowerStatusReplicant::_GetSettings(BFile& file, int mode) argument
866 return file.SetTo(path.Path(), mode);
875 BFile file; local
876 if (_GetSettings(file, B_READ_ONLY) != B_OK)
880 if (settings.Unflatten(&file) < B_OK)
890 BFile file; local
891 if (_GetSettings(file, B_WRITE_ONLY | B_CREATE_FILE | B_ERASE_FILE) != B_OK)
898 settings.Flatten(&file, &size);
/haiku/src/add-ons/network_settings/dialup/
H A DDialUpView.cpp401 BFile file;
403 settingsDirectory.CreateFile(fCurrentItem->Label(), &file);
404 WriteMessageDriverSettings(file, settings);
408 profileDirectory.CreateFile(fCurrentItem->Label(), &file);
409 WriteMessageDriverSettings(file, profile);
/haiku/src/apps/mail/
H A DAddressTextControl.cpp725 BFile file(&ref, B_READ_ONLY);
726 if (file.InitCheck() == B_NO_ERROR) {
727 BNodeInfo info(&file);
778 file.ReadAttrString(attr.String(), &email);
784 file.ReadAttrString("META:name", &name);
H A DMailWindow.cpp220 BFile file(ref, B_READ_ONLY);
245 // sucks up one file handle per mounted BFS disk volume. Plus mail file
247 // Draft menu with the file names on demand - when the user clicks on it;
270 read_read_attr(file, flag);
279 file.ReadAttrString(B_MAIL_ATTR_STATUS, &status);
602 BFile file; local
603 file.SetTo(&entry, O_RDWR);
604 if (file.InitCheck() == B_NO_ERROR) {
808 // Ask the tracker what the next/prev file i
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.c24 * distribution in the file COPYING); if not, write to the Free Software
82 "details read the GNU General Public License to be\nfound in the file "
101 "Access is denied because the NTFS journal file is unclean. Choices are:\n"
200 * @name: Full pathname of the device/file to work with
232 /* Make sure the file system is not mounted. */
305 * libntfs-3g does not record whether the volume log file was dirty
720 * The metadata file $Bitmap has one binary bit representing each cluster on
786 * The metadata file $BITMAP has one binary bit representing each record in the
853 * utils_is_metadata - Determine if an inode represents a metadata file
860 * Return: 1 inode is a metadata file
869 MFT_RECORD *file; local
[all...]
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Dkernel_interface.cpp3 * This file may be used under the terms of the Be Sample Code License.
251 fs_walk(fs_volume* _volume, fs_vnode* _base, const char* file, ino_t* _vnodeID) argument
257 TRACE(("fs_walk - looking for %s in dir file of length %d\n", file,
260 if (strcmp(file, ".") == 0) {
262 TRACE(("fs_walk - found \".\" file.\n"));
265 } else if (strcmp(file, "..") == 0) {
267 TRACE(("fs_walk - found \"..\" file.\n"));
272 // look up file in the directory
306 && !strcmp(node.name, file)) {
[all...]
/haiku/src/system/libnetwork/netresolv/dst/
H A Ddst_api.c20 * This file contains the interface between the DST API and the crypto API.
21 * This is the only file that needs to be changed if the crypto system is
397 * If there is already a file with this name, an error is returned.
412 char file[PATH_MAX]; local
431 /* Now I can create the file I want to use */
432 dst_s_build_filename(file, key->dk_key_name, key->dk_id, key->dk_alg,
435 /* Do not overwrite an existing file */
436 if ((fp = dst_s_fopen(file, "w", 0600)) != NULL) {
441 " errno=%d\n", __func__, file, len, nn, errno));
448 EREPORT(("%s: Can not create file
[all...]

Completed in 136 milliseconds

<<21222324252627282930