Home
last modified time | relevance | path

Searched refs:impl_ (Results 1 – 25 of 77) sorted by relevance

1234

/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dtransportchannelproxy.cc37 : TransportChannel(name, content_type), impl_(NULL) { in TransportChannelProxy()
41 if (impl_) in ~TransportChannelProxy()
42 impl_->GetTransport()->DestroyChannel(impl_->name()); in ~TransportChannelProxy()
46 impl_ = impl; in SetImplementation()
47 impl_->SignalReadableState.connect( in SetImplementation()
49 impl_->SignalWritableState.connect( in SetImplementation()
51 impl_->SignalReadPacket.connect(this, &TransportChannelProxy::OnReadPacket); in SetImplementation()
52 impl_->SignalRouteChange.connect(this, &TransportChannelProxy::OnRouteChange); in SetImplementation()
56 impl_->SetOption(it->first, it->second); in SetImplementation()
63 return (impl_) ? impl_->SendPacket(data, len) : -1; in SendPacket()
[all …]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dsymbol-table.h162 SymbolTable(const string& name) : impl_(new SymbolTableImpl(name)) {} in SymbolTable()
165 SymbolTable(const SymbolTable& table) : impl_(table.impl_) { in SymbolTable()
166 impl_->IncrRefCount(); in SymbolTable()
172 if (!impl_->DecrRefCount()) delete impl_; in ~SymbolTable() local
189 return impl_->AddSymbol(symbol, key); in AddSymbol()
198 return impl_->AddSymbol(symbol); in AddSymbol()
212 return impl_->AddTable(table.impl_); in AddTable()
217 return impl_->Name(); in Name()
223 return impl_->CheckSum(); in CheckSum()
255 return impl_->Write(strm); in Write()
[all …]
Dvector-fst.h463 VectorFst() : impl_(new VectorFstImpl<A>) {} in VectorFst()
465 VectorFst(const VectorFst<A> &fst) : MutableFst<A>(fst), impl_(fst.impl_) { in VectorFst()
466 impl_->IncrRefCount(); in VectorFst()
468 explicit VectorFst(const Fst<A> &fst) : impl_(new VectorFstImpl<A>(fst)) {} in VectorFst()
470 virtual ~VectorFst() { if (!impl_->DecrRefCount()) delete impl_; } in ~VectorFst() local
474 if (!impl_->DecrRefCount()) delete impl_; variable
475 fst.impl_->IncrRefCount();
476 impl_ = fst.impl_;
483 if (!impl_->DecrRefCount()) delete impl_; variable
484 impl_ = new VectorFstImpl<A>(fst);
[all …]
Dconst-fst.h231 ConstFst() : impl_(new ConstFstImpl<A>()) {} in ConstFst()
233 ConstFst(const ConstFst<A> &fst) : impl_(fst.impl_) { in ConstFst()
234 impl_->IncrRefCount(); in ConstFst()
237 explicit ConstFst(const Fst<A> &fst) : impl_(new ConstFstImpl<A>(fst)) {} in ConstFst()
239 virtual ~ConstFst() { if (!impl_->DecrRefCount()) delete impl_; } in ~ConstFst() local
241 virtual StateId Start() const { return impl_->Start(); } in Start()
243 virtual Weight Final(StateId s) const { return impl_->Final(s); } in Final()
245 StateId NumStates() const { return impl_->NumStates(); } in NumStates()
247 size_t NumArcs(StateId s) const { return impl_->NumArcs(s); } in NumArcs()
250 return impl_->NumInputEpsilons(s); in NumInputEpsilons()
[all …]
Dcomplement.h119 : impl_(new ComplementFstImpl<A>(fst)) { in ComplementFst()
126 ComplementFst(const ComplementFst<A> &fst) : impl_(fst.impl_) { in ComplementFst()
127 impl_->IncrRefCount(); in ComplementFst()
130 virtual ~ComplementFst() { if (!impl_->DecrRefCount()) { delete impl_; }} in ~ComplementFst() local
132 virtual StateId Start() const { return impl_->Start(); } in Start()
134 virtual Weight Final(StateId s) const { return impl_->Final(s); } in Final()
139 impl_->SetProperties(test, known); in Properties()
142 return impl_->Properties(mask); in Properties()
146 virtual const string& Type() const { return impl_->Type(); } in Type()
153 return impl_->InputSymbols(); in InputSymbols()
[all …]
Darcsort.h197 : impl_(new ArcSortFstImpl<A, C>(fst, comp, ArcSortFstOptions())) {} in ArcSortFst()
200 : impl_(new ArcSortFstImpl<A, C>(fst, comp, opts)) {} in ArcSortFst()
203 impl_(new ArcSortFstImpl<A, C>(*(fst.impl_))) {} in ArcSortFst()
205 virtual ~ArcSortFst() { if (!impl_->DecrRefCount()) delete impl_; } in ~ArcSortFst() local
207 virtual StateId Start() const { return impl_->Start(); } in Start()
209 virtual Weight Final(StateId s) const { return impl_->Final(s); } in Final()
211 virtual size_t NumArcs(StateId s) const { return impl_->NumArcs(s); } in NumArcs()
214 return impl_->NumInputEpsilons(s); in NumInputEpsilons()
218 return impl_->NumOutputEpsilons(s); in NumOutputEpsilons()
224 impl_->SetProperties(test, known); in Properties()
[all …]
Drational.h201 virtual StateId Start() const { return impl_->Start(); } in Start()
202 virtual Weight Final(StateId s) const { return impl_->Final(s); } in Final()
203 virtual size_t NumArcs(StateId s) const { return impl_->NumArcs(s); } in NumArcs()
205 return impl_->NumInputEpsilons(s); in NumInputEpsilons()
208 return impl_->NumOutputEpsilons(s); in NumOutputEpsilons()
213 impl_->SetProperties(test, known); in Properties()
216 return impl_->Properties(mask); in Properties()
219 virtual const string& Type() const { return impl_->Type(); } in Type()
221 return impl_->InputSymbols(); in InputSymbols()
224 return impl_->OutputSymbols(); in OutputSymbols()
[all …]
Drelabel.h332 impl_(new RelabelFstImpl<A>(fst, ipairs, opairs, RelabelFstOptions())) {} in RelabelFst()
338 : impl_(new RelabelFstImpl<A>(fst, ipairs, opairs, opts)) {} in RelabelFst()
343 impl_(new RelabelFstImpl<A>(fst, new_isymbols, new_osymbols, in RelabelFst()
350 : impl_(new RelabelFstImpl<A>(fst, new_isymbols, new_osymbols, opts)) {} in RelabelFst()
352 RelabelFst(const RelabelFst<A> &fst) : impl_(fst.impl_) { in RelabelFst()
353 impl_->IncrRefCount(); in RelabelFst()
356 virtual ~RelabelFst() { if (!impl_->DecrRefCount()) delete impl_; } in ~RelabelFst() local
358 virtual StateId Start() const { return impl_->Start(); } in Start()
360 virtual Weight Final(StateId s) const { return impl_->Final(s); } in Final()
362 virtual size_t NumArcs(StateId s) const { return impl_->NumArcs(s); } in NumArcs()
[all …]
Dsynchronize.h332 : impl_(new SynchronizeFstImpl<A>(fst, SynchronizeFstOptions())) {} in SynchronizeFst()
335 : impl_(new SynchronizeFstImpl<A>(fst, opts)) {} in SynchronizeFst()
337 SynchronizeFst(const SynchronizeFst<A> &fst) : impl_(fst.impl_) { in SynchronizeFst()
338 impl_->IncrRefCount(); in SynchronizeFst()
341 virtual ~SynchronizeFst() { if (!impl_->DecrRefCount()) delete impl_; } in ~SynchronizeFst() local
343 virtual StateId Start() const { return impl_->Start(); } in Start()
345 virtual Weight Final(StateId s) const { return impl_->Final(s); } in Final()
347 virtual size_t NumArcs(StateId s) const { return impl_->NumArcs(s); } in NumArcs()
350 return impl_->NumInputEpsilons(s); in NumInputEpsilons()
354 return impl_->NumOutputEpsilons(s); in NumOutputEpsilons()
[all …]
/external/chromium/base/metrics/
Dstats_table.cc259 : impl_(NULL), in StatsTable()
269 impl_ = Private::New(name, table_size, max_threads, max_counters); in StatsTable()
271 if (!impl_) in StatsTable()
285 delete impl_; in ~StatsTable()
304 if (!impl_) in RegisterThread()
311 SharedMemoryAutoLock lock(impl_->shared_memory()); in RegisterThread()
321 strlcpy(impl_->thread_name(slot), thread_name.c_str(), in RegisterThread()
323 *(impl_->thread_tid(slot)) = PlatformThread::CurrentId(); in RegisterThread()
324 *(impl_->thread_pid(slot)) = GetCurrentProcId(); in RegisterThread()
337 if (!impl_) in CountThreadsRegistered()
[all …]
/external/openfst/src/include/fst/script/
Dweight-class.h79 WeightClass() : element_type_(ZERO), impl_(0) { } in WeightClass()
83 : element_type_(OTHER), impl_(new WeightClassImpl<W>(weight)) { } in WeightClass()
89 impl_(other.impl_ ? other.impl_->Copy() : 0) { } in WeightClass()
92 if (impl_) delete impl_; variable
93 impl_ = other.impl_ ? other.impl_->Copy() : 0;
109 return impl_->to_string(); in to_string()
115 ((impl_ && other.impl_ && (*impl_ == *other.impl_)) ||
116 (impl_ == 0 && other.impl_ == 0));
131 ~WeightClass() { if (impl_) delete impl_; } in ~WeightClass() local
136 WeightImplBase *impl_; variable
[all …]
Dfst-class.h81 impl_(should_own ? impl : impl->Copy()) { }
88 return impl_->Type(); in FstType()
96 return impl_->InputSymbols(); in InputSymbols()
100 return impl_->OutputSymbols(); in OutputSymbols()
105 static_cast<MutableFst<Arc> *>(impl_)->SetInputSymbols(is); in SetInputSymbols()
110 static_cast<MutableFst<Arc> *>(impl_)->SetOutputSymbols(os); in SetOutputSymbols()
114 impl_->Write(fname); in Write()
118 return impl_->Properties(mask, test); in Properties()
121 virtual ~FstClassImpl() { delete impl_; } in ~FstClassImpl() local
123 Fst<Arc> *GetImpl() { return impl_; } in GetImpl()
[all …]
/external/chromium/third_party/libjingle/source/talk/base/
Dschanneladapter.cc111 impl_(new SSLImpl) { in SChannelAdapter()
153 &sc_cred, NULL, NULL, &impl_->cred, NULL); in BeginSSL()
159 impl_->cred_init = true; in BeginSSL()
163 ret = QueryCredentialsAttributes(&impl_->cred, in BeginSSL()
173 ret = QueryCredentialsAttributes(&impl_->cred, in BeginSSL()
194 ret = InitializeSecurityContextA(&impl_->cred, NULL, in BeginSSL()
197 &impl_->ctx, sb_out.desc(), in BeginSSL()
200 impl_->ctx_init = true; in BeginSSL()
213 sb_in[0].cbBuffer = static_cast<unsigned long>(impl_->inbuf.size()); in ContinueSSL()
214 sb_in[0].pvBuffer = &impl_->inbuf[0]; in ContinueSSL()
[all …]
Dcryptstring.h67 CryptString() : impl_(new EmptyCryptStringImpl()) {} in CryptString()
68 size_t GetLength() const { return impl_->GetLength(); } in GetLength()
69 void CopyTo(char * dest, bool nullterminate) const { impl_->CopyTo(dest, nullterminate); } in CopyTo()
70 CryptString(const CryptString & other) : impl_(other.impl_->Copy()) {} in CryptString()
71 explicit CryptString(const CryptStringImpl & impl) : impl_(impl.Copy()) {} in CryptString()
74 impl_.reset(other.impl_->Copy());
78 void Clear() { impl_.reset(new EmptyCryptStringImpl()); } in Clear()
79 std::string UrlEncode() const { return impl_->UrlEncode(); } in UrlEncode()
81 return impl_->CopyRawTo(dest); in CopyRawTo()
85 scoped_ptr<const CryptStringImpl> impl_;
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc79 impl_(&copying_input_, block_size) { in FileInputStream()
89 return impl_.Next(data, size); in Next()
93 impl_.BackUp(count); in BackUp()
97 return impl_.Skip(count); in Skip()
101 return impl_.ByteCount(); in ByteCount()
175 impl_(&copying_output_, block_size) { in FileOutputStream()
179 impl_.Flush(); in ~FileOutputStream()
183 bool flush_succeeded = impl_.Flush(); in Close()
188 return impl_.Flush(); in Flush()
192 return impl_.Next(data, size); in Next()
[all …]
/external/openfst/src/include/fst/
Dsymbol-table.h216 SymbolTable(const string& name) : impl_(new SymbolTableImpl(name)) {} in SymbolTable()
219 SymbolTable(const SymbolTable& table) : impl_(table.impl_) { in SymbolTable()
220 impl_->IncrRefCount(); in SymbolTable()
226 if (!impl_->DecrRefCount()) delete impl_; in ~SymbolTable() local
296 return impl_->AddSymbol(symbol, key); in AddSymbol()
303 return impl_->AddSymbol(symbol); in AddSymbol()
315 return impl_->Name(); in Name()
322 return impl_->CheckSum(); in CheckSum()
327 return impl_->LabeledCheckSum(); in LabeledCheckSum()
331 return impl_->Write(strm); in Write()
[all …]
/external/chromium/testing/gmock/include/gmock/
Dgmock-cardinalities.h90 explicit Cardinality(const CardinalityInterface* impl) : impl_(impl) {} in Cardinality()
94 int ConservativeLowerBound() const { return impl_->ConservativeLowerBound(); } in ConservativeLowerBound()
95 int ConservativeUpperBound() const { return impl_->ConservativeUpperBound(); } in ConservativeUpperBound()
99 return impl_->IsSatisfiedByCallCount(call_count); in IsSatisfiedByCallCount()
104 return impl_->IsSaturatedByCallCount(call_count); in IsSaturatedByCallCount()
110 return impl_->IsSaturatedByCallCount(call_count) && in IsOverSaturatedByCallCount()
111 !impl_->IsSatisfiedByCallCount(call_count); in IsOverSaturatedByCallCount()
115 void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); } in DescribeTo()
121 internal::linked_ptr<const CardinalityInterface> impl_;
/external/compiler-rt/lib/tsan/rtl_tests/
Dtsan_test_util_linux.cc351 impl_ = new Impl; in ScopedThread()
352 impl_->main = main; in ScopedThread()
353 impl_->detached = detached; in ScopedThread()
354 atomic_store(&impl_->event, 0, memory_order_relaxed); in ScopedThread()
360 pthread_create(&impl_->thread, &attr, in ScopedThread()
361 ScopedThread::Impl::ScopedThreadCallback, impl_); in ScopedThread()
366 if (!impl_->main) { in ~ScopedThread()
368 impl_->send(&event); in ~ScopedThread()
369 if (!impl_->detached) in ~ScopedThread()
370 pthread_join(impl_->thread, 0); in ~ScopedThread()
[all …]
/external/chromium/sdch/open-vcdiff/src/google/
Doutput_string.h68 explicit OutputString(StringClass* impl) : impl_(impl) { } in OutputString()
73 impl_->append(s, n); in append()
78 impl_->clear(); in clear()
82 impl_->push_back(c); in push_back()
86 impl_->reserve(impl_->size() + res_arg); in ReserveAdditionalBytes()
90 return impl_->size(); in size()
94 StringClass* impl_;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h106 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
109 impl_.reset(other.impl_->Clone());
113 const T& operator*() const { return *impl_->Current(); }
114 const T* operator->() const { return impl_->Current(); }
117 impl_->Advance();
122 ParamIteratorInterface<T>* clone = impl_->Clone();
123 impl_->Advance();
127 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
135 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
136 scoped_ptr<ParamIteratorInterface<T> > impl_; variable
[all …]
/external/gtest/include/gtest/internal/
Dgtest-param-util.h106 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
109 impl_.reset(other.impl_->Clone());
113 const T& operator*() const { return *impl_->Current(); }
114 const T* operator->() const { return impl_->Current(); }
117 impl_->Advance();
122 ParamIteratorInterface<T>* clone = impl_->Clone();
123 impl_->Advance();
127 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
135 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
136 scoped_ptr<ParamIteratorInterface<T> > impl_; variable
[all …]
/external/chromium/testing/gtest/include/gtest/internal/
Dgtest-param-util.h106 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
109 impl_.reset(other.impl_->Clone());
113 const T& operator*() const { return *impl_->Current(); }
114 const T* operator->() const { return impl_->Current(); }
117 impl_->Advance();
122 ParamIteratorInterface<T>* clone = impl_->Clone();
123 impl_->Advance();
127 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
135 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
136 scoped_ptr<ParamIteratorInterface<T> > impl_; variable
[all …]
/external/protobuf/gtest/include/gtest/internal/
Dgtest-param-util.h125 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
128 impl_.reset(other.impl_->Clone());
132 const T& operator*() const { return *impl_->Current(); }
133 const T* operator->() const { return impl_->Current(); }
136 impl_->Advance();
141 ParamIteratorInterface<T>* clone = impl_->Clone();
142 impl_->Advance();
146 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
154 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
155 scoped_ptr<ParamIteratorInterface<T> > impl_; variable
[all …]
/external/chromium/net/base/
Dmapped_host_resolver.cc15 : impl_(impl) { in MappedHostResolver()
31 return impl_->Resolve(modified_info, addresses, callback, out_req, net_log); in Resolve()
35 impl_->CancelRequest(req); in CancelRequest()
39 impl_->AddObserver(observer); in AddObserver()
43 impl_->RemoveObserver(observer); in RemoveObserver()
47 return impl_->GetAsHostResolverImpl(); in GetAsHostResolverImpl()
/external/chromium/chrome/browser/chromeos/
Dproxy_config_service.h19 : impl_(impl) {} in ProxyConfigService()
24 impl_->AddObserver(observer); in AddObserver()
27 impl_->RemoveObserver(observer); in RemoveObserver()
30 return impl_->IOGetProxyConfig(config); in GetLatestProxyConfig()
34 scoped_refptr<ProxyConfigServiceImpl> impl_;

1234