Home
last modified time | relevance | path

Searched refs:rules (Results 251 - 275 of 799) sorted by relevance

1...<<11121314151617181920>>...32

/third_party/skia/third_party/externals/icu/source/samples/strsrch/
H A Dstrsrch.cpp20 "-rules rule Collation rules file (overrides locale)\n"
32 "Example strsrch -rules \\u0026b\\u003ca -source a\\u0020b\\u0020bc -pattern b\n"
33 "The format \\uXXXX is supported for the rules and comparison strings\n"
66 UChar rules[100]; variable
81 {"-rules", OptSpec::STRING, &opt_rules},
159 u_unescape(opt_rules, rules, 100); in processCollator()
160 collator = ucol_openRules(rules, -1, UCOL_OFF, UCOL_TERTIARY, in processCollator()
/third_party/skia/third_party/externals/freetype/builds/
H A Dfreetype.mk54 # `src/base/rules.mk'.
57 # `src/base/rules.mk'.
62 # `src/<driver>/rules.mk'.
76 # Makefile after all other rules have been included.
160 # Include the `exports' rules file.
174 # This is used to simplify the dependency rules -- if one of these files
221 include $(SRC_DIR)/base/rules.mk
222 include $(patsubst %,$(SRC_DIR)/%/rules.mk,$(MODULES))
223 include $(SRC_DIR)/dlg/rules.mk
335 # Standard cleaning and distclean rules
[all...]
/third_party/skia/buildtools/checkdeps/
H A Dcheckdeps.py8 Checks DEPS files in the source tree for rules, and applies those rules to
28 from rules import Rule, Rules
58 ignore_temp_rules: Ignore rules that start with Rule.TEMP_ALLOW ("!").
78 its subdirectories for compliance with DEPS rules throughout the
94 for rules, file_paths in self.GetAllRulesAndFiles(start_dir):
102 file_status = checker.CheckFile(rules, full_name)
221 '', '--ignore-temp-rules',
223 help='Ignore !-prefixed (temporary) rules.')
225 '', '--generate-temp-rules',
[all...]
/third_party/icu/icu4c/source/tools/tzcode/
H A Dzic.c288 static struct rule * rules; variable
289 static int nrules; /* number of rules */
313 /* Indices into rules[] for final rules. They will occur in pairs,
316 * index into finalRules[]. FinalRules[] are aliases into rules[]. */
884 ** Associate sets of rules with zones.
907 (void) qsort(rules, nrules, sizeof *rules, rcomp); in associate()
909 if (strcmp(rules[i].r_name, in associate()
910 rules[ in associate()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dzic.c287 static struct rule * rules; variable
288 static int nrules; /* number of rules */
312 /* Indices into rules[] for final rules. They will occur in pairs,
315 * index into finalRules[]. FinalRules[] are aliases into rules[]. */
883 ** Associate sets of rules with zones.
906 (void) qsort(rules, nrules, sizeof *rules, rcomp); in associate()
908 if (strcmp(rules[i].r_name, in associate()
909 rules[ in associate()
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dusrchtst.c58 UChar rules[1024]; in open() local
71 u_strcpy(rules, ucol_getRules(DE_, &rulelength)); in open()
72 u_unescape(EXTRACOLLATIONRULE, rules + rulelength, 1024 - rulelength); in open()
76 DE_ = ucol_openRules(rules, u_strlen(rules), UCOL_ON, UCOL_TERTIARY, in open()
78 u_strcpy(rules, ucol_getRules(ES_, &rulelength)); in open()
79 u_unescape(EXTRACOLLATIONRULE, rules + rulelength, 1024 - rulelength); in open()
82 ES_ = ucol_openRules(rules, u_strlen(rules), UCOL_ON, UCOL_TERTIARY, in open()
940 UChar rules[3 in TestCollator() local
1665 UChar rules[128]; TestContraction() local
1708 UChar rules[128]; TestIgnorable() local
2043 UChar rules[32]; TestCollatorCanonical() local
2393 UChar rules[128]; TestContractionCanonical() local
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dsrchtest.cpp69 UnicodeString rules; in StringSearchTest() local
70 rules.setTo(((RuleBasedCollator *)m_de_)->getRules()); in StringSearchTest()
73 rules.append(extrarules, u_strlen(extrarules)); in StringSearchTest()
76 m_de_ = new RuleBasedCollator(rules, status); in StringSearchTest()
78 rules.setTo(((RuleBasedCollator *)m_es_)->getRules()); in StringSearchTest()
79 rules.append(extrarules, u_strlen(extrarules)); in StringSearchTest()
83 m_es_ = new RuleBasedCollator(rules, status); in StringSearchTest()
1072 UnicodeString rules; in TestCollator() local
1073 rules.setTo(temp, u_strlen(temp)); in TestCollator()
1074 RuleBasedCollator *tailored = new RuleBasedCollator(rules, statu in TestCollator()
1602 UnicodeString rules; TestContraction() local
1638 UnicodeString rules; TestIgnorable() local
1926 UnicodeString rules; TestCollatorCanonical() local
2205 UnicodeString rules; TestContractionCanonical() local
[all...]
H A Dtranstst.h240 /* Devanagari-Latin rules Test */
243 /* Telugu-Latin rules Test */
246 /* Gujarati-Latin rules Test */
249 /* Sanskrit-Latin rules Test */
381 void expect(const UnicodeString& rules,
387 const UnicodeString& rules,
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dvtzone.cpp552 // No more rules in createRuleByRRULE()
596 // Parse the rest of rules if number of rules is not exceeding 7. in createRuleByRRULE()
1422 UVector *rules = nullptr; // list of TimeZoneRule instances in parse() local
1427 rules = new UVector(status); in parse()
1428 if (rules == nullptr) { in parse()
1435 rules->setDeleter(deleteTimeZoneRule); in parse()
1629 rules->addElement(rule, status); in parse()
1639 if (rules->size() == 0) { in parse()
1659 for (n = 0; n < rules in parse()
[all...]
H A Dutrans.cpp138 const UChar *rules, in utrans_openU()
157 if(rules==NULL){ in utrans_openU()
169 rules, in utrans_openU()
185 const UChar* rules, /* may be Null */
191 rules, rulesLength,
135 utrans_openU(const UChar *id, int32_t idLength, UTransDirection dir, const UChar *rules, int32_t rulesLength, UParseError *parseError, UErrorCode *status) utrans_openU() argument
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c12 list_for_each_entry(rule, &priv->flow_block.rules, list) in sja1105_rule_find()
93 list_add(&rule->list, &priv->flow_block.rules); in sja1105_setup_bcast_policer()
165 list_add(&rule->list, &priv->flow_block.rules); in sja1105_setup_tc_policer()
482 INIT_LIST_HEAD(&priv->flow_block.rules); in sja1105_flower_setup()
494 list_for_each_safe(pos, n, &priv->flow_block.rules) { in sja1105_flower_teardown()
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c12 list_for_each_entry(rule, &priv->flow_block.rules, list) in sja1105_rule_find()
94 list_add(&rule->list, &priv->flow_block.rules); in sja1105_setup_bcast_policer()
166 list_add(&rule->list, &priv->flow_block.rules); in sja1105_setup_tc_policer()
525 INIT_LIST_HEAD(&priv->flow_block.rules); in sja1105_flower_setup()
537 list_for_each_safe(pos, n, &priv->flow_block.rules) { in sja1105_flower_teardown()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DNumberPropertyMapper.java96 PluralRules rules = properties.getPluralRules(); in oldToNew()
97 if (rules == null && properties.getCurrencyPluralInfo() != null) { in oldToNew()
98 rules = properties.getCurrencyPluralInfo().getPluralRules(); in oldToNew()
100 macros.rules = rules; in oldToNew()
241 // The mapping from property bag to scientific notation is nontrivial due to LDML rules. in oldToNew()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
H A DRBBITestExtended.java122 StringBuilder rules = new StringBuilder(); // Holds rules from a <rules> ... </rules> block in TestExtended()
123 int rulesFirstLine = 0; // Line number of the start of current <rules> block in TestExtended()
183 if (testString.startsWith("<rules>", charIdx-1) || in TestExtended()
187 rules.setLength(0); in TestExtended()
221 if (testString.startsWith("</rules>", charIdx-1)) { in TestExtended()
225 tp.bi = new RuleBasedBreakIterator(rules.toString()); in TestExtended()
227 errln(String.format("rbbitst.txt:%d Error creating break iterator from rules in TestExtended()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DPluralFormatUnitTest.java109 // Create rules for testing. in TestApplyPatternAndFormat()
228 PluralRules rules = PluralRules.forLocale(locale0); in TestSamples()
231 logln(localeName + "\ttoString\t" + rules.toString()); in TestSamples()
232 Set<String> keywords = rules.getKeywords(); in TestSamples()
234 Collection<Double> list = rules.getSamples(keyword); in TestSamples()
237 list = rules.getSamples(keyword, SampleType.DECIMAL); in TestSamples()
251 // Create rules for testing. in TestSetLocale()
264 // Check that rules got updated. in TestSetLocale()
266 assertEquals("SetLocale should reset rules but did not.", "even", plFmt.format(1)); in TestSetLocale()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DPluralFormatUnitTest.java107 // Create rules for testing. in TestApplyPatternAndFormat()
226 PluralRules rules = PluralRules.forLocale(locale0); in TestSamples()
229 logln(localeName + "\ttoString\t" + rules.toString()); in TestSamples()
230 Set<String> keywords = rules.getKeywords(); in TestSamples()
232 Collection<DecimalQuantity> list = rules.getDecimalQuantitySamples(keyword); in TestSamples()
235 list = rules.getDecimalQuantitySamples(keyword, SampleType.DECIMAL); in TestSamples()
249 // Create rules for testing. in TestSetLocale()
262 // Check that rules got updated. in TestSetLocale()
264 assertEquals("SetLocale should reset rules but did not.", "even", plFmt.format(1)); in TestSetLocale()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
H A DNumberPropertyMapper.java97 PluralRules rules = properties.getPluralRules(); in oldToNew()
98 if (rules == null && properties.getCurrencyPluralInfo() != null) { in oldToNew()
99 rules = properties.getCurrencyPluralInfo().getPluralRules(); in oldToNew()
101 macros.rules = rules; in oldToNew()
239 // The mapping from property bag to scientific notation is nontrivial due to LDML rules. in oldToNew()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
H A DRBBITestExtended.java123 StringBuilder rules = new StringBuilder(); // Holds rules from a <rules> ... </rules> block in TestExtended()
124 int rulesFirstLine = 0; // Line number of the start of current <rules> block in TestExtended()
184 if (testString.startsWith("<rules>", charIdx-1) || in TestExtended()
188 rules.setLength(0); in TestExtended()
222 if (testString.startsWith("</rules>", charIdx-1)) { in TestExtended()
226 tp.bi = new RuleBasedBreakIterator(rules.toString()); in TestExtended()
228 errln(String.format("rbbitst.txt:%d Error creating break iterator from rules in TestExtended()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dutrans.cpp138 const char16_t *rules, in utrans_openU()
157 if(rules==nullptr){ in utrans_openU()
169 rules, in utrans_openU()
185 const char16_t* rules, /* may be Null */
191 rules, rulesLength,
135 utrans_openU(const char16_t *id, int32_t idLength, UTransDirection dir, const char16_t *rules, int32_t rulesLength, UParseError *parseError, UErrorCode *status) utrans_openU() argument
/third_party/icu/icu4c/source/i18n/
H A Dutrans.cpp138 const UChar *rules, in utrans_openU()
157 if(rules==NULL){ in utrans_openU()
169 rules, in utrans_openU()
185 const UChar* rules, /* may be Null */
191 rules, rulesLength,
135 utrans_openU(const UChar *id, int32_t idLength, UTransDirection dir, const UChar *rules, int32_t rulesLength, UParseError *parseError, UErrorCode *status) utrans_openU() argument
H A Dcollationruleparser.h100 UnicodeString &rules,
182 const UnicodeString *rules; member in CollationRuleParser
/third_party/icu/icu4c/source/i18n/unicode/
H A Dutrans.h55 * or even a complete set of rules because then the ID string contains more
77 * e.g., the forward or reverse rules of a RuleBasedTransliterator.
88 * opened using a rule, it means forward direction rules, e.g.,
96 * opened using a rule, it means reverse direction rules, e.g.,
172 * Open a custom transliterator, given a custom rules string
181 * @param rules the transliterator rules. See the C++ header rbt.h for
182 * rules syntax. If NULL then a system transliterator matching
184 * @param rulesLength the length of the rules, or -1 if the rules
[all...]
/third_party/icu/icu4c/source/common/
H A Drbbirb.h111 // Create a rule based break iterator from a set of rules.
115 static BreakIterator * createRuleBasedBreakIterator( const UnicodeString &rules,
124 RBBIRuleBuilder(const UnicodeString &rules,
132 * Build the state tables and char class Trie from the source rules.
156 RBBINode **fDefaultTree; // For rules not qualified with a !
159 UBool fChainRules; // True for chained Unicode TR style rules.
160 // False for traditional regexp rules.
162 UBool fLBCMNoChain; // True: suppress chaining of rules on
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/
H A DExceptionHandler.java61 String rules = "This is a very odd little set of rules, just for testing, you know..."; in getTestObjects()
65 exceptions[i] = new StringPrepParseException(locales[i].toString(), i, rules, i); in getTestObjects()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
H A DExceptionHandler.java60 String rules = "This is a very odd little set of rules, just for testing, you know..."; in getTestObjects()
64 exceptions[i] = new StringPrepParseException(locales[i].toString(), i, rules, i); in getTestObjects()

Completed in 25 milliseconds

1...<<11121314151617181920>>...32