Searched refs:num_to_copy (Results 1 – 5 of 5) sorted by relevance
/external/cronet/net/third_party/quiche/src/quiche/http2/decoder/ |
D | http2_structure_decoder.cc | 28 const uint32_t num_to_copy = db->MinLengthRemaining(target_size); in IncompleteStart() local 29 memcpy(buffer_, db->cursor(), num_to_copy); in IncompleteStart() 30 offset_ = num_to_copy; in IncompleteStart() 31 db->AdvanceCursor(num_to_copy); in IncompleteStart() 32 return num_to_copy; in IncompleteStart() 63 const uint32_t num_to_copy = db->MinLengthRemaining(needed); in ResumeFillingBuffer() local 64 QUICHE_DVLOG(2) << "ResumeFillingBuffer num_to_copy=" << num_to_copy; in ResumeFillingBuffer() 65 memcpy(&buffer_[offset_], db->cursor(), num_to_copy); in ResumeFillingBuffer() 66 db->AdvanceCursor(num_to_copy); in ResumeFillingBuffer() 67 offset_ += num_to_copy; in ResumeFillingBuffer() [all …]
|
/external/cronet/components/metrics/system_session_analyzer/ |
D | system_session_analyzer_win_unittest.cc | 68 size_t num_to_copy = std::min(requested_events, events_.size()); in FetchEvents() local 69 if (num_to_copy) { in FetchEvents() 72 events_.begin() + num_to_copy); in FetchEvents() 73 events_.erase(events_.begin(), events_.begin() + num_to_copy); in FetchEvents()
|
/external/mbedtls/library/ |
D | hkdf.c | 141 size_t num_to_copy; in mbedtls_hkdf_expand() local 176 num_to_copy = i != n ? hash_len : okm_len - where; in mbedtls_hkdf_expand() 177 memcpy( okm + where, t, num_to_copy ); in mbedtls_hkdf_expand()
|
/external/openthread/third_party/mbedtls/repo/library/ |
D | hkdf.c | 141 size_t num_to_copy; in mbedtls_hkdf_expand() local 176 num_to_copy = i != n ? hash_len : okm_len - where; in mbedtls_hkdf_expand() 177 memcpy( okm + where, t, num_to_copy ); in mbedtls_hkdf_expand()
|
/external/wuffs-mirror-release-c/release/c/ |
D | wuffs-v0.3.c | 42308 uint64_t num_to_copy = r.length(); in HandleMetadata() local 42309 if (num_to_copy > (raw.m_max_incl - raw.m_buf.meta.wi)) { in HandleMetadata() 42312 } else if (num_to_copy > (raw.m_buf.data.len - raw.m_buf.meta.wi)) { in HandleMetadata() 42313 switch (raw.grow(num_to_copy + raw.m_buf.meta.wi)) { in HandleMetadata() 42336 wuffs_base__u64__min(num_to_copy, io_buf.reader_length()); in HandleMetadata() 42340 num_to_copy -= n; in HandleMetadata() 42341 if (num_to_copy == 0) { in HandleMetadata()
|