/fuchsia/zircon/system/dev/input/hidctl/ |
H A D | hidctl.cpp | 246 zx_status_t status = data_.write(ZX_SOCKET_SHUTDOWN_READ, nullptr, 0, nullptr);
|
/fuchsia/zircon/system/uapp/dd/ |
H A D | main.c | 20 fprintf(stderr, " bs=BYTES : read and write BYTES bytes at a time\n"); 24 fprintf(stderr, " obs=BYTES : write BYTES bytes at a time (default: 512)\n"); 25 fprintf(stderr, " of=FILE : write to FILE instead of stdout\n"); 261 if (write(out, buf + off, wlen) != (ssize_t) wlen) { 262 fprintf(stderr, "Couldn't write %zu bytes to output\n", wlen);
|
/fuchsia/zircon/system/uapp/i2c/ |
H A D | i2c.c | 30 printf("write [data]: Write data to the target slave device.\n"); 32 printf("of data to write to the target device.\n"); 42 printf("For example, to perform a write of one byte and then a read\n"); 107 ret = write(fd, buf, argc); 261 } else if (!strcmp("write", cmd)) {
|
/fuchsia/zircon/system/uapp/iotime/ |
H A D | iotime.c | 66 const char* fn_name = is_read ? "read" : "write"; 69 ssize_t r = is_read ? read(fd, buffer, xfer) : write(fd, buffer, xfer); 168 "usage: iotime <read|write> <posix|block|fifo> <device|--ramdisk> <bytes> <bufsize>\n\n" 214 fprintf(stderr, "%s %zu bytes in %zu ns: ", is_read ? "read" : "write", total, res);
|
/fuchsia/zircon/system/uapp/usb-test-fwloader/ |
H A D | usb-test-fwloader.cpp | 116 zx_status_t status = vmo.write(buf.get(), total_read, res);
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | null.c | 153 .write = fdio_default_write,
|
H A D | vmofile.c | 156 .write = fdio_default_write,
|
H A D | pipe.c | 68 // TODO: let the generic write() to do this loop 230 .write = zx_pipe_write,
|
/fuchsia/zircon/system/ulib/logger/ |
H A D | logger.cpp | 87 ssize_t status = write(fd_, buf.data(), buf.size());
|
/fuchsia/zircon/system/ulib/minfs/ |
H A D | bcache.cpp | 49 if (write(fd_.get(), data, kMinfsBlockSize) != kMinfsBlockSize) { 50 FS_TRACE_ERROR("minfs: cannot write block %u\n", bno);
|
/fuchsia/zircon/system/ulib/zxio/ |
H A D | zxio.cpp | 91 return io->ops->write(zxio_ctx_get(io), buffer, capacity, out_actual);
|
/fuchsia/zircon/system/utest/fs/ |
H A D | test-attr.c | 76 ASSERT_EQ(write(fd, &data, 1), 1, "Couldn't write a single byte to file");
|
H A D | test-persist.cpp | 125 ASSERT_EQ(write(fd, &buffers[i][0], BufferSize), BufferSize);
|
H A D | test-rename.c | 103 ASSERT_STREAM_ALL(write, fd, (uint8_t*) file_contents, strlen(file_contents));
|
H A D | test-rw-workers.c | 91 // data in buffer available to write 117 if ((r = write(w->fd, w->u8 + off, xfer)) < 0) { 118 fprintf(stderr, "worker('%s') write failed @%u: %d\n",
|
/fuchsia/zircon/system/utest/libfzl/ |
H A D | fzl-test.cpp | 129 // Create, read, write 142 zx_status_t status = fifo_0.write(numbers, 2, &actual);
|
/fuchsia/zircon/system/utest/logger/ |
H A D | test.cpp | 79 ASSERT_EQ(ZX_OK, logger_handle_.write(0, &req, sizeof(req), handles, 1));
|
/fuchsia/zircon/third_party/uapp/fsck-msdosfs/ |
H A D | dir.c | 332 || write(f, delbuf, clsz) != clsz) { 333 perr("Unable to write directory"); 847 || write(f, buffer, last) != last) { 848 perr("Unable to write directory"); 866 || write(f, buffer, last) != last) { 867 perr("Unable to write directory"); 993 || (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) { 994 perr("could not write LOST.DIR");
|
/fuchsia/zircon/system/ulib/tftp/ |
H A D | tftp-test.cpp | 101 "bad open (write) function pointer"); 103 EXPECT_EQ((tftp_file_write_cb)write_fn, ts.session->file_interface.write, "bad write function pointer"); 104 EXPECT_EQ((tftp_file_close_cb)close_fn, ts.session->file_interface.close, "bad write function pointer"); 170 EXPECT_TRUE(verify_write_request(ts), "bad write request"); 311 ASSERT_TRUE(verify_write_request(ts), "bad write request"); 520 EXPECT_EQ(TFTP_NO_ERROR, status, "receive write request failed"); 771 ASSERT_EQ(TFTP_NO_ERROR, status, "error generating write request"); 772 ASSERT_TRUE(verify_write_request(ts), "bad write request"); 952 ASSERT_EQ(TFTP_NO_ERROR, status, "error generating write reques [all...] |
/fuchsia/zircon/kernel/arch/x86/hypervisor/ |
H A D | vmexit_priv.h | 276 bool write; member in struct:EptViolationInfo
|
/fuchsia/zircon/system/host/bootserver/ |
H A D | netboot.c | 100 int r = write(s, msg, len); 112 fprintf(stderr, "\n%s: error: Socket write error %d\n", appname, errno);
|
/fuchsia/zircon/system/ulib/blobfs/ |
H A D | common.cpp | 144 if (write(fd, data, kBlobfsBlockSize) != kBlobfsBlockSize) { 145 fprintf(stderr, "blobfs: cannot write block %" PRIu64 "\n", bno); 258 // write the root block to disk 262 fprintf(stderr, "Failed to write root block\n"); 266 // write allocation bitmap to disk 270 fprintf(stderr, "Failed to write blockmap block %" PRIu64 "\n", n); 275 // write node map to disk
|
/fuchsia/zircon/system/ulib/runtests-utils/ |
H A D | log-exporter.cpp | 295 status = logger.write(0, &req, sizeof(req), &listener_handle, 1);
|
/fuchsia/zircon/system/utest/fs-bench/ |
H A D | fs-bench.cpp | 42 state->DeclareStep("write"); 48 ASSERT_EQ(write(fd.get(), data, data_size), data_size);
|
/fuchsia/zircon/system/utest/fs-vnode/ |
H A D | teardown-tests.cpp | 93 ASSERT_EQ(client.write(0, &request, sizeof(request), nullptr, 0), ZX_OK);
|