/external/openscreen/osp/public/ |
D | message_demuxer_unittest.cc | 40 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/ |
D | quic_server_unittest.cc | 100 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()
|
D | quic_client_unittest.cc | 96 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/ |
D | presentation_controller_unittest.cc | 115 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 …]
|
D | presentation_receiver.cc | 116 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/ |
D | video_stream_decoder_impl.cc | 167 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()
|
D | video_receive_stream.cc | 668 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()
|
D | video_receive_stream2.cc | 660 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/ |
D | mod.rs | 241 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/ |
D | audio_decoder_unittest.cc | 186 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/ |
D | packet_test.cc | 128 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/ |
D | collation.rs | 96 self.decode_result(r) in create_collation() 139 self.decode_result(r) in collation_needed() 154 self.decode_result(r) in remove_collation()
|
D | busy.rs | 67 c.decode_result(r) in busy_handler() 74 self.decode_result(r) in busy_timeout()
|
D | statement.rs | 573 .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()
|
D | inner_connection.rs | 128 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()
|
D | functions.rs | 473 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()
|
D | lib.rs | 781 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/ |
D | isac_webrtc_api_test.cc | 311 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/ |
D | alts_security_connector.cc | 214 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/ |
D | alts_security_connector.cc | 135 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/ |
D | mod.rs | 651 self.decode_result(r) in create_module()
|