Home
last modified time | relevance | path

Searched refs:bytes_to_copy (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavdevice/
Dfbdev_enc.c107 int bytes_to_copy; in fbdev_write_packet() local
129 bytes_to_copy = FFMIN(fbdev->varinfo.xres, video_width) * bytes_per_pixel; in fbdev_write_packet()
140 bytes_to_copy += fbdev->xoffset * bytes_per_pixel; in fbdev_write_packet()
147 bytes_to_copy -= diff * bytes_per_pixel; in fbdev_write_packet()
171 memcpy(pout, pin, bytes_to_copy); in fbdev_write_packet()
/third_party/ffmpeg/tools/
Dqt-faststart.c445 int bytes_to_copy; in main() local
639 bytes_to_copy = MIN(COPY_BUFFER_SIZE, last_offset); in main()
640 copy_buffer = malloc(bytes_to_copy); in main()
642 fprintf(stderr, "could not allocate %d bytes for copy_buffer\n", bytes_to_copy); in main()
647 bytes_to_copy = MIN(bytes_to_copy, last_offset); in main()
649 if (fread(copy_buffer, bytes_to_copy, 1, infile) != 1) { in main()
653 if (fwrite(copy_buffer, bytes_to_copy, 1, outfile) != 1) { in main()
657 last_offset -= bytes_to_copy; in main()
/third_party/glib/gio/
Dgwin32file-sync-stream.c54 ULARGE_INTEGER bytes_to_copy,
221 ULARGE_INTEGER bytes_to_copy, in _file_sync_stream_copy_to() argument
229 counter.QuadPart = bytes_to_copy.QuadPart; in _file_sync_stream_copy_to()
/third_party/libpng/
Dpngrutil.c3447 unsigned int bytes_to_copy, bytes_to_jump; in png_combine_row() local
3475 bytes_to_copy = (1<<((6-pass)>>1)) * pixel_depth; in png_combine_row()
3478 if (bytes_to_copy > row_width) in png_combine_row()
3479 bytes_to_copy = (unsigned int)/*SAFE*/row_width; in png_combine_row()
3483 bytes_to_copy = pixel_depth; in png_combine_row()
3496 switch (bytes_to_copy) in png_combine_row()
3555 if (bytes_to_copy < 16 /*else use memcpy*/ && in png_combine_row()
3558 bytes_to_copy % (sizeof (png_uint_16)) == 0 && in png_combine_row()
3566 bytes_to_copy % (sizeof (png_uint_32)) == 0 && in png_combine_row()
3572 size_t skip = (bytes_to_jump-bytes_to_copy) / in png_combine_row()
[all …]
/third_party/flutter/skia/third_party/externals/libpng/
Dpngrutil.c3447 unsigned int bytes_to_copy, bytes_to_jump; in png_combine_row() local
3475 bytes_to_copy = (1<<((6-pass)>>1)) * pixel_depth; in png_combine_row()
3478 if (bytes_to_copy > row_width) in png_combine_row()
3479 bytes_to_copy = (unsigned int)/*SAFE*/row_width; in png_combine_row()
3483 bytes_to_copy = pixel_depth; in png_combine_row()
3496 switch (bytes_to_copy) in png_combine_row()
3555 if (bytes_to_copy < 16 /*else use memcpy*/ && in png_combine_row()
3558 bytes_to_copy % (sizeof (png_uint_16)) == 0 && in png_combine_row()
3566 bytes_to_copy % (sizeof (png_uint_32)) == 0 && in png_combine_row()
3572 size_t skip = (bytes_to_jump-bytes_to_copy) / in png_combine_row()
[all …]
/third_party/skia/third_party/externals/libpng/
Dpngrutil.c3447 unsigned int bytes_to_copy, bytes_to_jump; in png_combine_row() local
3475 bytes_to_copy = (1<<((6-pass)>>1)) * pixel_depth; in png_combine_row()
3478 if (bytes_to_copy > row_width) in png_combine_row()
3479 bytes_to_copy = (unsigned int)/*SAFE*/row_width; in png_combine_row()
3483 bytes_to_copy = pixel_depth; in png_combine_row()
3496 switch (bytes_to_copy) in png_combine_row()
3555 if (bytes_to_copy < 16 /*else use memcpy*/ && in png_combine_row()
3558 bytes_to_copy % (sizeof (png_uint_16)) == 0 && in png_combine_row()
3566 bytes_to_copy % (sizeof (png_uint_32)) == 0 && in png_combine_row()
3572 size_t skip = (bytes_to_jump-bytes_to_copy) / in png_combine_row()
[all …]
/third_party/miniz/
Dminiz_tdef.c721 … int bytes_to_copy = (int)MZ_MIN((size_t)n, (size_t)(*d->m_pOut_buf_size - d->m_out_buf_ofs)); in tdefl_flush_block() local
722 memcpy((mz_uint8 *)d->m_pOut_buf + d->m_out_buf_ofs, d->m_output_buf, bytes_to_copy); in tdefl_flush_block()
723 d->m_out_buf_ofs += bytes_to_copy; in tdefl_flush_block()
724 if ((n -= bytes_to_copy) != 0) in tdefl_flush_block()
726 d->m_output_flush_ofs = bytes_to_copy; in tdefl_flush_block()
/third_party/mbedtls/library/
Dbignum.c977 size_t bytes_to_copy; in mbedtls_mpi_write_binary() local
993 bytes_to_copy = stored_bytes; in mbedtls_mpi_write_binary()
1001 bytes_to_copy = buflen; in mbedtls_mpi_write_binary()
1003 for( i = bytes_to_copy; i < stored_bytes; i++ ) in mbedtls_mpi_write_binary()
1010 for( i = 0; i < bytes_to_copy; i++ ) in mbedtls_mpi_write_binary()
1011 p[bytes_to_copy - i - 1] = GET_BYTE( X, i ); in mbedtls_mpi_write_binary()
/third_party/miniz/amalgamation/
Dminiz.c1349 … int bytes_to_copy = (int)MZ_MIN((size_t)n, (size_t)(*d->m_pOut_buf_size - d->m_out_buf_ofs)); in tdefl_flush_block() local
1350 memcpy((mz_uint8 *)d->m_pOut_buf + d->m_out_buf_ofs, d->m_output_buf, bytes_to_copy); in tdefl_flush_block()
1351 d->m_out_buf_ofs += bytes_to_copy; in tdefl_flush_block()
1352 if ((n -= bytes_to_copy) != 0) in tdefl_flush_block()
1354 d->m_output_flush_ofs = bytes_to_copy; in tdefl_flush_block()
/third_party/python/Lib/test/
Dtest_os.py335 bytes_to_copy = 6
352 i = os.copy_file_range(in_fd, out_fd, bytes_to_copy,
365 self.assertIn(i, range(0, bytes_to_copy+1));