Home
last modified time | relevance | path

Searched refs:write_all (Results 1 – 25 of 34) sorted by relevance

12

/external/rust/crates/byteorder/src/
Dio.rs1109 self.write_all(&[n]) in write_u8()
1137 self.write_all(&[n as u8]) in write_i8()
1164 self.write_all(&buf) in write_u16()
1191 self.write_all(&buf) in write_i16()
1218 self.write_all(&buf) in write_u24()
1245 self.write_all(&buf) in write_i24()
1272 self.write_all(&buf) in write_u32()
1299 self.write_all(&buf) in write_i32()
1326 self.write_all(&buf) in write_u48()
1353 self.write_all(&buf) in write_i48()
[all …]
/external/mesa3d/src/util/
Ddisk_cache_os.c52 write_all(int fd, const void *buf, size_t count);
74 ssize_t written = write_all(dest, out, ret); in deflate_and_write_to_disk()
122 ssize_t written = write_all(dest, out, have); in deflate_and_write_to_disk()
446 write_all(int fd, const void *buf, size_t count) in write_all() function
724 int ret = write_all(fd, dc_job->cache->driver_keys_blob, in disk_cache_write_item_to_disk()
735 ret = write_all(fd, &dc_job->cache_item_metadata.type, in disk_cache_write_item_to_disk()
743 ret = write_all(fd, &dc_job->cache_item_metadata.num_keys, in disk_cache_write_item_to_disk()
750 ret = write_all(fd, dc_job->cache_item_metadata.keys[0], in disk_cache_write_item_to_disk()
760 ret = write_all(fd, cf_data, cf_data_size); in disk_cache_write_item_to_disk()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_fs.h58 boolean write_all; member
91 return (fs->shader->write_all) ? TRUE : FALSE; in r300_fragment_shader_writes_all()
/external/e2fsprogs/misc/
Dlogsave.c57 static int write_all(int fd, const char *buf, size_t count) in write_all() function
97 write_all(1, cp, d); in send_output()
107 write_all(outfd, buffer, c); in send_output()
327 write_all(outfd, outbuf, outbufsize); in main()
Duuidd.c114 static int write_all(int fd, char *buf, size_t count) in write_all() function
189 ret = write_all(s, op_buf, op_len); in call_daemon()
333 write_all(fd_pidfile, reply_buf, strlen(reply_buf)); in server_loop()
436 write_all(ns, (char *) &reply_len, sizeof(reply_len)); in server_loop()
437 write_all(ns, reply_buf, reply_len); in server_loop()
/external/crosvm/fuzz/
Dqcow_fuzzer.rs36 disk_file.write_all(&bytes[16..]).unwrap(); in test_one_input()
40 let _ = qcow.write_all(&value.to_le_bytes()); in test_one_input()
Dzimage_fuzzer.rs19 shm.write_all(elf_bytes) in make_elf_bin()
/external/e2fsprogs/lib/ss/
Dpager.c111 static int write_all(int fd, char *buf, size_t count) in write_all() function
151 write_all(1, buf, n); in ss_page_stdin()
/external/adhd/cras/client/cras-sys/generator/src/
Dmain.rs138 output_file.write_all(header)?; in write_output()
139 output_file.write_all(output.as_bytes())?; in write_output()
/external/libiio/src/iiod/
Dops.h110 ssize_t write_all(struct parser_pdata *pdata, const void *src, size_t len);
114 if (write_all(pdata, text, strlen(text)) <= 0) in output()
Dops.c311 ssize_t write_all(struct parser_pdata *pdata, const void *src, size_t len) in write_all() function
385 return write_all(info->pdata, src, length); in send_sample()
439 ret = write_all(pdata, buf, ptr + 1 - buf); in send_data()
448 return write_all(pdata, dev->buf->buffer, len); in send_data()
1128 return write_all(pdata, buf, ret + 1); in read_dev_attr()
1187 return write_all(pdata, buf, ret + 1); in read_chn_attr()
1256 ret = write_all(pdata, buf, ret + 1); in get_trigger()
Dparser.y50 write_all(pdata, yytext, yyleng); \
/external/crosvm/sys_util/src/
Dseek_hole.rs91 file.write_all(&b).unwrap(); in seek_data()
141 file.write_all(&b).unwrap(); in seek_hole()
191 file.write_all(&b).unwrap(); in seek_hole()
Dsyslog.rs462 let _ = file.write_all(&buf[..*len]); in log()
465 let _ = stderr().write_all(&buf[..*len]); in log()
/external/crosvm/tests/
Dplugins.rs72 .write_all(src.as_bytes()) in build_plugin()
141 in_shm_file.write_all(src.as_bytes()).unwrap(); in build_assembly()
/external/crosvm/p9/src/protocol/
Dwire_format.rs46 writer.write_all(&buf)
85 writer.write_all(self.as_bytes()) in encode()
174 writer.write_all(self) in encode()
/external/crosvm/kernel_loader/src/
Dlib.rs233 shm.write_all(elf_bytes) in make_elf_bin()
/external/crosvm/qcow/src/
Dqcow.rs1448 file.write_all(&buf[offset..(offset + count)]) in write()
1741 disk_file.write_all(&header).unwrap(); in with_basic_file()
1837 qcow.write_all(&value.to_le_bytes()) in test_header_1_tb_file()
2377 file.write_all(&b).unwrap(); in seek_data()
2417 file.write_all(&b).unwrap(); in seek_hole()
2458 file.write_all(&b).unwrap(); in seek_hole()
/external/crosvm/devices/src/virtio/
Dpmem.rs317 data.write_all(&config.as_slice()[offset..end]).unwrap(); in read_config()
Dballoon.rs291 data.write_all(&config[offset as usize..cmp::min(end, 8) as usize]) in read_config()
Dp9.rs317 cfg.write_all(tag.as_bytes()).map_err(P9Error::Internal)?; in new()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientstub.c161 static int write_all(dnssd_sock_t sd, char *buf, size_t len) in write_all() function
653 if (write_all(sdr->sockfd, ((char *)hdr)+i, 1) < 0) in deliver_request()
658 if (write_all(sdr->sockfd, (char *)hdr, datalen + sizeof(ipc_msg_hdr)) < 0) in deliver_request()
1033 write_all(sdRef->sockfd, (char *)hdr, len); in DNSServiceRefDeallocate()
/external/crosvm/devices/src/
Dserial.rs335 out.write_all(&[v])?; in handle_write()
/external/crosvm/devices/src/virtio/input/
Devent_source.rs119 self.source.write_all(evt.as_slice())?; in write()
/external/mesa3d/src/mesa/state_tracker/
Dst_program.c916 GLboolean write_all = GL_FALSE; in st_translate_fragment_program() local
1111 write_all = GL_TRUE; /* fallthrough */ in st_translate_fragment_program()
1147 if (write_all == GL_TRUE) in st_translate_fragment_program()

12