/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | CompositeGrammar.java | 39 /** A tree of component (delegate) grammars. 43 * rules from all delegate grammars, so they must be stored here in one 49 * in each grammar, even single noncomposite grammars use one of these objects 60 /** Used to assign state numbers; all grammars in composite share common 65 /** The NFA states in the NFA built from rules across grammars in composite. 101 * This is combined set of lexer rules from all lexer grammars 106 /** Rules are uniquely labeled from 1..n among all grammars */ 192 /** Get list of all delegates from all grammars in the delegate subtree of g. 193 * The grammars are in delegation tree preorder. Don't include g itself 201 List<Grammar> grammars [all...] |
H A D | CompositeGrammarTree.java | 33 /** A tree of grammars */ 58 * delegate grammars. 115 /** Return a postorder list of grammars; root is last in list */ 117 List<Grammar> grammars = new ArrayList<Grammar>(); 118 _getPostOrderedGrammarList(grammars); 119 return grammars; 123 protected void _getPostOrderedGrammarList(List<Grammar> grammars) { argument 126 child._getPostOrderedGrammarList(grammars); 128 grammars.add(this.grammar); 131 /** Return a preorder list of grammars; roo 138 _getPreOrderedGrammarList(List<Grammar> grammars) argument [all...] |
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebSpeechRecognitionParams.h | 40 WebSpeechRecognitionParams(const WebVector<WebSpeechGrammar>& grammars, const WebString& language, bool continuous, bool interimResults, unsigned long maxAlternatives, const WebSecurityOrigin& origin) argument 41 : m_grammars(grammars) 50 const WebVector<WebSpeechGrammar>& grammars() const { return m_grammars; } function in class:blink::WebSpeechRecognitionParams
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
H A D | functional.rb | 74 # Compile and load inline grammars on demand when their constant name 77 # for all grammars to compile, and then discovering there's a big dumb 78 # error ruining most of the grammars. 81 if g = grammars[ name.to_s ] 83 grammars.delete( name.to_s ) 85 elsif superclass.respond_to?( :grammars ) 89 # assumptions made in the test code. Grammars are stored in @grammars belonging 90 # to the test class, so in 1.9, this method is called with @grammars = {} 101 def grammars method in class:ANTLR3.Test.GrammarManager 102 @grammars || [all...] |
/external/chromium_org/content/public/browser/ |
H A D | speech_recognition_session_config.h | 29 SpeechRecognitionGrammarArray grammars; member in struct:content::SpeechRecognitionSessionConfig
|
/external/smali/smali/ |
H A D | build.gradle | 85 def grammars = fileTree(antlrSource).include('**/smaliParser.g') 90 args grammars.files 98 def grammars = fileTree(antlrSource).include('**/smaliTreeWalker.g') 103 args grammars.files 111 def grammars = fileTree(testAntlrSource).include('**/*.g') 116 args grammars.files.join(' ') 124 def grammars = fileTree(jflexSource).include('**/*.flex') 130 args grammars.files.join(' ')
|
/external/chromium_org/third_party/WebKit/Source/modules/speech/ |
H A D | SpeechRecognition.h | 53 SpeechGrammarList* grammars() { return m_grammars; } function in class:blink::FINAL 54 void setGrammars(SpeechGrammarList* grammars) { m_grammars = grammars; } argument
|
H A D | SpeechRecognition.idl | 33 attribute SpeechGrammarList grammars;
|
H A D | SpeechRecognitionController.h | 40 void start(SpeechRecognition* recognition, const SpeechGrammarList* grammars, const String& lang, bool continuous, bool interimResults, unsigned long maxAlternatives) argument 42 m_client->start(recognition, grammars, lang, continuous, interimResults, maxAlternatives);
|
/external/srec/config/en.us/ |
H A D | config.mk | 18 $(addprefix $(TARGET_OUT)/usr/srec/config/en.us/grammars/, \
|
H A D | Android.mk | 34 G2G_INSTALL_PATH=$(TARGET_OUT)/usr/srec/config/en.us/grammars 60 $(G2G_INSTALL_PATH)/enroll.g2g: $(LOCAL_PATH)/grammars/enroll.grxml $(GRXML) $(MAKE_G2G) $(DEFAULT_PAR) $(LOCAL_PATH)/dictionary/enroll.ok 71 $(G2G_INSTALL_PATH)/%.g2g: $(LOCAL_PATH)/grammars/%.grxml $(GRXML) $(MAKE_G2G) $(DEFAULT_PAR) $(LOCAL_PATH)/dictionary/cmu6plus.ok.zip
|
/external/chromium_org/content/public/test/ |
H A D | fake_speech_recognition_manager.cc | 54 if (config.grammars.size() > 0) 55 grammar_ = config.grammars[0].url;
|
/external/chromium_org/content/browser/speech/ |
H A D | speech_recognition_engine.h | 53 SpeechRecognitionGrammarArray grammars; member in struct:content::SpeechRecognitionEngine::Config
|
H A D | google_one_shot_remote_engine.cc | 192 if (!config_.grammars.empty()) { 193 DCHECK_EQ(config_.grammars.size(), 1U); 194 parts.push_back("lm=" + net::EscapeQueryParamValue(config_.grammars[0].url,
|
H A D | speech_recognition_dispatcher_host.cc | 157 config.grammars = params.grammars;
|
H A D | speech_recognition_manager_impl.cc | 123 remote_engine_config.grammars = config.grammars;
|
/external/chromium_org/content/common/ |
H A D | speech_recognition_messages.h | 55 // Speech grammars to use. 56 IPC_STRUCT_MEMBER(content::SpeechRecognitionGrammarArray, grammars)
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
H A D | task.rb | 15 compilation. This is a general utility -- the grammars do 22 :name => 'grammars', :output_directory => 'lib/parsers' 52 @name = options.fetch( :name, 'antlr-grammars' ) 106 desc( "compile ANTLR grammars" ) 117 attr_reader :load_path, :grammars 130 @grammars = grammar_files.map do | file | 153 @grammars.map { | gram | gram.target_files }.flatten 163 for grammar in @grammars 175 for grammar in @grammars 184 gram = @grammars [all...] |
/external/srec/srec/test/SRecTest/src/ |
H A D | SRecTest.c | 139 APPL_GRAMMAR_DATA grammars [MAX_NUM_REC_CONTEXTS]; /* Grammar data */ member in struct:ApplicationData_t 140 int grammarCount; /* The number of grammars. */ 265 memmove ( &data->grammars [grammar_num], &data->grammars [data->grammarCount - 1], 285 *active_grammar = data->grammars [data->active_grammar_num].grammar; 296 *active_grammar_data = &data->grammars [data->active_grammar_num]; 314 if ( strcmp ( grammar_id, data->grammars [grammar_counter].grammarID ) == 0 ) 317 *is_ve_grammar = data->grammars [grammar_counter].is_ve_grammar; 406 shutdown_status = SR_GrammarDestroy ( data->grammars [grammar_num].grammar ); 417 setup_status = SR_GrammarLoad (data->grammars [grammar_nu [all...] |
/external/srec/srec/test/SRecTestAudio/src/ |
H A D | SRecTestAudio.c | 138 APPL_GRAMMAR_DATA grammars [MAX_NUM_REC_CONTEXTS]; /* Grammar data */ member in struct:ApplicationData_t 139 int grammarCount; /* The number of grammars. */ 263 memmove ( &data->grammars [grammar_num], &data->grammars [data->grammarCount - 1], 283 *active_grammar = data->grammars [data->active_grammar_num].grammar; 294 *active_grammar_data = &data->grammars [data->active_grammar_num]; 312 if ( strcmp ( grammar_id, data->grammars [grammar_counter].grammarID ) == 0 ) 315 *is_ve_grammar = data->grammars [grammar_counter].is_ve_grammar; 404 shutdown_status = SR_GrammarDestroy ( data->grammars [grammar_num].grammar ); 415 setup_status = SR_GrammarLoad (data->grammars [grammar_nu [all...] |
/external/chromium_org/content/renderer/ |
H A D | speech_recognition_dispatcher.cc | 69 for (size_t i = 0; i < params.grammars().size(); ++i) { 70 const WebSpeechGrammar& grammar = params.grammars()[i]; 71 msg_params.grammars.push_back(
|
/external/srec/srec/Recognizer/src/ |
H A D | RecognizerImpl.c | 675 impl->grammars = NULL; 752 CHKLOG(rc, HashMapCreate(&impl->grammars)); 862 if (impl->grammars != NULL) 872 if (impl->grammars != NULL) 874 CHKLOG(rc, HashMapDestroy(impl->grammars)); 875 impl->grammars = NULL; 951 /* OSI log the grammars */ 952 CHKLOG(rc, HashMapGetSize(impl->grammars, &grammarSize)); 957 CHKLOG(rc, HashMapGetKeyAtIndex(impl->grammars, i, &val)); 987 CHKLOG(rc, impl->grammars [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | RecognizerSharedState.as | 5 * shared among multiple grammars; e.g., when one grammar imports another.
|
/external/srec/config/en.us/tcp/ |
H A D | change_sample_rate2.tcp | 5 context_load grammars/digits.g2g Digits trash not_ve
|
/external/srec/srec/Recognizer/include/ |
H A D | SR_RecognizerImpl.h | 197 * Active Recognizer grammars. 199 HashMap* grammars; member in struct:SR_RecognizerImpl_t
|