Home
last modified time | relevance | path

Searched refs:decode_result (Results 1 – 21 of 21) sorted by relevance

/external/openscreen/osp/public/
Dmessage_demuxer_unittest.cc40 ssize_t decode_result, in ExpectDecodedRequest() argument
42 ASSERT_GT(decode_result, 0); in ExpectDecodedRequest()
43 EXPECT_EQ(decode_result, static_cast<ssize_t>(buffer_.size() - 2)); in ExpectDecodedRequest()
71 ssize_t decode_result = 0; in TEST_F() local
76 .WillOnce(Invoke([&decode_result, &received_request]( in TEST_F()
80 decode_result = msgs::DecodePresentationConnectionOpenRequest( in TEST_F()
82 return ConvertDecodeResult(decode_result); in TEST_F()
86 ExpectDecodedRequest(decode_result, received_request); in TEST_F()
104 ssize_t decode_result = 0; in TEST_F() local
110 .WillRepeatedly(Invoke([&decode_result, &received_request]( in TEST_F()
[all …]
/external/openscreen/osp/impl/quic/
Dquic_server_unittest.cc100 ssize_t decode_result = 0; in SendTestMessage() local
105 .WillOnce(Invoke([&decode_result, &received_message]( in SendTestMessage()
109 decode_result = msgs::DecodePresentationConnectionMessage( in SendTestMessage()
111 if (decode_result < 0) in SendTestMessage()
113 return ErrorOr<size_t>(decode_result); in SendTestMessage()
117 ASSERT_GT(decode_result, 0); in SendTestMessage()
118 EXPECT_EQ(decode_result, static_cast<ssize_t>(buffer.size() - 1)); in SendTestMessage()
Dquic_client_unittest.cc96 ssize_t decode_result = 0; in SendTestMessage() local
102 .WillOnce(Invoke([&decode_result, &received_message]( in SendTestMessage()
106 decode_result = msgs::DecodePresentationConnectionMessage( in SendTestMessage()
108 if (decode_result < 0) in SendTestMessage()
110 return ErrorOr<size_t>(decode_result); in SendTestMessage()
114 ASSERT_GT(decode_result, 0); in SendTestMessage()
115 EXPECT_EQ(decode_result, static_cast<ssize_t>(buffer.size() - 1)); in SendTestMessage()
/external/openscreen/osp/impl/presentation/
Dpresentation_controller_unittest.cc115 ssize_t decode_result = -1; in ExpectAvailabilityRequest() local
118 .WillOnce(Invoke([request, &msg_type, &decode_result]( in ExpectAvailabilityRequest()
123 decode_result = msgs::DecodePresentationUrlAvailabilityRequest( in ExpectAvailabilityRequest()
125 return decode_result; in ExpectAvailabilityRequest()
129 ASSERT_GT(decode_result, 0); in ExpectAvailabilityRequest()
203 ssize_t decode_result = -1; in ExpectCloseRequest() local
206 .WillOnce(Invoke([request, &msg_type, &decode_result]( in ExpectCloseRequest()
211 decode_result = msgs::DecodePresentationConnectionCloseRequest( in ExpectCloseRequest()
213 return decode_result; in ExpectCloseRequest()
219 ASSERT_GT(decode_result, 0); in ExpectCloseRequest()
[all …]
Dpresentation_receiver.cc116 ssize_t decode_result = msgs::DecodePresentationUrlAvailabilityRequest( in OnStreamMessage() local
118 if (decode_result < 0) { in OnStreamMessage()
120 << decode_result; in OnStreamMessage()
134 return decode_result; in OnStreamMessage()
/external/webrtc/video/
Dvideo_stream_decoder_impl.cc167 DecodeResult decode_result = DecodeFrame(std::move(frame)); in OnNextFrameCallback() local
168 bookkeeping_queue_.PostTask([this, decode_result]() { in OnNextFrameCallback()
170 switch (decode_result) { in OnNextFrameCallback()
218 int32_t decode_result = decoder->Decode(frame->EncodedImage(), // in DecodeFrame() local
221 switch (decode_result) { in DecodeFrame()
Dvideo_receive_stream.cc668 int decode_result = video_receiver_.Decode(frame.get()); in HandleEncodedFrame() local
669 if (decode_result == WEBRTC_VIDEO_CODEC_OK || in HandleEncodedFrame()
670 decode_result == WEBRTC_VIDEO_CODEC_OK_REQUEST_KEYFRAME) { in HandleEncodedFrame()
675 if (decode_result == WEBRTC_VIDEO_CODEC_OK_REQUEST_KEYFRAME) in HandleEncodedFrame()
Dvideo_receive_stream2.cc660 int decode_result = video_receiver_.Decode(frame.get()); in HandleEncodedFrame() local
661 if (decode_result == WEBRTC_VIDEO_CODEC_OK || in HandleEncodedFrame()
662 decode_result == WEBRTC_VIDEO_CODEC_OK_REQUEST_KEYFRAME) { in HandleEncodedFrame()
668 if (decode_result == WEBRTC_VIDEO_CODEC_OK_REQUEST_KEYFRAME) in HandleEncodedFrame()
/external/rust/crates/rusqlite/src/blob/
Dmod.rs241 c.decode_result(rc).map(|_| Blob { in blob_open()
258 return self.conn.decode_result(rc); in reopen()
296 self.conn.decode_result(rc) in close_()
316 .decode_result(rc) in read()
345 .decode_result(rc) in write()
/external/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc186 auto decode_result = parse_result[0].frame->Decode( in EncodeDecodeTest() local
189 RTC_CHECK(decode_result.has_value()); in EncodeDecodeTest()
190 EXPECT_EQ(frame_size_ * channels_, decode_result->num_decoded_samples); in EncodeDecodeTest()
229 auto decode_result = parse_result[0].frame->Decode(outputs[i]); in ReInitTest() local
230 RTC_CHECK(decode_result.has_value()); in ReInitTest()
231 EXPECT_EQ(frame_size_ * channels_, decode_result->num_decoded_samples); in ReInitTest()
249 auto decode_result = parse_result[0].frame->Decode(output); in DecodePlcTest() local
250 RTC_CHECK(decode_result.has_value()); in DecodePlcTest()
251 EXPECT_EQ(frame_size_ * channels_, decode_result->num_decoded_samples); in DecodePlcTest()
/external/pigweed/pw_rpc/
Dpacket_test.cc128 auto decode_result = Packet::FromBuffer(packet_data); in TEST() local
129 ASSERT_TRUE(decode_result.ok()); in TEST()
131 auto& decoded = decode_result.value(); in TEST()
/external/rust/crates/rusqlite/src/
Dcollation.rs96 self.decode_result(r) in create_collation()
139 self.decode_result(r) in collation_needed()
154 self.decode_result(r) in remove_collation()
Dbusy.rs67 c.decode_result(r) in busy_handler()
74 self.decode_result(r) in busy_timeout()
Dstatement.rs573 .decode_result(unsafe { ffi::sqlite3_bind_zeroblob(ptr, col as c_int, len) }); in bind_parameter()
577 return self.conn.decode_result(unsafe { in bind_parameter()
588 self.conn.decode_result(match value { in bind_parameter()
620 _ => Err(self.conn.decode_result(r).unwrap_err()), in execute_with_bound_parameters()
627 self.conn.decode_result(stmt.finalize()) in finalize_()
803 code => Err(self.conn.decode_result(code).unwrap_err()), in step()
Dinner_connection.rs128 pub fn decode_result(&mut self, code: c_int) -> Result<()> { in decode_result() method
177 self.decode_result(r) in enable_load_extension()
245 self.decode_result(r)?; in prepare()
Dfunctions.rs473 self.decode_result(r) in create_scalar_function()
503 self.decode_result(r) in create_aggregate_function()
535 self.decode_result(r) in create_window_function()
553 self.decode_result(r) in remove_function()
Dlib.rs781 fn decode_result(&self, code: c_int) -> Result<()> { in decode_result() method
782 self.db.borrow_mut().decode_result(code) in decode_result()
/external/webrtc/modules/audio_coding/codecs/isac/
Disac_webrtc_api_test.cc311 auto decode_result = parse_result[0].frame->Decode(out); in TEST_P() local
312 EXPECT_TRUE(decode_result.has_value()); in TEST_P()
313 EXPECT_EQ(out.size(), decode_result->num_decoded_samples); in TEST_P()
314 num_decoded_samples += decode_result->num_decoded_samples; in TEST_P()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/alts/
Dalts_security_connector.cc214 bool decode_result = in grpc_alts_auth_context_from_tsi_peer() local
217 if (!decode_result) { in grpc_alts_auth_context_from_tsi_peer()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dalts_security_connector.cc135 bool decode_result = in grpc_alts_auth_context_from_tsi_peer() local
138 if (!decode_result) { in grpc_alts_auth_context_from_tsi_peer()
/external/rust/crates/rusqlite/src/vtab/
Dmod.rs651 self.decode_result(r) in create_module()