Searched refs:rule (Results 201 - 225 of 1180) sorted by relevance

1234567891011>>

/external/icu/icu4c/source/i18n/
H A Dfuncrepl.h90 virtual UnicodeString& toReplacerPattern(UnicodeString& rule,
/external/srec/srec/include/
H A Dsrec_context.h122 asr_int16_t num_fsm_exit_points; /* one per rule import */
222 int wordmap_whether_in_rule(wordmap* wmap, wordID word, wordID rule);
224 wordID wordmap_find_index_in_rule(wordmap* wmap, const char* word, wordID rule);
225 wordID wordmap_find_rule_index(wordmap* wmap, const char* rule);
232 wordID wordmap_add_word_in_rule(wordmap* wmap, const char* word, wordID rule);
/external/bison/src/
H A Dscan-code.c196 /* Action number for EOF rule of a given start state. */
703 static void handle_action_dollar (symbol_list *rule, char *cp,
705 static void handle_action_at (symbol_list *rule, char *cp, location at_loc);
723 /* Whether in a rule or symbol action. Specifies the translation
852 /* Copy whatever the last rule matched to the standard output. */
953 /* Code executed at the beginning of each rule, after code_text and code_leng
960 /* Code executed at the end of each rule. */
1106 fprintf( stderr, "--accepting rule at line %ld (\"%s\")\n",
1109 fprintf( stderr, "--accepting default rule (\"%s\")\n",
1128 /* rule
2689 parse_ref(char *cp, symbol_list *rule, int rule_length, int midrule_rhs_index, char *text, location text_loc, char dollar_or_at) argument
2904 handle_action_dollar(symbol_list *rule, char *text, location dollar_loc) argument
2999 handle_action_at(symbol_list *rule, char *text, location at_loc) argument
3102 code_props_rule_action_init(code_props *self, char const *code, location code_loc, symbol_list *rule, named_ref *name) argument
[all...]
/external/chromium_org/sandbox/win/src/
H A Dpolicy_low_level.cc13 // A single rule can use at most this amount of memory.
34 // Adding a rule is nothing more than pushing it into an stl container. Done()
35 // is called for the rule in case the code that made the rule in the first
37 bool LowLevelPolicy::AddRule(int service, PolicyRule* rule) { argument
38 if (!rule->Done()) {
42 PolicyRule* local_rule = new PolicyRule(*rule);
52 delete it->rule;
61 // memory zone for the opcodes and the data and call RebindCopy on each rule
70 mmap[it->service].push_back(it->rule);
91 const PolicyRule* rule = (*rules_it); local
[all...]
/external/chromium_org/tools/memory_inspector/memory_inspector/classification/
H A Dresults_unittest.py31 rule = rules.Load(str(rules_dict), MockRegexMatchingRule)
32 result = results.AggreatedResults(rule, keys=['X', 'Y'])
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.jobs_3.5.1.R36x_v20100824.jar ... .eclipse.core.runtime.jobs.ISchedulingRule rule int lockIndex java.util.ArrayList blocking int i ...
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
H A DDbg.stg131 @rule.preamble() ::= <<
141 @rule.postamble() ::= <<
227 goto rule<ruleDescriptor.name>Ex;
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
H A DAST.stg73 /** Add a variable to track rule's return AST */
88 :{it | stream_<it> = RewriteRuleSubtreeStream(self._adaptor, "rule <it>")}; separator="\n">
93 * as a rule could have both rewrite and AST within the same alternative
109 /** ID and track it for use in a rewrite rule */
115 /** ids+=ID and track it for use in a rewrite rule; adds to ids *and*
135 /** rule when output=AST and tracking for rewrite */
136 ruleRefTrack(rule,label,elementIndex,args,scope) ::= <<
138 <finishedBacktracking({stream_<rule.name>.add(<label>.tree)})>
141 /** x+=rule when output=AST and tracking for rewrite */
142 ruleRefTrackAndListLabel(rule,labe
[all...]
/external/chromium_org/chrome/browser/content_settings/
H A Dcontent_settings_origin_identifier_value_map_unittest.cc201 content_settings::Rule rule = rule_iterator->Next(); local
202 EXPECT_EQ(sub_pattern, rule.primary_pattern);
203 EXPECT_EQ(2, content_settings::ValueToContentSetting(rule.value.get()));
206 rule = rule_iterator->Next();
207 EXPECT_EQ(pattern, rule.primary_pattern);
208 EXPECT_EQ(1, content_settings::ValueToContentSetting(rule.value.get()));
/external/chromium_org/chrome/installer/util/
H A Dadvanced_firewall_manager_win.cc72 // Delete the rule. According MDSN |INetFwRules::Add| should replace rule with
73 // same "rule identifier". It's not clear what is "rule identifier", but it
74 // can successfully create many rule with same name.
77 // Create the rule and add it to the rule set (only succeeds if elevated).
102 base::win::ScopedComPtr<INetFwRule> rule) {
103 // Rename rule to unique name and delete by unique name. We can't just delete
104 // rule b
101 DeleteRule( base::win::ScopedComPtr<INetFwRule> rule) argument
175 base::win::ScopedComPtr<INetFwRule> rule; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DStyleRule.h49 Keyframe, // Not used. These are internally non-rule StyleKeyframe objects.
283 DEFINE_TYPE_CASTS(StyleRule##Type, StyleRuleBase, rule, rule->is##Type##Rule(), rule.is##Type##Rule())
285 DEFINE_TYPE_CASTS(StyleRule, StyleRuleBase, rule, rule->isStyleRule(), rule.isStyleRule());
/external/chromium_org/extensions/browser/api/declarative/
H A Drules_registry.cc29 const char kDuplicateRuleId[] = "Duplicate rule ID: %s";
52 linked_ptr<extensions::RulesRegistry::Rule> rule(
54 if (extensions::RulesRegistry::Rule::Populate(*dict, rule.get()))
55 rules.push_back(rule);
96 // Verify that all rule IDs are new.
100 // Every rule should have a priority assigned.
331 Rule* rule = i->get(); local
332 if (rule->id.get()) {
333 std::string id = *(rule->id);
346 Rule* rule local
[all...]
H A Ddeclarative_rule.h179 // this rule. Defaults to MIN_INT.
190 // Representation of a rule of a declarative API:
226 // Before constructing the final rule, calls check_consistency(conditions,
229 // the returned rule is internally consistent.
235 linked_ptr<JsonRule> rule,
253 // this rule. Defaults to MIN_INT. Only valid if the conditions of this rule
460 linked_ptr<JsonRule> rule,
466 extension, url_matcher_condition_factory, rule->conditions, error);
474 browser_context, extension, rule
455 Create( url_matcher::URLMatcherConditionFactory* url_matcher_condition_factory, content::BrowserContext* browser_context, const Extension* extension, base::Time extension_installation_time, linked_ptr<JsonRule> rule, ConsistencyChecker check_consistency, std::string* error) argument
[all...]
/external/chromium_org/net/dns/
H A Dmock_host_resolver.cc270 Rule rule(Rule::kResolverTypeSystem,
277 rules_.push_back(rule);
292 Rule rule(Rule::kResolverTypeIPLiteral, host_pattern,
295 rules_.push_back(rule);
305 Rule rule(Rule::kResolverTypeSystem,
312 rules_.push_back(rule);
319 Rule rule(Rule::kResolverTypeSystem,
326 rules_.push_back(rule);
333 Rule rule(Rule::kResolverTypeFail,
340 rules_.push_back(rule);
[all...]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DBaseRecognizer.as60 * in a rule will cause an exception and immediate exit from
61 * rule. Rule would recover by resynchronizing to the set of
62 * symbols that can follow rule ref.
272 msg = "rule "+fpe.ruleName+" failed predicate: {"+
353 /* Compute the error recovery set for the current rule. During
354 * rule invocation, the parser pushes the set of tokens that can
355 * follow that rule reference on the stack; this amounts to
356 * computing FIRST of what follows the rule reference in the
357 * enclosing rule. This local follow set only includes tokens
358 * from within the rule;
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DNameSpaceChecker.java58 // walk rule scope attributes for Rule r
75 // check for missing rule, tokens
119 /** If ref to undefined rule, give error at first occurrence.
121 * Give error if you cannot find the scope override on a rule reference.
123 * If you ref ID in a combined grammar and don't define ID as a lexer rule
127 // for each rule ref, ask if there is a rule definition
133 Rule rule = grammar.getRule(ruleName);
134 if ( localRule==null && rule!=null ) { // imported rule
[all...]
/external/chromium_org/chrome/renderer/safe_browsing/
H A Dphishing_classifier_browsertest.cc79 // Add a default rule with a non-phishy weight.
80 ClientSideModel::Rule* rule = model.add_rule(); variable
81 rule->set_weight(-1.0);
86 rule = model.add_rule();
87 rule->add_feature(0);
88 rule->add_feature(1);
89 rule->add_feature(2);
90 rule->set_weight(1.0);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcitertst.c357 UChar rule[50]; local
358 int rulelen = u_unescape(str, rule, 50);
372 coll = ucol_openRules(rule, rulelen, UCOL_ON, UCOL_TERTIARY, NULL, &status);
425 UChar rule[50]; local
451 u_uastrcpy(rule, "&a,A < b,B < c,C, d,D < z,Z < ch,cH,Ch,CH");
452 c1 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
454 log_verbose("Contraction rule testing back and forth with no normalization\n");
475 u_uastrcpy(rule, "&a < b < c/abd < d");
476 c2 = ucol_openRules(rule, u_strle
798 UChar rule[256]; local
1366 UChar rule[50]; local
1474 UChar rule[10]; local
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
H A DObjC.stg251 <rules:{rule |
252 <rule.ruleDescriptor:{ruleDescriptor | <returnScopeInterface(scope=ruleDescriptor.returnScope)>}>}>
272 <rules:{rule |
273 - (<rule.ruleDescriptor:{ruleDescriptor|<returnType()>}>) <if(!rule.ruleDescriptor.isSynPred)>m<rule.ruleName><else><rule.ruleName>_fragment<endif> <if(rule.ruleDescriptor.parameterScope)><rule.ruleDescriptor.parameterScope:parameterScope()><endif>; }; separator="\n"><\n>
305 <rules:{rule | <rul
[all...]
/external/chromium_org/third_party/libxml/src/
H A Dschematron.c97 * A Schematrons rule
102 xmlSchematronRulePtr next; /* the next rule in the list */
103 xmlSchematronRulePtr patnext;/* the next rule in the pattern list */
105 xmlChar *context; /* the context evaluation rule */
295 * @rule: the parent rule
307 xmlSchematronRulePtr rule,
313 if ((ctxt == NULL) || (rule == NULL) || (node == NULL) ||
341 if (rule->tests == NULL) {
342 rule
305 xmlSchematronAddTest(xmlSchematronParserCtxtPtr ctxt, xmlSchematronTestType type, xmlSchematronRulePtr rule, xmlNodePtr node, xmlChar *test, xmlChar *report) argument
847 xmlSchematronParseRule(xmlSchematronParserCtxtPtr ctxt, xmlSchematronPatternPtr pattern, xmlNodePtr rule) argument
1668 xmlSchematronRulePtr rule; local
[all...]
/external/libxml2/
H A Dschematron.c97 * A Schematrons rule
102 xmlSchematronRulePtr next; /* the next rule in the list */
103 xmlSchematronRulePtr patnext;/* the next rule in the pattern list */
105 xmlChar *context; /* the context evaluation rule */
295 * @rule: the parent rule
307 xmlSchematronRulePtr rule,
313 if ((ctxt == NULL) || (rule == NULL) || (node == NULL) ||
341 if (rule->tests == NULL) {
342 rule
305 xmlSchematronAddTest(xmlSchematronParserCtxtPtr ctxt, xmlSchematronTestType type, xmlSchematronRulePtr rule, xmlNodePtr node, xmlChar *test, xmlChar *report) argument
847 xmlSchematronParseRule(xmlSchematronParserCtxtPtr ctxt, xmlSchematronPatternPtr pattern, xmlNodePtr rule) argument
1668 xmlSchematronRulePtr rule; local
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
H A Dscopes.rb66 /* rule scopes, from the book, final beta, p.147 */
83 /* rule scopes, from the book, final beta, p.148 */
107 /* recursive rule scopes, from the book, final beta, p.150 */
137 /* recursive rule scopes, access bottom-most scope */
151 /* recursive rule scopes, access with negative index */
177 example "parsing 'foobar' with rule a" do
183 example "failing to parse 'foobar' with rule b[false]" do
189 example "parsing 'foobar' with rule b[true]" do
195 example "parsing a decl block with rule c" do
211 example "failing to parse undeclared symbols with rule
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
H A DAST.stg59 /** Add a variable to track rule's return AST */
73 :{var stream_<it>:RewriteRuleSubtreeStream=new RewriteRuleSubtreeStream(adaptor,"rule <it>");}; separator="\n">
78 * as a rule could have both rewrite and AST within the same alternative
93 /** ID and track it for use in a rewrite rule */
99 /** ids+=ID and track it for use in a rewrite rule; adds to ids *and*
119 /** rule when output=AST and tracking for rewrite */
120 ruleRefTrack(rule,label,elementIndex,args,scope) ::= <<
122 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule.name>.add(<label>.tree);
125 /** x+=rule when output=AST and tracking for rewrite */
126 ruleRefTrackAndListLabel(rule,labe
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
H A DAST.stg85 /** Add a variable to track rule's return AST */
99 :{it|RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"rule <it>");}; separator="\n">
104 * as a rule could have both rewrite and AST within the same alternative
119 /** ID and track it for use in a rewrite rule */
125 /** ids+=ID and track it for use in a rewrite rule; adds to ids *and*
145 /** rule when output=AST and tracking for rewrite */
146 ruleRefTrack(rule,label,elementIndex,args,scope) ::= <<
148 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<rule.name>.Add(<label>.Tree);
151 /** x+=rule when output=AST and tracking for rewrite */
152 ruleRefTrackAndListLabel(rule,labe
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
H A DAST.stg85 /** Add a variable to track rule's return AST */
100 :{it|<\n>RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"rule <it>");}>
106 * as a rule could have both rewrite and AST within the same alternative
117 /** ID and track it for use in a rewrite rule */
123 /** ids+=ID and track it for use in a rewrite rule; adds to ids *and*
143 /** rule when output=AST and tracking for rewrite */
144 ruleRefTrack(rule,label,elementIndex,args,scope) ::= <<
146 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<rule.name>.Add(<label>.Tree);
149 /** x+=rule when output=AST and tracking for rewrite */
150 ruleRefTrackAndListLabel(rule,labe
[all...]

Completed in 1129 milliseconds

1234567891011>>