HomeSort by relevance Sort by last modified time
    Searched refs:grammar (Results 1 - 25 of 47) sorted by null

1 2

  /external/libpcap/
grammar.c 277 #line 1 "grammar.y"
302 "@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.86.2.9 2007/09/12 19:17:25 guy Exp $ (LBL)";
434 #line 138 "grammar.y"
    [all...]
Android.mk 11 grammar.c\
  /external/webkit/WebKitTools/Scripts/webkitpy/
grammar_unittest.py 30 from webkitpy.grammar import join_with_separators
  /external/srec/tools/make_g2g/
make_g2g.c 42 LFPRINTF(stdout,"usage: %s -base <base grammar filename> [-out <output file>] \n",exename);
47 SR_Grammar* grammar = NULL; local
107 /* get rid of the ',addWords=2000' grammar load param */
113 LFPRINTF(stdout,"Loading grammar %s from text files...\n",base);
114 CHKLOG(rc, SR_GrammarLoad(base, &grammar));
116 LFPRINTF(stdout,"Saving grammar as binary image %s...\n",outFilename);
117 CHKLOG(rc, SR_GrammarSave(grammar, outFilename));
123 if (grammar)
124 grammar->destroy(grammar);
    [all...]
  /external/webkit/WebCore/css/
makegrammar.pl 24 my $grammar = $ARGV[0];
27 system("bison -d -p cssyy " . $grammar . " -o " . $fileBase . ".tab.c");
  /frameworks/base/core/java/android/speech/srec/
Recognizer.java 39 * <li>Create a <code>Recognizer.Grammar</code>.
40 * <li>Setup the <code>Recognizer.Grammar</code>.
41 * <li>Reset the <code>Recognizer.Grammar</code> slots, if needed.
42 * <li>Fill the <code>Recognizer.Grammar</code> slots, if needed.
43 * <li>Compile the <code>Recognizer.Grammar</code>, if needed.
44 * <li>Save the filled <code>Recognizer.Grammar</code>, if needed.
61 * // create and load a Grammar
62 * Recognizer.Grammar grammar = recognizer.new Grammar(cdir + "/grammars/VoiceDialer.g2g")
    [all...]
  /external/srec/tools/parseStringTest/
