Home | History | Annotate | Download | only in lib

Lines Matching refs:symbol

20 // Classes to provide symbol-to-integer and integer-to-symbol mappings.
22 #include <fst/symbol-table.h>
27 "Require symbol tables to match when appropriate");
36 // Identifies stream data as a symbol table (and its endianity)
64 const char *symbol = col[0];
76 impl->AddSymbol(symbol, key);
122 int64 SymbolTableImpl::AddSymbol(const string& symbol, int64 key) {
124 symbol_map_.find(symbol.c_str());
128 char *csymbol = new char[symbol.size() + 1];
129 strcpy(csymbol, symbol.c_str());
138 // Log if symbol already in table with different key
140 VLOG(1) << "SymbolTable::AddSymbol: symbol = " << symbol
180 string symbol;
184 ReadType(strm, &symbol);
192 char *csymbol = new char[symbol.size() + 1];
193 strcpy(csymbol, symbol.c_str());
246 impl_->AddSymbol(iter.Symbol());
259 LOG(WARNING) << "Negative symbol table entry when not allowed";
262 line << iter.Symbol() << opts.fst_field_separator[0] << iter.Value()