/fuchsia/zircon/system/ulib/runtests-utils/ |
H A D | fuchsia-run-test.cpp | 220 state->root_dir_fd.reset(open("/", O_RDONLY | O_DIRECTORY)); 222 printf("FAILURE: Could not open root directory /\n"); 303 fprintf(stderr, "FAILURE: Could not open output file at %s: %s\n", 356 fbl::unique_fd data_sink_dir_fd{open(output_dir, O_RDONLY | O_DIRECTORY)}; 358 printf("FAILURE: Could not open output directory %s: %s\n", output_dir, 375 fprintf(stderr, "FAILURE: cannot open data-sink directory \"%s\": %s\n", 419 fprintf(stderr, "FAILURE: Cannot open data-sink file \"%s\": %s\n",
|
/fuchsia/zircon/system/host/fidl/compiler/ |
H A D | main.cpp | 130 stream.open(filename, mode); 132 Fail("Could not open file: %s\n", filename.data());
|
/fuchsia/zircon/system/host/bootserver/ |
H A D | tftp.c | 45 xd->fd = open(filename, O_RDONLY); 47 fprintf(stderr, "%s: error: Could not open file %s\n", appname, filename);
|
/fuchsia/zircon/system/uapp/netreflector/ |
H A D | netreflector.c | 191 if ((fd = open(ethdev, O_RDWR)) < 0) { 192 fprintf(stderr, "netreflector: cannot open '%s'\n", argv[1]);
|
/fuchsia/zircon/system/uapp/nand-util/ |
H A D | main.cpp | 67 explicit NandBroker(const char* path) : device_(open(path, O_RDWR)) {} 97 printf("Failed to open or query the device\n"); 405 printf("Unable to open the nand device\n");
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | pipe.c | 235 .open = fdio_default_open,
|
H A D | private.h | 23 // FDIO provides open/close/read/write io over various transports 43 zx_status_t (*open)(fdio_t* io, const char* path, uint32_t flags, member in struct:fdio_ops
|
/fuchsia/zircon/system/ulib/fs-test-utils/ |
H A D | perftest.cpp | 143 fbl::unique_fd fd(open(block_device_path.c_str(), O_RDONLY));
|
/fuchsia/zircon/system/utest/fs/ |
H A D | test-rw-workers.c | 168 ASSERT_GT((w->fd = open(w->name, O_RDWR | O_CREAT | O_EXCL, 0644)), 0, "");
|
/fuchsia/zircon/system/utest/memfs/ |
H A D | memfs-tests.cpp | 150 // 5. Write kPageSize * page_limit data then unlink&close&open the file, repeat a few times. 178 int fd = open("/mytmp", O_DIRECTORY | O_RDONLY);
|
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | input.c | 419 if ((fd = open(fname, O_RDONLY)) < 0) { 423 exerror(EXERROR, "Can't open %s", fname); 435 * Like setinputfile, but takes an open file descriptor. Call this with
|
/fuchsia/zircon/third_party/ulib/jemalloc/src/ |
H A D | pages.c | 342 * Use syscall(2) rather than {open,read,close}(2) when possible to avoid 356 fd = open("/proc/sys/vm/overcommit_memory", O_RDONLY);
|
/fuchsia/zircon/system/host/fvm/container/ |
H A D | fvm.cpp | 46 fd_.reset(open(path, O_RDWR, 0644)); 49 fd_.reset(open(path, O_RDWR | O_CREAT | O_EXCL, 0644)); 58 fprintf(stderr, "Failed to open path %s: %s\n", path, strerror(errno)); 288 fbl::unique_fd fd(open(path, O_RDWR | O_CREAT, 0644)); 291 fprintf(stderr, "Unable to open temp file %s\n", path);
|
H A D | sparse.cpp | 85 fd_.reset(open(path, O_CREAT | O_RDWR, 0666)); 88 fprintf(stderr, "Failed to open sparse data path\n");
|
/fuchsia/zircon/third_party/uapp/mkfs-msdosfs/ |
H A D | mkfs_msdos.c | 215 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0644); 224 } else if ((fd = open(fname, o.no_create ? O_RDONLY : O_RDWR)) == -1) { 349 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb)) {
|
/fuchsia/zircon/system/utest/ramdisk/ |
H A D | ramdisk.cpp | 50 int fd = open(ramdisk_path, O_RDWR); 51 ASSERT_GE(fd, 0, "Could not open ramdisk device"); 63 ASSERT_TRUE(fd, "Could not open ramdisk device"); 73 ASSERT_TRUE(fd, "Could not open ramdisk device"); 182 fbl::unique_fd fd(open(ramdisk_path, O_RDWR)); 215 int fd = open(ramdisk_path, O_RDWR); 216 ASSERT_GE(fd, 0, "Could not open ramdisk device"); 278 int devfd = open(blockpath, O_RDONLY); 287 ASSERT_EQ(open(blockpath, O_RDONLY), -1, "Ramdisk is visible in /dev after destruction"); 301 int fd = open(ramdisk_pat [all...] |
/fuchsia/zircon/system/core/devmgr/ |
H A D | fshost.cpp | 153 int dirfd = open("/dev/misc", O_DIRECTORY | O_RDONLY); 155 printf("fshost: failed to open /dev/misc: %s\n", strerror(errno));
|
/fuchsia/zircon/system/uapp/biotime/ |
H A D | biotime.cpp | 354 if ((fd = open(device_filename, O_RDONLY)) < 0) { 355 fprintf(stderr, "error: cannot open '%s'\n", device_filename);
|
/fuchsia/zircon/system/uapp/display-test/ |
H A D | main.cpp | 50 int vfd = open("/dev/class/display-controller/000", O_RDWR); 52 printf("Failed to open display controller (%d)\n", errno);
|
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/ |
H A D | device.h | 19 // can be implemented to define standard behavior (e.g., open/close/read/write), 144 proto->open = Open;
|
/fuchsia/zircon/system/ulib/ddktl/test/ |
H A D | device-tests.cpp | 200 EXPECT_EQ(ZX_OK, ops->open(ctx, nullptr, 0), "");
|
/fuchsia/zircon/system/ulib/inet6/ |
H A D | netifc.c | 374 if ((dirfd = open("/dev/class/ethernet", O_DIRECTORY|O_RDONLY)) < 0) {
|
/fuchsia/zircon/system/ulib/intel-hda/codec-utils/ |
H A D | codec-driver-base.cpp | 39 .open = nullptr,
|
/fuchsia/zircon/system/ulib/loader-service/ |
H A D | loader-service.c | 229 fprintf(stderr, "dlsvc: could not open '%s'\n", data); 330 int root_dir_fd = open("/", O_RDONLY | O_DIRECTORY);
|
/fuchsia/zircon/system/ulib/task-utils/ |
H A D | walker.cpp | 330 int fd = open("/dev/misc/sysinfo", O_RDWR); 332 fprintf(stderr, "task-utils/walker: cannot open sysinfo: %d\n", errno);
|