Home
last modified time | relevance | path

Searched refs:SymbolTable (Results 1 – 25 of 134) sorted by relevance

123456

/external/openfst/src/include/fst/script/
Drelabel.h35 const SymbolTable *, const SymbolTable *, bool,
36 const SymbolTable *, const SymbolTable *,
70 typedef args::Package<MutableFstClass*, const SymbolTable*,
71 const SymbolTable*> RelabelArgs3;
73 void Relabel(args::Package<MutableFstClass*, const SymbolTable*, in Relabel() argument
74 const SymbolTable*> *args) { in Relabel()
82 const SymbolTable *old_isyms, const SymbolTable *relabel_isyms,
84 const SymbolTable *old_osyms, const SymbolTable *relabel_osyms,
95 const SymbolTable *new_isymbols,
96 const SymbolTable *new_osymbols);
Dprint.h33 const SymbolTable *isyms;
34 const SymbolTable *osyms;
35 const SymbolTable *ssyms;
42 const SymbolTable *isyms, in FstPrinterArgs()
43 const SymbolTable *osyms, in FstPrinterArgs()
44 const SymbolTable *ssyms, in FstPrinterArgs()
64 const SymbolTable *isyms,
65 const SymbolTable *osyms,
66 const SymbolTable *ssyms,
74 const SymbolTable *isyms = NULL,
[all …]
Dcompile.h36 const fst::SymbolTable *isyms;
37 const fst::SymbolTable *osyms;
38 const fst::SymbolTable *ssyms;
46 const string &fst_type, const fst::SymbolTable *isyms,
47 const fst::SymbolTable *osyms,
48 const fst::SymbolTable *ssyms,
84 const SymbolTable *isyms,
85 const SymbolTable *osyms, const SymbolTable *ssyms,
Ddraw.h36 const SymbolTable *isyms;
37 const SymbolTable *osyms;
38 const SymbolTable *ssyms;
54 const SymbolTable *isyms, in FstDrawerArgs()
55 const SymbolTable *osyms, in FstDrawerArgs()
56 const SymbolTable *ssyms, in FstDrawerArgs()
92 const SymbolTable *isyms,
93 const SymbolTable *osyms,
94 const SymbolTable *ssyms,
Dprint-impl.h46 const SymbolTable *isyms, in FstPrinter()
47 const SymbolTable *osyms, in FstPrinter()
48 const SymbolTable *ssyms, in FstPrinter()
77 void PrintId(int64 id, const SymbolTable *syms, in PrintId()
137 const SymbolTable *isyms_; // ilabel symbol table
138 const SymbolTable *osyms_; // olabel symbol table
139 const SymbolTable *ssyms_; // slabel symbol table
Dfst-class.h53 virtual const SymbolTable *InputSymbols() const = 0;
54 virtual const SymbolTable *OutputSymbols() const = 0;
64 virtual void SetInputSymbols(SymbolTable *is) = 0;
65 virtual void SetOutputSymbols(SymbolTable *is) = 0;
99 virtual const SymbolTable *InputSymbols() const { in InputSymbols()
103 virtual const SymbolTable *OutputSymbols() const { in OutputSymbols()
108 virtual void SetInputSymbols(SymbolTable *is) { in SetInputSymbols()
113 virtual void SetOutputSymbols(SymbolTable *os) { in SetOutputSymbols()
194 virtual const SymbolTable *InputSymbols() const { in InputSymbols()
198 virtual const SymbolTable *OutputSymbols() const { in OutputSymbols()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/
DSymbolTableLexer.m4 * - From the grammar source file : SymbolTable.g
14 // $ANTLR ${project.version} ${buildNumber} SymbolTable.g 2011-05-06 15:04:43
34 [ANTLRBaseRecognizer setGrammarFileName:@"SymbolTable.g"];
76 // SymbolTable.g:7:6: ( '(' ) // ruleBlockSingleAlt
77 // SymbolTable.g:7:8: '(' // alt
108 // SymbolTable.g:8:6: ( ')' ) // ruleBlockSingleAlt
109 // SymbolTable.g:8:8: ')' // alt
140 // SymbolTable.g:9:6: ( ';' ) // ruleBlockSingleAlt
141 // SymbolTable.g:9:8: ';' // alt
172 // SymbolTable.g:10:7: ( '=' ) // ruleBlockSingleAlt
[all …]
DSymbolTableParser.m4 * - From the grammar source file : SymbolTable.g
14 // $ANTLR ${project.version} ${buildNumber} SymbolTable.g 2011-05-06 15:04:42
150 [ANTLRBaseRecognizer setGrammarFileName:@"SymbolTable.g"];
193 * SymbolTable.g:25:1: prog : globals ( method )* ;
201 // SymbolTable.g:27:5: ( globals ( method )* ) // ruleBlockSingleAlt
202 // SymbolTable.g:27:9: globals ( method )* // alt
222 // SymbolTable.g:27:18: method // alt
262 * SymbolTable.g:30:1: globals : ( decl )* ;
275 // SymbolTable.g:36:5: ( ( decl )* ) // ruleBlockSingleAlt
276 // SymbolTable.g:36:9: ( decl )* // alt
[all …]
DSymbolTable__.gl1 lexer grammar SymbolTable;
16 // $ANTLR src "SymbolTable.g" 66
20 // $ANTLR src "SymbolTable.g" 69
24 // $ANTLR src "SymbolTable.g" 72
/external/srec/srec/Semproc/include/
DSR_SymbolTable.h85 SymbolTable; typedef
96 SREC_SEMPROC_API ESR_ReturnCode ST_Init(SymbolTable** self);
102 SREC_SEMPROC_API ESR_ReturnCode ST_Free(SymbolTable* self);
109 ESR_ReturnCode ST_Copy(SymbolTable* self, HashMap* dst);
117 SREC_SEMPROC_API ESR_ReturnCode ST_putKeyValue(SymbolTable* self, const LCHAR* key, const LCHAR* va…
125 SREC_SEMPROC_API ESR_ReturnCode ST_getKeyValue(SymbolTable* self, const LCHAR* key, LCHAR** value);
132 SREC_SEMPROC_API ESR_ReturnCode ST_getSymbolSlot(SymbolTable* self, Symbol** slot);
138 SREC_SEMPROC_API ESR_ReturnCode ST_reset(SymbolTable* self);
139 SREC_SEMPROC_API ESR_ReturnCode ST_reset_all(SymbolTable* self);
148 SREC_SEMPROC_API ESR_ReturnCode ST_putSpecialKeyValue(SymbolTable* self, const const LCHAR* key, co…
/external/openfst/src/include/fst/
Dsymbol-table.h217 class SymbolTable {
222 SymbolTable() : impl_(new SymbolTableImpl("<unspecified>")) {} in SymbolTable() function
225 SymbolTable(const string& name) : impl_(new SymbolTableImpl(name)) {} in SymbolTable() function
228 SymbolTable(const SymbolTable& table) : impl_(table.impl_) { in SymbolTable() function
234 virtual ~SymbolTable() { in ~SymbolTable()
239 void operator=(const SymbolTable &st) {
249 static SymbolTable* ReadText(
256 return new SymbolTable(impl);
260 static SymbolTable* ReadText(const string& filename,
273 static SymbolTable* Read(istream &strm, in Read()
[all …]
Dsymbol-table-ops.h38 SymbolTable *PruneSymbolTable(const Fst<Arc> &fst, const SymbolTable &syms, in PruneSymbolTable()
51 SymbolTable *pruned = new SymbolTable(syms.Name() + "_pruned"); in PruneSymbolTable()
62 SymbolTable *CompactSymbolTable(const SymbolTable &syms);
82 SymbolTable *MergeSymbolTable(const SymbolTable &left, const SymbolTable &right,
88 SymbolTable *FstReadSymbols(const string &filename, bool input);
Drelabel.h126 const SymbolTable* new_isymbols, in Relabel()
127 const SymbolTable* new_osymbols) { in Relabel()
135 const SymbolTable* old_isymbols, in Relabel()
136 const SymbolTable* new_isymbols, in Relabel()
138 const SymbolTable* old_osymbols, in Relabel()
139 const SymbolTable* new_osymbols, in Relabel()
240 const SymbolTable* old_isymbols, in RelabelFstImpl()
241 const SymbolTable* new_isymbols, in RelabelFstImpl()
242 const SymbolTable* old_osymbols, in RelabelFstImpl()
243 const SymbolTable* new_osymbols, in RelabelFstImpl()
[all …]
/external/openfst/src/lib/
Dsymbol-table-ops.cc21 SymbolTable *MergeSymbolTable(const SymbolTable &left, const SymbolTable &right, in MergeSymbolTable()
26 SymbolTable *merged = new SymbolTable("merge_" + left.Name() + "_" + in MergeSymbolTable()
85 SymbolTable *CompactSymbolTable(const SymbolTable &syms) { in CompactSymbolTable()
91 SymbolTable *compact = new SymbolTable(syms.Name() + "_compact"); in CompactSymbolTable()
100 SymbolTable *FstReadSymbols(const string &filename, bool input_symbols) { in FstReadSymbols()
112 SymbolTable *isymbols = SymbolTable::Read(in, filename); in FstReadSymbols()
124 SymbolTable *osymbols = SymbolTable::Read(in, filename); in FstReadSymbols()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dsymbol-table.h155 class SymbolTable {
161 SymbolTable(const string& name) : impl_(new SymbolTableImpl(name)) {} in SymbolTable() function
164 SymbolTable(const SymbolTable& table) : impl_(table.impl_) { in SymbolTable() function
170 ~SymbolTable() { in ~SymbolTable()
175 SymbolTable* Copy() const { in Copy()
176 return new SymbolTable(*this); in Copy()
210 void AddTable(const SymbolTable& table) { in AddTable()
226 static SymbolTable* ReadText(const string& filename) { in ReadText()
231 return new SymbolTable(impl); in ReadText()
235 static SymbolTable* Read(istream &strm, const string& source) { in Read()
[all …]
Dfst.h39 const SymbolTable* isymbols; // Pointer to input symbols (if non-zero)
40 const SymbolTable* osymbols; // Pointer to output symbols (if non-zero)
44 const SymbolTable* isym = 0,
45 const SymbolTable* osym = 0)
196 virtual const SymbolTable* InputSymbols() const = 0;
199 virtual const SymbolTable* OutputSymbols() const = 0;
407 isymbols_(impl.isymbols_ ? new SymbolTable(impl.isymbols_) : 0), in FstImpl()
408 osymbols_(impl.osymbols_ ? new SymbolTable(impl.osymbols_) : 0), in FstImpl()
431 const SymbolTable* InputSymbols() const { return isymbols_; } in InputSymbols()
433 const SymbolTable* OutputSymbols() const { return osymbols_; } in OutputSymbols()
[all …]
/external/srec/tools/grxmlcompile/
Dfst-io.h49 const SymbolTable *isyms, in FstPrinter()
50 const SymbolTable *osyms, in FstPrinter()
51 const SymbolTable *ssyms, in FstPrinter()
78 void PrintId(int64 id, const SymbolTable *syms, in PrintId()
138 const SymbolTable *isyms_; // ilabel symbol table
139 const SymbolTable *osyms_; // olabel symbol table
140 const SymbolTable *ssyms_; // slabel symbol table
167 const SymbolTable *isyms = 0, *osyms = 0, *ssyms = 0;
170 isyms = SymbolTable::ReadText(FLAGS_isymbols);
175 osyms = SymbolTable::ReadText(FLAGS_osymbols);
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/output1/
DSymbolTableLexer.m4 …the grammar source file : /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g
40 …0 17:16:04 /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g 2010-08-19 17…
158 …r setGrammarFileName:@"/usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g"];
199 …// /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:7:6: ( 'method' ) // …
200 … // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:7:8: 'method' // alt
229 …// /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:8:6: ( '(' ) // ruleB…
230 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:8:8: '(' // alt
259 …// /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:9:6: ( ')' ) // ruleB…
260 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:9:8: ')' // alt
289 …// /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:10:7: ( '{' ) // rule…
[all …]
/external/javassist/src/main/javassist/compiler/
DParser.java32 public ASTList parseMember(SymbolTable tbl) throws CompileError { in parseMember()
42 public ASTList parseMember1(SymbolTable tbl) throws CompileError { in parseMember1()
74 private FieldDecl parseField(SymbolTable tbl, ASTList mods, in parseField()
103 private MethodDecl parseMethod1(SymbolTable tbl, boolean isConstructor, in parseMethod1()
144 public MethodDecl parseMethod2(SymbolTable tbl, MethodDecl md) in parseMethod2()
183 private Declarator parseFormalType(SymbolTable tbl) throws CompileError { in parseFormalType()
204 private Declarator parseFormalParam(SymbolTable tbl) in parseFormalParam()
237 public Stmnt parseStatement(SymbolTable tbl) in parseStatement()
281 private Stmnt parseBlock(SymbolTable tbl) throws CompileError { in parseBlock()
286 SymbolTable tbl2 = new SymbolTable(tbl); in parseBlock()
[all …]
DSymbolTable.java21 public final class SymbolTable extends HashMap { class
22 private SymbolTable parent;
24 public SymbolTable() { this(null); } in SymbolTable() method in SymbolTable
26 public SymbolTable(SymbolTable p) { in SymbolTable() method in SymbolTable
31 public SymbolTable getParent() { return parent; } in getParent()
/external/openfst/src/bin/
Dfstrelabel.cc45 using fst::SymbolTable; in main()
79 const SymbolTable* old_isymbols = FLAGS_isymbols.empty() in main()
81 : SymbolTable::ReadText(FLAGS_isymbols, opts); in main()
82 const SymbolTable* relabel_isymbols = FLAGS_relabel_isymbols.empty() in main()
84 : SymbolTable::ReadText(FLAGS_relabel_isymbols, opts); in main()
87 const SymbolTable* old_osymbols = FLAGS_osymbols.empty() in main()
89 : SymbolTable::ReadText(FLAGS_osymbols, opts); in main()
90 const SymbolTable* relabel_osymbols = FLAGS_relabel_osymbols.empty() in main()
92 : SymbolTable::ReadText(FLAGS_relabel_osymbols, opts); in main()
Dfstsymbols.cc43 using fst::SymbolTable; in main()
64 const SymbolTable *isyms = fst->InputSymbols(); in main()
73 const SymbolTable *osyms = fst->OutputSymbols(); in main()
87 fst->SetInputSymbols(SymbolTable::ReadText(FLAGS_isymbols, opts)); in main()
92 fst->SetOutputSymbols(SymbolTable::ReadText(FLAGS_osymbols, opts)); in main()
99 SymbolTable *isyms = RelabelSymbolTable(fst->InputSymbols(), ipairs); in main()
109 SymbolTable *osyms = RelabelSymbolTable(fst->OutputSymbols(), opairs); in main()
Dfstcompile.cc41 using fst::SymbolTable; in main()
64 const SymbolTable *isyms = 0, *osyms = 0, *ssyms = 0; in main()
70 isyms = SymbolTable::ReadText(FLAGS_isymbols, opts); in main()
75 osyms = SymbolTable::ReadText(FLAGS_osymbols, opts); in main()
80 ssyms = SymbolTable::ReadText(FLAGS_ssymbols); in main()
/external/openfst/src/script/
Drelabel.cc26 const SymbolTable *old_isyms, const SymbolTable *relabel_isyms, in Relabel()
28 const SymbolTable *old_osyms, const SymbolTable *relabel_osyms, in Relabel()
46 const SymbolTable *new_isymbols, in Relabel()
47 const SymbolTable *new_osymbols) { in Relabel()
/external/srec/srec/Semproc/src/
DSymbolTable.c27 ESR_ReturnCode ST_Init(SymbolTable **ptr) in ST_Init()
36 *ptr = NEW(SymbolTable, MTAG); in ST_Init()
53 ESR_ReturnCode ST_Free(SymbolTable *self) in ST_Free()
79 ESR_ReturnCode ST_putKeyValue(SymbolTable* self, const LCHAR* key, const LCHAR* value) in ST_putKeyValue()
121 ESR_ReturnCode ST_Copy(SymbolTable* self, HashMap* dst) in ST_Copy()
149 ESR_ReturnCode ST_getKeyValue(SymbolTable* self, const LCHAR* key, LCHAR** value) in ST_getKeyValue()
196 ESR_ReturnCode ST_getSymbolSlot(SymbolTable* ptr, Symbol** slot) in ST_getSymbolSlot()
213 ESR_ReturnCode ST_reset(SymbolTable *ptr) in ST_reset()
235 ESR_ReturnCode ST_reset_all(SymbolTable *ptr) in ST_reset_all()
264 ESR_ReturnCode ST_putSpecialKeyValue(SymbolTable* self, const LCHAR* key, const LCHAR* value) in ST_putSpecialKeyValue()

123456