Searched refs:write (Results 26 - 50 of 230) sorted by relevance

12345678910

/fuchsia/zircon/system/dev/misc/builtin/
H A Dzero.c28 .write = zero_write,
H A Dnull.c29 .write = null_write,
/fuchsia/zircon/third_party/ulib/musl/src/stdio/
H A Dfflush.c6 f->write(f, 0, 0);
15 /* Clear read and write modes */
H A Dfseek.c8 /* Flush write buffer, and report error on failure. */
10 f->write(f, 0, 0);
H A D__fdopen.c57 f->write = __stdio_write;
/fuchsia/zircon/system/uapp/serial-test/
H A Dserial-test.c22 write(fd, str, strlen(str));
91 write(fd, buffer, count);
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/
H A Dgpio.h27 zx_status_t (*write)(void* ctx, uint8_t value); member in struct:__anon939
61 return gpio->ops->write(gpio->ctx, value);
H A Dserial-impl.h33 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 Dgpio-impl.h18 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 Dmain.c53 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 Dtest-lseek.cpp37 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 Dtest-mmap.cpp41 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 Dtest-basic.c31 ASSERT_EQ(write(fd1, "Hello, World!\n", 14), 14, "");
64 ASSERT_EQ(write(fd1, "Don't write to directories", 26), -1, "");
H A Dtest-clone.cpp37 ASSERT_EQ(write(fd, output, sizeof(output)), sizeof(output));
/fuchsia/zircon/third_party/ulib/ngunwind/src/x86_64/
H A DGinit.c157 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 Dmemfs-tests.cpp66 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 Dfuchsia.c212 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 Dblock.h57 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 Dserial-impl.h56 serial_proto_ops_.write = Write;
116 return ops_->write(ctx_, buf, length, out_actual);
/fuchsia/zircon/system/host/netprotocol/
H A Dnetruncmd.c78 write(s, &m, sizeof(nbmsg) + cmd_len);
/fuchsia/zircon/system/ulib/zx/include/lib/zx/
H A Dfifo.h32 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 Ddebuglog.h32 zx_status_t write(uint32_t options, const void* buffer, size_t buffer_size) const { function in class:zx::debuglog
H A Dlog.h31 zx_status_t write(uint32_t len, const void* buffer, uint32_t flags) const { function in class:zx::log
H A Dsocket.h32 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 Dmsd.c38 int w = write(fd, &in, length);

Completed in 68 milliseconds

12345678910