Home
last modified time | relevance | path

Searched refs:engine_ (Results 1 – 25 of 35) sorted by relevance

12

/external/webrtc/webrtc/libjingle/xmpp/
Dxmppclient.cc34 engine_(), in Private()
52 rtc::scoped_ptr<XmppEngine> engine_; member in buzz::XmppClient::Private
108 d_->engine_.reset(XmppEngine::Create()); in Connect()
109 d_->engine_->SetSessionHandler(d_.get()); in Connect()
110 d_->engine_->SetOutputHandler(d_.get()); in Connect()
112 d_->engine_->SetRequestedResource(settings.resource()); in Connect()
114 d_->engine_->SetTls(settings.use_tls()); in Connect()
133 d_->engine_->SetTlsServer("", STR_TALK_GOOGLE_COM); in Connect()
138 d_->engine_->SetLanguage(lang); in Connect()
140 d_->engine_->SetUser(buzz::Jid(settings.user(), settings.host(), STR_EMPTY)); in Connect()
[all …]
Dmoduleimpl.cc17 engine_(NULL), in XmppModuleImpl()
23 if (engine_ != NULL) { in ~XmppModuleImpl()
24 engine_->RemoveStanzaHandler(&stanza_handler_); in ~XmppModuleImpl()
25 engine_ = NULL; in ~XmppModuleImpl()
32 if (NULL == engine || NULL != engine_) in RegisterEngine()
36 engine_ = engine; in RegisterEngine()
43 ASSERT(NULL != engine_); in engine()
44 return engine_; in engine()
Dxmpplogintask_unittest.cc46 XmppEngine* engine() { return engine_.get(); } in engine()
49 engine_.reset(XmppEngine::Create()); in SetUp()
50 handler_.reset(new XmppTestHandler(engine_.get())); in SetUp()
55 engine_->SetSessionHandler(handler_.get()); in SetUp()
56 engine_->SetOutputHandler(handler_.get()); in SetUp()
57 engine_->AddStanzaHandler(handler_.get()); in SetUp()
58 engine_->SetUser(jid); in SetUp()
59 engine_->SetSaslHandler( in SetUp()
64 engine_.reset(); in TearDown()
70 rtc::scoped_ptr<XmppEngine> engine_; member in XmppLoginTaskTest
[all …]
Dxmppengine_unittest.cc57 XmppEngine* engine() { return engine_.get(); } in engine()
60 engine_.reset(XmppEngine::Create()); in SetUp()
61 handler_.reset(new XmppTestHandler(engine_.get())); in SetUp()
66 engine_->SetSessionHandler(handler_.get()); in SetUp()
67 engine_->SetOutputHandler(handler_.get()); in SetUp()
68 engine_->AddStanzaHandler(handler_.get()); in SetUp()
69 engine_->SetUser(jid); in SetUp()
70 engine_->SetSaslHandler( in SetUp()
75 engine_.reset(); in TearDown()
80 rtc::scoped_ptr<XmppEngine> engine_; member in XmppEngineTest
Dutil_unittest.h24 explicit XmppTestHandler(XmppEngine* engine) : engine_(engine) {} in XmppTestHandler()
45 XmppEngine* engine_;
Dxmppengineimpl_iq.cc24 engine_(pxce), in XmppIqEntry()
33 XmppEngine * const engine_; member in buzz::XmppIqEntry
Dmoduleimpl.h62 XmppEngine* engine_; variable
Dutil_unittest.cc46 switch (engine_->GetError(NULL)) { in OnStateChange()
Dxmppengineimpl.cc403 : engine_(engine), in EnterExit()
409 XmppEngineImpl* engine = engine_; in ~EnterExit()
/external/webrtc/talk/media/webrtc/
Dwebrtcvoe.h92 : engine_(webrtc::VoiceEngine::Create()), processing_(engine_), in VoEWrapper()
93 base_(engine_), codec_(engine_), in VoEWrapper()
94 hw_(engine_), network_(engine_), in VoEWrapper()
95 rtp_(engine_), volume_(engine_) { in VoEWrapper()
104 : engine_(NULL), in VoEWrapper()
114 webrtc::VoiceEngine* engine() const { return engine_.get(); } in engine()
125 scoped_voe_engine engine_;
Dwebrtcvideoengine2_unittest.cc121 engine_() { in WebRtcVideoEngine2Test()
122 std::vector<VideoCodec> engine_codecs = engine_.codecs(); in WebRtcVideoEngine2Test()
159 WebRtcVideoEngine2 engine_; member in cricket::WebRtcVideoEngine2Test
167 const std::vector<cricket::VideoCodec>& c = engine_.codecs(); in TEST_F()
171 EXPECT_TRUE(engine_.FindCodec(vp8)); in TEST_F()
174 EXPECT_TRUE(engine_.FindCodec(vp8)); in TEST_F()
177 EXPECT_TRUE(engine_.FindCodec(vp8_diff_fr_diff_pref)); in TEST_F()
180 EXPECT_FALSE(engine_.FindCodec(vp8_diff_id)); in TEST_F()
182 EXPECT_TRUE(engine_.FindCodec(vp8_diff_id)); in TEST_F()
187 EXPECT_TRUE(engine_.FindCodec(vp8_diff_res)); in TEST_F()
[all …]
Dwebrtcvoiceengine_unittest.cc79 engine_(new FakeVoEWrapper(&voe_)), in WebRtcVoiceEngineTestFake()
85 if (!engine_.Init(rtc::Thread::Current())) { in SetupEngine()
88 channel_ = engine_.CreateChannel(&call_, cricket::AudioOptions()); in SetupEngine()
119 engine_.Terminate(); in TearDown()
141 EXPECT_TRUE(engine_.Init(rtc::Thread::Current())); in TestInsertDtmf()
142 channel_ = engine_.CreateChannel(&call_, cricket::AudioOptions()); in TestInsertDtmf()
398 cricket::WebRtcVoiceEngine engine_; member in WebRtcVoiceEngineTestFake
407 EXPECT_TRUE(engine_.Init(rtc::Thread::Current())); in TEST_F()
409 engine_.Terminate(); in TEST_F()
415 EXPECT_TRUE(engine_.Init(rtc::Thread::Current())); in TEST_F()
[all …]
Dwebrtcvoiceengine.h231 WebRtcVoiceEngine* engine() { return engine_; } in engine()
253 WebRtcVoiceEngine* const engine_ = nullptr; variable
/external/webrtc/webrtc/modules/audio_device/android/
Dopensles_player.cc47 engine_(nullptr), in OpenSLESPlayer()
71 RTC_DCHECK(!engine_); in ~OpenSLESPlayer()
271 RTC_DCHECK(!engine_); in CreateEngine()
280 SL_IID_ENGINE, &engine_), in CreateEngine()
290 engine_ = nullptr; in DestroyEngine()
297 RTC_DCHECK(engine_); in CreateMix()
302 RETURN_ON_ERROR((*engine_)->CreateOutputMix(engine_, output_mix_.Receive(), 0, in CreateMix()
348 (*engine_)->CreateAudioPlayer( in CreateAudioPlayer()
349 engine_, player_object_.Receive(), &audio_source, &audio_sink, in CreateAudioPlayer()
Dopensles_player.h177 SLEngineItf engine_; variable
/external/grpc-grpc/src/cpp/client/
Dcronet_credentials.cc30 CronetChannelCredentialsImpl(void* engine) : engine_(engine) {} in CronetChannelCredentialsImpl()
37 "", grpc_cronet_secure_channel_create(engine_, target.c_str(), in CreateChannel()
44 void* engine_; member in grpc::CronetChannelCredentialsImpl
/external/pdfium/xfa/fde/
Dcfde_texteditengine.cpp27 : engine_(engine), start_idx_(start_idx), added_text_(added_text) {} in InsertOperation()
32 engine_->Insert(start_idx_, added_text_, in Redo()
37 engine_->Delete(start_idx_, added_text_.GetLength(), in Undo()
42 UnownedPtr<CFDE_TextEditEngine> engine_; member in __anonfdb5651d0111::InsertOperation
52 : engine_(engine), start_idx_(start_idx), removed_text_(removed_text) {} in DeleteOperation()
57 engine_->Delete(start_idx_, removed_text_.GetLength(), in Redo()
62 engine_->Insert(start_idx_, removed_text_, in Undo()
67 UnownedPtr<CFDE_TextEditEngine> engine_; member in __anonfdb5651d0111::DeleteOperation
1128 : engine_(engine), current_position_(-1) {} in Iterator()
1136 static_cast<size_t>(current_position_) == engine_->GetLength()) { in Next()
[all …]
Dcfde_texteditengine_unittest.cpp43 engine_ = pdfium::MakeUnique<CFDE_TextEditEngine>(); in SetUp()
44 engine_->SetFont(font_); in SetUp()
45 engine_->SetFontSize(12.0f); in SetUp()
48 void TearDown() override { engine_.reset(); } in TearDown()
50 CFDE_TextEditEngine* engine() const { return engine_.get(); } in engine()
54 std::unique_ptr<CFDE_TextEditEngine> engine_; member in CFDE_TextEditEngineTest
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_resources.cc27 engine_.reset(); in ~TRTCalibrationResource()
40 << " Engine = " << hex << engine_.get() << dec << endl in DebugString()
Dtrt_resources.h61 TrtUniquePtrType<nvinfer1::ICudaEngine> engine_; variable
/external/webrtc/talk/media/base/
Dfakemediaengine.h243 : engine_(engine), in FakeVoiceMediaChannel()
420 FakeVoiceEngine* engine_; variable
444 : engine_(engine), in FakeVideoMediaChannel()
603 FakeVideoEngine* engine_; variable
902 if (engine_) { in ~FakeVoiceMediaChannel()
903 engine_->UnregisterChannel(this); in ~FakeVoiceMediaChannel()
908 if (engine_) { in ~FakeVideoMediaChannel()
909 engine_->UnregisterChannel(this); in ~FakeVideoMediaChannel()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dlog_quantized_test.cc40 double scale = static_cast<double>(max_val + 1 - min_val) / engine_.max(); in RandomIntVector()
42 it = min_val + std::floor(engine_() * scale); in RandomIntVector()
47 std::mt19937 engine_; member in tflite::NumberGenerator
/external/bcc/src/cc/
Dbpf_module.cc150 engine_.reset(); in ~BPFModule()
629 engine_ = unique_ptr<ExecutionEngine>(builder.create()); in finalize()
630 if (!engine_) { in finalize()
636 engine_->setProcessAllSections(true); in finalize()
641 engine_->finalizeObject(); in finalize()
663 engine_.reset(); in finalize()
/external/webrtc/talk/media/sctp/
Dsctpdataengine_unittest.cc222 engine_.reset(new cricket::SctpDataEngine()); in SetUp()
286 static_cast<cricket::SctpDataMediaChannel*>(engine_->CreateChannel( in CreateChannel()
333 rtc::scoped_ptr<cricket::SctpDataEngine> engine_; member in SctpDataMediaChannelTest
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes_test.cc1014 /*allocator=*/nullptr, /*calibrator=*/nullptr, &engine_, in RunConvertGraphDefToEngine()
1019 TrtUniquePtrType<nvinfer1::ICudaEngine> engine_; member in tensorflow::tensorrt::convert::ConvertGraphDefToEngineTest
1085 engine_.reset(nullptr); in Reset()
1104 const int input_index = engine_->getBindingIndex(data.name); in CheckDataTypeMatches()
1107 engine_->getBindingDataType(input_index); in CheckDataTypeMatches()
1136 ASSERT_EQ(nullptr, engine_.get()); in BuildAndRun()
1137 engine_.reset(builder_->buildCudaEngine(*converter_->network())); in BuildAndRun()
1138 CHECK_NOTNULL(engine_.get()); in BuildAndRun()
1147 const int input_index = engine_->getBindingIndex(data.name); in BuildAndRun()
1161 const int output_index = engine_->getBindingIndex(data.name); in BuildAndRun()
[all …]

12