/fuchsia/zircon/third_party/uapp/fsck-msdosfs/ |
H A D | check.c | 50 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 D | container.cpp | 18 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 D | format.cpp | 31 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 D | disk-pave.cpp | 89 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 D | main.c | 88 if ((fd = open(devicepath, O_RDWR)) < 0) {
|
/fuchsia/zircon/system/uapp/hidsensor/ |
H A D | main.c | 49 int fd = open(devname, O_RDONLY); 51 printf("failed to open %s: %d\n", devname, errno);
|
/fuchsia/zircon/system/uapp/ihda/ |
H A D | zircon_device.cpp | 27 int fd = ::open(dev_name_, O_RDONLY);
|
/fuchsia/zircon/system/uapp/lsblk/ |
H A D | main.c | 119 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 D | midiecho.c | 32 int fd = open(devname, O_RDWR);
|
/fuchsia/zircon/system/uapp/run-vc/ |
H A D | main.c | 27 while ((fd = open("/dev/misc/dmctl", O_RDWR)) < 0) {
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | output.c | 40 .open = fdio_default_open,
|
/fuchsia/zircon/system/utest/fs/ |
H A D | main.cpp | 40 fbl::unique_fd fd(open(argv[i + 1], O_RDWR)); 42 fprintf(stderr, "[fs] Could not open block device\n");
|
H A D | test-watcher.cpp | 105 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 D | test-attr.c | 34 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 D | test-lseek.cpp | 28 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 D | wrap.c | 85 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 D | fdio.cpp | 24 fbl::unique_fd dir(open("/my-tmp", O_DIRECTORY | O_RDONLY));
|
/fuchsia/zircon/third_party/lib/acpica/source/include/acpica/platform/ |
H A D | acmsvc.h | 60 #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 D | elfxx.h | 75 fd = open (path, O_RDONLY);
|
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/cipher/ |
H A D | internal.h | 92 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 D | runtests-utils-test-utils.cpp | 36 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 D | mkdtimg | 63 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 D | blobfs-bench.cpp | 185 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 D | zircon.c | 34 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 D | fvm.cpp | 81 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...] |