Searched refs:write (Results 1 - 25 of 230) sorted by relevance

12345678910

/fuchsia/zircon/third_party/ulib/jemalloc/include/jemalloc/internal/
H A Dstats_externs.h8 void stats_print(void (*write)(void *, const char *), void *cbopaque,
H A Dutil_externs.h21 void malloc_cprintf(void (*write)(void *, const char *), void *cbopaque,
/fuchsia/zircon/third_party/ulib/ngunwind/src/aarch64/
H A DGregs.c44 int write)
56 if (write)
104 if (write)
114 if (write)
122 int write)
43 tdep_access_reg(struct cursor *c, unw_regnum_t reg, unw_word_t *valp, int write) argument
121 tdep_access_fpreg(struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, int write) argument
H A DGinit.c69 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, argument
72 if (write)
86 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, argument
98 if (write)
117 int write, void *arg)
128 if (write)
116 access_fpreg(unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val, int write, void *arg) argument
/fuchsia/zircon/third_party/ulib/musl/src/stdio/
H A D__stdout_write.c5 f->write = __stdio_write;
H A D__overflow.c9 if (f->write(f, &c, 1) != 1)
H A Dstdout.c10 .write = __stdout_write,
H A Dstderr.c10 .write = __stdio_write,
H A Dvdprintf.c9 .fd = fd, .lbf = EOF, .write = wrap_write, .buf = (void*)fmt, .buf_size = 0, .lock = -1};
H A D__stdio_exit.c8 f->write(f, 0, 0);
H A D__toread.c6 f->write(f, 0, 0);
H A Dfreopen.c38 f->write = f2->write;
H A Dfwrite.c11 return f->write(f, s, l);
18 size_t n = f->write(f, s, i);
/fuchsia/zircon/third_party/ulib/ngunwind/src/arm/
H A DGregs.c50 int write)
76 if (write)
88 if (write)
98 int write)
49 tdep_access_reg(struct cursor *c, unw_regnum_t reg, unw_word_t *valp, int write) argument
97 tdep_access_fpreg(struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, int write) argument
H A DGinit.c112 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, argument
115 if (write)
134 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, argument
146 if (write)
165 int write, void *arg)
176 if (write)
164 access_fpreg(unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val, int write, void *arg) argument
/fuchsia/zircon/third_party/tools/android/
H A Dmkdtimg33 output.write(chr(value & 255)) ; value=value // 256
34 output.write(chr(value & 255)) ; value=value // 256
35 output.write(chr(value & 255)) ; value=value // 256
36 output.write(chr(value & 255))
39 output.write('\037\213\010')
40 output.write(chr(0))
44 output.write('\002')
45 output.write('\003')
55 output.write(compobj.compress(data))
56 output.write(compob
[all...]
H A Dmkbootimg45 f.write(pack(str(pad) + 'x'))
50 args.output.write(pack('8s', BOOT_MAGIC))
51 args.output.write(pack('10I',
62 args.output.write(pack('16s', args.board.encode())) # asciiz product name
63 args.output.write(pack('512s', args.cmdline[:512].encode()))
71 args.output.write(img_id)
72 args.output.write(pack('1024s', args.cmdline[512:].encode()))
95 f_out.write(f_in.read())
/fuchsia/zircon/third_party/ulib/ngunwind/src/x86_64/
H A DGregs.c49 int write)
59 if (write)
66 if (write)
75 if (write)
110 if (write)
118 int write)
48 tdep_access_reg(struct cursor *c, unw_regnum_t reg, unw_word_t *valp, int write) argument
117 tdep_access_fpreg(struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, int write) argument
/fuchsia/zircon/system/utest/fs/
H A Dtest-sync.c23 ASSERT_STREAM_ALL(write, fd, "Hello, World!\n", 14);
26 ASSERT_STREAM_ALL(write, fd, "Adios, World!\n", 14);
H A Dtest-fcntl.cpp28 ASSERT_EQ(write(fd, buf, sizeof(buf)), sizeof(buf));
30 ASSERT_EQ(write(fd, buf, sizeof(buf)), sizeof(buf));
52 ASSERT_EQ(write(fd, buf, sizeof(buf)), sizeof(buf));
68 // Do a quick check that we can write
72 ASSERT_EQ(write(fd, buf, sizeof(buf)), sizeof(buf));
91 ASSERT_EQ(write(fd, buf, sizeof(buf)), sizeof(buf));
H A Dtest-access.cpp32 ASSERT_EQ(write(fd, buf, sizeof(buf)), sizeof(buf));
44 ASSERT_EQ(write(fd, buf, sizeof(buf)), -1);
68 ASSERT_EQ(write(fd, buf, sizeof(buf)), sizeof(buf));
81 ASSERT_EQ(write(fd, buf, sizeof(buf)), sizeof(buf));
151 ASSERT_EQ(write(fd, data, datalen), static_cast<ssize_t>(datalen));
154 // Cannot read to / write from O_PATH fd
161 ASSERT_LT(write(fd, data, datalen), 0);
190 // We still can't write though
191 ASSERT_LT(write(fd, data, datalen), 0);
H A Dtest-append.cpp37 ASSERT_STREAM_ALL(write, fd, hello, strlen(hello));
42 // At the start of the file, write "world"
44 ASSERT_STREAM_ALL(write, fd, world, strlen(world));
60 ASSERT_STREAM_ALL(write, fd, hello, strlen(hello));
65 // At the start of the file, write "world"
67 ASSERT_STREAM_ALL(write, fd, world, strlen(world));
97 ASSERT_EQ(write(fd.get(), buf, sizeof(buf)), sizeof(buf));
104 ASSERT_EQ(write(fd.get(), buf, sizeof(buf)), sizeof(buf));
178 if (write(fd, buf, sizeof(buf)) != sizeof(buf)) {
/fuchsia/zircon/system/uapp/dlog/
H A Ddlog.c86 write(1, tmp, (len > sizeof(tmp) ? sizeof(tmp) : len));
88 write(1, rec->data, rec->datalen);
90 write(1, "\n", 1);
/fuchsia/zircon/system/utest/pty/
H A Dpty-test.c29 int r = write(fd, tmp, sizeof(tmp));
88 // write server, read client
89 ASSERT_EQ(write(ps, "xyzzy", 5), 5, "");
97 // write client, read server
98 ASSERT_EQ(write(pc, "xyzzy", 5), 5, "");
106 // write server until full, then drain
112 // write client until full, then drain
123 // write a ctrl-c
124 ASSERT_EQ(write(ps, "\x03", 1), 1, "");
134 // write somethin
[all...]
/fuchsia/zircon/system/ulib/fzl/include/lib/fzl/
H A Dfifo.h53 zx_status_t write(const W* buffer, size_t count, size_t* actual_count) const { function in class:fzl::fifo
54 return fifo_.write(sizeof(W), buffer, count, actual_count);
58 return fifo_.write(sizeof(W), &element, 1, nullptr);

Completed in 126 milliseconds

12345678910