/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/chromium_org/third_party/icu/source/common/ |
util_props.cpp | 24 int32_t ICU_Utility::parseInteger(const UnicodeString& rule, int32_t& pos, int32_t limit) { 30 if (p < limit && rule.charAt(p) == 48 /*0*/) { 31 if (p+1 < limit && (rule.charAt(p+1) == 0x78 /*x*/ || rule.charAt(p+1) == 0x58 /*X*/)) { 43 int32_t d = u_digit(rule.charAt(p++), radix); 84 int32_t ICU_Utility::parsePattern(const UnicodeString& rule, int32_t pos, int32_t limit, 97 c = rule.charAt(pos++); 103 pos = skipWhitespace(rule, pos); 107 parsedInts[intCount++] = parseInteger(rule, p, limit); 118 c = (UChar) u_tolower(rule.charAt(pos++)) [all...] |
/external/icu/icu4c/source/common/ |
util_props.cpp | 26 int32_t ICU_Utility::parseInteger(const UnicodeString& rule, int32_t& pos, int32_t limit) { 32 if (p < limit && rule.charAt(p) == 48 /*0*/) { 33 if (p+1 < limit && (rule.charAt(p+1) == 0x78 /*x*/ || rule.charAt(p+1) == 0x58 /*X*/)) { 45 int32_t d = u_digit(rule.charAt(p++), radix); 86 int32_t ICU_Utility::parsePattern(const UnicodeString& rule, int32_t pos, int32_t limit, 99 c = rule.charAt(pos++); 105 pos = skipWhitespace(rule, pos); 109 parsedInts[intCount++] = parseInteger(rule, p, limit); 120 c = (UChar) u_tolower(rule.charAt(pos++)) [all...] |
util.h | 145 static int32_t parsePattern(const UnicodeString& rule, int32_t pos, int32_t limit, 177 static int32_t parseInteger(const UnicodeString& rule, int32_t& pos, int32_t limit); 214 static void appendToRule(UnicodeString& rule, 220 static void appendToRule(UnicodeString& rule, 226 static void appendToRule(UnicodeString& rule,
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
address_ui.cc | 33 #include "rule.h" 90 Rule rule; local 91 rule.CopyFrom(Rule::GetDefault()); 92 if (!rule.ParseSerializedRule( 98 ChooseBestAddressLanguage(rule, Language(ui_language_tag)); 102 !rule.GetLatinFormat().empty() && 104 ? rule.GetLatinFormat() : rule.GetFormat() [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
TestSuite.java | 36 protected List<Rule> rules ; 44 rules = new ArrayList<Rule>(); 52 public void addRule(Rule currentRule) { 53 if(currentRule == null) throw new IllegalArgumentException("Null rule"); 57 // test rule name 58 public boolean hasRule(Rule rule) { 59 for(Rule r: rules) { 60 if(r.getName().equals(rule.getName())) { 71 public void setRules(List<Rule> newRules) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSRule.h | 70 void setParentRule(CSSRule* rule) 73 m_parentRule = rule; 115 DEFINE_TYPE_CASTS(ToType, CSSRule, rule, rule->type() == CSSRule::TYPE_NAME, rule.type() == CSSRule::TYPE_NAME)
|
CSSCharsetRule.h | 42 virtual void reattach(StyleRuleBase* rule) OVERRIDE { ASSERT_UNUSED(rule, !rule); }
|
CSSFontFaceRule.cpp | 65 void CSSFontFaceRule::reattach(StyleRuleBase* rule) 67 ASSERT(rule); 68 m_fontFaceRule = toStyleRuleFontFace(rule);
|
CSSViewportRule.cpp | 78 void CSSViewportRule::reattach(StyleRuleBase* rule) 80 ASSERT(rule); 81 m_viewportRule = toStyleRuleViewport(rule);
|
CSSFilterRule.h | 44 static PassRefPtrWillBeRawPtr<CSSFilterRule> create(StyleRuleFilter* rule, CSSStyleSheet* sheet) 46 return adoptRefWillBeNoop(new CSSFilterRule(rule, sheet));
|
CSSFontFaceRule.h | 36 static PassRefPtrWillBeRawPtr<CSSFontFaceRule> create(StyleRuleFontFace* rule, CSSStyleSheet* sheet) 38 return adoptRefWillBeNoop(new CSSFontFaceRule(rule, sheet));
|
CSSMediaRule.h | 35 static PassRefPtrWillBeRawPtr<CSSMediaRule> create(StyleRuleMedia* rule, CSSStyleSheet* sheet) 37 return adoptRefWillBeNoop(new CSSMediaRule(rule, sheet));
|
CSSMediaRule.idl | 26 [RaisesException] unsigned long insertRule(DOMString rule, unsigned long index);
|
CSSPageRule.h | 37 static PassRefPtrWillBeRawPtr<CSSPageRule> create(StyleRulePage* rule, CSSStyleSheet* sheet) 39 return adoptRefWillBeNoop(new CSSPageRule(rule, sheet));
|
/ndk/sources/host-tools/make-3.81/ |
implicit.c | 1 /* Implicit rule searching for GNU Make. 21 #include "rule.h" 35 Returns 1 if a suitable implicit rule was found, 37 or returns 0 if no implicit rule was found. */ 42 DBF (DB_IMPLICIT, _("Looking for an implicit rule for `%s'.\n")); 58 _("Looking for archive-member implicit rule for `%s'.\n")); 187 /* Search the pattern rules for a rule with an existing dependency to make 188 FILE. If a rule is found, the appropriate commands and deps are put in FILE 191 If ARCHIVE is nonzero, FILE->name is of the form "LIB(MEMBER)". A rule for 205 /* Filename we are searching for a rule for. * 262 struct rule *rule; local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/ |
math_store.js | 6 * @fileoverview Rule store for math syntax tree nodes. 54 var rule = cvox.MathStore.superClass_.defineRule.apply( 60 rule.dynamicCstr = dynamicCstr; 61 this.removeDuplicates(rule); 62 return rule; 97 * Adds an alias for an existing rule. 98 * @param {string} name The name of the rule. 100 * @param {string} query Precondition query of the rule. 106 var rule = this.findRule( 108 function(rule) { [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
rbt_pars.cpp | 251 * A class representing one side of a rule. This class knows how to 252 * parse half of a rule. It is tightly coupled to the method 297 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status); 299 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, 323 const UnicodeString& rule, 326 return parser.syntaxError(code, rule, start, status); 351 * Parse one side of a rule, stopping at either the limit, 356 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) { 359 pos = parseSection(rule, pos, limit, text, ILLEGAL_TOP, FALSE, status); 362 return syntaxError(U_MISPLACED_CURSOR_OFFSET, rule, start, status) [all...] |
/external/icu/icu4c/source/i18n/ |
rbt_pars.cpp | 257 * A class representing one side of a rule. This class knows how to 258 * parse half of a rule. It is tightly coupled to the method 303 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status); 305 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, 329 const UnicodeString& rule, 332 return parser.syntaxError(code, rule, start, status); 357 * Parse one side of a rule, stopping at either the limit, 362 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) { 365 pos = parseSection(rule, pos, limit, text, UnicodeString(TRUE, ILLEGAL_TOP, -1), FALSE, status); 368 return syntaxError(U_MISPLACED_CURSOR_OFFSET, rule, start, status) [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
error_check.py | 27 class Rule(object): 39 # Rule to raise all known errors. 54 'This includes ' + (', '.join(Rule.CLOSURE_RULES)) + '.') 58 ' - ' + Rule.ALL + ': enables all following errors.\n' 59 ' - ' + Rule.BLANK_LINES_AT_TOP_LEVEL + ': validates' 61 ' - ' + Rule.INDENTATION + ': checks correct ' 63 ' - ' + Rule.WELL_FORMED_AUTHOR + ': validates the ' 65 ' - ' + Rule.NO_BRACES_AROUND_INHERIT_DOC + ': ' 67 ' - ' + Rule.BRACES_AROUND_TYPE + ': enforces braces ' 69 ' - ' + Rule.OPTIONAL_TYPE_MARKER + ': checks correct [all...] |
/external/chromium_org/third_party/closure_linter/closure_linter/ |
error_check.py | 27 class Rule(object): 39 # Rule to raise all known errors. 54 'This includes ' + (', '.join(Rule.CLOSURE_RULES)) + '.') 58 ' - ' + Rule.ALL + ': enables all following errors.\n' 59 ' - ' + Rule.BLANK_LINES_AT_TOP_LEVEL + ': validates' 61 ' - ' + Rule.INDENTATION + ': checks correct ' 63 ' - ' + Rule.WELL_FORMED_AUTHOR + ': validates the ' 65 ' - ' + Rule.NO_BRACES_AROUND_INHERIT_DOC + ': ' 67 ' - ' + Rule.BRACES_AROUND_TYPE + ': enforces braces ' 69 ' - ' + Rule.OPTIONAL_TYPE_MARKER + ': checks correct [all...] |
/external/ltrace/ |
filter.h | 66 /* Both SYMBOL_RE and MATCHER are owned and destroyed by RULE. */ 67 void filter_rule_init(struct filter_rule *rule, enum filter_rule_type type, 71 void filter_rule_destroy(struct filter_rule *rule); 73 /* RULE is added to FILT and owned and destroyed by it. */ 74 void filter_add_rule(struct filter *filt, struct filter_rule *rule);
|
/external/nist-sip/java/gov/nist/core/ |
ParserCore.java | 100 protected void dbg_enter(String rule) { 107 stringBuffer + rule + 114 protected void dbg_leave(String rule) { 122 rule + 135 protected void peekLine(String rule) { 137 Debug.println(rule +" " + lexer.peekLine());
|
/external/chromium_org/chrome/tools/convert_dict/ |
aff_reader.cc | 185 int AffReader::AddAffixGroup(std::string* rule) { 186 TrimLine(rule); 188 // We use the 1-based index of the rule. This matches the way Hunspell 191 affix_groups_.insert(std::make_pair(*rule, affix_id)); 195 void AffReader::AddAffix(std::string* rule) { 196 TrimLine(rule); 197 CollapseDuplicateSpaces(rule); 211 for (size_t i = 0; i < rule->length(); i++) { 212 if ((*rule)[i] == ' ') { 223 part = rule->substr(part_start); // From here to end [all...] |
/external/chromium_org/sandbox/mac/ |
launchd_interception_server.cc | 91 // Find the Rule for this service. If a named rule is not found, use the 95 Rule rule(policy->default_rule); 97 rule = it->second; 99 if (rule.result == POLICY_ALLOW) { 104 } else if (rule.result == POLICY_DENY_ERROR) { 110 } else if (rule.result == POLICY_DENY_DUMMY_PORT || 111 rule.result == POLICY_SUBSTITUTE_PORT) { 119 if (rule.result == POLICY_DENY_DUMMY_PORT [all...] |