/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/ |
ruleset.cc | 27 #include "rule.h" 34 Ruleset::Ruleset(AddressField field, scoped_ptr<Rule> rule) 40 rule_(rule.Pass()), 91 scoped_ptr<Rule> rule) { 93 assert(rule != NULL); 94 language_codes_[language_code] = rule.release(); 103 const Rule& Ruleset::GetLanguageCodeRule( 105 std::map<std::string, const Rule*>::const_iterator it 207 const Rule& rule = ruleset->GetLanguageCodeRule(language_code); local [all...] |
address_validator.cc | 41 #include "rule.h" 54 // A type to map the field in a rule to rulesets. 55 typedef std::map<Rule::IdentityField, Rulesets> IdentityFieldRulesets; 60 // A set of Rule::IdentityField values that match user input. 61 typedef std::bitset<Rule::IDENTITY_FIELDS_SIZE> MatchingRuleFields; 103 int GetInvalidFieldMessageId(const Rule& country_rule, AddressField field) { 241 Rule rule; local 242 rule.CopyFrom(Rule::GetDefault()) 280 const Rule& rule = ruleset->GetLanguageCodeRule(address.language_code); local 441 const Rule& rule = ruleset.GetLanguageCodeRule(user_input.language_code); local 508 const Rule& rule = local [all...] |
rule.h | 59 // Rule rule; 60 // if (rule.ParseSerializedRule("{\"fmt\": \"%A%n%C%S %Z\"}")) { 61 // Process(rule.GetFormat()); 63 class Rule { 65 // The types of fields that describe the rule. 73 Rule(); 74 ~Rule(); 76 // Returns the default rule at a country level. If a country does not specify 77 // address format, for example, then the format from this rule should be use [all...] |
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
rules_registry.cc | 33 const char kDuplicateRuleId[] = "Duplicate rule ID: %s"; 36 const std::vector<linked_ptr<extensions::RulesRegistry::Rule> >& rules) { 43 std::vector<linked_ptr<extensions::RulesRegistry::Rule> > RulesFromValue( 45 std::vector<linked_ptr<extensions::RulesRegistry::Rule> > rules; 56 linked_ptr<extensions::RulesRegistry::Rule> rule( 57 new extensions::RulesRegistry::Rule()); 58 if (extensions::RulesRegistry::Rule::Populate(*dict, rule.get())) 59 rules.push_back(rule); 335 Rule* rule = i->get(); local 350 Rule* rule = i->get(); local [all...] |
/external/chromium_org/net/proxy/ |
proxy_bypass_rules.h | 21 // Interface for an individual proxy bypass rule. 22 class NET_EXPORT Rule { 24 Rule(); 25 virtual ~Rule(); 27 // Returns true if |url| matches the rule. 30 // Returns a string representation of this rule. This is used both for 34 // Creates a copy of this rule. (Caller is responsible for deleting it) 35 virtual Rule* Clone() const = 0; 37 bool Equals(const Rule& rule) const [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
ondemand_supply_task.cc | 33 #include "rule.h" 40 std::map<std::string, const Rule*>* rules, 65 // When the final pending rule has been retrieved, the retrieved_ callback, 98 Rule* rule = new Rule; 100 // All rules on the COUNTRY level inherit from the default rule. 101 rule->CopyFrom(Rule::GetDefault()); 103 if (rule->ParseSerializedRule(data)) [all...] |
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...] |
preload_supplier.cc | 39 #include "rule.h" 67 class IndexMap : public std::map<std::string, const Rule*, IndexLess> {}; 80 std::vector<const Rule*>* rule_storage) 108 std::vector<const Rule*> sub_rules; 138 Rule* rule = new Rule; 140 // All rules on the COUNTRY level inherit from the default rule. 141 rule->CopyFrom(Rule::GetDefault()) 197 const Rule* rule = hierarchy.top(); variable [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);
|
/external/chromium_org/tools/memory_inspector/memory_inspector/classification/ |
rules.py | 8 is of to the concrete classifiers, which have to override the Rule class herein 16 - Order of siblings rules matter: what is caught by a rule will not be caught 19 catch-all child catches everything (within the parent rule scope) that is 24 The format of a rule dictionary is the following: 27 'name': 'Name of the rule', 33 'name': 'Name of the sub-rule 1' 40 And a typical resulting rule tree looks like this: 64 """Construct a rule tree from a python-style dict representation. 67 content: a string containing the dict (i.e. content of the rule file). 69 and returns a subclass of |Rule|. |filters_dict| is a dict of the key [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
tzrule.h | 12 * \brief C++ API: Time zone rule classes 26 * <code>TimeZoneRule</code> is a class representing a rule for time zone. 83 * @return The amount of daylight saving offset used by this rule 90 * Returns if this rule represents the same rule and offsets as another. 100 * Gets the very first time when this rule takes effect. 101 * @param prevRawOffset The standard time offset from UTC before this rule 105 * @param result Receives the very first time when this rule takes effect. 113 * Gets the final time when this rule takes effect. 114 * @param prevRawOffset The standard time offset from UTC before this rule [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
tzrule.h | 12 * \brief C++ API: Time zone rule classes 26 * <code>TimeZoneRule</code> is a class representing a rule for time zone. 83 * @return The amount of daylight saving offset used by this rule 90 * Returns if this rule represents the same rule and offsets as another. 100 * Gets the very first time when this rule takes effect. 101 * @param prevRawOffset The standard time offset from UTC before this rule 105 * @param result Receives the very first time when this rule takes effect. 113 * Gets the final time when this rule takes effect. 114 * @param prevRawOffset The standard time offset from UTC before this rule [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/ |
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/Source/devtools/front_end/sources/ |
StyleSheetOutlineDialog.js | 73 var rule = this._cssParser.rules()[itemIndex]; 74 return rule.selectorText || rule.atRule; 84 var rule = this._cssParser.rules()[itemIndex]; 85 return -rule.lineNumber; 96 var rule = this._cssParser.rules()[itemIndex]; 97 titleElement.textContent = rule.selectorText || rule.atRule; 99 subtitleElement.textContent = ":" + (rule.lineNumber + 1); 108 var rule = this._cssParser.rules()[itemIndex] [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/11/data/982983255/ |
artifacts.xml | 9 <rule filter='(& (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/> 10 <rule filter='(& (classifier=binary))' output='${repoUrl}/binary/${id}_${version}'/> 11 <rule filter='(& (classifier=org.eclipse.update.feature))' output='${repoUrl}/features/${id}_${version}.jar'/>
|
/external/srec/config/en.us/grammars/ |
lookup.grxml | 29 <rule id="ROOT" scope="public"> 36 </rule> 38 <rule id="LOOKUP"> 55 </rule> 57 <rule id="NAMES"> 96 </rule> 98 <rule id="PLACES"> 105 </rule> 107 <rule id="S"> 112 </rule> [all...] |
VoiceDialer.grxml | 5 <rule id="ROOT" scope="public"> 18 </rule> 20 <rule id="DIAL_NANP_3"> 26 </rule> 28 <rule id="DIAL_NANP_7"> 44 </rule> 46 <rule id="DIAL_NANP_10"> 75 </rule> 77 <rule id="DIGIT09"> 90 </rule> [all...] |
/external/svox/pico/tts/ |
Android.mk | 5 # to the rule below / except that it builds a shared 32 # Build Pico Shared Library. This rule is used by the 34 # using dlsym. This is essentially the same as the rule
|
/frameworks/minikin/libs/minikin/ |
GraphemeBreak.cpp | 32 // Rule GB1, sot /; Rule GB2, / eot 47 // Rule GB3, CR x LF 51 // Rule GB4, (Control | CR | LF) / 55 // Rule GB5, / (Control | CR | LF) 66 // Rule GB6, L x ( L | V | LV | LVT ) 70 // Rule GB7, ( LV | V ) x ( V | T ) 74 // Rule GB8, ( LVT | T ) x T 78 // Rule GB8a, Regional_Indicator x Regional_Indicator 82 // Rule GB9, x Extend; Rule GB9a, x SpacingMar [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/ |
chrome_rule_test.cc | 5 #include "third_party/libaddressinput/chromium/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/icu/icu4c/source/data/brkitr/ |
title.txt | 16 # safe-reverse rule. 20 # Normal exact forward rule: beginning at the start of a word 30 # Normal Rule, will work nearly universally, so long as there is a 35 # Short rule, will be effective only when moving to the start of text, 42 # Safe Reverse: the exact forward rule must not start in the middle 52 # Still, some rule is needed, so '.', a one character movement.
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
JarJarTask.java | 29 public void addConfiguredRule(Rule rule) { 30 if (rule.getPattern() == null || rule.getResult() == null) 31 throw new IllegalArgumentException("The <rule> element requires both \"pattern\" and \"result\" attributes."); 32 patterns.add(rule);
|
RulesFileParser.java | 55 if (type.equals("rule")) { 58 Rule rule = new Rule(); local 59 rule.setResult(parts[2]); 60 element = rule;
|
/external/jarjar/src/test/com/tonicsystems/jarjar/ |
PackageRemapperTest.java | 29 Rule rule = new Rule(); local 30 rule.setPattern("org.**"); 31 rule.setResult("foo.@1"); 32 remapper = new PackageRemapper(Collections.singletonList(rule), false);
|