Searched refs:open (Results 51 - 75 of 358) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DTracing.cpp70 close(open(sLogFilePath, flags, 0666));
96 int fd = open(sLogFilePath, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DTracing.cpp67 close(open(sLogFilePath, flags, 0666));
93 int fd = open(sLogFilePath, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DSettings.cpp31 int fd = open(gLogFilePath, flags, 0666);
110 int fd = open(gLogFilePath, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DSettings.cpp34 int fd = open(gLogFilePath, flags, 0666);
111 int fd = open(gLogFilePath, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/video/usb_vision/
H A Dtracing.c59 close(open(private_log_path, flags, 0666));
91 fd = open(private_log_path, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/
H A DSettings.cpp38 int fd = open(gLogFilePath, flags, 0666);
119 int fd = open(gLogFilePath, O_WRONLY | O_APPEND);
/haiku/src/add-ons/print/transports/parallel_port/
H A DParallelTransport.cpp67 fFile = open(device, O_RDWR | O_EXCL, 0);
71 fFile = open(device, O_WRONLY | O_EXCL, 0);
/haiku/src/bin/
H A Dunchop.c86 int fdout = open(outfile, O_WRONLY|O_CREAT|O_APPEND);
88 fprintf(stderr, "can't open '%s': %s\n", outfile, strerror(errno));
98 int fdin = open(fnameN, O_RDONLY);
100 fprintf(stderr, "can't open '%s': %s\n", fnameN, strerror(errno));
H A Dfortune.c44 // choose and open entry
63 fd = open(name, O_RDONLY);
98 fd = open(file, O_RDONLY, 0);
100 fprintf(stderr, "Couldn't open %s: %s\n", file, strerror(errno));
H A Ddstcheck.cpp125 int fd = open(path, O_RDWR | O_EXCL | O_CREAT, S_IRUSR | S_IWUSR);
127 fd = open(path, O_RDWR);
129 perror("couldn't open dst status settings file");
H A Dchop.c26 // before there is any attempt to open it -- this changes the error output
32 // and attempt to open the device. If serial1 is unused, this will actually
167 fd = open(fname, O_RDONLY);
169 fprintf(stderr, "can't open '%s': %s\n", fname, strerror(errno));
182 bool open_next_file = true; // when to open a new output file
214 fdout = open(fnameN, O_WRONLY|O_CREAT);
243 // close up the last output file if it's still open
/haiku/src/bin/debug/strace/
H A Dfcntl.cpp88 Syscall *open = get_syscall("_kern_open"); local
89 open->GetParameter("openMode")->SetHandler(new FlagsTypeHandler(kOpenFlags));
/haiku/src/kits/tracker/
H A DModel.h82 Model(const BEntry* entry, bool open = false, bool writable = false);
83 Model(const entry_ref*, bool traverse = false, bool open = false,
86 bool open = false, bool writable = false);
93 status_t SetTo(const BEntry*, bool open = false,
96 bool open = false, bool writable = false);
98 const char* name, bool open = false, bool writable = false);
120 // returns NULL if not open
271 // a utility open state manager, usefull to allocate on stack
274 // consider failing when open does not succeed
/haiku/src/tools/anyboot/
H A Danyboot.cpp230 int outputFileHandle = open(outputFile, O_WRONLY | O_TRUNC | O_CREAT,
232 checkError(outputFileHandle < 0, "failed to open output file");
234 int isoFileHandle = open(isoFile, O_RDONLY);
235 checkError(isoFileHandle < 0, "failed to open ISO file");
244 biosFileHandle = open(biosFile, O_RDONLY);
245 checkError(biosFileHandle < 0, "failed to open BIOS bootloader file");
251 efiFileHandle = open(efiFile, O_RDONLY);
252 checkError(efiFileHandle < 0, "failed to open EFI bootloader file");
259 int imageFileHandle = open(imageFile, O_RDONLY);
260 checkError(imageFileHandle < 0, "failed to open imag
[all...]
/haiku/src/libs/stdc++/legacy/
H A Dfilebuf.cc80 filebuf* filebuf::open(const char *filename, ios::openmode mode, int prot) function in class:filebuf
126 int fd = ::open(filename, posix_mode, prot);
140 filebuf* filebuf::open(const char *filename, const char *mode) function in class:filebuf
222 // Non-ANSI AT&T-ism: Default open protection.
/haiku/src/add-ons/print/transports/shared/
H A DSocket.cpp29 open();
40 open();
70 void Socket::open() function in class:Socket
/haiku/3rdparty/mmu_man/irc/Haiku/
H A Dgen_err_list.py10 errors_h = open("headers/os/support/Errors.h", "r")
88 strerror_c = open("src/system/libroot/posix/string/strerror.c", "r")
/haiku/src/kits/support/
H A DUuid.cpp121 // open device
122 int fd = open("/dev/urandom", O_RDONLY);
124 fd = open("/dev/random", O_RDONLY);
/haiku/src/tests/system/libroot/posix/
H A Dflock_test.cpp64 intptr_t fd = open("/etc/passwd", O_RDONLY);
66 fprintf(stderr, "could not open file: %s\n", strerror(errno));
95 fd = open("/etc/passwd", O_RDWR);
97 fprintf(stderr, "could not open file: %s\n", strerror(errno));
/haiku/src/add-ons/print/transports/serial_port/
H A DSerialTransport.cpp50 fFile = open(device, O_RDWR | O_EXCL, 0);
54 fFile = open(device, O_WRONLY | O_EXCL, 0);
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/
H A DSettings.cpp39 int fd = open(gLogFilePath, flags, 0666);
126 int fd = open(gLogFilePath, O_WRONLY | O_APPEND);
/haiku/src/add-ons/kernel/drivers/input/wacom/
H A Dwacom.c41 int open; member in struct:wacom_device
182 device->open = 1;
373 // tear it down if it's not open --
376 device->open--;
378 DPRINTF_ERR((ID "device_removed() open: %d\n", device->open));
380 if (device->open == 0) {
383 dprintf(ID "device /dev/%s%d still open -- marked for removal\n",
395 // Here we implement the posixy driver hooks (open/close/read/write/ioctl)
412 // if (device->open <
[all...]
/haiku/3rdparty/proj2make/
H A Dproj2make.cpp92 gProjFile.open(projPath, fstream::in | fstream::binary);
112 gMakeFile.open(makePath, fstream::in);
116 gMakeFile.open(makePath, fstream::out);
126 gTemplateFile.open(templateFileName.Path(), fstream::in);
128 throw Error("Can not open template %s", templateFileName.Path());
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcompat.c141 if (!noclose && (fd = open("/dev/null", O_RDWR, 0)) != -1) {
/haiku/src/bin/debug/time_stats/
H A Dtime_stats.cpp97 // open output file, if specified
100 outFD = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC,
103 fprintf(stderr, "Error: Failed to open \"%s\": %s\n", outputFile,

Completed in 109 milliseconds

1234567891011>>