Searched refs:file (Results 201 - 225 of 737) sorted by path

1234567891011>>

/haiku/src/bin/network/ppp_up/
H A DConnectionView.cpp225 BFile file(&entry, B_WRITE_ONLY);
226 WriteMessageDriverSettings(file, fSettings);
/haiku/src/bin/network/telnet/
H A Dcommands.c44 # include <sys/file.h>
711 "don't read ~/.telnetrc file",
714 "skip reading of ~/.telnetrc file" },
885 { "tracefile", "file to write trace information to", SetNetTrace, (cc_t *)NetTraceFile},
H A Dutilities.c113 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/bin/rc/
H A Dcompile.cpp41 static BFile file; variable
58 char* file; member in struct:mem_t
73 AddIncludeDir(const char *file);
81 AddIncludeDir::AddIncludeDir(const char *file) argument
83 // ignore the special stdin file
84 if (!strcmp(file, "-"))
87 if (fPath.SetTo(file) != B_OK
117 mem.file = strdup(lexfile);
136 free(i->file);
157 printf("%p allocated at %s:%ld\n", i->ptr, i->file,
193 compile_file(char *file) argument
[all...]
H A Ddecompile.cpp797 // #pragma mark - file examination
920 BFile file(fileName, B_READ_ONLY);
921 if (file.InitCheck() != B_OK) {
928 if (res.SetTo(&file) != B_OK) {
H A Dparser.y667 BFile file(tmpname, B_READ_ONLY);
668 if (file.InitCheck() == B_OK) {
670 if (file.GetSize(&size) == B_OK) {
674 if (file.Read(out.ptr, out.size) == (ssize_t) out.size) {
H A Drdef.cpp115 rdef_add_input_file(const char *file) argument
119 char *temp = strdup(file);
H A Drdef.h2 * @file rdef.h
4 * Public header file for the librdef shared library. Programs that want to
5 * use librdef should include this file, and link to librdef.so.
49 * Whether to overwrite or merge with the output file. With this flag, the
50 * compiler will add the resources to the output file (if it exists). When
51 * something goes wrong, the output file is not deleted (although it may
53 * the contents of the output file if it already existed, and the file is
65 * new header file.
80 /** Could not write the output file
[all...]
/haiku/src/bin/unzip/
H A Dapi.c4 See the accompanying file LICENSE, version 2000-Apr-09 or later
22 int UzpUnzipToMemory(char *zip, char *file, UzpOpts *optflgs,
26 int UzpGrep(char *archive, char *file, char *pattern, int cmd, int SkipBin,
51 #ifdef DLL /* This source file supplies DLL-only interface code. */
226 int UZ_EXP UzpUnzipToMemory(char *zip, char *file, UzpOpts *optflgs, argument
241 intern_file = (char *)malloc(strlen(file)+1);
248 ISO_TO_INTERN(file, intern_file);
250 # define file intern_file macro
266 r = (unzipToMemory(__G__ zip, file, retstr) <= PK_WARN);
270 # undef file macro
340 unzipToMemory(__GPRO__ char *zip, char *file, UzpBuffer *retstr) argument
452 UzpGrep(char *archive, char *file, char *pattern, int cmd, int SkipBin, UzpCB *UsrFuncts) argument
[all...]
H A Dbeos.c4 See the accompanying file LICENSE, version 2000-Apr-09 or later
44 /* For the new post-DR8 file attributes */
89 struct dirent *file; variable in typeref:struct:dirent
126 while ((file = readdir(wild_dir)) != (struct dirent *)NULL) {
127 if (file->d_name[0] == '.' && wildname[0] != '.')
129 if (match(file->d_name, wildname, 0)) { /* 0 == case sens. */
132 strcpy(matchname+dirnamelen, file->d_name);
134 strcpy(matchname, file->d_name);
144 * searchable, but filespec was not wild and file is readable) */
161 while ((file
[all...]
H A Dcrc_i386.S4 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"
H A Dunzip.h7 This header file contains the public macros and typedefs required by
539 #define PK_MEM3 6 /* insufficient memory (file decompression) */
579 int UZ_EXP UzpUnzipToMemory OF((char *zip, char *file, UzpOpts *optflgs,
581 int UZ_EXP UzpGrep OF((char *archive, char *file,
H A Dunzpriv.h4 See the accompanying file LICENSE, version 2000-Apr-09 or later
13 This header file contains private (internal) macros, typedefs, prototypes
178 # define LONGINT off_t /* Amdahl UTS nonsense ("extended file types") */
298 # include <fcntl.h> /* extra code to deal with our extra file */
441 # include <sys/file.h> /* MTS uses this instead of fcntl.h */
451 # define FOPWT "w" /* open file for writing in TEXT mode */
534 # include <sys/file.h>
581 # include <file.h> /* same things as fcntl.h has */
1239 #define MPN_NOMEM 10<<8 /* error - out of memory, file skipped */
1251 #define DISPL_8 5 /* display file commen
[all...]
/haiku/src/bin/
H A Dversion.cpp22 "Returns the version of a file.\n\n"
35 BFile file(filename, O_RDONLY);
36 if (file.InitCheck() != B_OK) {
37 printf("Couldn't get file info!\n");
41 BAppFileInfo info(&file);
43 printf("Couldn't get file info!\n");
/haiku/src/build/libbe/storage/
H A DAppFileInfo.cpp84 BAppFileInfo::BAppFileInfo(BFile* file) argument
89 SetTo(file);
100 BAppFileInfo::SetTo(BFile* file) argument
102 // unset the old file
111 = file != NULL && file->InitCheck() == B_OK ? B_OK : B_BAD_VALUE;
119 error = fResources->SetTo(file);
132 error = BNodeInfo::SetTo(file);
864 // set the attribute on the MIME type, if the file has a signature
916 // set the attribute on the MIME type, if the file ha
[all...]
H A DFile.cpp6 \file File.cpp
40 /*! If \a file is uninitialized, the newly constructed BFile will be, too.
41 \param file the BFile object to be copied
43 BFile::BFile(const BFile &file) argument
48 *this = file;
52 /*! \brief Creates a BFile and initializes it to the file referred to by
54 \param ref the entry_ref referring to the file
55 \param openMode the mode in which the file should be opened
67 /*! \brief Creates a BFile and initializes it to the file referred to by
69 \param entry the BEntry referring to the file
480 operator =(const BFile &file) argument
[all...]
/haiku/src/build/libroot/
H A Dfs_descriptors.cpp503 if (FileDescriptor *file = dynamic_cast<FileDescriptor*>(descriptor)) {
504 fd = file->fd;
H A Dmisc.cpp27 _debuggerAssert(const char *file, int line, const char *expression) argument
30 snprintf(buffer, sizeof(buffer), "%s:%d: %s\n", file, line, expression);
/haiku/src/kits/app/
H A DApplication.cpp398 BFile file(&ref, B_READ_ONLY);
399 fInitError = fileInfo.SetTo(&file);
403 // compare the file signature and the supplied signature
1533 // don't quit file panels if we haven't been asked for it
1696 BFile file(&ref, B_READ_ONLY);
1697 if (file.InitCheck() != B_OK)
1700 BResources* resources = new (std::nothrow) BResources(&file, false);
/haiku/src/kits/debugger/controllers/
H A DTeamDebugger.cpp103 virtual void LocatableFileChanged(LocatableFile* file) argument
354 // create file manager
2130 // We have a source file, so get the address for the source
2148 // No source file (or we failed getting the statement), so try
2351 _NotifyUser("Write Core File", "Failed to write core file: %s",
2410 LocatableFile* file = NULL; local
2412 file = fFileManager->GetTargetFile(imageInfo.Name());
2413 BReference<LocatableFile> imageFileReference(file, true);
2416 status_t error = fTeam->AddImage(imageInfo, file, &image);
2451 // get the source file, i
[all...]
/haiku/src/kits/debugger/debug_info/
H A DDebuggerImageDebugInfo.cpp122 DebuggerImageDebugInfo::AddSourceCodeInfo(LocatableFile* file, argument
H A DDebuggerImageDebugInfo.h62 virtual status_t AddSourceCodeInfo(LocatableFile* file,
H A DDwarfImageDebugInfo.h50 DwarfFile* file);
92 virtual status_t AddSourceCodeInfo(LocatableFile* file,
H A DDwarfStackFrameDebugInfo.cpp168 image_id imageID, DwarfFile* file, CompilationUnit* compilationUnit,
175 fTypeContext(new(std::nothrow) DwarfTypeContext(architecture, imageID, file,
260 const char* file; local
263 directory, file, line, column);
167 DwarfStackFrameDebugInfo(Architecture* architecture, image_id imageID, DwarfFile* file, CompilationUnit* compilationUnit, DIESubprogram* subprogramEntry, GlobalTypeLookup* typeLookup, GlobalTypeCache* typeCache, target_addr_t instructionPointer, target_addr_t framePointer, target_addr_t relocationDelta, DwarfTargetInterface* targetInterface, RegisterMap* fromDwarfRegisterMap) argument
H A DFunction.cpp112 Function::LocatableFileChanged(LocatableFile* file) argument
116 file->GetPath(path);
117 if (file->GetLocatedPath(locatedPath) && locatedPath != path) {

Completed in 130 milliseconds

1234567891011>>