Home
last modified time | relevance | path

Searched refs:encoded_blobs (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/logging/rtc_event_log/encoder/
Dblob_encoding.cc48 std::vector<absl::string_view> DecodeBlobs(absl::string_view encoded_blobs, in DecodeBlobs() argument
50 if (encoded_blobs.empty()) { in DecodeBlobs()
66 if (read_idx >= encoded_blobs.length()) { in DecodeBlobs()
67 RTC_DCHECK_EQ(read_idx, encoded_blobs.length()); in DecodeBlobs()
73 DecodeVarInt(encoded_blobs.substr(read_idx), &lengths[i]); in DecodeBlobs()
83 RTC_DCHECK_LE(read_idx, encoded_blobs.length()); in DecodeBlobs()
94 if (read_idx + lengths[i] > encoded_blobs.length()) { in DecodeBlobs()
99 blobs[i] = encoded_blobs.substr(read_idx, lengths[i]); in DecodeBlobs()
103 if (read_idx != encoded_blobs.length()) { in DecodeBlobs()
Dblob_encoding_unittest.cc41 void TestGracefulErrorHandling(absl::string_view encoded_blobs, in TestGracefulErrorHandling() argument
44 DecodeBlobs(encoded_blobs, num_of_blobs); in TestGracefulErrorHandling()
Dblob_encoding.h48 std::vector<absl::string_view> DecodeBlobs(absl::string_view encoded_blobs,