/fuchsia/zircon/system/dev/misc/builtin/ |
H A D | zero.c | 28 .write = zero_write,
|
H A D | null.c | 29 .write = null_write,
|
/fuchsia/zircon/third_party/ulib/musl/src/stdio/ |
H A D | fflush.c | 6 f->write(f, 0, 0); 15 /* Clear read and write modes */
|
H A D | fseek.c | 8 /* Flush write buffer, and report error on failure. */ 10 f->write(f, 0, 0);
|
H A D | __fdopen.c | 57 f->write = __stdio_write;
|
/fuchsia/zircon/system/uapp/serial-test/ |
H A D | serial-test.c | 22 write(fd, str, strlen(str)); 91 write(fd, buffer, count);
|
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/ |
H A D | gpio.h | 27 zx_status_t (*write)(void* ctx, uint8_t value); member in struct:__anon939 61 return gpio->ops->write(gpio->ctx, value);
|
H A D | serial-impl.h | 33 zx_status_t (*write)(void* ctx, const void* buf, size_t length, member in struct:__anon988 71 return serial->ops->write(serial->ctx, buf, length, out_actual);
|
H A D | gpio-impl.h | 18 zx_status_t (*write)(void* ctx, uint32_t pin, uint8_t value); member in struct:__anon937 57 return gpio->ops->write(gpio->ctx, pin, value);
|
/fuchsia/zircon/system/utest/core/ |
H A D | main.c | 53 ssize_t write(int fd, const void* data, size_t count) { function 69 r = write(fd, iov->iov_base, iov->iov_len);
|
/fuchsia/zircon/system/utest/fs/ |
H A D | test-lseek.cpp | 37 ASSERT_EQ(write(fd.get(), str, len), len); 69 ASSERT_EQ(write(fd.get(), str, len), len); 100 ASSERT_EQ(write(fd.get(), str, len), len); 119 // file is a regular file, the write() function may detect and return 121 // detection is not performed, the write() function shall return zero 123 ASSERT_EQ(write(fd.get(), str, 0), 0); 129 ASSERT_EQ(write(fd.get(), &sentinel, 1), 1); 151 ASSERT_EQ(write(fd.get(), &sentinel, 1), 1);
|
H A D | test-mmap.cpp | 41 ASSERT_EQ(write(fd, tmp, sizeof(tmp)), sizeof(tmp)); 64 ASSERT_EQ(write(fd, tmp1, sizeof(tmp1)), sizeof(tmp1)); 73 ASSERT_EQ(write(fd, tmp2, sizeof(tmp2)), sizeof(tmp2)); 100 ASSERT_EQ(write(fd, tmp1, sizeof(tmp1)), sizeof(tmp1)); 114 // Verify the write by reading from the file 151 ASSERT_EQ(write(fd, tmp, sizeof(tmp)), sizeof(tmp)); 186 ASSERT_EQ(write(fd, tmp, sizeof(tmp)), sizeof(tmp)); 204 ASSERT_EQ(write(fd, tmp2, sizeof(tmp2)), sizeof(tmp2)); 247 ASSERT_EQ(write(fd, buf, sizeof(buf)), sizeof(buf)); 382 ASSERT_EQ(write(f [all...] |
H A D | test-basic.c | 31 ASSERT_EQ(write(fd1, "Hello, World!\n", 14), 14, ""); 64 ASSERT_EQ(write(fd1, "Don't write to directories", 26), -1, "");
|
H A D | test-clone.cpp | 37 ASSERT_EQ(write(fd, output, sizeof(output)), sizeof(output));
|
/fuchsia/zircon/third_party/ulib/ngunwind/src/x86_64/ |
H A D | Ginit.c | 157 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, argument 160 if (unlikely (write)) 181 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, argument 193 if (write) 212 int write, void *arg) 224 if (write) 211 access_fpreg(unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val, int write, void *arg) argument
|
/fuchsia/zircon/system/utest/memfs/ |
H A D | memfs-tests.cpp | 66 ASSERT_EQ(write(fd, data, datalen), datalen); 124 ASSERT_EQ(write(fd.get(), &data[0], kPageSize * page_limit), kPageSize * page_limit); 129 // 2. Try to write to a second file. This should fail since the first file has already 134 ASSERT_EQ(write(fd_another, &data[0], 1), -1); 141 ASSERT_EQ(write(fd.get(), &data[0], kPageSize * page_limit), kPageSize * page_limit); 147 ASSERT_EQ(write(fd.get(), &data[0], kPageSize * page_limit + 1), -1); 154 ASSERT_EQ(write(fd.get(), &data[0], kPageSize * page_limit), kPageSize * page_limit); 190 ASSERT_EQ(write(fd, data, datalen), datalen);
|
/fuchsia/zircon/third_party/ulib/ngunwind/src/ |
H A D | fuchsia.c | 212 int write, void *arg) 217 if (write) 233 void* buf, size_t size, int write, void *arg) 238 if (write) 260 int write, void *arg) 265 if (write) 296 int write, void *arg) 211 remote_access_mem(unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, void *arg) argument 232 remote_access_raw_mem(unw_addr_space_t as, unw_word_t addr, void* buf, size_t size, int write, void *arg) argument 259 remote_access_reg(unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, void *arg) argument 295 remote_access_fpreg(unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val, int write, void *arg) argument
|
/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | block.h | 57 zx_status_t QueueTxn(block_txn_t* txn, bool write, size_t bytes, 59 void QueueReadWriteTxn(block_txn_t* txn, bool write);
|
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/protocol/ |
H A D | serial-impl.h | 56 serial_proto_ops_.write = Write; 116 return ops_->write(ctx_, buf, length, out_actual);
|
/fuchsia/zircon/system/host/netprotocol/ |
H A D | netruncmd.c | 78 write(s, &m, sizeof(nbmsg) + cmd_len);
|
/fuchsia/zircon/system/ulib/zx/include/lib/zx/ |
H A D | fifo.h | 32 zx_status_t write(size_t elem_size, const void* buffer, size_t count, size_t* actual_count) const { function in class:zx::fifo
|
H A D | debuglog.h | 32 zx_status_t write(uint32_t options, const void* buffer, size_t buffer_size) const { function in class:zx::debuglog
|
H A D | log.h | 31 zx_status_t write(uint32_t len, const void* buffer, uint32_t flags) const { function in class:zx::log
|
H A D | socket.h | 32 zx_status_t write(uint32_t flags, const void* buffer, size_t len, function in class:zx::socket
|
/fuchsia/zircon/system/utest/msd/ |
H A D | msd.c | 38 int w = write(fd, &in, length);
|