/third_party/curl/tests/libtest/ |
D | lib1517.c | 36 size_t tocopy = size * nmemb; in read_callback() local 42 if(tocopy < 1 || !pooh->sizeleft) in read_callback() 45 if(pooh->sizeleft < tocopy) in read_callback() 46 tocopy = pooh->sizeleft; in read_callback() 48 memcpy(ptr, pooh->readptr, tocopy);/* copy requested data */ in read_callback() 49 pooh->readptr += tocopy; /* advance pointer */ in read_callback() 50 pooh->sizeleft -= tocopy; /* less data left */ in read_callback() 51 return tocopy; in read_callback()
|
D | lib1948.c | 37 size_t tocopy = (putdata->len < totalsize) ? putdata->len : totalsize; in put_callback() local 38 memcpy(ptr, putdata->buf, tocopy); in put_callback() 39 putdata->len -= tocopy; in put_callback() 40 putdata->buf += tocopy; in put_callback() 41 return tocopy; in put_callback()
|
/third_party/flutter/skia/src/pdf/ |
D | SkDeflate.cpp | 106 size_t tocopy = in write() local 108 memcpy(fImpl->fInBuffer + fImpl->fInBufferIndex, buffer, tocopy); in write() 109 len -= tocopy; in write() 110 buffer += tocopy; in write() 111 fImpl->fInBufferIndex += tocopy; in write()
|
/third_party/skia/src/pdf/ |
D | SkDeflate.cpp | 107 size_t tocopy = in write() local 109 memcpy(fImpl->fInBuffer + fImpl->fInBufferIndex, buffer, tocopy); in write() 110 len -= tocopy; in write() 111 buffer += tocopy; in write() 112 fImpl->fInBufferIndex += tocopy; in write()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aiocp.c | 51 static int tocopy = 0; // # of blocks left to copy variable 235 --tocopy; in wr_done() 263 --tocopy; in rd_done() 491 tocopy = howmany(length, aio_blksize); in main() 498 while (tocopy > 0) { in main() 551 busy, aio_maxio, tocopy); in main()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstbuffer.c | 263 gsize i, tocopy, left; in _actual_merged_memory() local 287 tocopy = MIN (sinfo.size, left); in _actual_merged_memory() 290 tocopy, result, mem[i]); in _actual_merged_memory() 291 memcpy (ptr, (guint8 *) sinfo.data, tocopy); in _actual_merged_memory() 292 left -= tocopy; in _actual_merged_memory() 293 ptr += tocopy; in _actual_merged_memory() 621 gsize tocopy; in gst_buffer_copy_into() local 623 tocopy = MIN (bsize - skip, left); in gst_buffer_copy_into() 625 if (tocopy < bsize && !deep && !GST_MEMORY_IS_NO_SHARE (mem)) { in gst_buffer_copy_into() 627 newmem = gst_memory_share (mem, skip, tocopy); in gst_buffer_copy_into() [all …]
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstadapter.c | 488 gsize toreuse, tocopy; in gst_adapter_map() local 529 tocopy = size - toreuse; in gst_adapter_map() 551 " bytes from adapter", tocopy); in gst_adapter_map() 553 copy_into_unchecked (adapter, data + toreuse, skip + toreuse, tocopy); in gst_adapter_map() 715 gsize toreuse, tocopy; in gst_adapter_get_internal() local 720 tocopy = nbytes - toreuse; in gst_adapter_get_internal() 745 if (tocopy) { in gst_adapter_get_internal() 748 tocopy); in gst_adapter_get_internal()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | extent.c | 912 int tocopy; in extent_node_split() local 1003 tocopy = ext2fs_le16_to_cpu(eh->eh_entries); in extent_node_split() 1011 tocopy = 1; in extent_node_split() 1013 tocopy = ext2fs_le16_to_cpu(eh->eh_entries) / 2; in extent_node_split() 1018 tocopy, ext2fs_le16_to_cpu(eh->eh_entries), in extent_node_split() 1022 if (!tocopy && !no_balance) { in extent_node_split() 1054 neweh->eh_entries = ext2fs_cpu_to_le16(tocopy); in extent_node_split() 1062 (ext2fs_le16_to_cpu(eh->eh_entries) - tocopy), in extent_node_split() 1063 sizeof(struct ext3_extent_idx) * tocopy); in extent_node_split() 1094 path->entries -= tocopy; in extent_node_split() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_bsd_addr.c | 958 int tocopy, this_copy; local 962 tocopy = length;
|