Home
last modified time | relevance | path

Searched refs:bytes_available (Results 1 – 14 of 14) sorted by relevance

/external/perfetto/src/protozero/
Dscattered_stream_writer_unittest.cc46 EXPECT_EQ(kChunkSize - i - 1, ssw.bytes_available()); in TEST()
49 EXPECT_EQ(0u, ssw.bytes_available()); in TEST()
54 EXPECT_EQ(7u, ssw.bytes_available()); in TEST()
60 EXPECT_EQ(3u, ssw.bytes_available()); in TEST()
65 EXPECT_EQ(7u, ssw.bytes_available()); in TEST()
70 EXPECT_EQ(7u, ssw.bytes_available()); in TEST()
76 EXPECT_EQ(7u, ssw.bytes_available()); in TEST()
89 EXPECT_EQ(3u, ssw.bytes_available()); in TEST()
Dscattered_stream_writer.cc50 const size_t burst_size = std::min(bytes_available(), bytes_left); in WriteBytesSlowPath()
Dmessage_unittest.cc94 stream_writer_->bytes_available(); in GetNumSerializedBytes()
/external/google-breakpad/src/common/windows/
Dhttp_upload.cc213 DWORD bytes_available; in ReadResponse() local
217 while (((return_code = InternetQueryDataAvailable(request, &bytes_available, in ReadResponse()
218 0, 0)) != 0) && bytes_available > 0) { in ReadResponse()
219 vector<char> response_buffer(bytes_available); in ReadResponse()
224 bytes_available, &size_read); in ReadResponse()
/external/puffin/src/
Dhuffman_table.cc292 auto bytes_available = (*length - index); in BuildDynamicHuffmanTable() local
295 br, buffer + index, &bytes_available, code_max_bits_, in BuildDynamicHuffmanTable()
297 index += bytes_available; in BuildDynamicHuffmanTable()
462 auto bytes_available = length - index; in BuildDynamicHuffmanTable() local
464 BuildHuffmanCodeLengths(buffer + index, &bytes_available, bw, in BuildDynamicHuffmanTable()
466 index += bytes_available; in BuildDynamicHuffmanTable()
/external/libmojo/mojo/edk/system/
Ddata_pipe_consumer_dispatcher.cc40 uint32_t bytes_available; member
346 state->bytes_available = bytes_available_; in EndSerialize()
424 dispatcher->bytes_available_ = state->bytes_available; in Deserialize()
425 dispatcher->new_data_available_ = state->bytes_available > 0; in Deserialize()
Dmessage_pipe_dispatcher.cc100 uint32_t bytes_available = in Match() local
104 bytes_to_read = std::min(*num_bytes_, bytes_available); in Match()
105 *num_bytes_ = bytes_available; in Match()
116 (!read_any_size_ && bytes_to_read < bytes_available)) { in Match()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_h264.cc193 size_t bytes_available = max_payload_len_ - kFuAHeaderSize; in PacketizeFuA() local
195 (fragment_length + (bytes_available - 1)) / bytes_available; in PacketizeFuA()
/external/perfetto/src/tracing/core/
Dtrace_writer_for_testing.cc50 delegate_.chunks().size() * chunk_size_ - stream_.bytes_available(); in ParseProto()
Dtrace_writer_impl.cc94 if (protobuf_stream_writer_.bytes_available() < kPacketHeaderSize + 8) in NewTracePacket()
/external/perfetto/src/ftrace_reader/test/
Dscattered_stream_delegate_for_testing.cc31 size_t used = chunk_size_ - writer_->bytes_available(); in GetNewBuffer()
/external/perfetto/include/perfetto/protozero/
Dscattered_stream_writer.h103 size_t bytes_available() const { in bytes_available() function
/external/perfetto/src/protozero/test/
Dprotozero_conformance_unittest.cc62 stream_writer_->bytes_available(); in GetNumSerializedBytes()
/external/perfetto/src/ftrace_reader/
Dcpu_reader_unittest.cc92 delegate_.chunks().size() * chunk_size_ - stream_.bytes_available(); in ParseProto()