Home
last modified time | relevance | path

Searched refs:cache_first_state_ (Results 1 – 2 of 2) sorted by relevance

/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dcache.h72 cache_first_state_id_(kNoStateId), cache_first_state_(0), in CacheBaseImpl()
81 cache_first_state_(0), cache_gc_(opts.gc), cache_size_(0), in CacheBaseImpl()
86 delete cache_first_state_; in ~CacheBaseImpl() local
92 return cache_first_state_; in GetState()
100 return cache_first_state_; in GetState()
108 return cache_first_state_; in CheckState()
118 return cache_first_state_; // Return 1st cached state in ExtendState()
121 cache_first_state_ = new S; in ExtendState()
122 return cache_first_state_; in ExtendState()
124 cache_first_state_->ref_count == 0) { in ExtendState()
[all …]
/external/openfst/src/include/fst/
Dcache.h122 cache_first_state_id_(kNoStateId), cache_first_state_(0), in cache_start_()
134 cache_first_state_(0), cache_gc_(opts.gc), cache_size_(0), in cache_start_()
146 cache_first_state_(0), cache_gc_(impl.cache_gc_), cache_size_(0),
157 cache_first_state_ = allocator_->Allocate(cache_first_state_id_);
158 *cache_first_state_ = *impl.cache_first_state_;
179 allocator_->Free(cache_first_state_, cache_first_state_id_); in ~CacheBaseImpl()
186 return cache_first_state_; in GetState()
194 return cache_first_state_; in GetState()
202 return cache_first_state_; in CheckState()
349 allocator_->Free(cache_first_state_, cache_first_state_id_); in DeleteStates()
[all …]