Home
last modified time | relevance | path

Searched refs:write_bytes (Results 1 – 25 of 70) sorted by relevance

123

/external/rust/crates/gdbstub/src/arch/x86/reg/
Dmod.rs42 macro_rules! write_bytes { in gdb_serialize() macro
52 write_bytes!(&self.fctrl.to_le_bytes()); in gdb_serialize()
53 write_bytes!(&self.fstat.to_le_bytes()); in gdb_serialize()
54 write_bytes!(&self.ftag.to_le_bytes()); in gdb_serialize()
55 write_bytes!(&self.fiseg.to_le_bytes()); in gdb_serialize()
56 write_bytes!(&self.fioff.to_le_bytes()); in gdb_serialize()
57 write_bytes!(&self.foseg.to_le_bytes()); in gdb_serialize()
58 write_bytes!(&self.fooff.to_le_bytes()); in gdb_serialize()
59 write_bytes!(&self.fop.to_le_bytes()); in gdb_serialize()
Dcore64.rs32 macro_rules! write_bytes { in gdb_serialize() macro
42 write_bytes!(&reg.to_le_bytes()); in gdb_serialize()
46 write_bytes!(&self.rip.to_le_bytes()); in gdb_serialize()
49 write_bytes!(&self.eflags.to_le_bytes()); in gdb_serialize()
53 write_bytes!(&seg.to_le_bytes()); in gdb_serialize()
58 write_bytes!(st_reg); in gdb_serialize()
65 write_bytes!(&xmm_reg.to_le_bytes()); in gdb_serialize()
69 write_bytes!(&self.mxcsr.to_le_bytes()); in gdb_serialize()
Dcore32.rs46 macro_rules! write_bytes { in gdb_serialize() macro
57 write_bytes!(&self.$reg.to_le_bytes()); in gdb_serialize()
66 write_bytes!(&seg.to_le_bytes()); in gdb_serialize()
71 write_bytes!(st_reg); in gdb_serialize()
78 write_bytes!(&xmm_reg.to_le_bytes()); in gdb_serialize()
82 write_bytes!(&self.mxcsr.to_le_bytes()); in gdb_serialize()
/external/rust/crates/gdbstub/src/arch/arm/reg/
Darm_core.rs22 macro_rules! write_bytes { in gdb_serialize() macro
31 write_bytes!(&reg.to_le_bytes()); in gdb_serialize()
33 write_bytes!(&self.sp.to_le_bytes()); in gdb_serialize()
34 write_bytes!(&self.lr.to_le_bytes()); in gdb_serialize()
35 write_bytes!(&self.pc.to_le_bytes()); in gdb_serialize()
42 write_bytes!(&self.cpsr.to_le_bytes()); in gdb_serialize()
/external/rust/crates/gdbstub/src/arch/msp430/reg/
Dmsp430.rs18 macro_rules! write_bytes { in gdb_serialize() macro
26 write_bytes!(&self.pc.to_le_bytes()); in gdb_serialize()
27 write_bytes!(&self.sp.to_le_bytes()); in gdb_serialize()
28 write_bytes!(&self.sr.to_le_bytes()); in gdb_serialize()
31 write_bytes!(&reg.to_le_bytes()); in gdb_serialize()
/external/compiler-rt/lib/profile/
DGCDAProfiling.c124 static void write_bytes(const char *s, size_t len) { in write_bytes() function
131 write_bytes((char*)&i, 4); in write_32bit_value()
135 write_bytes((char*)&i, 8); in write_64bit_value()
145 write_bytes(s, strlen(s)); in write_string()
146 write_bytes("\0\0\0\0", 4 - (strlen(s) % 4)); in write_string()
313 write_bytes("adcg", 4); in llvm_gcda_start_file()
314 write_bytes(version, 4); in llvm_gcda_start_file()
361 write_bytes("\0\0\0\1", 4); in llvm_gcda_emit_function()
408 write_bytes("\0\0\xa1\1", 4); in llvm_gcda_emit_arcs()
460 write_bytes("\0\0\0\xa1", 4); in llvm_gcda_summary_info()
[all …]
/external/rust/crates/ring/src/io/
Dwriter.rs19 fn write_bytes(&mut self, value: &[u8]); in write_bytes() method
42 fn write_bytes(&mut self, value: &[u8]) { in write_bytes() method
72 fn write_bytes(&mut self, value: &[u8]) { in write_bytes() method
78 accumulator.write_bytes(to_copy.as_slice_less_safe()) in write_copy()
/external/rust/crates/gdbstub/src/arch/ppc/reg/
Dcommon.rs43 macro_rules! write_bytes { in gdb_serialize() macro
54 write_bytes!(&self.$reg.to_be_bytes()); in gdb_serialize()
60 write_bytes!(&reg.to_be_bytes()); in gdb_serialize()
64 write_bytes!(&reg.to_be_bytes()); in gdb_serialize()
71 write_bytes!(&reg.to_be_bytes()); in gdb_serialize()
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc_gevent.pyx.pxi150 def socket_sendmsg(socket, write_bytes): argument
152 return socket.sendmsg(write_bytes)
155 return socket.send(b''.join(write_bytes))
157 cdef socket_write_async_cython(SocketWrapper socket_wrapper, write_bytes): argument
159 while write_bytes:
160 sent_byte_count = socket_sendmsg(socket_wrapper.socket, write_bytes)
162 if sent_byte_count < len(write_bytes[0]):
163 write_bytes[0] = write_bytes[0][sent_byte_count:]
166 sent_byte_count -= len(write_bytes[0])
167 write_bytes = write_bytes[1:]
[all …]
/external/rust/crates/regex-automata/src/
Dstate_id.rs153 fn write_bytes(self, slice: &mut [u8]); in write_bytes() method
178 fn write_bytes(self, slice: &mut [u8]) { in write_bytes() method
205 fn write_bytes(self, slice: &mut [u8]) { in write_bytes() method
232 fn write_bytes(self, slice: &mut [u8]) { in write_bytes() method
260 fn write_bytes(self, slice: &mut [u8]) { in write_bytes() method
288 fn write_bytes(self, slice: &mut [u8]) { in write_bytes() method
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dframe_data.cc73 uint32_t write_bytes, int is_eof, in grpc_chttp2_encode_data() argument
82 GPR_ASSERT(write_bytes < (1 << 24)); in grpc_chttp2_encode_data()
83 *p++ = static_cast<uint8_t>(write_bytes >> 16); in grpc_chttp2_encode_data()
84 *p++ = static_cast<uint8_t>(write_bytes >> 8); in grpc_chttp2_encode_data()
85 *p++ = static_cast<uint8_t>(write_bytes); in grpc_chttp2_encode_data()
94 grpc_slice_buffer_move_first_no_ref(inbuf, write_bytes, outbuf); in grpc_chttp2_encode_data()
97 stats->data_bytes += write_bytes; in grpc_chttp2_encode_data()
Dframe_data.h75 uint32_t write_bytes, int is_eof,
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dframe_data.cc65 uint32_t write_bytes, int is_eof, in grpc_chttp2_encode_data() argument
74 GPR_ASSERT(write_bytes < (1 << 24)); in grpc_chttp2_encode_data()
75 *p++ = static_cast<uint8_t>(write_bytes >> 16); in grpc_chttp2_encode_data()
76 *p++ = static_cast<uint8_t>(write_bytes >> 8); in grpc_chttp2_encode_data()
77 *p++ = static_cast<uint8_t>(write_bytes); in grpc_chttp2_encode_data()
86 grpc_slice_buffer_move_first_no_ref(inbuf, write_bytes, outbuf); in grpc_chttp2_encode_data()
89 stats->data_bytes += write_bytes; in grpc_chttp2_encode_data()
Dframe_data.h73 uint32_t write_bytes, int is_eof,
/external/fonttools/Tests/ufoLib/
DufoLib_test.py46 (ufo_path / "metainfo.plist").write_bytes(plistlib.dumps({}))
50 (ufo_path / "metainfo.plist").write_bytes(plistlib.dumps([]))
57 (ufo_path / "metainfo.plist").write_bytes(plistlib.dumps(metainfo))
/external/grpc-grpc/test/core/iomgr/
Dtcp_posix_test.cc112 ssize_t write_bytes; in fill_socket() local
120 write_bytes = write(fd, buf, 256); in fill_socket()
121 if (write_bytes > 0) { in fill_socket()
122 total_bytes += write_bytes; in fill_socket()
124 } while (write_bytes >= 0 || errno == EINTR); in fill_socket()
130 ssize_t write_bytes; in fill_socket_partial() local
139 write_bytes = write(fd, buf, bytes - total_bytes); in fill_socket_partial()
140 if (write_bytes > 0) { in fill_socket_partial()
141 total_bytes += static_cast<size_t>(write_bytes); in fill_socket_partial()
143 } while ((write_bytes >= 0 || errno == EINTR) && bytes > total_bytes); in fill_socket_partial()
/external/webrtc/rtc_base/
Dbyte_buffer_unittest.cc151 char write_bytes[] = "foo"; in TEST() local
152 buffer.WriteBytes(write_bytes, 3); in TEST()
157 EXPECT_EQ(write_bytes[i], read_bytes[i]); in TEST()
164 memcpy(write_dst, write_bytes, 3); in TEST()
169 EXPECT_EQ(write_bytes[i], read_bytes[i]); in TEST()
/external/linux-kselftest/tools/testing/selftests/vm/
Dhugepage-mmap.c44 static void write_bytes(char *addr) in write_bytes() function
85 write_bytes(addr); in main()
Dmap_hugetlb.c48 static void write_bytes(char *addr) in write_bytes() function
99 write_bytes(addr); in main()
/external/flatbuffers/rust/flatbuffers/src/
Dvtable_writer.rs17 use std::ptr::write_bytes;
81 write_bytes(p, 0, len); in clear()
/external/grpc-grpc/test/core/network_benchmarks/
Dlow_level_ping_pong.cc57 int (*write_bytes)(struct thread_args* args, char* buf); member
266 if (args->write_bytes(args, buf) < 0) { in server_thread()
309 if (args->write_bytes(args, buf) < 0) { in client_thread()
610 client_args->write_bytes = blocking_write_bytes; in run_all_benchmarks()
615 server_args->write_bytes = blocking_write_bytes; in run_all_benchmarks()
682 client_args->write_bytes = blocking_write_bytes; in main()
687 server_args->write_bytes = blocking_write_bytes; in main()
/external/libchrome/mojo/public/cpp/system/
Ddata_pipe_utils.cc17 const base::Callback<size_t(const void*, uint32_t)>& write_bytes) { in BlockingCopyHelper() argument
24 size_t bytes_written = write_bytes.Run(buffer, num_bytes); in BlockingCopyHelper()
/external/crosvm/data_model/src/
Dvolatile_memory.rs26 use std::ptr::{copy, read_volatile, write_bytes, write_volatile};
209 pub fn write_bytes(&self, value: u8) { in write_bytes() method
212 write_bytes(self.as_mut_ptr(), value, self.size()); in write_bytes()
/external/llvm-project/compiler-rt/lib/profile/
DGCDAProfiling.c189 static void write_bytes(const char *s, size_t len) { in write_bytes() function
196 write_bytes((char*)&i, 4); in write_32bit_value()
540 write_bytes("\0\0\0\0\0\0\0\0", 8); in llvm_gcda_end_file()
/external/rust/crates/itoa/src/
Dlib.rs314 ptr::write_bytes(buf_ptr.offset(target), b'0', (curr - target) as usize);
325 … ptr::write_bytes(buf_ptr.offset(target), b'0', (curr - target) as usize);

123