Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/stubs/
Dstrutil_unittest.cc443 int decode_length; in TEST() local
626 decode_length = WebSafeBase64Unescape(encode_buffer, in TEST()
632 EXPECT_EQ(decode_length, base64_tests[i].plain_length); in TEST()
636 memcmp(decode_buffer, base64_tests[i].plaintext, decode_length)); in TEST()
640 decode_length = WebSafeBase64Unescape(encode_buffer, in TEST()
643 decode_length); in TEST()
646 EXPECT_EQ(decode_length, base64_tests[i].plain_length); in TEST()
650 memcmp(decode_buffer, base64_tests[i].plaintext, decode_length)); in TEST()
659 decode_length = WebSafeBase64Unescape(encode_buffer, in TEST()
665 EXPECT_EQ(decode_length, base64_tests[i].plain_length); in TEST()
[all …]
/external/webrtc/webrtc/base/
Dbase64_unittest.cc365 size_t decode_length; in TEST() local
401 decode_length = Base64Unescape(encode_buffer, in TEST()
407 EXPECT_EQ(decode_length, base64_tests[i].plain_length); in TEST()
410 EXPECT_EQ(0, memcmp(decode_buffer, base64_tests[i].plaintext, decode_length)); in TEST()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_impl.cc1365 int decode_length; in DecodeLoop() local
1371 decode_length = rtc::checked_cast<int>(decoder_frame_length_); in DecodeLoop()
1374 decode_length = decoder->DecodeRedundant( in DecodeLoop()
1379 decode_length = in DecodeLoop()
1389 if (decode_length > 0) { in DecodeLoop()
1390 *decoded_length += decode_length; in DecodeLoop()
1393 static_cast<size_t>(decode_length) / decoder->Channels(); in DecodeLoop()
1394 } else if (decode_length < 0) { in DecodeLoop()
1396 LOG(LS_WARNING) << "Decode " << decode_length << " " << payload_length; in DecodeLoop()