Searched refs:CacheImpl (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dregexp_cache.cc35 cache_impl_(new CacheImpl(min_items))
37 cache_impl_(new CacheImpl())
43 for (CacheImpl::const_iterator
51 CacheImpl::const_iterator it = cache_impl_->find(pattern);
H A Dregexp_cache.h54 typedef std::tr1::unordered_map<string, const RegExp*> CacheImpl; typedef in class:i18n::phonenumbers::RegExpCache
56 typedef std::map<string, const RegExp*> CacheImpl;
69 scoped_ptr<CacheImpl> cache_impl_; // protected by lock_
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Darcsort.h71 class ArcSortFstImpl : public CacheImpl<A> {
81 using VectorFstBaseImpl<typename CacheImpl<A>::State>::NumStates;
83 using CacheImpl<A>::HasArcs;
84 using CacheImpl<A>::HasFinal;
85 using CacheImpl<A>::HasStart;
92 : CacheImpl<A>(opts), fst_(fst.Copy()), comp_(comp) {
113 return CacheImpl<A>::Start();
119 return CacheImpl<A>::Final(s);
125 return CacheImpl<A>::NumArcs(s);
131 return CacheImpl<
[all...]
H A Dreplace.h59 class ReplaceFstImpl : public CacheImpl<A> {
69 using CacheImpl<A>::HasStart;
70 using CacheImpl<A>::HasArcs;
71 using CacheImpl<A>::SetStart;
100 : CacheImpl<A>(opts), opts_(opts) {
115 : CacheImpl<A>(opts), opts_(opts), root_(kNoLabel) {
235 return CacheImpl<A>::Start();
252 return CacheImpl<A>::Final(s);
258 return CacheImpl<A>::NumArcs(s);
264 return CacheImpl<
[all...]
H A Drelabel.h147 class RelabelFstImpl : public CacheImpl<A> {
156 using CacheImpl<A>::HasStart;
157 using CacheImpl<A>::HasArcs;
168 : CacheImpl<A>(opts), fst_(fst.Copy()),
195 : CacheImpl<A>(opts), fst_(fst.Copy()),
236 return CacheImpl<A>::Start();
243 return CacheImpl<A>::Final(s);
250 return CacheImpl<A>::NumArcs(s);
257 return CacheImpl<A>::NumInputEpsilons(s);
264 return CacheImpl<
[all...]
H A Dfactor-weight.h135 : public CacheImpl<A> {
163 : CacheImpl<A>(opts), fst_(fst.Copy()), delta_(opts.delta),
185 return CacheImpl<A>::Start();
201 return CacheImpl<A>::Final(s);
207 return CacheImpl<A>::NumArcs(s);
213 return CacheImpl<A>::NumInputEpsilons(s);
219 return CacheImpl<A>::NumOutputEpsilons(s);
225 CacheImpl<A>::InitArcIterator(s, data);
H A Drmepsilon.h314 class RmEpsilonFstImpl : public CacheImpl<A> {
332 : CacheImpl<A>(opts),
353 return CacheImpl<A>::Start();
360 return CacheImpl<A>::Final(s);
366 return CacheImpl<A>::NumArcs(s);
372 return CacheImpl<A>::NumInputEpsilons(s);
378 return CacheImpl<A>::NumOutputEpsilons(s);
384 CacheImpl<A>::InitArcIterator(s, data);
H A Dsynchronize.h39 : public CacheImpl<A> {
73 : CacheImpl<A>(opts), fst_(fst.Copy()) {
103 return CacheImpl<A>::Start();
115 return CacheImpl<A>::Final(s);
121 return CacheImpl<A>::NumArcs(s);
127 return CacheImpl<A>::NumInputEpsilons(s);
133 return CacheImpl<A>::NumOutputEpsilons(s);
139 CacheImpl<A>::InitArcIterator(s, data);
H A Ddeterminize.h118 class DeterminizeFstImplBase : public CacheImpl<A> {
136 : CacheImpl<A>(opts), fst_(fst.Copy()) {
154 return CacheImpl<A>::Start();
162 return CacheImpl<A>::Final(s);
170 return CacheImpl<A>::NumArcs(s);
176 return CacheImpl<A>::NumInputEpsilons(s);
182 return CacheImpl<A>::NumOutputEpsilons(s);
188 CacheImpl<A>::InitArcIterator(s, data);
371 CacheImpl<A>::AddArc(s, arc);
502 CacheImpl<
[all...]
H A Dmap.h249 class MapFstImpl : public CacheImpl<B> {
257 using VectorFstBaseImpl<typename CacheImpl<B>::State>::NumStates;
259 using CacheImpl<B>::HasArcs;
260 using CacheImpl<B>::HasFinal;
261 using CacheImpl<B>::HasStart;
271 : CacheImpl<B>(opts), fst_(fst.Copy()),
281 : CacheImpl<B>(opts), fst_(fst.Copy()),
298 return CacheImpl<B>::Start();
331 return CacheImpl<B>::Final(s);
337 return CacheImpl<
[all...]
H A Dcompose.h88 class ComposeFstImplBase : public CacheImpl<A> {
108 :CacheImpl<A>(opts), fst1_(fst1.Copy()), fst2_(fst2.Copy()) {
134 return CacheImpl<A>::Start();
142 return CacheImpl<A>::Final(s);
150 return CacheImpl<A>::NumArcs(s);
156 return CacheImpl<A>::NumInputEpsilons(s);
162 return CacheImpl<A>::NumOutputEpsilons(s);
168 CacheImpl<A>::InitArcIterator(s, data);
447 CacheImpl<A>::AddArc(s, arc);
H A Dcache.h276 VLOG(2) << "CacheImpl: Enter GC: object = " << Type() << "(" << this
305 VLOG(2) << "CacheImpl: Exit GC: object = " << Type() << "(" << this
371 class CacheImpl : public CacheBaseImpl< CacheState<A> > { class in namespace:fst
375 CacheImpl() {} function in class:fst::CacheImpl
377 explicit CacheImpl(const CacheOptions &opts) function in class:fst::CacheImpl
381 DISALLOW_EVIL_CONSTRUCTORS(CacheImpl);
/external/chromium_org/chrome/common/
H A Dinstant_restricted_id_cache.h75 typedef base::MRUCache<InstantRestrictedID, T> CacheImpl; typedef in class:InstantRestrictedIDCache
77 mutable CacheImpl cache_;
78 typename CacheImpl::reverse_iterator last_add_start_;
146 for (typename CacheImpl::reverse_iterator it = last_add_start_;
158 typename CacheImpl::const_iterator cache_it = cache_.Peek(restricted_id);
/external/openfst/src/include/fst/
H A Drelabel.h189 class RelabelFstImpl : public CacheImpl<A> {
198 using CacheImpl<A>::PushArc;
199 using CacheImpl<A>::HasArcs;
200 using CacheImpl<A>::HasFinal;
201 using CacheImpl<A>::HasStart;
202 using CacheImpl<A>::SetArcs;
203 using CacheImpl<A>::SetFinal;
204 using CacheImpl<A>::SetStart;
216 : CacheImpl<A>(opts), fst_(fst.Copy()),
245 : CacheImpl<
[all...]
H A Dstate-map.h187 class StateMapFstImpl : public CacheImpl<B> {
194 using CacheImpl<B>::PushArc;
195 using CacheImpl<B>::HasArcs;
196 using CacheImpl<B>::HasFinal;
197 using CacheImpl<B>::HasStart;
198 using CacheImpl<B>::SetArcs;
199 using CacheImpl<B>::SetFinal;
200 using CacheImpl<B>::SetStart;
210 : CacheImpl<B>(opts),
219 : CacheImpl<
[all...]
H A Dreplace.h308 class ReplaceFstImpl : public CacheImpl<A> {
320 using CacheImpl<A>::PushArc;
321 using CacheImpl<A>::HasArcs;
322 using CacheImpl<A>::HasFinal;
323 using CacheImpl<A>::HasStart;
324 using CacheImpl<A>::SetArcs;
325 using CacheImpl<A>::SetFinal;
326 using CacheImpl<A>::SetStart;
343 : CacheImpl<A>(opts),
435 : CacheImpl<
[all...]
H A Dfactor-weight.h153 : public CacheImpl<A> {
184 : CacheImpl<A>(opts),
203 : CacheImpl<A>(impl),
227 return CacheImpl<A>::Start();
243 return CacheImpl<A>::Final(s);
249 return CacheImpl<A>::NumArcs(s);
255 return CacheImpl<A>::NumInputEpsilons(s);
261 return CacheImpl<A>::NumOutputEpsilons(s);
276 CacheImpl<A>::InitArcIterator(s, data);
H A Drmepsilon.h379 class RmEpsilonFstImpl : public CacheImpl<A> {
400 : CacheImpl<A>(opts),
415 : CacheImpl<A>(impl),
436 return CacheImpl<A>::Start();
443 return CacheImpl<A>::Final(s);
449 return CacheImpl<A>::NumArcs(s);
455 return CacheImpl<A>::NumInputEpsilons(s);
461 return CacheImpl<A>::NumOutputEpsilons(s);
477 CacheImpl<A>::InitArcIterator(s, data);
H A Dsynchronize.h49 : public CacheImpl<A> {
86 : CacheImpl<A>(opts), fst_(fst.Copy()) {
96 : CacheImpl<A>(impl),
125 return CacheImpl<A>::Start();
137 return CacheImpl<A>::Final(s);
143 return CacheImpl<A>::NumArcs(s);
149 return CacheImpl<A>::NumInputEpsilons(s);
155 return CacheImpl<A>::NumOutputEpsilons(s);
170 CacheImpl<A>::InitArcIterator(s, data);
H A Darc-map.h311 class ArcMapFstImpl : public CacheImpl<B> {
318 using CacheImpl<B>::PushArc;
319 using CacheImpl<B>::HasArcs;
320 using CacheImpl<B>::HasFinal;
321 using CacheImpl<B>::HasStart;
322 using CacheImpl<B>::SetArcs;
323 using CacheImpl<B>::SetFinal;
324 using CacheImpl<B>::SetStart;
334 : CacheImpl<B>(opts),
345 : CacheImpl<
[all...]
H A Dcompact-fst.h441 class CompactFstImpl : public CacheImpl<A> {
450 using CacheImpl<A>::PushArc;
451 using CacheImpl<A>::HasArcs;
452 using CacheImpl<A>::HasFinal;
453 using CacheImpl<A>::HasStart;
454 using CacheImpl<A>::SetArcs;
455 using CacheImpl<A>::SetFinal;
456 using CacheImpl<A>::SetStart;
466 : CacheImpl<A>(CompactFstOptions()),
484 : CacheImpl<
[all...]
H A Dcompose.h104 class ComposeFstImplBase : public CacheImpl<A> {
125 : CacheImpl<A>(opts) {
140 : CacheImpl<A>(impl, true) {
157 return CacheImpl<A>::Start();
165 return CacheImpl<A>::Final(s);
173 return CacheImpl<A>::NumArcs(s);
179 return CacheImpl<A>::NumInputEpsilons(s);
185 return CacheImpl<A>::NumOutputEpsilons(s);
191 CacheImpl<A>::InitArcIterator(s, data);
336 CacheImpl<Ar
[all...]
H A Ddeterminize.h354 class DeterminizeFstImplBase : public CacheImpl<A> {
376 : CacheImpl<A>(opts), fst_(fst.Copy()) {
387 : CacheImpl<A>(impl),
406 return CacheImpl<A>::Start();
414 return CacheImpl<A>::Final(s);
422 return CacheImpl<A>::NumArcs(s);
428 return CacheImpl<A>::NumInputEpsilons(s);
434 return CacheImpl<A>::NumOutputEpsilons(s);
440 CacheImpl<A>::InitArcIterator(s, data);
669 CacheImpl<
[all...]
H A Drandgen.h328 class RandGenFstImpl : public CacheImpl<B> {
349 : CacheImpl<B>(opts),
366 : CacheImpl<B>(impl),
395 return CacheImpl<B>::Start();
402 return CacheImpl<B>::Final(s);
409 return CacheImpl<B>::NumArcs(s);
415 return CacheImpl<B>::NumInputEpsilons(s);
421 return CacheImpl<B>::NumOutputEpsilons(s);
438 CacheImpl<B>::InitArcIterator(s, data);
/external/openfst/src/include/fst/extensions/pdt/
H A Dexpand.h62 : public CacheImpl<A> {
89 : CacheImpl<A>(opts), fst_(fst.Copy()),
105 : CacheImpl<A>(impl),
134 return CacheImpl<A>::Start();
146 return CacheImpl<A>::Final(s);
153 return CacheImpl<A>::NumArcs(s);
159 return CacheImpl<A>::NumInputEpsilons(s);
165 return CacheImpl<A>::NumOutputEpsilons(s);
171 CacheImpl<A>::InitArcIterator(s, data);

Completed in 373 milliseconds

12