/third_party/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect02.c | 62 int bytes_to_write, fd; in main() local 80 bytes_to_write = MIN(strlen(buf), num_bytes); in main() 83 SAFE_WRITE(cleanup, 1, fd, buf, bytes_to_write); in main()
|
/third_party/zlib/contrib/iostream3/ |
D | zfstream.cc | 229 int bytes_to_write = this->pptr() - this->pbase(); in overflow() local 231 if (bytes_to_write > 0) in overflow() 237 if (gzwrite(file, this->pbase(), bytes_to_write) != bytes_to_write) in overflow() 240 this->pbump(-bytes_to_write); in overflow()
|
/third_party/gstreamer/gstplugins_good/sys/waveform/ |
D | gstwaveformsink.c | 445 guint bytes_to_write = length; in gst_waveform_sink_write() local 473 bytes_to_write = remaining_length; in gst_waveform_sink_write() 475 bytes_to_write = wfsink->buffer_size - waveheader->dwUser; in gst_waveform_sink_write() 477 memcpy (waveheader->lpData + waveheader->dwUser, data, bytes_to_write); in gst_waveform_sink_write() 478 waveheader->dwUser += bytes_to_write; in gst_waveform_sink_write() 479 remaining_length -= bytes_to_write; in gst_waveform_sink_write() 480 data = (guint8 *) data + bytes_to_write; in gst_waveform_sink_write()
|
/third_party/ltp/testcases/kernel/syscalls/stat/ |
D | stat02.c | 29 size_t bytes_to_write; member 74 verify(tcase->filename, tcase->bytes_to_write, tcase->decrement); in verify_stat_size()
|
/third_party/mbedtls/programs/psa/ |
D | crypto_examples.c | 70 size_t bytes_to_write = 0, bytes_written = 0, len = 0; in cipher_operation() local 75 bytes_to_write = ( input_size - bytes_written > part_size ? in cipher_operation() 80 bytes_to_write, output + *output_len, in cipher_operation() 84 bytes_written += bytes_to_write; in cipher_operation()
|
/third_party/openssl/test/helpers/ |
D | handshake.c | 727 int bytes_to_write; member 828 write_bytes = peer->bytes_to_write < peer->write_buf_len ? peer->bytes_to_write : in do_app_data_step() 838 peer->bytes_to_write -= ret; in do_app_data_step() 855 if (peer->bytes_to_write == 0 && peer->bytes_to_read == 0) { in do_app_data_step() 892 peer->bytes_to_write = peer->bytes_to_read = test_ctx->app_data_size; in do_reneg_setup_step() 1456 server.bytes_to_write = client.bytes_to_read = test_ctx->app_data_size; in do_handshake_internal() 1457 client.bytes_to_write = server.bytes_to_read = test_ctx->app_data_size; in do_handshake_internal()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/ |
D | gstrtspconnection.c | 1939 gsize bytes_to_write, bytes_written; in gst_rtsp_connection_send_messages_usec() local 1948 for (i = 0, n_vectors = 0, n_memories = 0, bytes_to_write = 0; i < n_messages; in gst_rtsp_connection_send_messages_usec() 2026 bytes_to_write += vectors[j].size; in gst_rtsp_connection_send_messages_usec() 2032 bytes_to_write += vectors[j].size; in gst_rtsp_connection_send_messages_usec() 2045 bytes_to_write += vectors[j].size; in gst_rtsp_connection_send_messages_usec() 2062 g_assert (bytes_written == bytes_to_write || res != GST_RTSP_OK); in gst_rtsp_connection_send_messages_usec() 3999 gsize bytes_to_write, bytes_written; in gst_rtsp_source_dispatch_write() local 4075 for (i = 0, j = 0, n_mmap = 0, l = 0, bytes_to_write = 0; i < n_messages; in gst_rtsp_source_dispatch_write() 4083 bytes_to_write += vectors[j].size; in gst_rtsp_source_dispatch_write() 4091 bytes_to_write += vectors[j].size; in gst_rtsp_source_dispatch_write() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/hls/ |
D | gsthlssink2.c | 394 gsize bytes_to_write; in gst_hls_sink2_write_playlist() local 406 bytes_to_write = strlen (playlist_content); in gst_hls_sink2_write_playlist() 407 if (!g_output_stream_write_all (stream, playlist_content, bytes_to_write, in gst_hls_sink2_write_playlist()
|
/third_party/gstreamer/gstreamer/plugins/elements/ |
D | gstelements_private.c | 211 struct iovec *vecs, guint n_vecs, gsize bytes_to_write, in gst_writev_iovecs() argument 229 left = bytes_to_write; in gst_writev_iovecs()
|
/third_party/gstreamer/gstplugins_bad/ext/dash/ |
D | gstdashsink.c | 853 gsize bytes_to_write; in gst_dash_sink_write_mpd_file() local 879 bytes_to_write = strlen (mpd_content); in gst_dash_sink_write_mpd_file() 880 if (!g_output_stream_write_all (file_stream, mpd_content, bytes_to_write, in gst_dash_sink_write_mpd_file()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
D | module-bluez5-device.c | 1361 unsigned bytes_to_write = 0; in thread_func() local 1399 bytes_to_write = 0; in thread_func() 1429 bytes_to_write += n_read; in thread_func() 1430 blocks_to_write += bytes_to_write / u->write_block_size; in thread_func() 1431 bytes_to_write = bytes_to_write % u->write_block_size; in thread_func()
|