Lines Matching refs:impl

108     SR_SemanticProcessorImpl* impl;
116 impl = NEW(SR_SemanticProcessorImpl, MTAG);
117 if (impl == NULL)
122 if ((rc = LA_Init(&impl->analyzer)) != ESR_SUCCESS)
124 if ((rc = EP_Init(&impl->parser)) != ESR_SUCCESS)
126 if ((rc = ST_Init(&impl->symtable)) != ESR_SUCCESS)
128 if ((rc = EE_Init(&impl->eval)) != ESR_SUCCESS)
130 impl->acc_scripts = MALLOC(sizeof(LCHAR) * MAX_SCRIPT_LEN, NULL);
131 if (impl->acc_scripts == NULL)
138 impl->Interface.destroy = &SR_SemanticProcessor_Destroy;
139 impl->Interface.checkParse = &SR_SemanticProcessor_CheckParse;
140 impl->Interface.checkParseByWordID = &SR_SemanticProcessor_CheckParseByWordID;
141 impl->Interface.setParam = &SR_SemanticProcessor_SetParam;
142 impl->Interface.flush = &SR_SemanticProcessor_Flush;
145 *self = (SR_SemanticProcessor*) impl;
148 impl->Interface.destroy(&impl->Interface);
154 SR_SemanticProcessorImpl* impl = (SR_SemanticProcessorImpl*) self;
162 LA_Free(impl->analyzer);
163 EP_Free(impl->parser);
164 ST_Free(impl->symtable);
165 EE_Free(impl->eval);
166 if (impl->acc_scripts != NULL)
168 FREE(impl->acc_scripts);
169 impl->acc_scripts = NULL;
171 FREE(impl);
1067 SR_SemanticResultImpl** impl = (SR_SemanticResultImpl**) result;
1075 if ((rc = EP_parse(semproc->parser, semproc->analyzer, semproc->symtable, semproc->eval, &((*impl)->results))) != ESR_SUCCESS)
1300 SR_SemanticProcessorImpl* impl = (SR_SemanticProcessorImpl*) self;
1308 return ST_putSpecialKeyValue(impl->symtable, key, value);
1314 SR_SemanticProcessorImpl* impl = (SR_SemanticProcessorImpl*) self;
1321 return ST_reset_all(impl->symtable);