Searched refs:open (Results 151 - 175 of 240) sorted by relevance

12345678910

/fuchsia/zircon/system/core/devmgr/
H A Ddevhost-core.cpp109 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 Dblock-watcher.cpp228 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 Dnetboot.c232 int fd = open("/dev/misc/dmctl", O_WRONLY);
387 int fd = open("/dev/misc/dmctl", O_WRONLY);
/fuchsia/zircon/system/core/virtcon/
H A Dmain.cpp161 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 Dvc-input.cpp103 if ((fd = open("/dev/misc/dmctl", O_WRONLY)) >= 0) {
/fuchsia/zircon/system/dev/audio/intel-hda/controller/
H A Dintel-hda-controller.cpp37 .open = nullptr,
310 .open = nullptr,
/fuchsia/zircon/system/uapp/lsusb/
H A Dlsusb.c245 int fd = open(devname, O_RDONLY);
323 int fd = open(devname, O_RDONLY);
/fuchsia/zircon/system/uapp/netdump/
H A Dnetdump.c369 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 Dtest-device.cpp68 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 Dethtool.c142 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 Di2c.c253 int fd = open(dev, O_RDWR);
/fuchsia/zircon/system/uapp/usbctl/
H A Dusbctl.c86 int fd = open(devname, O_RDWR);
/fuchsia/zircon/system/uapp/usb-test-fwloader/
H A Dusb-test-fwloader.cpp50 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 Dwaitfor.c67 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 Dnull.c158 .open = fdio_default_open,
H A Dvmofile.c161 .open = fdio_default_open,
/fuchsia/zircon/system/ulib/inspector/
H A Ddso-list.cpp182 int fd = open(path, O_RDONLY);
/fuchsia/zircon/system/ulib/runtests-utils/
H A Ddiscover-and-run-tests.cpp103 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 Dzxio.cpp131 return directory->ops->open(zxio_ctx_get(directory), flags, mode, path,
/fuchsia/zircon/system/utest/fdio/
H A Dfdio_handle_fd.c206 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 Dprof_reset.c13 fd = open("/dev/null", O_WRONLY);
14 assert_d_ne(fd, -1, "Unexpected open() failure");
/fuchsia/zircon/third_party/ulib/ngunwind/src/
H A Dos-linux.h75 mi->fd = open (path, O_RDONLY);
/fuchsia/zircon/third_party/ulib/jemalloc/bin/
H A Djeprof.in776 # 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 Dsymbolize72 with open(id_file_path) as id_file:
83 with open(manifest_path) as manifest_file:
/fuchsia/zircon/system/ulib/minfs/
H A Dhost.cpp107 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);

Completed in 99 milliseconds

12345678910