HomeSort by relevance Sort by last modified time
    Searched refs:rule (Results 76 - 100 of 1332) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium_org/third_party/icu/source/common/
util.cpp 278 * Append a character to a rule that is being built up. To flush
279 * the quoteBuf to rule, make one final call with isLiteral == TRUE.
281 * @param rule the string to append the character to
295 void ICU_Utility::appendToRule(UnicodeString& rule,
316 rule.append(BACKSLASH).append(APOSTROPHE);
329 rule.append(APOSTROPHE);
330 rule.append(quoteBuf);
331 rule.append(APOSTROPHE);
335 rule.append(BACKSLASH).append(APOSTROPHE);
342 * rule
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
plurults.h 39 void assertRuleValue(const UnicodeString& rule, double expected);
40 void assertRuleKeyValue(const UnicodeString& rule, const UnicodeString& key,
  /external/chromium_org/third_party/libaddressinput/src/cpp/src/
ondemand_supply_task.cc 32 #include "rule.h"
39 std::map<std::string, const Rule*>* rules,
64 // When the final pending rule has been retrieved, the retrieved_ callback,
96 Rule* rule = new Rule;
98 // All rules on the COUNTRY level inherit from the default rule.
99 rule->CopyFrom(Rule::GetDefault());
101 if (rule->ParseSerializedRule(data))
    [all...]
rule.cc 15 #include "rule.h"
110 Rule::Rule()
126 Rule::~Rule() {}
129 const Rule& Rule::GetDefault() {
131 static Rule* default_rule = NULL;
133 default_rule = new Rule;
140 void Rule::CopyFrom(const Rule& rule)
    [all...]
rule_retriever.cc 26 #include "rule.h"
49 Rule rule; local
51 rule_ready_(false, key, rule);
53 success = rule.ParseSerializedRule(data);
54 rule_ready_(success, key, rule);
address_normalizer.cc 27 #include "rule.h"
49 const Rule* parent_rule = supplier_->GetRule(parent_key);
64 const Rule* rule = supplier_->GetRule(lookup_key); local
65 assert(rule != NULL);
68 compare_->NaturalEquals(field_value, rule->GetLatinName());
71 compare_->NaturalEquals(field_value, rule->GetName());
74 field, matches_latin_name ? rule->GetLatinName() : *key_it);
region_data_builder.cc 31 #include "rule.h"
43 const std::map<std::string, const Rule*>& rules,
44 std::map<std::string, const Rule*>::const_iterator hint,
67 const Rule* rule = hint->second; local
68 assert(rule != NULL);
70 const std::string& local_name = rule->GetName().empty()
71 ? *key_it : rule->GetName();
73 prefer_latin_name && !rule->GetLatinName().empty()
74 ? rule->GetLatinName() : local_name
104 const Rule* rule = hint->second; local
163 Rule rule; local
    [all...]
  /external/chromium_org/third_party/skia/src/svg/
SkSVGPolygon.cpp 14 SVG_LITERAL_ATTRIBUTE(clip-rule, f_clipRule),
15 SVG_LITERAL_ATTRIBUTE(fill-rule, f_fillRule),
  /external/icu/icu4c/source/common/
util.cpp 278 * Append a character to a rule that is being built up. To flush
279 * the quoteBuf to rule, make one final call with isLiteral == TRUE.
281 * @param rule the string to append the character to
295 void ICU_Utility::appendToRule(UnicodeString& rule,
316 rule.append(BACKSLASH).append(APOSTROPHE);
329 rule.append(APOSTROPHE);
330 rule.append(quoteBuf);
331 rule.append(APOSTROPHE);
335 rule.append(BACKSLASH).append(APOSTROPHE);
342 * rule
    [all...]
  /external/icu/icu4c/source/test/intltest/
plurults.h 39 void assertRuleValue(const UnicodeString& rule, double expected);
40 void assertRuleKeyValue(const UnicodeString& rule, const UnicodeString& key,
  /external/skia/src/svg/
SkSVGPolygon.cpp 14 SVG_LITERAL_ATTRIBUTE(clip-rule, f_clipRule),
15 SVG_LITERAL_ATTRIBUTE(fill-rule, f_fillRule),
  /system/netd/server/
FirewallController.cpp 47 // create default rule to drop all traffic
71 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) {
78 if (rule == ALLOW) {
90 int FirewallController::setEgressSourceRule(const char* addr, FirewallRule rule) {
97 if (rule == ALLOW) {
110 FirewallRule rule) {
123 if (rule == ALLOW) {
137 int FirewallController::setUidRule(int uid, FirewallRule rule) {
142 if (rule == ALLOW) {
  /external/chromium_org/third_party/WebKit/Source/core/css/
RuleSet.cpp 126 RuleData::RuleData(StyleRule* rule, unsigned selectorIndex, unsigned position, AddRuleFlags addRuleFlags)
127 : m_rule(rule)
191 // Prefer rule sets in order of most likely to apply infrequently.
238 void RuleSet::addRule(StyleRule* rule, unsigned selectorIndex, AddRuleFlags addRuleFlags)
240 RuleData ruleData(rule, selectorIndex, m_ruleCount++, addRuleFlags);
249 void RuleSet::addPageRule(StyleRulePage* rule)
252 m_pageRules.append(rule);
255 void RuleSet::addViewportRule(StyleRuleViewport* rule)
258 m_viewportRules.append(rule);
261 void RuleSet::addFontFaceRule(StyleRuleFontFace* rule)
276 StyleRuleBase* rule = rules[i].get(); local
    [all...]
  /external/chromium_org/v8/tools/testrunner/local/
statusfile.py 99 def _ParseOutcomeList(rule, outcomes, target_dict, variables):
114 if rule in target_dict:
115 target_dict[rule] |= result
117 target_dict[rule] = result
134 for rule in section:
135 assert type(rule) == str
136 if rule[-1] == '*':
137 _ParseOutcomeList(rule, section[rule], wildcards, variables)
139 _ParseOutcomeList(rule, section[rule], rules, variables
    [all...]
  /external/chromium_org/tools/deep_memory_profiler/
accumulate.py 38 for rule, _ in snapshot[world]['breakdown'][breakdown].iteritems():
39 print (' ' * depth) + rule
40 if rule in rules:
41 visit_in_template(rules[rule], snapshot, depth + 1)
61 for rule, match in snapshot[world]['breakdown'][breakdown].iteritems():
70 if rule not in rules:
71 # A category matched with |rule| is a leaf of the breakdown tree.
73 category_tree[rule] = subtotal
76 # A category matched with |rule| is broken down more.
77 subtemplate = rules[rule]
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
NotifiedTestExecuter.java 53 if(ruleName == null) throw new NullPointerException("Null rule name");
55 final Rule rule = testSuite.getRule(ruleName); local
56 final TestCase failCase = (TestCase) rule.getElementAt(failTest.getTestCaseIndex());
66 if(ruleName == null) throw new NullPointerException("Null rule name");
68 final Rule rule = testSuite.getRule(ruleName); local
69 final TestCase passCase = (TestCase) rule.getElementAt(passTest.getTestCaseIndex());
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
TreeFilter.java 41 rule application strategy and a ``down then up'' tree traversal
42 strategy. Let's look at rule application first.
46 to the next node. In other words, we only look for a single rule
48 repeatedly apply rules). The following method applies a rule in a @cl
53 It uses reflection to lookup the appropriate rule within the generated
55 rule will not match the tree. To avoid issuing syntax errors and
57 failure, the invoked rule immediately returns. If you don't plan on
59 the details. This method boils down to ``call a rule to match a tree,
80 public void rule() throws RecognitionException; method in interface:TreeFilter.fptr
103 whichRule.rule();
    [all...]
  /external/chromium_org/third_party/libaddressinput/chromium/
chrome_rule_test.cc 5 #include "third_party/libaddressinput/src/cpp/src/rule.h"
13 i18n::addressinput::Rule rule; local
14 ASSERT_TRUE(rule.ParseSerializedRule(base::WideToUTF8(
18 EXPECT_EQ(4U, rule.GetSubKeys().size());
54 rule.CanonicalizeSubKey(input, true, &output))
  /external/chromium_org/v8/test/cctest/
test-date.cc 38 struct Rule {
42 DateCacheMock(int local_offset, Rule* rules, int rules_count)
51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec); local
52 return rule == NULL ? 0 : rule->offset_sec * 1000;
61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) {
62 Rule* result = NULL;
71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec)
    [all...]
  /external/chromium_org/chrome/renderer/safe_browsing/
scorer_unittest.cc 34 ClientSideModel::Rule* rule; local
35 rule = model_.add_rule();
36 rule->set_weight(0.5);
38 rule = model_.add_rule();
39 rule->add_feature(0); // feature1
40 rule->set_weight(2.0);
42 rule = model_.add_rule();
43 rule->add_feature(0); // feature1
44 rule->add_feature(1); // feature
    [all...]
  /external/ltrace/
filter.c 49 filter_rule_init(struct filter_rule *rule, enum filter_rule_type type,
53 rule->type = type;
54 rule->lib_matcher = matcher;
55 rule->symbol_re = symbol_re;
56 rule->next = NULL;
60 filter_rule_destroy(struct filter_rule *rule)
62 filter_lib_matcher_destroy(rule->lib_matcher);
63 regfree(&rule->symbol_re);
67 filter_add_rule(struct filter *filt, struct filter_rule *rule)
72 *rulep = rule;
    [all...]
  /frameworks/base/tools/split-select/
Rule.cpp 17 #include "Rule.h"
32 Rule::Rule(const Rule& rhs)
42 String8 Rule::toJson(int indent) const {
177 sp<Rule> Rule::simplify(sp<Rule> rule) {
178 if (rule->op != AND_SUBRULES && rule->op != OR_SUBRULES)
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/
base_rule_store.js 6 * @fileoverview Base class for all speech rule stores.
8 * The base rule store implements some basic functionality that is common to
9 * most speech rule stores.
76 function(rule) {
77 return this.testDynamicConstraints(dynamic, rule) &&
78 this.testPrecondition_(/** @type {!Node} */ (node), rule);},
96 var rule = new cvox.SpeechRule(name, dynamicCstr, fullPrec, postc);
99 console.log('Rule Error ', prec, '(' + dynamic + '):', err.message);
106 this.addRule(rule);
107 return rule;
    [all...]
speech_rule_evaluator.js 8 * A speech rule evaluator knows how to generate a description given a node and
9 * a speech rule.
24 * Default evaluation of a node if no speech rule is applicable.
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
filter.py 36 ValueError: An error occurs if a filter rule does not begin
37 with "+" or "-" or if a filter rule does not match
42 for rule in filter_rules:
43 if not (rule.startswith('+') or rule.startswith('-')):
44 raise ValueError('Invalid filter rule "%s": every rule '
45 "must start with + or -." % rule)
48 if category.startswith(rule[1:]):
51 raise ValueError('Suspected incorrect filter rule "%s":
    [all...]

Completed in 4453 milliseconds

1 2 34 5 6 7 8 91011>>