Home
last modified time | relevance | path

Searched refs:starting_offset (Results 1 – 2 of 2) sorted by relevance

/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_stream_sequencer_buffer.cc110 QuicStreamOffset starting_offset, absl::string_view data, in OnStreamData() argument
119 if (starting_offset + size > total_bytes_read_ + max_buffer_capacity_bytes_ || in OnStreamData()
120 starting_offset + size < starting_offset) { in OnStreamData()
126 starting_offset >= bytes_received_.rbegin()->max() || in OnStreamData()
128 starting_offset, starting_offset + size))) { in OnStreamData()
130 bytes_received_.AddOptimizedForAppend(starting_offset, in OnStreamData()
131 starting_offset + size); in OnStreamData()
138 MaybeAddMoreBlocks(starting_offset + size); in OnStreamData()
141 if (!CopyStreamData(starting_offset, data, &bytes_copy, error_details)) { in OnStreamData()
149 QuicIntervalSet<QuicStreamOffset> newly_received(starting_offset, in OnStreamData()
[all …]
/external/libevent/test/
Dregress_buffer.c1131 ev_off_t starting_offset = 0, mapping_len = -1; in test_evbuffer_add_file() local
1205 starting_offset = datalen/4 + 1; in test_evbuffer_add_file()
1207 expect_data = data + starting_offset; in test_evbuffer_add_file()
1222 seg = evbuffer_file_segment_new(fd, starting_offset, in test_evbuffer_add_file()
1256 tt_assert(evbuffer_add_file(src, fd, starting_offset, in test_evbuffer_add_file()