Home
last modified time | relevance | path

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

12

/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/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/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/ltp/utils/ffsb-6.0-rc2/
Dffsb_op.c135 if (results->write_bytes || results->read_bytes) in print_results()
141 if (results->write_bytes) { in print_results()
142 ffsb_printsize(buf, results->write_bytes / runtime, 256); in print_results()
180 target->write_bytes += src->write_bytes; in add_results()
Dffsb_op.h84 uint64_t write_bytes; member
Dffsb_thread.c136 ft->results.write_bytes += bytes; in ft_add_writebytes()
/external/webrtc/webrtc/base/
Dbytebuffer_unittest.cc173 char write_bytes[] = "foo"; in TEST() local
174 buffer.WriteBytes(write_bytes, 3); in TEST()
178 EXPECT_EQ(write_bytes[i], read_bytes[i]); in TEST()
184 memcpy(write_dst, write_bytes, 3); in TEST()
188 EXPECT_EQ(write_bytes[i], read_bytes[i]); in TEST()
/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/u-boot/drivers/spi/
Dcadence_qspi_apb.c725 unsigned int write_bytes; in cadence_qspi_apb_indirect_write_execute() local
748 write_bytes = remaining > page_size ? page_size : remaining; in cadence_qspi_apb_indirect_write_execute()
749 writesl(plat->ahbbase, bb_txbuf, write_bytes >> 2); in cadence_qspi_apb_indirect_write_execute()
750 if (write_bytes % 4) in cadence_qspi_apb_indirect_write_execute()
752 bb_txbuf + rounddown(write_bytes, 4), in cadence_qspi_apb_indirect_write_execute()
753 write_bytes % 4); in cadence_qspi_apb_indirect_write_execute()
763 bb_txbuf += write_bytes; in cadence_qspi_apb_indirect_write_execute()
764 remaining -= write_bytes; in cadence_qspi_apb_indirect_write_execute()
/external/linux-kselftest/tools/testing/selftests/vm/
Dmap_hugetlb.c40 static void write_bytes(char *addr) in write_bytes() function
74 write_bytes(addr); in main()
Dhugepage-mmap.c44 static void write_bytes(char *addr) in write_bytes() function
85 write_bytes(addr); in main()
/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/flatbuffers/rust/flatbuffers/src/
Dvtable_writer.rs17 use std::ptr::write_bytes;
81 write_bytes(p, 0, len); in clear()
Dbuilder.rs21 use std::ptr::write_bytes;
106 unsafe { write_bytes(ptr, 0, to_clear); } in reset()
512 unsafe { write_bytes(ptr, 0, middle); } in grow_owned_buf()
/external/libchrome/mojo/core/
Dchannel_fuchsia.cc382 uint32_t write_bytes = 0; in WriteNoLock() local
384 message_view.advance_data_offset(write_bytes); in WriteNoLock()
397 write_bytes = std::min(message_view.data_num_bytes(), in WriteNoLock()
399 zx_status_t result = handle_.write(0, message_view.data(), write_bytes, in WriteNoLock()
414 } while (write_bytes < message_view.data_num_bytes()); in WriteNoLock()
/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/libunwind/src/
DLos-common.c170 map_local_is_writable (unw_word_t addr, size_t write_bytes) in map_local_is_writable() argument
172 return is_flag_set (addr, PROT_WRITE, write_bytes); in map_local_is_writable()
/external/kernel-headers/original/uapi/linux/
Dtaskstats.h153 __u64 write_bytes; /* bytes of write I/O */ member
/external/u-boot/drivers/mmc/
Darm_pl180_mmci.c163 static int write_bytes(struct mmc *dev, u32 *src, u32 blkcount, u32 blksize) in write_bytes() function
261 error = write_bytes(dev, (u32 *)data->src, (u32)data->blocks, in do_data_transfer()
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py1066 def InternalSerialize(self, write_bytes): argument
1068 field_descriptor._encoder(write_bytes, field_value)
1070 write_bytes(tag_bytes)
1071 write_bytes(value_bytes)
/external/python/cpython3/Lib/
Dplistlib.py431 self.write_bytes(value)
443 self.write_bytes(data.data)
445 def write_bytes(self, data): member in _PlistWriter
/external/tensorflow/tensorflow/lite/tutorials/
Dpost_training_quant.ipynb294 "tflite_model_file.write_bytes(tflite_model)"
323 "tflite_model_quant_file.write_bytes(tflite_quant_model)"
655 "resnet_tflite_file.write_bytes(converter.convert())\n"
/external/python/cpython2/Modules/_io/
Dbytesio.c111 write_bytes(bytesio *self, const char *bytes, Py_ssize_t len) in write_bytes() function
573 n = write_bytes(self, buf.buf, buf.len); in bytesio_write()
/external/python/cpython3/Modules/_io/
Dbytesio.c160 write_bytes(bytesio *self, const char *bytes, Py_ssize_t len) in write_bytes() function
681 n = write_bytes(self, buf.buf, buf.len); in _io_BytesIO_write()

12