Searched refs:open (Results 76 - 100 of 240) sorted by relevance

12345678910

/fuchsia/zircon/third_party/uapp/fsck-msdosfs/
H A Dcheck.c50 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0);
52 dosfs = open(fname, O_RDONLY, 0);
62 perr("Can't open `%s'", fname);
/fuchsia/zircon/system/host/fvm/container/
H A Dcontainer.cpp18 fbl::unique_fd fd(open(path, O_RDONLY));
20 fprintf(stderr, "Unable to open path %s\n", path);
/fuchsia/zircon/system/host/fvm/format/
H A Dformat.cpp31 fbl::unique_fd fd(open(path, O_RDONLY));
33 fprintf(stderr, "Format::Create: Could not open %s\n", path);
/fuchsia/zircon/system/uapp/disk-pave/
H A Ddisk-pave.cpp89 flags->payload_fd.reset(open(argv[0], O_RDONLY));
91 ERROR("Couldn't open supplied file\n");
/fuchsia/zircon/system/uapp/fs-mount/
H A Dmain.c88 if ((fd = open(devicepath, O_RDWR)) < 0) {
/fuchsia/zircon/system/uapp/hidsensor/
H A Dmain.c49 int fd = open(devname, O_RDONLY);
51 printf("failed to open %s: %d\n", devname, errno);
/fuchsia/zircon/system/uapp/ihda/
H A Dzircon_device.cpp27 int fd = ::open(dev_name_, O_RDONLY);
/fuchsia/zircon/system/uapp/lsblk/
H A Dmain.c119 fd = open(info.path, O_RDONLY);
178 fd = open(info.path, O_RDONLY);
265 int fd = open(dev, O_RDONLY);
319 int fd = open(dev, O_RDONLY);
/fuchsia/zircon/system/uapp/midiecho/
H A Dmidiecho.c32 int fd = open(devname, O_RDWR);
/fuchsia/zircon/system/uapp/run-vc/
H A Dmain.c27 while ((fd = open("/dev/misc/dmctl", O_RDWR)) < 0) {
/fuchsia/zircon/system/ulib/fdio/
H A Doutput.c40 .open = fdio_default_open,
/fuchsia/zircon/system/utest/fs/
H A Dmain.cpp40 fbl::unique_fd fd(open(argv[i + 1], O_RDWR));
42 fprintf(stderr, "[fs] Could not open block device\n");
H A Dtest-watcher.cpp105 int fd = open("::dir/foo", O_RDWR | O_CREAT);
145 int fd = open("::dir/foo", O_RDWR | O_CREAT);
148 fd = open("::dir/bar", O_RDWR | O_CREAT);
174 fd = open("::dir/baz", O_RDWR | O_CREAT);
H A Dtest-attr.c34 int fd1 = open("::file.txt", O_CREAT | O_RDWR, 0644);
66 int fd = open("::file.txt", O_CREAT | O_RDWR, 0644);
120 int fd = open("::parent/child", O_CREAT | O_RDWR);
H A Dtest-lseek.cpp28 fbl::unique_fd fd(open(filename, O_CREAT | O_RDWR));
64 fbl::unique_fd fd(open(filename, O_CREAT | O_RDWR));
95 fbl::unique_fd fd(open(filename, O_CREAT | O_RDWR));
H A Dwrap.c85 int FL(open)(const char* path, int flags, mode_t mode);
86 int FN(open)(const char* path, int flags, mode_t mode) { function
89 DO_REAL(open, real_path, flags, mode);
/fuchsia/zircon/system/utest/fzl/
H A Dfdio.cpp24 fbl::unique_fd dir(open("/my-tmp", O_DIRECTORY | O_RDONLY));
/fuchsia/zircon/third_party/lib/acpica/source/include/acpica/platform/
H A Dacmsvc.h60 #define open _open macro
82 /* Eliminate warnings for POSIX clib function names (open, write, etc.) */
/fuchsia/zircon/third_party/ulib/ngunwind/include/ngunwind/private/
H A Delfxx.h75 fd = open (path, O_RDONLY);
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/cipher/
H A Dinternal.h92 int (*open)(const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, member in struct:evp_aead_st
/fuchsia/zircon/system/utest/runtests-utils/
H A Druntests-utils-test-utils.cpp36 const int fd = open(path_.data(), O_CREAT | O_WRONLY, S_IRWXU);
57 fbl::unique_fd input_fd{open(file.data(), O_RDONLY)};
60 fbl::unique_fd output_fd{open(path_.data(), O_CREAT | O_WRONLY, S_IRWXU)};
136 printf("FAILURE: could not open directory: %s\n", dir_of_test_output.c_str());
/fuchsia/zircon/third_party/tools/android/
H A Dmkdtimg63 input = open(dtb_file, 'rb')
64 output = open(outputname, 'wb')
122 with open(out_dtb, 'rb') as dtb_fd:
/fuchsia/zircon/system/utest/blobfs-bench/
H A Dblobfs-bench.cpp185 fbl::unique_fd fd(open(new_blob->path.c_str(), O_CREAT | O_RDWR));
204 state->DeclareStep("open");
215 fbl::unique_fd fd(open(new_blob->path.c_str(), O_CREAT | O_RDWR));
231 fd.reset(open(new_blob->path.c_str(), O_RDONLY));
268 fbl::unique_fd fd(open(info_.paths[path_index].c_str(), O_RDONLY));
273 fbl::unique_fd no_fd(open(negative_path.c_str(), O_RDONLY));
/fuchsia/zircon/third_party/uapp/dash/src/bltin/
H A Dzircon.c34 fd = open(argv[1], O_RDONLY);
36 fprintf(stderr, "error: cannot open '%s'\n", argv[1]);
132 fprintf(stderr, "error: cannot open '%s'\n", argv[1]);
179 if ((fdi = open(src_name, O_RDONLY)) < 0) {
180 fprintf(stderr, "cp: cannot open '%s'\n", src_name);
183 if ((fdo = open(dest_name, O_WRONLY | O_CREAT)) < 0) {
186 (fdo = open(dest_name, O_WRONLY | O_CREAT)) < 0) {
187 fprintf(stderr, "cp: cannot open '%s'\n", dest_name);
464 int fd = open("/dev/misc/dmctl", O_WRONLY);
466 fprintf(stderr, "error: cannot open dmct
[all...]
/fuchsia/zircon/system/utest/fvm/
H A Dfvm.cpp81 fd = open(disk_path_out, O_RDWR);
83 fprintf(stderr, "fvm: Could not open ramdisk\n");
126 int ramdisk_fd = open(ramdisk_path, O_RDWR);
128 fprintf(stderr, "fvm rebind: Could not open ramdisk\n");
146 ramdisk_fd = open(ramdisk_path, O_RDWR);
148 fprintf(stderr, "fvm rebind: Could not open ramdisk\n");
176 fvm_fd = open(path, O_RDWR);
178 fprintf(stderr, "fvm rebind: Failed to open fvm\n");
186 fbl::unique_fd fd(open(fvm_path, O_RDWR));
187 ASSERT_TRUE(fd, "Failed to open fv
[all...]

Completed in 139 milliseconds

12345678910