HomeSort by relevance Sort by last modified time
    Searched full:recognizer (Results 1 - 25 of 278) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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;
  /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
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRDFA.h 42 ANTLRBaseRecognizer *recognizer; variable
47 @property (retain, getter=getRecognizer,setter=setRecognizer:) ANTLRBaseRecognizer *recognizer; variable
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
error.rb 52 recognizer is in backtracking mode (i.e. r.state.backtracking > 0)
53 and the decision path the recognizer is currently attempting
58 - used to inform the recognizer that it needs to rewind
93 # Better to just say the recognizer had a problem and then let the parser
100 to the recognizer by the rules of a grammar and an input symbol which failed to
212 The recognizer expected to match a symbol <tt>x</tt> at the current input
253 The recognizer expected to match some symbol, but it sees a different symbol.
254 The symbol it sees is actually what the recognizer expected to match next.
318 A recognizer expected to match an input symbol (either a character value or
343 A recognizer expects the current input symbol to be a member of a set o
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
C.stg 73 /** The overall file structure of a recognizer; stores methods for rules
82 recognizer,
202 #undef RECOGNIZER
239 #define RECOGNIZER LEXER->rec
240 #define LEXSTATE RECOGNIZER->state
264 #define CONSTRUCTEX() RECOGNIZER->exConstruct(RECOGNIZER)
269 #define MEMOIZE(ri,si) RECOGNIZER->memoize(RECOGNIZER, ri, si)
270 #define HAVEPARSEDRULE(r) RECOGNIZER->alreadyParsedRule(RECOGNIZER, r
    [all...]

Completed in 932 milliseconds

1 2 3 4 5 6 7 8 91011>>