parseStringTest.c 50 ESR_ReturnCode process_single_key_line(SR_Grammar* grammar, PFile* fin, PFile* fout);
51 ESR_ReturnCode process_multi_key_line(SR_Grammar* grammar, const LCHAR* rootrule, PFile* fin, PFile* fout);
104 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout, Opts* opts)
110 SR_GrammarImpl* pgrammar = (SR_GrammarImpl*)grammar;
124 Parse(grammar, trans, fout, &myopts);
138 rc = grammar->checkParse(grammar, trans, semanticResults, (size_t*) & result_count);
209 /* tests the transcription against the grammar and then decided based on what was expected of the test
211 ESR_ReturnCode ParseTestSet(SR_Grammar* grammar, LCHAR* trans, LCHAR* key, LCHAR* ref, LCHAR* result, PFile* fout)
228 rc = grammar->checkParse(grammar, trans, semanticResults, (size_t*) & result_count)
277 SR_Grammar* grammar = NULL; local
    [all...]
  /external/srec/srec_jni/
android_speech_srec_Recognizer.cpp 191 (JNIEnv *env, jclass clazz, jint recognizer, jint grammar, jstring ruleName) {
193 checkEsrError(env, SR_RecognizerSetupRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn));
205 (JNIEnv *env, jclass clazz, jint recognizer, jint grammar, jstring ruleName, jint weight) {
207 checkEsrError(env, SR_RecognizerActivateRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn, weight));
212 (JNIEnv *env, jclass clazz, jint recognizer, jint grammar, jstring ruleName) {
214 checkEsrError(env, SR_RecognizerDeactivateRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn));
224 (JNIEnv *env, jclass clazz, jint recognizer, jint grammar, jstring ruleName) {
227 checkEsrError(env, SR_RecognizerIsActiveRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn, &rtn));
233 (JNIEnv *env, jclass clazz, jint recognizer, jint grammar) {
235 checkEsrError(env, SR_RecognizerCheckGrammarConsistency((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, &rtn))
392 SR_Grammar* grammar = 0; local
405 SR_Grammar* grammar = 0; local
    [all...]
  /external/srec/srec/Recognizer/include/
SR_Recognizer.h 258 * A pre-compiled Grammar should have undergone a model consistency check with the
262 * @param grammar Grammar containing rule
267 ESR_ReturnCode (*setupRule)(struct SR_Recognizer_t* self, struct SR_Grammar_t* grammar, const LCHAR* ruleName);
269 * Indicates if Recognizer is configured with any rules within the specified Grammar.
272 * @param hasSetupRules True if the Recognizer is configured for the Grammar
280 * @param grammar Grammar containing rule
282 * @param weight Relative weight to assign to self grammar vs. other activated grammars.
288 ESR_ReturnCode (*activateRule)(struct SR_Recognizer_t* self, struct SR_Grammar_t* grammar,
    [all...]
SR_RecognizerImpl.h 269 * if bit2 (OSI_LOG_LEVEL_ADDWD) is set: do dynamic grammar addword logging
347 * Groups grammar with meta-data.
352 * Grammar object.
354 SR_Grammar* grammar; member in struct:GrammarBag_t
356 * Grammar weight.
360 * Grammar ID.
426 SR_Grammar* grammar,
433 SR_Grammar* grammar,
445 SR_Grammar* grammar,
452 SR_Grammar* grammar);
    [all...]
  /external/srec/srec/Recognizer/src/
Recognizer.c 157 ESR_ReturnCode SR_RecognizerSetupRule(SR_Recognizer* self, SR_Grammar* grammar,
165 return self->setupRule(self, grammar, ruleName);
179 ESR_ReturnCode SR_RecognizerActivateRule(SR_Recognizer* self, SR_Grammar* grammar,
187 return self->activateRule(self, grammar, ruleName, weight);
190 ESR_ReturnCode SR_RecognizerDeactivateRule(SR_Recognizer* self, SR_Grammar* grammar,
198 return self->deactivateRule(self, grammar, ruleName);
211 ESR_ReturnCode SR_RecognizerIsActiveRule(SR_Recognizer* self, SR_Grammar* grammar,
219 return self->isActiveRule(self, grammar, ruleName, isActiveRule);
222 ESR_ReturnCode SR_RecognizerCheckGrammarConsistency(SR_Recognizer* self, SR_Grammar* grammar,
230 return self->checkGrammarConsistency(self, grammar, isConsistent)
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitpy/steps/
obsoletepatches.py 29 from webkitpy.grammar import pluralize
updatechangelogswithreviewer.py 32 from webkitpy.grammar import pluralize
  /external/bison/src/
reader.c 40 static symbol_list *grammar = NULL; variable
146 | Parse the input grammar into a one symbol_list structure. Each |
156 /* The (currently) last symbol of GRAMMAR. */
159 /* Append SYM to the grammar. */
168 grammar = p;
186 | Create a new rule for LHS in to the GRAMMAR. |
335 grammar = midrule;
422 symbol_list *p = grammar;
483 | Read in the grammar specification and record it in the format |
530 | Check the grammar that has just been read, and convert it to
    [all...]
parse-gram.y 1 %{/* Bison Grammar Parser -*- C -*-
85 /* Bison's grammar can initial empty locations, hence a default
202 declarations "%%" grammar epilogue.opt
395 | The grammar section: between the two %%. |
398 grammar: label
400 | grammar rules_or_grammar_declaration
403 /* As a Bison extension, one can use the grammar declarations in the
404 body of the grammar. */
449 action for this rule, then when the input grammar contains two
  /external/srec/srec/crec/
c47mulsp.c 91 int activate_grammar_for_recognition(multi_srec* recm, srec_context* grammar, const char* rule)
93 srec_context* context = grammar;
  /external/srec/tools/test_g2g/
test_g2g.c 72 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout);
190 SR_Grammar* grammar = NULL; local
210 rc = SR_GrammarLoad(base, &grammar);
216 grammarImpl = (SR_GrammarImpl*)grammar;
328 rc = Parse( grammar, fst->olabels->words[wordid], PSTDOUT);
340 if(grammar) SR_GrammarDestroy(grammar);
439 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout)
451 rc = grammar->checkParse(grammar, trans, semanticResults, (size_t*) &result_count)
    [all...]
  /external/webkit/WebCore/platform/graphics/mac/
