Home
last modified time | relevance | path

Searched refs:base_ (Results 1 – 25 of 72) sorted by relevance

123

/external/webrtc/webrtc/voice_engine/
Dvoe_base_unittest.cc26 EXPECT_EQ(0, base_->Init(&adm_, audioproc)); in TEST_F()
27 EXPECT_EQ(audioproc, base_->audio_processing()); in TEST_F()
28 EXPECT_EQ(0, base_->LastError()); in TEST_F()
32 EXPECT_EQ(nullptr, base_->audio_processing()); in TEST_F()
33 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
34 EXPECT_NE(nullptr, base_->audio_processing()); in TEST_F()
35 EXPECT_EQ(0, base_->LastError()); in TEST_F()
39 int channelID = base_->CreateChannel(); in TEST_F()
44 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
45 int channelID = base_->CreateChannel(); in TEST_F()
[all …]
Dvoe_network_unittest.cc35 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in CreateChannelAndRegisterExternalTransport()
36 int channelID = base_->CreateChannel(); in CreateChannelAndRegisterExternalTransport()
50 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
57 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
62 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
63 int channelID = base_->CreateChannel(); in TEST_F()
75 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
81 EXPECT_EQ(0, base_->Init(&adm_, nullptr)); in TEST_F()
82 int channelID = base_->CreateChannel(); in TEST_F()
104 EXPECT_EQ(VE_SOCKET_TRANSPORT_MODULE_ERROR, base_->LastError()); in TEST_F()
[all …]
Dvoice_engine_fixture.cc17 base_(VoEBase::GetInterface(voe_)), in VoiceEngineFixture()
19 EXPECT_NE(nullptr, base_); in VoiceEngineFixture()
21 EXPECT_EQ(0, base_->RegisterVoiceEngineObserver(observer_)); in VoiceEngineFixture()
26 EXPECT_EQ(0, base_->DeRegisterVoiceEngineObserver()); in ~VoiceEngineFixture()
27 EXPECT_EQ(0, base_->Terminate()); in ~VoiceEngineFixture()
28 EXPECT_EQ(1, base_->Release()); in ~VoiceEngineFixture()
Dvoe_codec_unittest.cc28 base_(VoEBase::GetInterface(voe_)), in VoECodecTest()
37 base_->DeleteChannel(channel_); in TearDown()
38 base_->Terminate(); in TearDown()
39 base_->Release(); in TearDown()
47 ASSERT_TRUE(base_ != NULL); in SetUp()
50 ASSERT_EQ(0, base_->Init(adm_.get())); in SetUp()
51 channel_ = base_->CreateChannel(); in SetUp()
91 VoEBase* base_; member in webrtc::voe::__anon30f79a3a0111::VoECodecTest
Dvoe_audio_processing_unittest.cc24 base_(VoEBase::GetInterface(voe_)), in VoEAudioProcessingTest()
28 base_->Terminate(); in ~VoEAudioProcessingTest()
30 base_->Release(); in ~VoEAudioProcessingTest()
35 VoEBase* base_; member in webrtc::voe::__anon5e886baa0111::VoEAudioProcessingTest
48 ASSERT_EQ(0, base_->Init()); in TEST_F()
/external/tensorflow/tensorflow/contrib/coder/kernels/
Drange_coder.cc78 base_ += a; // May overflow. in Encode()
80 const bool base_overflow = (base_ < a); in Encode()
163 if (base_ + size_minus1_ < base_) { in Encode()
166 DCHECK_NE(((base_ - a) + size) >> 32, 0); in Encode()
191 DCHECK_EQ(base_ >> 16, 0xFFFF); in Encode()
192 base_ <<= 16; in Encode()
227 DCHECK_NE((static_cast<uint64>(base_ - a) + a) >> 32, 0); in Encode()
233 DCHECK_EQ(static_cast<uint64>(base_ + size_minus1_) >> 32, 0); in Encode()
244 const uint32 top = base_ >> 16; in Encode()
246 base_ <<= 16; in Encode()
[all …]
/external/google-breakpad/src/common/
Dtest_assembler.cc127 Label::Binding::Binding() : base_(this), addend_(), reference_count_(1) { } in Binding()
130 : base_(NULL), addend_(addend), reference_count_(1) { } in Binding()
134 if (base_ && base_ != this && base_->Release()) in ~Binding()
135 delete base_; in ~Binding()
139 if (!base_ && !binding) { in Set()
142 } else if (!base_) { in Set()
163 if (base_ != this) { in Set()
169 base_->Set(binding, addend - addend_); in Set()
171 if (base_->Release()) delete base_; in Set()
181 base_ = binding; in Set()
[all …]
/external/google-breakpad/src/processor/
Dstatic_map_iterator-inl.h47 index_(index), base_(base) { in StaticMapIterator()
50 num_nodes_ = *(reinterpret_cast<const int32_t*>(base_)); in StaticMapIterator()
51 offsets_ = reinterpret_cast<const uint32_t*>(base_ + sizeof(num_nodes_)); in StaticMapIterator()
53 base_ + (1 + num_nodes_) * sizeof(num_nodes_)); in StaticMapIterator()
120 return base_ + offsets_[index_]; in GetValueRawPtr()
126 return base_ == x.base_ && index_ == x.index_;
134 return base_ != x.base_ || index_ != x.index_;
139 if (!base_ || index_ < 0 || index_ > num_nodes_) in IsValid()
Dstatic_contained_range_map-inl.h48 : base_(*(reinterpret_cast<const AddressType*>(base))), in StaticContainedRangeMap()
49 entry_size_(*(reinterpret_cast<const uint32_t*>(base + sizeof(base_)))), in StaticContainedRangeMap()
51 base + sizeof(base_) + sizeof(entry_size_))), in StaticContainedRangeMap()
52 map_(base + sizeof(base_) + sizeof(entry_size_) + entry_size_) { in StaticContainedRangeMap()
78 if (address < child_map.base_) in RetrieveRange()
Dcontained_range_map-inl.h80 base >= iterator_base->second->base_) { in StoreRange()
87 if (iterator_base->second->base_ == base && iterator_base->first == high) { in StoreRange()
103 high >= iterator_high->second->base_; in StoreRange()
107 if ((iterator_base != iterator_end && base > iterator_base->second->base_) || in StoreRange()
168 if (iterator == map_->end() || address < iterator->second->base_) in RetrieveRange()
Dcontained_range_map.h78 ContainedRangeMap() : base_(), entry_(), map_(NULL) {} in ContainedRangeMap()
123 : base_(base), entry_(entry), map_(map) {} in ContainedRangeMap()
132 const AddressType base_; variable
/external/webrtc/webrtc/tools/agc/
Dagc_harness.cc90 base_(VoEBase::GetInterface(voe_)), in AgcVoiceEngine()
110 RTC_CHECK_EQ(0, base_->Init(nullptr, audioproc)); in SetUp()
118 channel_ = base_->CreateChannel(); in SetUp()
149 RTC_CHECK_EQ(0, base_->DeleteChannel(channel_)); in TearDown()
150 RTC_CHECK_EQ(0, base_->Terminate()); in TearDown()
152 base_->Release(); in TearDown()
185 void StartSending() { RTC_CHECK_EQ(0, base_->StartSend(channel_)); } in StartSending()
201 RTC_CHECK_EQ(0, base_->StartReceive(channel_)); in StartPlaying()
202 RTC_CHECK_EQ(0, base_->StartPlayout(channel_)); in StartPlaying()
208 RTC_CHECK_EQ(0, base_->StopSend(channel_)); in Stop()
[all …]
/external/grpc-grpc/test/core/util/
Dfuzzer_corpus_test.cc106 ExampleIterator(const ExampleGenerator& base_, in ExampleIterator() argument
108 : base_(base_), begin_(begin), current_(begin) {} in ExampleIterator()
110 virtual const ExampleGenerator* BaseGenerator() const { return &base_; } in BaseGenerator()
117 return &base_ == other.BaseGenerator() && in Equals()
123 : base_(other.base_), begin_(other.begin_), current_(other.current_) {} in ExampleIterator()
125 const ExampleGenerator& base_; member in ExampleIterator
/external/webrtc/webrtc/base/
Dhttpserver.cc133 base_.notify(this); in BeginProcess()
134 base_.attach(stream); in BeginProcess()
136 if (base_.mode() != HM_CONNECT) in BeginProcess()
137 base_.recv(&current_->request); in BeginProcess()
142 base_.notify(NULL); in EndProcess()
143 base_.abort(HE_DISCONNECTED); in EndProcess()
144 return base_.detach(); in EndProcess()
159 base_.send(&current_->response); in Respond()
164 bool request_in_progress = (HM_SEND == base_.mode()) || (NULL == current_); in InitiateClose()
205 base_.recv(&current_->request); in onHttpComplete()
[all …]
Dhttpbase.cc244 DocumentStream(HttpBase* base) : base_(base), error_(HE_DEFAULT) { } in DocumentStream()
247 if (NULL == base_) in GetState()
249 if (HM_RECV == base_->mode_) in GetState()
258 if (!base_) { in Read()
263 if (HM_RECV != base_->mode_) { in Read()
279 base_->data_->document.swap(stream); in Read()
287 bool complete = base_->DoReceiveLoop(&http_error); in Read()
290 base_->data_->document.swap(stream); in Read()
323 if (base_) { in Close()
334 if (!base_ || HM_RECV != base_->mode_) in GetAvailable()
[all …]
Dhttpclient.cc275 base_.notify(this); in HttpClient()
283 base_.notify(NULL); in ~HttpClient()
284 base_.abort(HE_SHUTDOWN); in ~HttpClient()
299 base_.abort(HE_OPERATION_CANCELLED); in reset()
333 return base_.GetDocumentStream(); in GetDocumentStream()
337 if (base_.mode() != HM_NONE) { in start()
409 base_.attach(stream); in connect()
411 base_.send(&transaction_->request); in connect()
436 if (StreamInterface* stream = base_.detach()) { in release()
694 base_.set_ignore_data(true); in onHttpHeaderComplete()
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Dproto_encode_helper.h33 : base_(buf), p_(buf), limit_(base_ + max_size) {} in ProtoEncodeHelper()
40 const char* data() const { return base_; } in data()
41 size_t size() const { return p_ - base_; } in size()
91 char* base_; variable
/external/webrtc/talk/media/webrtc/
Dwebrtcvoe.h93 base_(engine_), codec_(engine_), in VoEWrapper()
106 base_(base), in VoEWrapper()
116 webrtc::VoEBase* base() const { return base_.get(); } in base()
122 int error() { return base_->LastError(); } in error()
127 scoped_voe_ptr<webrtc::VoEBase> base_; variable
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_utils.cpp62 : base_(base), def_insn_(def_insn) {} in UseRewriter()
90 analysis::DefUseManager* def_use_mgr = base_->context_->get_def_use_mgr(); in UpdateManagers()
104 return base_->context_->get_instr_block(instr); in GetParent()
113 const std::vector<uint32_t>& bb_preds = base_->cfg_->preds(bb->id()); in CreatePhiInstruction()
120 InstructionBuilder builder(base_->context_, &*bb->begin(), in CreatePhiInstruction()
134 const std::vector<uint32_t>& bb_preds = base_->cfg_->preds(bb->id()); in CreatePhiInstruction()
139 InstructionBuilder builder(base_->context_, &*bb->begin(), in CreatePhiInstruction()
154 assert(base_->cfg_->block(bb_id) != nullptr && "Unknown basic block"); in GetOrBuildIncoming()
161 BasicBlock* bb = &*base_->cfg_->block(bb_id); in GetOrBuildIncoming()
165 if (base_->exit_bb_.count(bb)) { in GetOrBuildIncoming()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_utils.cpp62 : base_(base), def_insn_(def_insn) {} in UseRewriter()
90 analysis::DefUseManager* def_use_mgr = base_->context_->get_def_use_mgr(); in UpdateManagers()
104 return base_->context_->get_instr_block(instr); in GetParent()
113 const std::vector<uint32_t>& bb_preds = base_->cfg_->preds(bb->id()); in CreatePhiInstruction()
120 InstructionBuilder builder(base_->context_, &*bb->begin(), in CreatePhiInstruction()
134 const std::vector<uint32_t>& bb_preds = base_->cfg_->preds(bb->id()); in CreatePhiInstruction()
139 InstructionBuilder builder(base_->context_, &*bb->begin(), in CreatePhiInstruction()
154 assert(base_->cfg_->block(bb_id) != nullptr && "Unknown basic block"); in GetOrBuildIncoming()
161 BasicBlock* bb = &*base_->cfg_->block(bb_id); in GetOrBuildIncoming()
165 if (base_->exit_bb_.count(bb)) { in GetOrBuildIncoming()
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h202 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
206 return base_; in BaseGenerator()
230 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator()
236 const ParamGeneratorInterface<T>* const base_; variable
289 : base_(base), iterator_(iterator) {} in Iterator()
293 return base_; in BaseGenerator()
329 base_(other.base_), in Iterator()
332 const ParamGeneratorInterface<T>* const base_; variable
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-param-util.h202 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
206 return base_; in BaseGenerator()
230 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator()
236 const ParamGeneratorInterface<T>* const base_; variable
289 : base_(base), iterator_(iterator) {} in Iterator()
293 return base_; in BaseGenerator()
329 base_(other.base_), in Iterator()
332 const ParamGeneratorInterface<T>* const base_; variable
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h202 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
206 return base_; in BaseGenerator()
230 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator()
236 const ParamGeneratorInterface<T>* const base_; variable
289 : base_(base), iterator_(iterator) {} in Iterator()
293 return base_; in BaseGenerator()
329 base_(other.base_), in Iterator()
332 const ParamGeneratorInterface<T>* const base_; variable
/external/libtextclassifier/lang_id/common/fel/
Dfeature-types.h48 : name_(name), base_(0), in FeatureType()
63 Predicate base() const { return base_; } in base()
64 void set_base(Predicate base) { base_ = base; } in set_base()
74 Predicate base_; variable
/external/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h224 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
228 return base_; in BaseGenerator()
252 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator()
258 const ParamGeneratorInterface<T>* const base_; variable
311 : base_(base), iterator_(iterator) {} in Iterator()
315 return base_; in BaseGenerator()
350 base_(other.base_), in Iterator()
353 const ParamGeneratorInterface<T>* const base_; variable
773 : base_(base), in IteratorImpl()
782 return base_; in BaseGenerator()
[all …]

123