Searched defs:recognizer (Results 1 - 25 of 34) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRDFA.h42 ANTLRBaseRecognizer *recognizer; variable
47 @property (retain, getter=getRecognizer,setter=setRecognizer:) ANTLRBaseRecognizer *recognizer; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRDFA.h42 ANTLRBaseRecognizer *recognizer; variable
47 @property (retain, getter=getRecognizer,setter=setRecognizer:) ANTLRBaseRecognizer *recognizer; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRDFA.h42 ANTLRBaseRecognizer *recognizer; variable
47 @property (retain, getter=getRecognizer,setter=setRecognizer:) ANTLRBaseRecognizer *recognizer; variable
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRDFA.h42 __strong ANTLRBaseRecognizer *recognizer; variable
79 @property (retain, getter=getRecognizer,setter=setRecognizer:) ANTLRBaseRecognizer *recognizer; variable
/external/srec/srec/AcousticState/src/
H A DAcousticState.c25 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateReset(SR_Recognizer* recognizer) argument
29 if (recognizer == NULL)
34 impl = (SR_RecognizerImpl*) recognizer;
36 return impl->acousticState->reset(recognizer);
39 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateLoad(SR_Recognizer* recognizer, const LCHAR* filename) argument
43 if (recognizer == NULL)
48 impl = (SR_RecognizerImpl*) recognizer;
50 return impl->acousticState->load(recognizer, filename);
53 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSave(SR_Recognizer* recognizer, const LCHAR* filename) argument
57 if (recognizer
68 SR_AcousticStateSet( SR_Recognizer* recognizer, const LCHAR *param_string ) argument
83 SR_AcousticStateGet( SR_Recognizer* recognizer, LCHAR *param_string, size_t* len ) argument
[all...]
H A DAcousticStateImpl.c27 ESR_ReturnCode SR_AcousticStateCreateImpl(SR_Recognizer* recognizer) argument
30 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer;
72 ESR_ReturnCode SR_AcousticStateDestroyImpl(SR_Recognizer* recognizer) argument
74 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer;
81 ESR_ReturnCode SR_AcousticStateResetImpl(SR_Recognizer* recognizer) argument
83 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer;
96 ESR_ReturnCode SR_AcousticStateSaveImpl(SR_Recognizer* recognizer, const LCHAR* filename) argument
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3cyclicdfa.c193 antlr3dfaspecialStateTransition (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_CYCLIC_DFA dfa, ANTLR3_INT32 s) argument
201 antlr3dfaspecialTransition (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_CYCLIC_DFA dfa, ANTLR3_INT32 s) argument
H A Dantlr3treeparser.c2 * Implementation of the tree parser and overrides for the base recognizer
38 static void mismatch (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow);
46 static void * getCurrentInputSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream);
47 static void * getMissingSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream, pANTLR3_EXCEPTION e,
65 /* Create and install a base recognizer which does most of the work for us
76 * from the base recognizer structure
81 /* Install our base recognizer overrides
103 * Creates a new Mismatched Tree Nde Exception and inserts in the recognizer
106 * \param recognizer
107 * Context pointer for this recognizer
111 antlr3MTNExceptionNew(pANTLR3_BASE_RECOGNIZER recognizer) argument
174 mismatch(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) argument
189 getCurrentInputSymbol(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream) argument
204 getMissingSymbol(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream, pANTLR3_EXCEPTION e, ANTLR3_UINT32 expectedTokenType, pANTLR3_BITSET_LIST follow) argument
[all...]
H A Dantlr3lexer.c6 * a lexer interface. It constructs a base recognizer with default
8 * default implementation of base recognizer.
62 static void * getCurrentInputSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream);
63 static void * getMissingSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream, pANTLR3_EXCEPTION e,
86 /* Now we need to create the base recognizer
413 // Indicate this recognizer had an error while processing.
427 displayRecognitionError (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_UINT8 * tokenNames) argument
433 lexer = (pANTLR3_LEXER)(recognizer->super);
448 ANTLR3_FPRINTF(stderr, "%d) ", recognizer->state->exception->line);
720 * base implementation in the base recognizer
894 getCurrentInputSymbol(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream) argument
900 getMissingSymbol(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream, pANTLR3_EXCEPTION e, ANTLR3_UINT32 expectedTokenType, pANTLR3_BITSET_LIST follow) argument
[all...]
H A Dantlr3baserecognizer.c48 static void beginResync (pANTLR3_BASE_RECOGNIZER recognizer);
49 static pANTLR3_BITSET computeErrorRecoverySet (pANTLR3_BASE_RECOGNIZER recognizer);
50 static void endResync (pANTLR3_BASE_RECOGNIZER recognizer);
51 static void beginBacktrack (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 level);
52 static void endBacktrack (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 level, ANTLR3_BOOLEAN successful);
54 static void * match (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow);
55 static void matchAny (pANTLR3_BASE_RECOGNIZER recognizer);
56 static void mismatch (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow);
57 static ANTLR3_BOOLEAN mismatchIsUnwantedToken (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, ANTLR3_UINT32 ttype);
58 static ANTLR3_BOOLEAN mismatchIsMissingToken (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREA
86 pANTLR3_BASE_RECOGNIZER recognizer; local
198 freeBR(pANTLR3_BASE_RECOGNIZER recognizer) argument
254 antlr3MTExceptionNew(pANTLR3_BASE_RECOGNIZER recognizer) argument
269 antlr3RecognitionExceptionNew(pANTLR3_BASE_RECOGNIZER recognizer) argument
415 match( pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) argument
489 matchAny(pANTLR3_BASE_RECOGNIZER recognizer) argument
529 mismatchIsUnwantedToken(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, ANTLR3_UINT32 ttype) argument
552 mismatchIsMissingToken(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_BITSET_LIST follow) argument
642 mismatch(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) argument
721 reportError(pANTLR3_BASE_RECOGNIZER recognizer) argument
751 beginBacktrack(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 level) argument
760 endBacktrack(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 level, ANTLR3_BOOLEAN successful) argument
768 beginResync(pANTLR3_BASE_RECOGNIZER recognizer) argument
777 endResync(pANTLR3_BASE_RECOGNIZER recognizer) argument
879 computeErrorRecoverySet(pANTLR3_BASE_RECOGNIZER recognizer) argument
939 computeCSRuleFollow(pANTLR3_BASE_RECOGNIZER recognizer) argument
947 combineFollows(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_BOOLEAN exact) argument
1008 displayRecognitionError(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_UINT8 * tokenNames) argument
1310 getNumberOfSyntaxErrors(pANTLR3_BASE_RECOGNIZER recognizer) argument
1320 recover(pANTLR3_BASE_RECOGNIZER recognizer) argument
1432 recoverFromMismatchedToken(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) argument
1555 recoverFromMismatchedSet(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_BITSET_LIST follow) argument
1619 recoverFromMismatchedElement(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_BITSET_LIST followBits) argument
1716 consumeUntil(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 tokenType) argument
1766 consumeUntilSet(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_BITSET set) argument
1818 getRuleInvocationStack(pANTLR3_BASE_RECOGNIZER recognizer) argument
1824 getRuleInvocationStackNamed(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_UINT8 name) argument
1832 toStrings(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_HASH_TABLE tokens) argument
1855 getRuleMemoization(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_INTKEY ruleIndex, ANTLR3_MARKER ruleParseStart) argument
1918 alreadyParsedRule(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleIndex) argument
1989 memoize(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleIndex, ANTLR3_MARKER ruleParseStart) argument
2055 synpred(pANTLR3_BASE_RECOGNIZER recognizer, void * ctx, void (*predicate)(void * ctx)) argument
2120 reset(pANTLR3_BASE_RECOGNIZER recognizer) argument
2156 getCurrentInputSymbol(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream) argument
2165 getMissingSymbol(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream, pANTLR3_EXCEPTION e, ANTLR3_UINT32 expectedTokenType, pANTLR3_BITSET_LIST follow) argument
[all...]
/external/srec/srec/Grammar/include/
H A DSR_GrammarImpl.h56 * @param recognizer The recognizer
59 ESR_ReturnCode(*setupRecognizer)(SR_Grammar* self, SR_Recognizer* recognizer);
75 SR_Recognizer* recognizer; member in struct:SR_GrammarImpl_t
195 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_SetupRecognizer(SR_Grammar* self, SR_Recognizer* recognizer);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DDFA.cs66 /** <summary>Which recognizer encloses this DFA? Needed to check backtracking</summary> */
67 protected BaseRecognizer recognizer; field in class:Antlr.Runtime.DFA
209 if ( recognizer.state.backtracking > 0 )
211 recognizer.state.failed = true;
300 IDebugEventListener dbg = recognizer.DebugListener;
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DDFA.java52 /** Which recognizer encloses this DFA? Needed to check backtracking */
53 protected BaseRecognizer recognizer; field in class:DFA
154 if (recognizer.state.backtracking>0) {
155 recognizer.state.failed=true;
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DDFA.cs71 /** <summary>Which recognizer encloses this DFA? Needed to check backtracking</summary> */
72 protected BaseRecognizer recognizer; field in class:Antlr.Runtime.DFA
177 if (recognizer.state.backtracking > 0) {
178 recognizer.state.failed = true;
261 IDebugEventListener dbg = recognizer.DebugListener;
/external/srec/srec/Grammar/src/
H A DSR_Grammar.c133 ESR_ReturnCode SR_GrammarSetupRecognizer(SR_Grammar* self, struct SR_Recognizer_t* recognizer) argument
141 return self->setupRecognizer(self, recognizer);
H A DSR_GrammarImpl.c64 impl->recognizer = NULL;
199 impl->recognizer->getModels( impl->recognizer, &models);
596 ESR_ReturnCode SR_Grammar_SetupRecognizer(SR_Grammar* self, SR_Recognizer* recognizer) argument
603 if (impl == NULL || recognizer == NULL)
608 impl->recognizer = recognizer;
609 recognizer->setWordAdditionCeiling( recognizer, self);
611 rc = recognizer
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
H A DDebugEventSocketProxy.cs63 protected BaseRecognizer recognizer; field in class:Antlr.Runtime.Debug.DebugEventSocketProxy
66 * Almost certainly the recognizer will have adaptor set, but
73 public DebugEventSocketProxy( BaseRecognizer recognizer, ITreeAdaptor adaptor ) : argument
74 this( recognizer, DefaultDebuggerPort, adaptor )
78 public DebugEventSocketProxy( BaseRecognizer recognizer, int port, ITreeAdaptor adaptor ) argument
80 this.grammarFileName = recognizer.GrammarFileName;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
H A DSimpleCLexer.java713 public DFA4(BaseRecognizer recognizer) { argument
714 this.recognizer = recognizer;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
H A DSimpleCLexer.java713 public DFA4(BaseRecognizer recognizer) { argument
714 this.recognizer = recognizer;
/external/chromium/chrome/browser/speech/
H A Dspeech_input_manager.cc133 scoped_refptr<SpeechRecognizer> recognizer; member in struct:speech_input::__anon2284::SpeechInputManagerImpl::SpeechInputRequest
229 request->recognizer = new SpeechRecognizer(
250 requests_[caller_id].recognizer->StartRecording();
258 requests_[caller_id].recognizer->CancelRecognition();
281 requests_[caller_id].recognizer->StopRecording();
/external/srec/srec/AcousticModels/src/
H A DAcousticModelsImpl.c578 * @param recognizer The recognizer
581 SR_Recognizer* recognizer)
594 if (recognizer == NULL)
599 recog = (SR_RecognizerImpl*) recognizer;
580 SR_AcousticModels_SetupPattern(SR_AcousticModels* self, SR_Recognizer* recognizer) argument
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
H A DDebugEventSocketProxy.cs63 protected BaseRecognizer recognizer; field in class:Antlr.Runtime.Debug.DebugEventSocketProxy
66 * Almost certainly the recognizer will have adaptor set, but
73 public DebugEventSocketProxy(BaseRecognizer recognizer, ITreeAdaptor adaptor) : argument
74 this(recognizer, DefaultDebuggerPort, adaptor) {
77 public DebugEventSocketProxy(BaseRecognizer recognizer, int port, ITreeAdaptor adaptor) { argument
78 this.grammarFileName = recognizer.GrammarFileName;
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
H A DDebugEventSocketProxy.java55 protected BaseRecognizer recognizer; field in class:DebugEventSocketProxy
57 /** Almost certainly the recognizer will have adaptor set, but
63 public DebugEventSocketProxy(BaseRecognizer recognizer, TreeAdaptor adaptor) { argument
64 this(recognizer, DEFAULT_DEBUGGER_PORT, adaptor);
67 public DebugEventSocketProxy(BaseRecognizer recognizer, int port, TreeAdaptor adaptor) { argument
68 this.grammarFileName = recognizer.getGrammarFileName();
/external/srec/srec/Recognizer/src/
H A DRecognizer.c445 ESR_ReturnCode SR_Recognizer_Change_Sample_Rate ( SR_Recognizer *recognizer, size_t new_sample_rate ) argument
449 if ( recognizer != NULL )
451 change_status = SR_Recognizer_Change_Sample_RateImpl ( recognizer, new_sample_rate );
/external/srec/srec/Recognizer/include/
H A DSR_RecognizerImpl.h163 * Speech recognizer.
189 * Legacy CREC recognizer.
191 CA_Recog* recognizer; member in struct:SR_RecognizerImpl_t
225 * Internal recognizer state.

Completed in 302 milliseconds

12