/external/tensorflow/tensorflow/core/lib/io/snappy/ |
D | snappy_outputbuffer.cc | 120 size_t bytes_to_copy = std::min(length, avail_out_); in AddToOutputBuffer() local 121 memcpy(next_out_, data, bytes_to_copy); in AddToOutputBuffer() 122 data += bytes_to_copy; in AddToOutputBuffer() 123 next_out_ += bytes_to_copy; in AddToOutputBuffer() 124 avail_out_ -= bytes_to_copy; in AddToOutputBuffer() 125 length -= bytes_to_copy; in AddToOutputBuffer()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | curl_http_request.cc | 337 size_t bytes_to_copy = in WriteCallbackDirect() local 339 memcpy(&state->buffer_[state->bytes_transferred_], ptr, bytes_to_copy); in WriteCallbackDirect() 340 state->bytes_transferred_ += bytes_to_copy; in WriteCallbackDirect() 341 return bytes_to_copy; in WriteCallbackDirect() 362 const size_t bytes_to_copy = size * nmemb; in WriteCallback() local 365 reinterpret_cast<const char*>(ptr) + bytes_to_copy); in WriteCallback() 367 return bytes_to_copy; in WriteCallback() 375 const size_t bytes_to_copy = std::min( in ReadCallback() local 378 bytes_to_copy); in ReadCallback() 379 that->post_body_read_ += bytes_to_copy; in ReadCallback() [all …]
|
D | file_block_cache_test.cc | 81 size_t bytes_to_copy = std::min<size_t>(buf.size() - offset, n); in TEST() local 82 memcpy(buffer, buf.data() + offset, bytes_to_copy); in TEST() 83 *bytes_transferred = bytes_to_copy; in TEST() 160 size_t bytes_to_copy = 0; in TEST() local 164 bytes_to_copy = n; in TEST() 168 bytes_to_copy = file_size - block_size; in TEST() 169 memset(buffer, 'x', bytes_to_copy); in TEST() 172 *bytes_transferred = bytes_to_copy; in TEST()
|
D | http_request_fake.h | 133 size_t bytes_to_copy = in Send() local 135 memcpy(direct_result_buffer_, response_.data(), bytes_to_copy); in Send() 136 direct_result_bytes_transferred_ += bytes_to_copy; in Send()
|
D | file_block_cache.cc | 206 size_t bytes_to_copy = end - begin; in Read() local 207 memcpy(&buffer[total_bytes_transferred], &*begin, bytes_to_copy); in Read() 208 total_bytes_transferred += bytes_to_copy; in Read()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | inputbuffer.cc | 104 const int64 bytes_to_copy = in ReadNBytes() local 107 memcpy(result + *bytes_read, pos_, bytes_to_copy); in ReadNBytes() 108 pos_ += bytes_to_copy; in ReadNBytes() 109 *bytes_read += bytes_to_copy; in ReadNBytes()
|
D | buffered_inputstream.cc | 111 const int64 bytes_to_copy = in ReadNBytes() local 113 result->insert(result->size(), buf_, pos_, bytes_to_copy); in ReadNBytes() 114 pos_ += bytes_to_copy; in ReadNBytes()
|
/external/adhd/cras/src/server/ |
D | cras_loopback_iodev.c | 57 unsigned int frames_to_copy, bytes_to_copy; in sample_hook() local 71 bytes_to_copy = frames_to_copy * frame_bytes; in sample_hook() 72 memcpy(buf_write_pointer(sbuf), frames, bytes_to_copy); in sample_hook() 73 buf_increment_write(sbuf, bytes_to_copy); in sample_hook()
|
/external/puffin/src/ |
D | puffin_stream.cc | 301 auto bytes_to_copy = in Read() local 305 bytes_to_copy); in Read() 308 skip_bytes_ += bytes_to_copy; in Read() 309 bytes_read += bytes_to_copy; in Read()
|
/external/pdfium/third_party/libpng16/ |
D | pngrutil.c | 3304 unsigned int bytes_to_copy, bytes_to_jump; in png_combine_row() local 3332 bytes_to_copy = (1<<((6-pass)>>1)) * pixel_depth; in png_combine_row() 3335 if (bytes_to_copy > row_width) in png_combine_row() 3336 bytes_to_copy = (unsigned int)/*SAFE*/row_width; in png_combine_row() 3340 bytes_to_copy = pixel_depth; in png_combine_row() 3353 switch (bytes_to_copy) in png_combine_row() 3412 if (bytes_to_copy < 16 /*else use memcpy*/ && in png_combine_row() 3415 bytes_to_copy % (sizeof (png_uint_16)) == 0 && in png_combine_row() 3423 bytes_to_copy % (sizeof (png_uint_32)) == 0 && in png_combine_row() 3429 size_t skip = (bytes_to_jump-bytes_to_copy) / in png_combine_row() [all …]
|
/external/libpng/ |
D | pngrutil.c | 3427 unsigned int bytes_to_copy, bytes_to_jump; in png_combine_row() local 3455 bytes_to_copy = (1<<((6-pass)>>1)) * pixel_depth; in png_combine_row() 3458 if (bytes_to_copy > row_width) in png_combine_row() 3459 bytes_to_copy = (unsigned int)/*SAFE*/row_width; in png_combine_row() 3463 bytes_to_copy = pixel_depth; in png_combine_row() 3476 switch (bytes_to_copy) in png_combine_row() 3535 if (bytes_to_copy < 16 /*else use memcpy*/ && in png_combine_row() 3538 bytes_to_copy % (sizeof (png_uint_16)) == 0 && in png_combine_row() 3546 bytes_to_copy % (sizeof (png_uint_32)) == 0 && in png_combine_row() 3552 size_t skip = (bytes_to_jump-bytes_to_copy) / in png_combine_row() [all …]
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | vp8_impl.cc | 1229 const uint32_t bytes_to_copy = input_image._length; in Decode() local 1230 if (last_keyframe_._size < bytes_to_copy) { in Decode() 1242 last_keyframe_._size = bytes_to_copy; in Decode() 1246 memcpy(last_keyframe_._buffer, input_image._buffer, bytes_to_copy); in Decode() 1247 last_keyframe_._length = bytes_to_copy; in Decode()
|
/external/v8/src/ |
D | api.cc | 7692 size_t bytes_to_copy = in CopyContents() local 7694 if (bytes_to_copy) { in CopyContents() 7705 memcpy(dest, source + byte_offset, bytes_to_copy); in CopyContents() 7707 return bytes_to_copy; in CopyContents()
|