/fuchsia/zircon/system/core/devmgr/ |
H A D | devhost-core.cpp | 109 ops.open = default_open; 133 ops.open = +[](void* ctx, zx_device_t**, uint32_t) -> zx_status_t { 406 DEFAULT_IF_NULL(ops, open); 595 // cause the vfs entry to be unpublished to avoid further open() attempts 621 printf("device open: %p(%s) is dead!\n", dev, dev->name); 637 // open created a per-instance device for us 642 printf("device open: %p(%s) in bad state %x\n", dev, dev->name, flags);
|
H A D | block-watcher.cpp | 228 int fs_blob_fd = open("/fs/blob", O_RDONLY | O_DIRECTORY); 230 printf("fshost: open(/fs/blob): %m\n"); 520 if ((dirfd = open("/dev/class/block", O_DIRECTORY | O_RDONLY)) >= 0) {
|
/fuchsia/zircon/system/core/netsvc/ |
H A D | netboot.c | 232 int fd = open("/dev/misc/dmctl", O_WRONLY); 387 int fd = open("/dev/misc/dmctl", O_WRONLY);
|
/fuchsia/zircon/system/core/virtcon/ |
H A D | main.cpp | 161 while ((fd = open("/dev/misc/ptmx", O_RDWR | O_NONBLOCK)) < 0) { 274 fbl::unique_fd fd(open(dir, O_DIRECTORY | O_RDONLY)); 405 printf("vc log listener: cannot open log\n");
|
H A D | vc-input.cpp | 103 if ((fd = open("/dev/misc/dmctl", O_WRONLY)) >= 0) {
|
/fuchsia/zircon/system/dev/audio/intel-hda/controller/ |
H A D | intel-hda-controller.cpp | 37 .open = nullptr, 310 .open = nullptr,
|
/fuchsia/zircon/system/uapp/lsusb/ |
H A D | lsusb.c | 245 int fd = open(devname, O_RDONLY); 323 int fd = open(devname, O_RDONLY);
|
/fuchsia/zircon/system/uapp/netdump/ |
H A D | netdump.c | 369 options->dumpfile = open(argv[0], O_WRONLY | O_CREAT); 413 if ((fd = open(options.device, O_RDWR)) < 0) { 414 fprintf(stderr, "netdump: cannot open '%s'\n", options.device);
|
/fuchsia/zircon/system/utest/zxcrypt/ |
H A D | test-device.cpp | 68 fbl::unique_fd fd(open(path, O_RDWR)); 69 ASSERT_TRUE(fd, Error("failed to open %s", path)); 150 ASSERT_TRUE(WaitAndOpen(ramdisk_path_, &ramdisk_), Error("failed to open %s", ramdisk_path_)); 153 Error("failed to open %s", fvm_part_path_)); 284 ramdisk_.reset(open(ramdisk_path_, O_RDWR)); 285 ASSERT_TRUE(ramdisk_, Error("failed to open %s", ramdisk_path_));
|
/fuchsia/zircon/system/uapp/ethtool/ |
H A D | ethtool.c | 142 if ((fd = open(options->device, O_RDWR)) < 0) { 143 fprintf(stderr, "ethtool: cannot open '%s': %d\n", options->device, fd);
|
/fuchsia/zircon/system/uapp/i2c/ |
H A D | i2c.c | 253 int fd = open(dev, O_RDWR);
|
/fuchsia/zircon/system/uapp/usbctl/ |
H A D | usbctl.c | 86 int fd = open(devname, O_RDWR);
|
/fuchsia/zircon/system/uapp/usb-test-fwloader/ |
H A D | usb-test-fwloader.cpp | 50 fprintf(stderr, "Could not open dir: \"%s\"\n", dir); 69 fprintf(stderr, "Could not open dir: \"%s\"\n", dir); 135 fbl::unique_fd file_fd(open(filename, O_RDONLY)); 137 fprintf(stderr, "Failed to open \"%s\", err: %s\n", filename, strerror(errno));
|
/fuchsia/zircon/system/uapp/waitfor/ |
H A D | waitfor.c | 67 fprintf(stderr, "waitfor: warning: failed to open '/dev/class/%s/%s'\n", 246 if ((dirfd = open(path, O_DIRECTORY | O_RDONLY)) < 0) {
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | null.c | 158 .open = fdio_default_open,
|
H A D | vmofile.c | 161 .open = fdio_default_open,
|
/fuchsia/zircon/system/ulib/inspector/ |
H A D | dso-list.cpp | 182 int fd = open(path, O_RDONLY);
|
/fuchsia/zircon/system/ulib/runtests-utils/ |
H A D | discover-and-run-tests.cpp | 103 int fd = open(p, O_RDONLY); 105 fprintf(stderr, "Warning: Could not open %s for syncing: %s", p, strerror(errno)); 239 fprintf(stderr, "Failed to open test list file %s: %s\n", test_list_path, 267 fprintf(stderr, "Error: Could not open %s\n", output_dir); 289 fprintf(stderr, "Error: Could not open JSON summary file.\n");
|
/fuchsia/zircon/system/ulib/zxio/ |
H A D | zxio.cpp | 131 return directory->ops->open(zxio_ctx_get(directory), flags, mode, path,
|
/fuchsia/zircon/system/utest/fdio/ |
H A D | fdio_handle_fd.c | 206 int fd = open("/dev/zero", O_RDONLY); 207 ASSERT_GE(fd, 0, "Failed to open /dev/zero");
|
/fuchsia/zircon/third_party/ulib/jemalloc/test/unit/ |
H A D | prof_reset.c | 13 fd = open("/dev/null", O_WRONLY); 14 assert_d_ne(fd, -1, "Unexpected open() failure");
|
/fuchsia/zircon/third_party/ulib/ngunwind/src/ |
H A D | os-linux.h | 75 mi->fd = open (path, O_RDONLY);
|
/fuchsia/zircon/third_party/ulib/jemalloc/bin/ |
H A D | jeprof.in | 776 # OS X: open will use standard preference for SVG files. 777 system("/usr/bin/open", $fname); 1187 open(SRC, "<$main::collected_profile"); 1281 open(CG, ">$filename"); 1354 open(OBJDUMP, "$cmd |") || error("$cmd: $!\n"); 1433 if (!open(TEMP, ">$fname")) { 1672 if (!open(FILE, "<$filename")) { 1814 if (!open(FILE, "<$filename")) { 1883 if (!open(FILE, "<$file")) { 2080 open(DO [all...] |
/fuchsia/zircon/scripts/ |
H A D | symbolize | 72 with open(id_file_path) as id_file: 83 with open(manifest_path) as manifest_file:
|
/fuchsia/zircon/system/ulib/minfs/ |
H A D | host.cpp | 107 fbl::unique_fd fd(open(path, O_RDWR)); 109 fprintf(stderr, "error: could not open path %s\n", path); 131 fbl::unique_fd fd(open(path, O_RDWR)); 133 fprintf(stderr, "error: could not open path %s\n", path);
|