/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3baserecognizer.c | 48 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_STREAM is, pANTLR3_BITSET_LIST follow) 86 pANTLR3_BASE_RECOGNIZER recognizer; local [all...] |
antlr3treeparser.c | 2 * Implementation of the tree parser and overrides for the base recognizer 36 /* BASE Recognizer overrides 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 [all...] |
/dalvik/dx/tests/031-bb-dead-code/ |
info.txt | 1 This test checks to see that the basic block recognizer properly omits
|
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3baserecognizer.h | 48 /** Type indicator for a lexer recognizer 52 /** Type indicator for a parser recognizer 56 /** Type indicator for a tree parser recognizer 75 /// Indicates the type of recognizer that we are an instance of. 88 /// A pointer to the shared recognizer state, such that multiple 109 /// in this interface after the recognizer has initialized. This can 119 void * (*match) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, 125 void (*matchAny) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer); 132 (*mismatchIsUnwantedToken) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, pANTLR3_INT_STREAM input, ANTLR3_UINT32 ttype); 139 (*mismatchIsMissingToken) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, pANTLR3_INT_STREAM input, pANTLR3_BITSET_LIST follow) [all...] |
antlr3cyclicdfa.h | 44 // If this header file is included as part of a generated recognizer that 49 // useful for C++ as they are pre-generated and static in the recognizer. 71 ANTLR3_INT32 (*specialStateTransition) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, struct ANTLR3_CYCLIC_DFA_struct * dfa, ANTLR3_INT32 s); 73 ANTLR3_INT32 (*specialTransition) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, struct ANTLR3_CYCLIC_DFA_struct * dfa, ANTLR3_INT32 s); 75 ANTLR3_INT32 (*predict) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, struct ANTLR3_CYCLIC_DFA_struct * dfa);
|
antlr3recognizersharedstate.h | 5 * C runtime has always been able to share recognizer state. 7 * This 'class' therefore defines all the elements of a recognizer 53 * of any recognizer (lexer, parser, tree parser). 59 /** If set to ANTLR3_TRUE then the recognizer has an exception 66 * recognizer has discovered. 70 /** Track around a hint from the creator of the recognizer as to how big this 102 /** When the recognizer terminates, the error handling functions
|
/dalvik/dx/tests/032-bb-live-code/ |
info.txt | 1 This test checks to see that the basic block recognizer properly
|
/external/icu/icu4c/source/i18n/ |
csmatch.h | 21 * CharsetMatch represents the results produced by one Charset Recognizer for one input text 28 * Note that a single charset recognizer may detect multiple closely related 46 * corresponding getters on the recognizer.
|
csrutf8.h | 20 * Charset recognizer for UTF-8
|
csdetect.cpp | 38 CSRecognizerInfo(CharsetRecognizer *recognizer, UBool isDefaultEnabled) 39 : recognizer(recognizer), isDefaultEnabled(isDefaultEnabled) {}; 41 ~CSRecognizerInfo() {delete recognizer;}; 43 CharsetRecognizer *recognizer; member in struct:CSRecognizerInfo 259 csr = fCSRecognizers[i]->recognizer; 286 if (uprv_strcmp(csrinfo->recognizer->getName(), encoding) == 0) { 382 currName = fCSRecognizers[((Context *)en->context)->currIndex]->recognizer->getName(); 391 currName = fCSRecognizers[((Context *)en->context)->currIndex]->recognizer->getName(); 399 currName = fCSRecognizers[((Context *)en->context)->currIndex]->recognizer->getName() [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRDFA.m | 34 @synthesize recognizer; 41 recognizer = theRecognizer; 42 [recognizer retain]; 145 if ([recognizer.state isBacktracking]) { 146 [recognizer.state setFailed:YES]; 172 return [recognizer evaluateSyntacticPredicate:synpredFragment]; 238 return recognizer; 243 if ( recognizer != aRecognizer ) { 244 if ( recognizer ) [recognizer release] [all...] |
/development/samples/VoiceRecognitionService/res/xml/ |
recognizer.xml | 21 for the sample voice recognizer. -->
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
EarlyExitException.js | 1 /** The recognizer did not match anything for a ()+ loop.
|
/development/samples/VoiceRecognitionService/res/values/ |
strings.xml | 21 <!-- The name for the recognizer - to be shown in system settings. --> 22 <string name="service_name">Sample Recognizer</string>
|
/external/antlr/antlr-3.4/runtime/C/doxygen/ |
doxygengroups.dox | 43 /// RECOGNIZER->displayRecognitionError = produceError; 61 /// \defgroup ANTLR3_BASE_RECOGNIZER ANTLR3_BASE_RECOGNIZER - Base Recognizer Class Definition 64 /// This is the definition of the base recognizer interface, instantiations 71 /// \defgroup ANTLR3_RECOGNIZER_SHARED_STATE ANTLR3_RECOGNIZER_SHARED_STATE Recognizer Shared State Class Definition 161 /// \defgroup pANTLR3_BASE_RECOGNIZER pANTLR3_BASE_RECOGNIZER Base Recognizer Implementation 164 /// The base recognizer interface is implemented by all higher level recognizers 167 /// \defgroup pANTLR3_RECOGNIZER_SHARED_STATE pANTLR3_RECOGNIZER_SHARED_STATE - Recognizer Shared State Implementation 170 /// The recognizer shared state class does not have an implementation because it contains only
|
runtime.dox | 26 /// For example, under "API Typedefs and Structs" you will find "Base Recognizer Definition", which tells 28 /// find "Base Recognizer Implementation", which documents the actual functions that are installed
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
DFA.as | 25 /** Which recognizer encloses this DFA? Needed to check backtracking */ 26 protected var recognizer:BaseRecognizer; 32 public function DFA(recognizer:BaseRecognizer, decisionNumber:int, description:String, 35 this.recognizer = recognizer; 154 if (recognizer.state.backtracking>0) { 155 recognizer.state.failed=true;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
SearchBar.java | 453 * Sets the speech recognizer to be used when doing voice search. The Activity/Fragment is in 454 * charge of creating and destroying the recognizer with its own lifecycle. 456 * @param recognizer a SpeechRecognizer 458 public void setSpeechRecognizer(SpeechRecognizer recognizer) { 467 mSpeechRecognizer = recognizer; 469 throw new IllegalStateException("Can't have speech recognizer and request"); 479 throw new IllegalStateException("Can't have speech recognizer and request"); 532 * Returns true if is not running Recognizer, false otherwise. 533 * @return True if is not running Recognizer, false otherwise. 659 Log.w(TAG, "recognizer network timeout") [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
ExpressionParser.java | 24 import org.antlr.v4.runtime.Recognizer; 59 public <T extends Token> void syntaxError(Recognizer<T, ?> recognizer,
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CharsetMatch.java | 183 // of the charset recognizer to here, in case the application resets the 184 // recognizer before using this CharsetMatch. 203 // of the charset recognizer to here, in case the application resets the 204 // recognizer before using this CharsetMatch. 229 // represents. Filled in by the recognizer. 231 // the recognizer during the detect operation.
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CharsetMatch.java | 195 // of the charset recognizer to here, in case the application resets the 196 // recognizer before using this CharsetMatch. 215 // of the charset recognizer to here, in case the application resets the 216 // recognizer before using this CharsetMatch. 241 // represents. Filled in by the recognizer. 243 // the recognizer during the detect operation.
|
/development/samples/VoiceRecognitionService/ |
AndroidManifest.xml | 47 <meta-data android:name="android.speech" android:resource="@xml/recognizer" /> 51 <!-- The settings activity for this sample voice recognizer. -->
|
/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/ |
VoiceRecognitionService.java | 39 // A real recognizer would do something to shut down recognition here. 44 // A real recognizer would probably utilize a lot of the other listener callback
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRDFA.h | 42 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/ |
ANTLRDFA.h | 42 ANTLRBaseRecognizer *recognizer; variable 47 @property (retain, getter=getRecognizer,setter=setRecognizer:) ANTLRBaseRecognizer *recognizer; variable
|