/haiku/src/tools/gensyscalls/ |
H A D | gensyscallinfos.cpp | 315 void _ParseSyscalls(const char* filename) argument 318 ifstream file(filename, ifstream::in); 320 throw IOException(string("Failed to open `") + filename + "'."); 346 void _WriteSyscallInfoFile(const char* filename) argument 349 ofstream file(filename, ofstream::out | ofstream::trunc); 351 throw IOException(string("Failed to open `") + filename + "'."); 417 void _WriteSyscallTypeSizes(const char* filename) argument 420 ofstream file(filename, ofstream::out | ofstream::trunc); 422 throw IOException(string("Failed to open `") + filename + "'.");
|
/haiku/src/tests/kits/app/broster/ |
H A D | FindAppTester.cpp | 89 ref_for_path(const char *filename, bool traverse = true) argument 93 CHK(entry.SetTo(filename, traverse) == B_OK); 101 create_app(const char *filename, const char *signature = NULL, argument 104 system((string("touch ") + filename).c_str()); 106 system((string("chmod a+x ") + filename).c_str()); 109 CHK(file.SetTo(filename, B_READ_WRITE) == B_OK); 121 create_file(const char *filename, const char *type, argument 126 system((string("echo -n \"") + contents + "\" > " + filename).c_str()); 128 system((string("touch ") + filename).c_str()); 131 CHK(file.SetTo(filename, B_READ_WRIT 149 check_app_type(const char *signature, const char *filename) argument 163 set_file_time(const char *filename, time_t time) argument 174 set_version(const char *filename, uint32 version) argument 187 set_type_app_hint(const char *signature, const char *filename) argument [all...] |
/haiku/src/apps/terminal/ |
H A D | PrefWindow.cpp | 114 const char* filename; local 117 msg->FindString("name", &filename); 120 BPath path(&dir, filename);
|
/haiku/headers/private/netservices/ |
H A D | HttpForm.h | 71 status_t MarkAsFile(const BString& filename, 122 // Mark a field as a filename 124 const BString& filename, 127 const BString& filename);
|
/haiku/src/tests/add-ons/kernel/file_systems/random_read/ |
H A D | random_read.cpp | 199 // get a nice filename of the program 200 char *filename = strrchr(argv[0], '/') local 207 filename, filename, FILE_SIZE, NUMBER_OF_LOOPS);
|
/haiku/src/tools/ |
H A D | generate_boot_screen.cpp | 145 read_png(const char* filename, int& width, int& height, png_bytep*& rowPtrs, argument 149 FileCloser input(fopen(filename, "rb")); 151 error("[read_png] File %s could not be opened for reading", filename); 155 error("[read_png] File %s is not recognized as a PNG file", filename); 189 error("[read_png] File %s has wrong bit depth\n", filename); 192 filename);
|
/haiku/src/bin/ |
H A D | version.cpp | 33 get_version(const char *filename, version_kind kind, bool longFlag, bool numericalFlag) argument 35 BFile file(filename, O_RDONLY);
|
/haiku/headers/private/kernel/platform/efi/protocol/ |
H A D | file.h | 66 const char16_t* filename, uint64_t open_mode, uint64_t attributes) EFIAPI; 89 char16_t* filename, uint64_t open_mode, uint64_t attributes,
|
/haiku/src/system/libnetwork/netresolv/dst/ |
H A D | dst_internal.h | 136 int dst_s_build_filename( char *filename, const char *name, 140 FILE *dst_s_fopen (const char *filename, const char *mode, int perm);
|
H A D | dst_api.c | 395 * Write a private key to disk. The filename will be of the form: 462 * filename of the key file to be read. 484 EREPORT(("%s: Cannot make filename from %s, %d, and %s\n", 594 char filename[PATH_MAX]; local 608 /* Make the filename */ 609 if (dst_s_build_filename(filename, key->dk_key_name, key->dk_id, 611 EREPORT(("%s: Cannot make filename from %s, %d, and %s\n", 618 if ((fp = dst_s_fopen(filename, "w+", mode)) == NULL) { 620 __func__, filename, errno)); 833 char filename[PATH_MA local [all...] |
/haiku/src/bin/unzip/ |
H A D | list.c | 179 * We could DISPLAY the filename instead of storing (and possibly trun- 183 * filename in order for unzip to consider it a match. Speaking of 212 if (match(G.filename, G.pfnames[i], uO.C_flag)) { 218 if (match(G.filename, G.pxnames[i], uO.C_flag)) { 236 if ((G.processExternally)(G.filename, &G.crec)) 328 for (p = G.filename; *p; ++p) 339 (LPSTR)fnfilter(G.filename, slide), (LPSTR)methbuf, G.crec.crc32, 476 static int fn_is_dir(__G) /* returns TRUE if G.filename is directory */ 479 extent fn_len = strlen(G.filename); 483 ((endc = lastchar(G.filename, fn_le [all...] |
/haiku/headers/private/storage/mime/ |
H A D | AssociatedTypes.h | 36 status_t GuessMimeType(const char *filename, BString *result);
|
/haiku/src/apps/codycam/ |
H A D | Settings.h | 11 void SetUpSettings(char* filename);
|
H A D | VideoConsumer.h | 121 status_t LocalSave(char* filename, BBitmap* bitmap); 123 status_t FtpSave(char* filename);
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | attr.h | 10 status_t set_mime_type(vnode *node, const char *filename);
|
H A D | attr.cpp | 28 status_t set_mime_type(vnode *node, const char *filename) argument 33 return set_mime(&node->mime, filename);
|
/haiku/src/tests/kits/interface/bshelf/Container/ |
H A D | TPreferences.h | 25 TPreferences(char *filename);
|
H A D | TPreferences.cpp | 30 TPreferences::TPreferences(char *filename) : BMessage('pref') argument 41 path.Append(filename);
|
/haiku/src/tests/kits/interface/bshelf/ShelfInspector/ |
H A D | TPreferences.h | 25 TPreferences(char *filename);
|
H A D | TPreferences.cpp | 31 TPreferences::TPreferences(char *filename) : BMessage('pref') argument 43 path.Append(filename); // Filenamen anh��ngen
|
/haiku/src/bin/fwcontrol/ |
H A D | fwdv.c | 105 dvrecv(int d, const char *filename, char ich, int count) argument 118 if(strcmp(filename, "-") == 0) { 121 fd = open(filename, O_CREAT | O_WRONLY | O_TRUNC, 0660); 123 err(EX_NOINPUT, "%s", filename); 266 dvsend(int d, const char *filename, char ich, int count) argument 281 fd = open(filename, O_RDONLY); 283 err(EX_NOINPUT, "%s", filename);
|
/haiku/src/kits/network/libnetservices/ |
H A D | HttpForm.cpp | 179 BHttpFormData::MarkAsFile(const BString& filename, const BString& mimeType) argument 184 fFilename = filename; 440 // #pragma mark - Mark a field as a filename 444 BHttpForm::MarkAsFile(const BString& fieldName, const BString& filename, argument 452 it->second.MarkAsFile(filename, mimeType); 459 BHttpForm::MarkAsFile(const BString& fieldName, const BString& filename) argument 461 MarkAsFile(fieldName, filename, ""); 680 result << "; filename=\"" << element->File().Leaf() << '"'; 698 result << "; filename=\"" << element->Filename() << '"';
|
/haiku/src/apps/mediaplayer/settings/ |
H A D | Settings.cpp | 38 Settings::Settings(const char* filename) argument 41 fSettingsMessage(B_USER_SETTINGS_DIRECTORY, filename)
|
/haiku/src/tests/kits/interface/picture/ |
H A D | PictureTest.cpp | 17 Svg2PictureWindow(BRect frame, const char *filename) argument 20 BView *view = new Svg2PictureView(Bounds(), filename);
|
/haiku/src/apps/cortex/RouteApp/ |
H A D | RouteApp.h | 172 const char* filename);
|