/third_party/eudev/test/ |
H A D | udev-test.pl | 12 # udev parses the rules, looks at the provided sysfs and 28 my $udev_rules_dir = "$udev_run/udev/rules.d"; 29 my $udev_rules = "$udev_rules_dir/udev-test.rules"; 33 desc => "no rules", 37 rules => <<EOF 45 rules => <<EOF 54 rules => <<EOF 63 rules => <<EOF 72 rules => <<EOF 80 rules [all...] |
/third_party/eudev/src/udev/ |
H A D | udev-rules.c | 52 UDEV_CONF_DIR "/rules.d", 54 UDEV_ROOT_RUN "/udev/rules.d", 55 UDEV_LIBEXEC_DIR "/rules.d", 57 "/lib/udev/rules.d", 58 "/usr/lib/udev/rules.d", 67 /* every key in the rules file becomes a token */ 84 static char *rules_str(struct udev_rules *rules, unsigned int off) { in rules_str() argument 85 return rules->strbuf->buf + off; in rules_str() 88 static unsigned int rules_add_string(struct udev_rules *rules, const char *s) { in rules_add_string() argument 89 return strbuf_add_string(rules in rules_add_string() 222 struct udev_rules *rules; global() member 324 dump_token(struct udev_rules *rules, struct token *token) dump_token() argument 435 dump_rules(struct udev_rules *rules) dump_rules() argument 447 dump_token(struct udev_rules *rules, struct token *token) dump_token() argument 448 dump_rules(struct udev_rules *rules) dump_rules() argument 451 add_token(struct udev_rules *rules, struct token *token) add_token() argument 473 add_uid(struct udev_rules *rules, const char *owner) add_uid() argument 520 add_gid(struct udev_rules *rules, const char *group) add_gid() argument 1013 sort_token(struct udev_rules *rules, struct rule_tmp *rule_tmp) sort_token() argument 1047 add_rule(struct udev_rules *rules, char *line, const char *filename, unsigned int filename_off, unsigned int lineno) add_rule() argument 1599 parse_file(struct udev_rules *rules, const char *filename) parse_file() argument 1683 struct udev_rules *rules; udev_rules_new() local 1752 udev_rules_unref(struct udev_rules *rules) udev_rules_unref() argument 1763 udev_rules_check_timestamp(struct udev_rules *rules) udev_rules_check_timestamp() argument 1770 match_key(struct udev_rules *rules, struct token *token, const char *val) match_key() argument 1843 match_attr(struct udev_rules *rules, struct udev_device *dev, struct udev_event *event, struct token *cur) match_attr() argument 1897 udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, struct udev_list *properties_list, const sigset_t *sigmask) udev_rules_apply_to_event() argument 2626 udev_rules_apply_static_dev_perms(struct udev_rules *rules) udev_rules_apply_static_dev_perms() argument 2773 udev_rules_assigning_name_to(struct udev_rules *rules, const char *match_name) udev_rules_assigning_name_to() argument [all...] |
/third_party/gn/src/gn/ |
H A D | xcode_object.cc | 174 void PrintValue(std::ostream& out, IndentRules rules, unsigned value) { in PrintValue() argument 178 void PrintValue(std::ostream& out, IndentRules rules, const char* value) { in PrintValue() argument 183 IndentRules rules, in PrintValue() 188 void PrintValue(std::ostream& out, IndentRules rules, const NoReference& obj) { in PrintValue() argument 192 void PrintValue(std::ostream& out, IndentRules rules, const PBXObject* value) { in PrintValue() argument 198 IndentRules rules, in PrintValue() 200 PrintValue(out, rules, value.get()); in PrintValue() 205 IndentRules rules, in PrintValue() 207 IndentRules sub_rule{rules.one_line, rules in PrintValue() 182 PrintValue(std::ostream& out, IndentRules rules, const std::string& value) PrintValue() argument 197 PrintValue(std::ostream& out, IndentRules rules, const std::unique_ptr<ObjectClass>& value) PrintValue() argument 204 PrintValue(std::ostream& out, IndentRules rules, const std::vector<ValueType>& values) PrintValue() argument 223 PrintValue(std::ostream& out, IndentRules rules, const std::map<std::string, ValueType>& values) PrintValue() argument 243 PrintProperty(std::ostream& out, IndentRules rules, const char* name, ValueType&& value) PrintProperty() argument 448 const IndentRules rules = {false, indent + 1}; Print() local 480 const IndentRules rules = {true, 0}; Print() local 504 const IndentRules rules = {false, indent + 1}; Print() local 537 const IndentRules rules = {true, 0}; Print() local 577 const IndentRules rules = {false, indent + 1}; Print() local 668 const IndentRules rules = {false, indent + 1}; Print() local 760 const IndentRules rules = {false, indent + 1}; Print() local 929 const IndentRules rules = {false, indent + 1}; Print() local 963 const IndentRules rules = {false, indent + 1}; Print() local 992 const IndentRules rules = {false, indent + 1}; Print() local 1024 const IndentRules rules = {false, indent + 1}; Print() local 1060 const IndentRules rules = {false, indent + 1}; Print() local 1086 const IndentRules rules = {false, indent + 1}; Print() local 1138 const IndentRules rules = {false, indent + 1}; Print() local [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationRuleParser.java | 131 rules = ruleString; in parse() 134 while(ruleIndex < rules.length()) { in parse() 135 char c = rules.charAt(ruleIndex); in parse() 172 if(ruleIndex < rules.length() && rules.charAt(ruleIndex) == 0x23) { in parseRuleChain() 212 if(rules.regionMatches(i, BEFORE, 0, BEFORE.length()) && in parseResetAndPosition() 213 (j = i + BEFORE.length()) < rules.length() && in parseResetAndPosition() 214 PatternProps.isWhiteSpace(rules.charAt(j)) && in parseResetAndPosition() 215 ((j = skipWhiteSpace(j + 1)) + 1) < rules.length() && in parseResetAndPosition() 216 0x31 <= (c = rules in parseResetAndPosition() 908 private String rules; global() field in CollationRuleParser [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationRuleParser.java | 135 rules = ruleString; in parse() 138 while(ruleIndex < rules.length()) { in parse() 139 char c = rules.charAt(ruleIndex); in parse() 176 if(ruleIndex < rules.length() && rules.charAt(ruleIndex) == 0x23) { in parseRuleChain() 216 if(rules.regionMatches(i, BEFORE, 0, BEFORE.length()) && in parseResetAndPosition() 217 (j = i + BEFORE.length()) < rules.length() && in parseResetAndPosition() 218 PatternProps.isWhiteSpace(rules.charAt(j)) && in parseResetAndPosition() 219 ((j = skipWhiteSpace(j + 1)) + 1) < rules.length() && in parseResetAndPosition() 220 0x31 <= (c = rules in parseResetAndPosition() 912 private String rules; global() field in CollationRuleParser [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | collationruleparser.cpp | 61 rules(NULL), baseData(base), settings(NULL), in CollationRuleParser() 91 rules = &ruleString; in parse() 94 while(ruleIndex < rules->length()) { in parse() 95 UChar c = rules->charAt(ruleIndex); in parse() 136 if(ruleIndex < rules->length() && rules->charAt(ruleIndex) == 0x23) { in parseRuleChain() 179 if(rules->compare(i, BEFORE_LENGTH, BEFORE, 0, BEFORE_LENGTH) == 0 && in parseResetAndPosition() 180 (j = i + BEFORE_LENGTH) < rules->length() && in parseResetAndPosition() 181 PatternProps::isWhiteSpace(rules->charAt(j)) && in parseResetAndPosition() 182 ((j = skipWhiteSpace(j + 1)) + 1) < rules in parseResetAndPosition() [all...] |
H A D | number_longnames.h | 39 forCurrencyLongNames(const Locale &loc, const CurrencyUnit ¤cy, const PluralRules *rules, 56 * @param rules Does not take ownership. 64 const PluralRules *rules, 82 const PluralRules *rules; member in number::impl::LongNameHandler 89 LongNameHandler(const PluralRules *rules, const MicroPropsGenerator *parent) in LongNameHandler() argument 90 : rules(rules), parent(parent) { in LongNameHandler() 93 LongNameHandler() : rules(nullptr), parent(nullptr) { in LongNameHandler() 152 * @param rules Does not take ownership. 160 const PluralRules *rules, 180 const PluralRules *rules; global() member in number::impl::MixedUnitLongNameHandler 201 MixedUnitLongNameHandler(const PluralRules *rules, const MicroPropsGenerator *parent) MixedUnitLongNameHandler() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationruleparser.cpp | 63 rules(nullptr), baseData(base), settings(nullptr), in CollationRuleParser() 93 rules = &ruleString; in parse() 96 while(ruleIndex < rules->length()) { in parse() 97 char16_t c = rules->charAt(ruleIndex); in parse() 138 if(ruleIndex < rules->length() && rules->charAt(ruleIndex) == 0x23) { in parseRuleChain() 181 if(rules->compare(i, BEFORE_LENGTH, BEFORE, 0, BEFORE_LENGTH) == 0 && in parseResetAndPosition() 182 (j = i + BEFORE_LENGTH) < rules->length() && in parseResetAndPosition() 183 PatternProps::isWhiteSpace(rules->charAt(j)) && in parseResetAndPosition() 184 ((j = skipWhiteSpace(j + 1)) + 1) < rules in parseResetAndPosition() [all...] |
H A D | number_longnames.h | 39 forCurrencyLongNames(const Locale &loc, const CurrencyUnit ¤cy, const PluralRules *rules, 56 * @param rules Does not take ownership. 64 const PluralRules *rules, 82 const PluralRules *rules; member in number::impl::LongNameHandler 89 LongNameHandler(const PluralRules *rules, const MicroPropsGenerator *parent) in LongNameHandler() argument 90 : rules(rules), parent(parent) { in LongNameHandler() 93 LongNameHandler() : rules(nullptr), parent(nullptr) { in LongNameHandler() 152 * @param rules Does not take ownership. 160 const PluralRules *rules, 180 const PluralRules *rules; global() member in number::impl::MixedUnitLongNameHandler 201 MixedUnitLongNameHandler(const PluralRules *rules, const MicroPropsGenerator *parent) MixedUnitLongNameHandler() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | collationruleparser.cpp | 61 rules(NULL), baseData(base), settings(NULL), in CollationRuleParser() 91 rules = &ruleString; in parse() 94 while(ruleIndex < rules->length()) { in parse() 95 UChar c = rules->charAt(ruleIndex); in parse() 136 if(ruleIndex < rules->length() && rules->charAt(ruleIndex) == 0x23) { in parseRuleChain() 179 if(rules->compare(i, BEFORE_LENGTH, BEFORE, 0, BEFORE_LENGTH) == 0 && in parseResetAndPosition() 180 (j = i + BEFORE_LENGTH) < rules->length() && in parseResetAndPosition() 181 PatternProps::isWhiteSpace(rules->charAt(j)) && in parseResetAndPosition() 182 ((j = skipWhiteSpace(j + 1)) + 1) < rules in parseResetAndPosition() [all...] |
H A D | number_longnames.h | 39 forCurrencyLongNames(const Locale &loc, const CurrencyUnit ¤cy, const PluralRules *rules, 56 * @param rules Does not take ownership. 64 const PluralRules *rules, 82 const PluralRules *rules; member in number::impl::LongNameHandler 89 LongNameHandler(const PluralRules *rules, const MicroPropsGenerator *parent) in LongNameHandler() argument 90 : rules(rules), parent(parent) { in LongNameHandler() 93 LongNameHandler() : rules(nullptr), parent(nullptr) { in LongNameHandler() 152 * @param rules Does not take ownership. 160 const PluralRules *rules, 180 const PluralRules *rules; global() member in number::impl::MixedUnitLongNameHandler 201 MixedUnitLongNameHandler(const PluralRules *rules, const MicroPropsGenerator *parent) MixedUnitLongNameHandler() argument [all...] |
/third_party/python/Lib/test/test_peg_generator/ |
H A D | test_pegen.py | 35 rules = grammar.rules 37 # Check the str() and repr() of a few rules; AST nodes don't support ==. 38 self.assertEqual(str(rules["start"]), "start: sum NEWLINE") 39 self.assertEqual(str(rules["sum"]), "sum: term '+' term | term") 43 self.assertEqual(repr(rules["term"]), expected_repr) 61 self.assertEqual(str(grammar.rules["start"]), textwrap.dedent(expected).strip()) 69 rules = parse_string(grammar, GrammarParser).rules 70 # Check the str() and repr() of a few rules; AS [all...] |
/third_party/python/Tools/peg_generator/pegen/ |
H A D | parser_generator.py | 46 def __init__(self, rules: Dict[str, Rule], callmakervisitor: GrammarVisitor) -> None: 47 self.rulses = rules 75 def __init__(self, rules: Dict[str, Rule], tokens: Set[str]): 76 self.rules = rules 80 if node.value not in self.rules and node.value not in self.tokens: 98 self.rules = grammar.rules 100 if "trailer" not in grammar.metas and "start" not in self.rules: 102 checker = RuleCheckingVisitor(self.rules, sel [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 96 PluralRules rules = factory.forLocale(locale); in testOverUnderflow() 98 assertEquals(locale + " NaN", "other", rules.select(Double.NaN)); in testOverUnderflow() 99 assertEquals(locale + " ∞", "other", rules.select(Double.POSITIVE_INFINITY)); in testOverUnderflow() 100 assertEquals(locale + " -∞", "other", rules.select(Double.NEGATIVE_INFINITY)); in testOverUnderflow() 163 String rules = (String) shouldFailTest[0]; in testSyntaxRestrictions() 167 PluralRules.parseDescription(rules); in testSyntaxRestrictions() 171 assertEquals("Exception " + rules, exception, actualException); in testSyntaxRestrictions() 194 public void checkOldSamples(String description, PluralRules rules, String keyword, SampleType sampleType, in checkOldSamples() argument 196 Collection<Double> oldSamples = rules.getSamples(keyword, sampleType); in checkOldSamples() 199 rules in checkOldSamples() 260 checkTargets(PluralRules rules, String[] targets) checkTargets() argument 386 checkCategoriesAndExpected(String title1, String categoriesAndExpected, PluralRules rules) checkCategoriesAndExpected() argument 403 checkValue(String title1, PluralRules rules, String expected, String value) checkValue() argument 721 getAssertMessage(String message, ULocale locale, PluralRules rules, String keyword) getAssertMessage() argument 987 getPluralKeyword(PluralRules rules, ULocale locale, double number, String skeleton) getPluralKeyword() argument [all...] |
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | resource.c | 92 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_setrlimit() local 93 typeof(*rules), list); in profile_setrlimit() 96 if (rules->rlimits.mask & (1 << resource) && new_rlim->rlim_max > in profile_setrlimit() 97 rules->rlimits.limits[resource].rlim_max) in profile_setrlimit() 128 * profiles. AppArmor rules currently have the implicit assumption in aa_task_setrlimit() 168 struct aa_ruleset *rules = list_first_entry(&old->rules, in __aa_transition_rlimits() local 169 typeof(*rules), in __aa_transition_rlimits() 171 if (rules in __aa_transition_rlimits() 188 struct aa_ruleset *rules = list_first_entry(&new->rules, __aa_transition_rlimits() local [all...] |
H A D | policy_unpack.c | 565 static bool unpack_secmark(struct aa_ext *e, struct aa_ruleset *rules) in unpack_secmark() argument 575 rules->secmark = kcalloc(size, sizeof(struct aa_secmark), in unpack_secmark() 577 if (!rules->secmark) in unpack_secmark() 580 rules->secmark_count = size; in unpack_secmark() 583 if (!unpack_u8(e, &rules->secmark[i].audit, NULL)) in unpack_secmark() 585 if (!unpack_u8(e, &rules->secmark[i].deny, NULL)) in unpack_secmark() 587 if (!aa_unpack_strdup(e, &rules->secmark[i].label, NULL)) in unpack_secmark() 599 if (rules->secmark) { in unpack_secmark() 601 kfree(rules->secmark[i].label); in unpack_secmark() 602 kfree(rules in unpack_secmark() 611 unpack_rlimits(struct aa_ext *e, struct aa_ruleset *rules) unpack_rlimits() argument 804 struct aa_ruleset *rules; unpack_profile() local 1244 struct aa_ruleset *rules = list_first_entry(&profile->rules, verify_profile() local [all...] |
H A D | net.c | 113 struct aa_ruleset *rules = list_first_entry(&profile->rules, in aa_profile_af_perm() local 114 typeof(*rules), list); in aa_profile_af_perm() 124 state = RULE_MEDIATES(rules, AA_CLASS_NET); in aa_profile_af_perm() 130 state = aa_dfa_match_len(rules->policy.dfa, state, (char *) &buffer, in aa_profile_af_perm() 132 perms = *aa_lookup_perms(&rules->policy, state); in aa_profile_af_perm() 226 struct aa_ruleset *rules = list_first_entry(&profile->rules, in aa_secmark_perm() local 227 typeof(*rules), list); in aa_secmark_perm() 229 if (rules in aa_secmark_perm() [all...] |
H A D | capability.c | 67 struct aa_ruleset *rules = list_first_entry(&profile->rules, in audit_caps() local 68 typeof(*rules), list); in audit_caps() 77 !cap_raised(rules->caps.audit, cap))) in audit_caps() 81 cap_raised(rules->caps.kill, cap)) { in audit_caps() 83 } else if (cap_raised(rules->caps.quiet, cap) && in audit_caps() 119 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_capable() local 120 typeof(*rules), list); in profile_capable() 123 if (cap_raised(rules in profile_capable() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 103 PluralRules rules = factory.forLocale(locale); in testOverUnderflow() 105 assertEquals(locale + " NaN", "other", rules.select(Double.NaN)); in testOverUnderflow() 106 assertEquals(locale + " ∞", "other", rules.select(Double.POSITIVE_INFINITY)); in testOverUnderflow() 107 assertEquals(locale + " -∞", "other", rules.select(Double.NEGATIVE_INFINITY)); in testOverUnderflow() 170 String rules = (String) shouldFailTest[0]; in testSyntaxRestrictions() 174 PluralRules.parseDescription(rules); in testSyntaxRestrictions() 178 assertEquals("Exception " + rules, exception, actualException); in testSyntaxRestrictions() 276 public void checkOldSamples(String description, PluralRules rules, String keyword, SampleType sampleType, in checkOldSamples() argument 278 Collection<DecimalQuantity> oldSamples = rules.getDecimalQuantitySamples(keyword, sampleType); in checkOldSamples() 287 rules in checkOldSamples() 360 checkTargets(PluralRules rules, String[] targets) checkTargets() argument 495 checkCategoriesAndExpected(String title1, String categoriesAndExpected, PluralRules rules) checkCategoriesAndExpected() argument 512 checkValue(String title1, PluralRules rules, String expected, String value) checkValue() argument 1007 getAssertMessage(String message, ULocale locale, PluralRules rules, String keyword) getAssertMessage() argument 1347 getPluralKeyword(PluralRules rules, ULocale locale, double number, String skeleton) getPluralKeyword() argument [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglChooseConfigReference.cpp | 287 std::map<EGLenum, AttribRule> rules; in getDefaultRules() local 290 rules[EGL_BUFFER_SIZE] = AttribRule(EGL_BUFFER_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SMALLER); // 4 in getDefaultRules() 291 rules[EGL_RED_SIZE] = AttribRule(EGL_RED_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SPECIAL); // 3 in getDefaultRules() 292 rules[EGL_GREEN_SIZE] = AttribRule(EGL_GREEN_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SPECIAL); // 3 in getDefaultRules() 293 rules[EGL_BLUE_SIZE] = AttribRule(EGL_BLUE_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SPECIAL); // 3 in getDefaultRules() 294 rules[EGL_LUMINANCE_SIZE] = AttribRule(EGL_LUMINANCE_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SPECIAL); // 3 in getDefaultRules() 295 rules[EGL_ALPHA_SIZE] = AttribRule(EGL_ALPHA_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SPECIAL); // 3 in getDefaultRules() 296 rules[EGL_ALPHA_MASK_SIZE] = AttribRule(EGL_ALPHA_MASK_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SMALLER); // 9 in getDefaultRules() 297 rules[EGL_BIND_TO_TEXTURE_RGB] = AttribRule(EGL_BIND_TO_TEXTURE_RGB, EGL_DONT_CARE, CRITERIA_EXACT, SORTORDER_NONE); in getDefaultRules() 298 rules[EGL_BIND_TO_TEXTURE_RGB in getDefaultRules() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | NFRuleSet.java | 20 * A collection of rules used by a RuleBasedNumberFormat to format and 23 * control to it, and to arbitrate between different rules when parsing 38 * The rule set's regular rules 40 private NFRule[] rules; field in NFRuleSet 43 * The rule set's non-numerical rules like negative, fractions, infinity and NaN 48 * These are a pile of fraction rules in declared order. They may have alternate 155 * the description and build rules from it. Since any rule set 162 // the number of rules-- some descriptions may expend into two rules) in parseRules() 169 // Iterate through the rules in parseRules() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | NFRuleSet.java | 21 * A collection of rules used by a RuleBasedNumberFormat to format and 24 * control to it, and to arbitrate between different rules when parsing 39 * The rule set's regular rules 41 private NFRule[] rules; field in NFRuleSet 44 * The rule set's non-numerical rules like negative, fractions, infinity and NaN 49 * These are a pile of fraction rules in declared order. They may have alternate 156 * the description and build rules from it. Since any rule set 163 // the number of rules-- some descriptions may expend into two rules) in parseRules() 170 // Iterate through the rules in parseRules() [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cg7coll.c | 117 /* new table collation with rules "& Z < p, P" loop to FIXEDTESTSET */ 119 /* new table collation with rules "& C < ch , cH, Ch, CH " loop to TOTALTESTSET */ 121 /* new table collation with rules "& Question-mark ; ? & Hash-mark ; # & Ampersand ; '&' " loop to TOTALTESTSET */ 123 /* analogous to Japanese rules " & aa ; a- & ee ; e- & ii ; i- & oo ; o- & uu ; u- " */ /* loop to TOTALTESTSET */ 202 static const char rules[] = "& Z < p, P"; in TestDemo1() local 203 int32_t len=(int32_t)strlen(rules); in TestDemo1() 204 UChar temp[sizeof(rules)]; in TestDemo1() 206 u_uastrcpy(temp, rules); in TestDemo1() 208 log_verbose("Demo Test 1 : Create a new table collation with rules \" & Z < p, P \" \n"); in TestDemo1() 233 static const char rules[] in TestDemo2() local 262 static const char rules[] = "& Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'"; TestDemo3() local 292 static const char rules[] = " & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' "; TestDemo4() local [all...] |
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | statusfile_test.py | 92 rules, prefix_rules = statusfile.ReadStatusFile( 100 rules[''], 108 self.assertEquals({}, rules['default']) 112 rules, prefix_rules = statusfile.ReadStatusFile( 120 rules[''], 128 self.assertEquals({}, rules['default']) 132 rules, prefix_rules = statusfile.ReadStatusFile( 142 rules[''], 154 rules['default'],
|
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
H A D | TransliterationRuleSet.java | 17 * A set of rules for a <code>RuleBasedTransliterator</code>. This set encodes 32 * Vector of rules, in the order added. 42 * Sorted and indexed table of rules. This is created by freeze() from 43 * the rules in ruleVector. rules.length >= ruleVector.size(), and the 44 * references in rules[] are aliases of the references in ruleVector. 45 * A single rule in ruleVector is listed one or more times in rules[]. 47 private TransliterationRule[] rules; field in TransliterationRuleSet 51 * Now use rules[index[x]..index[x+1]-1]. This index table is created by 84 rules in addRule() [all...] |