GraphicsContextMac.mm 122 void GraphicsContext::drawLineForMisspellingOrBadGrammar(const IntPoint& point, int width, bool grammar)
127 // These are the same for misspelling or bad grammar.
133 if (grammar) {
134 // Constants for grammar pattern color.
  /external/webkit/WebCore/rendering/
InlineTextBox.h 136 void paintSpellingOrGrammarMarker(GraphicsContext*, int tx, int ty, const DocumentMarker&, RenderStyle*, const Font&, bool grammar);
  /external/srec/srec/test/SRecTestAudio/src/
SRecTestAudio.c 119 LCHAR grammar_path [P_PATH_MAX]; /* File path of the grammar. */
120 LCHAR grammarID [P_PATH_MAX]; /* ID of the grammar. */
121 LCHAR ruleName [P_PATH_MAX]; /* rule name of the grammar. */
122 SR_Grammar* grammar; /* grammar. */ member in struct:__anon7664
123 ESR_BOOL is_ve_grammar; /* Is voice-enrollment grammar or not */
138 APPL_GRAMMAR_DATA grammars [MAX_NUM_REC_CONTEXTS]; /* Grammar data */
140 int active_grammar_num; /* The index number of the active grammar. */
272 LSPRINTF ( log_buffer, L("Internal Error Grammar TableCorrupt : Grammar %d Does Not Exist"), grammar_num )
    [all...]
  /external/webkit/WebCore/platform/graphics/win/
GraphicsContextCGWin.cpp 179 void GraphicsContext::drawLineForMisspellingOrBadGrammar(const IntPoint& point, int width, bool grammar)
184 // These are the same for misspelling or bad grammar
204 const Color& patternColor = grammar ? grammarPatternColor() : spellingPatternColor();
  /external/srec/srec/test/SRecTest/src/
SRecTest.c 120 LCHAR grammar_path [P_PATH_MAX]; /* File path of the grammar. */
121 LCHAR grammarID [P_PATH_MAX]; /* ID of the grammar. */
122 LCHAR ruleName [P_PATH_MAX]; /* rule name of the grammar. */
123 SR_Grammar* grammar; /* grammar. */ member in struct:__anon7660
124 ESR_BOOL is_ve_grammar; /* Is voice-enrollment grammar or not */
139 APPL_GRAMMAR_DATA grammars [MAX_NUM_REC_CONTEXTS]; /* Grammar data */
141 int active_grammar_num; /* The index number of the active grammar. */
274 LSPRINTF ( log_buffer, L("Internal Error Grammar TableCorrupt : Grammar %d Does Not Exist"), grammar_num )
    [all...]
  /external/libxml2/
relaxng.c 108 xmlRelaxNGGrammarPtr parent; /* the parent grammar if any */
109 xmlRelaxNGGrammarPtr children; /* the children grammar if any */
110 xmlRelaxNGGrammarPtr next; /* the next grammar if any */
134 XML_RELAXNG_PARENTREF, /* reference to a def in the parent grammar */
211 xmlRelaxNGGrammarPtr grammar; /* the current grammar */ member in struct:_xmlRelaxNGParserCtxt
212 xmlRelaxNGGrammarPtr parentgrammar; /* the parent grammar */
659 static void xmlRelaxNGFreeGrammar(xmlRelaxNGGrammarPtr grammar);
831 * Allocate a new RelaxNG grammar.
852 * @grammar: a grammar structur
4886 xmlRelaxNGGrammarPtr grammar, old; local
5569 xmlRelaxNGGrammarPtr grammar; local
8167 xmlRelaxNGGrammarPtr grammar; local
10557 xmlRelaxNGGrammarPtr grammar; local
    [all...]
  /external/webkit/WebCore/platform/graphics/openvg/
GraphicsContextOpenVG.cpp 268 void GraphicsContext::drawLineForMisspellingOrBadGrammar(const IntPoint& origin, int width, bool grammar)
276 UNUSED_PARAM(grammar);
  /external/srec/config/en.us/
Android.mk 29 # define paths to some grammar tools

Completed in 542 milliseconds

1 2