/fuchsia/zircon/system/utest/runtests-utils/ |
H A D | log-exporter-test.cpp | 76 // write tags 85 // write msg 135 return listener.write(0, msg, static_cast<uint32_t>(msg_len), NULL, 0);
|
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | output.c | 368 * Version of write which resumes after a signal is caught. 384 i = write(fd, buf, m);
|
/fuchsia/zircon/third_party/ulib/musl/include/ |
H A D | unistd.h | 41 ssize_t write(int, const void*, size_t);
|
/fuchsia/zircon/kernel/arch/arm64/ |
H A D | mmu.cpp | 1158 zx_status_t arm64_mmu_translate(vaddr_t va, paddr_t* pa, bool user, bool write) { 1164 if (write) { 1172 if (write) {
|
/fuchsia/zircon/system/dev/bus/platform/ |
H A D | platform-proxy-device.cpp | 510 gpio_proto_ops_.write = GpioWrite; 776 if (device_ops_ && device_ops_->write) { 777 return device_ops_->write(ctx_, buf, count, off, actual);
|
/fuchsia/zircon/system/ulib/fs/ |
H A D | connection.cpp | 34 channel.write(0, &msg, sizeof(zxrio_describe_t), nullptr, 0); 117 channel.write(0, &response, sizeof(zxrio_describe_t), &extra, hcount); 398 channel.write(0, &response, sizeof(zxrio_describe_t), &extra, hcount);
|
/fuchsia/zircon/system/utest/fvm/ |
H A D | fvm.cpp | 349 ASSERT_EQ(vbuf->vmo_.write(&vbuf->buf_[buf_off], buf_off, len), ZX_OK); 401 ASSERT_EQ(write(fd, buf, len), static_cast<ssize_t>(len)); 424 ASSERT_EQ(write(fd, buf.get(), len), static_cast<ssize_t>(len)); 467 ASSERT_EQ(write(fd, buf.get(), len), -1); 482 ASSERT_EQ(write(fd, buf.get(), kBlksize), -1); 582 // Check that we can read from / write to it. 642 // Test that the fvm driver can cope with a sudden close during read / write 667 if (write(vp_fd, in, sizeof(in)) != static_cast<ssize_t>(sizeof(in))) { 683 // Launch a background thread to read from / write to the VPartition 705 // Test that the fvm driver can cope with a sudden release during read / write [all...] |
/fuchsia/zircon/system/utest/libzx/ |
H A D | zx-test.cpp | 156 ASSERT_EQ(channel[0].write(0u, nullptr, 0u, handles, 2), ZX_OK); 180 ASSERT_EQ(channel[0].write(0u, nullptr, 0u, handles, 2), ZX_OK); 236 ASSERT_EQ(channel[1].write(0u, "12345", 5, nullptr, 0u), ZX_OK);
|
/fuchsia/zircon/kernel/arch/arm64/include/arch/arm64/ |
H A D | mmu.h | 281 * inner/outer (IRGN/ORGN): write-back + write-allocate 413 zx_status_t arm64_mmu_translate(vaddr_t va, paddr_t* pa, bool user, bool write);
|
/fuchsia/zircon/system/dev/i2c/intel-i2c/ |
H A D | intel-i2c-slave.c | 306 // Advance past the segment, which should be the beginning of write 455 .write = intel_serialio_i2c_slave_write,
|
/fuchsia/zircon/system/dev/misc/pty/ |
H A D | pty-core.c | 276 .write = pty_client_write,
|
/fuchsia/zircon/system/dev/serial/ftdi/ |
H A D | ftdi.c | 304 .write = ftdi_write,
|
/fuchsia/zircon/system/dev/serial/serial/ |
H A D | serial.c | 55 // loop until client socket is closed and we have no more data to write 57 // attempt pending socket write 75 // attempt pending serial write 97 // also wait for writability if we have pending data to write 347 .write = serial_write,
|
/fuchsia/zircon/system/host/netprotocol/ |
H A D | netprotocol.c | 390 write(s, out, outlen);
|
/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), 215 proto->write = Write;
|
/fuchsia/zircon/system/ulib/ddktl/test/ |
H A D | device-tests.cpp | 206 EXPECT_EQ(ZX_OK, ops->write(ctx, nullptr, 0, 0, nullptr), "");
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | private.h | 23 // FDIO provides open/close/read/write io over various transports 30 // synchronous remoting of read/write/close operations. 37 ssize_t (*write)(fdio_t* io, const void* data, size_t len); member in struct:fdio_ops
|
H A D | socket.c | 141 // TODO: let the generic write() to do this loop 748 // it learns about the read/write disabled signals. 769 .write = zxsio_write_stream, 804 .write = zxsio_write_dgram,
|
/fuchsia/zircon/system/ulib/fs-host/ |
H A D | common.cpp | 422 if (write(depfile_.get(), buf, len) != len) { 413 assert(len < PATH_MAX); char buf[PATH_MAX] = {0}; memcpy(&buf[0], str, len); buf[len++] = �; std::lock_guard<std::mutex> lock(depfile_lock_); if (write(depfile_.get(), buf, len) != len) { fprintf(stderr, �); return ZX_ERR_IO; } return ZX_OK; } zx_status_t FsCreator::RunCommand() { if (!fd_) { fprintf(stderr, �); return ZX_ERR_INTERNAL; } switch (command_) { case Command::kMkfs: return Mkfs(); case Command::kFsck: return Fsck(); case Command::kAdd: case Command::kCp: case Command::kManifest: case Command::kMkdir: return Add(); case Command::kLs: return Ls(); default: fprintf(stderr, �); return ZX_ERR_INTERNAL; } } zx_status_t FsCreator::ParseSize(char* device, size_t* out) { char* sizestr = nullptr; if ((sizestr = strchr(device, �)) != nullptr) { if (command_ != Command::kMkfs) { fprintf(stderr, �); return ZX_ERR_INVALID_ARGS; } *sizestr++ = 0; char* end; size_t size = strtoull(sizestr, &end, 10); if (end == sizestr) { fprintf(stderr, �, GetToolName(), sizestr); return ZX_ERR_INVALID_ARGS; } switch (end[0]) { case �: case �: size *= (1024 * 1024); end++; break; case �: case �: size *= (1024 * 1024 * 1024); end++; break; } if (end[0] || size == 0) { fprintf(stderr, �, GetToolName(), sizestr); return ZX_ERR_INVALID_ARGS; } if (length_ && offset_ + length_ > size) argument
|
/fuchsia/zircon/system/ulib/intel-hda/codec-utils/ |
H A D | codec-driver-base.cpp | 45 .write = nullptr,
|
/fuchsia/zircon/third_party/ulib/jemalloc/src/ |
H A D | util.c | 53 * Use syscall(2) rather than write(2) when possible in order to avoid 63 UNUSED ssize_t result = write(STDERR_FILENO, s, strlen(s));
|
/fuchsia/zircon/third_party/ulib/musl/stubs/ |
H A D | iostubs.c | 25 weak_alias(stub_write, write);
|
/fuchsia/zircon/system/ulib/zxcrypt/ |
H A D | volume.cpp | 130 if (cmd == BLOCK_OP_WRITE && (rc = vmo.write(buf, 0, len)) != ZX_OK) { 131 xprintf("zx::vmo::write failed: %s\n", zx_status_get_string(rc)); 577 // Only write back blocks that don't match 582 xprintf("write failed for offset %" PRIu64 ": %s\n", offset_, zx_status_get_string(rc)); 762 if ((res = write(fd_.get(), block_.get(), block_.len())) < 0) { 763 xprintf("write(%d, %p, %zu) failed: %s\n", fd_.get(), block_.get(), block_.len(),
|
/fuchsia/zircon/system/utest/fs-management/ |
H A D | fs-management.cpp | 518 ASSERT_EQ(write(fd, "hello", 6), 6); 552 ASSERT_LT(write(fd, "hello", 6), 0);
|
/fuchsia/zircon/system/core/netsvc/ |
H A D | tftp.c | 55 atomic_size_t offset; // Buffer write offset (read offset is stored locally) 171 int r = write(file_info->paver.fd, &file_info->paver.buffer[read_ndx], 174 printf("netsvc: couldn't write to paver fd: %d\n", r); 182 printf("netsvc: paver write progress %0.1f%%\n", complete); 513 file_info.is_write ? "write" : "read",
|