Home
last modified time | relevance | path

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

/external/openfst/src/include/fst/
Dsymbol-table.h67 class SymbolTableImpl {
69 SymbolTableImpl(const string &name) in SymbolTableImpl() function
75 explicit SymbolTableImpl(const SymbolTableImpl& impl) in SymbolTableImpl() function
85 ~SymbolTableImpl() { in ~SymbolTableImpl()
99 static SymbolTableImpl* ReadText(
103 static SymbolTableImpl* Read(istream &strm,
222 SymbolTable() : impl_(new SymbolTableImpl("<unspecified>")) {} in SymbolTable()
225 SymbolTable(const string& name) : impl_(new SymbolTableImpl(name)) {} in SymbolTable()
252 SymbolTableImpl* impl = SymbolTableImpl::ReadText(strm, name, opts);
275 SymbolTableImpl* impl = SymbolTableImpl::Read(strm, opts); in Read()
[all …]
/external/openfst/src/lib/
Dsymbol-table.cc42 SymbolTableImpl* SymbolTableImpl::ReadText(istream &strm, in ReadText()
45 SymbolTableImpl* impl = new SymbolTableImpl(filename); in ReadText()
82 void SymbolTableImpl::MaybeRecomputeCheckSum() const { in MaybeRecomputeCheckSum()
122 int64 SymbolTableImpl::AddSymbol(const string& symbol, int64 key) { in AddSymbol()
160 SymbolTableImpl* SymbolTableImpl::Read(istream &strm, in Read()
170 SymbolTableImpl* impl = new SymbolTableImpl(name); in Read()
208 bool SymbolTableImpl::Write(ostream &strm) const { in Write()