Home
last modified time | relevance | path

Searched refs:ruleIndex (Results 1 – 25 of 29) sorted by relevance

12

/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationRuleParser.java132 ruleIndex = 0; in parse()
134 while(ruleIndex < rules.length()) { in parse()
135 char c = rules.charAt(ruleIndex); in parse()
137 ++ruleIndex; in parse()
148 ruleIndex = skipComment(ruleIndex + 1); in parse()
152 ++ruleIndex; in parse()
157 ++ruleIndex; in parse()
172 if(ruleIndex < rules.length() && rules.charAt(ruleIndex) == 0x23) { in parseRuleChain()
174 ruleIndex = skipComment(ruleIndex + 1); in parseRuleChain()
197 int i = ruleIndex + (result >> OFFSET_SHIFT); // skip over the relation operator in parseRuleChain()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationRuleParser.java136 ruleIndex = 0; in parse()
138 while(ruleIndex < rules.length()) { in parse()
139 char c = rules.charAt(ruleIndex); in parse()
141 ++ruleIndex; in parse()
152 ruleIndex = skipComment(ruleIndex + 1); in parse()
156 ++ruleIndex; in parse()
161 ++ruleIndex; in parse()
176 if(ruleIndex < rules.length() && rules.charAt(ruleIndex) == 0x23) { in parseRuleChain()
178 ruleIndex = skipComment(ruleIndex + 1); in parseRuleChain()
201 int i = ruleIndex + (result >> OFFSET_SHIFT); // skip over the relation operator in parseRuleChain()
[all …]
/third_party/icu/icu4c/source/i18n/
Dcollationruleparser.cpp64 ruleIndex(0) { in CollationRuleParser()
92 ruleIndex = 0; in parse()
94 while(ruleIndex < rules->length()) { in parse()
95 UChar c = rules->charAt(ruleIndex); in parse()
97 ++ruleIndex; in parse()
108 ruleIndex = skipComment(ruleIndex + 1); in parse()
113 ++ruleIndex; in parse()
118 ++ruleIndex; in parse()
136 if(ruleIndex < rules->length() && rules->charAt(ruleIndex) == 0x23) { in parseRuleChain()
138 ruleIndex = skipComment(ruleIndex + 1); in parseRuleChain()
[all …]
Dplurrule.cpp593 U_ASSERT(ruleIndex == 0); // Parsers are good for a single use only! in parse()
596 while (ruleIndex< ruleSrc->length()) { in parse()
1231 ruleIndex(0), token(), type(none), prevType(none), in PluralRuleParser()
1372 while (ruleIndex < ruleSrc->length()) { in getNextToken()
1373 ch = ruleSrc->charAt(ruleIndex); in getNextToken()
1378 ++(ruleIndex); in getNextToken()
1380 if (ruleIndex >= ruleSrc->length()) { in getNextToken()
1384 int32_t curIndex= ruleIndex; in getNextToken()
1445 U_ASSERT(ruleIndex <= ruleSrc->length()); in getNextToken()
1447 token=UnicodeString(*ruleSrc, ruleIndex, curIndex-ruleIndex); in getNextToken()
[all …]
Dcollationruleparser.h191 int32_t ruleIndex; variable
Drbnf.cpp109 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const = 0;
278 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const;
676 StringLocalizationInfo::getDisplayName(int32_t localeIndex, int32_t ruleIndex) const { in getDisplayName()
678 ruleIndex >= 0 && ruleIndex < getNumberOfRuleSets()) { in getDisplayName()
679 return data[localeIndex+1][ruleIndex+1]; in getDisplayName()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationruleparser.cpp64 ruleIndex(0) { in CollationRuleParser()
92 ruleIndex = 0; in parse()
94 while(ruleIndex < rules->length()) { in parse()
95 UChar c = rules->charAt(ruleIndex); in parse()
97 ++ruleIndex; in parse()
108 ruleIndex = skipComment(ruleIndex + 1); in parse()
113 ++ruleIndex; in parse()
118 ++ruleIndex; in parse()
136 if(ruleIndex < rules->length() && rules->charAt(ruleIndex) == 0x23) { in parseRuleChain()
138 ruleIndex = skipComment(ruleIndex + 1); in parseRuleChain()
[all …]
Dplurrule.cpp476 U_ASSERT(ruleIndex == 0); // Parsers are good for a single use only! in parse()
479 while (ruleIndex< ruleSrc->length()) { in parse()
1108 ruleIndex(0), token(), type(none), prevType(none), in PluralRuleParser()
1243 while (ruleIndex < ruleSrc->length()) { in getNextToken()
1244 ch = ruleSrc->charAt(ruleIndex); in getNextToken()
1249 ++(ruleIndex); in getNextToken()
1251 if (ruleIndex >= ruleSrc->length()) { in getNextToken()
1255 int32_t curIndex= ruleIndex; in getNextToken()
1316 U_ASSERT(ruleIndex <= ruleSrc->length()); in getNextToken()
1318 token=UnicodeString(*ruleSrc, ruleIndex, curIndex-ruleIndex); in getNextToken()
[all …]
Dcollationruleparser.h191 int32_t ruleIndex; variable
Drbnf.cpp109 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const = 0;
278 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const;
670 StringLocalizationInfo::getDisplayName(int32_t localeIndex, int32_t ruleIndex) const { in getDisplayName()
672 ruleIndex >= 0 && ruleIndex < getNumberOfRuleSets()) { in getDisplayName()
673 return data[localeIndex+1][ruleIndex+1]; in getDisplayName()
Dplurrule_impl.h163 int32_t ruleIndex; // String index in the input rules, the current parse position. variable
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationruleparser.cpp64 ruleIndex(0) { in CollationRuleParser()
92 ruleIndex = 0; in parse()
94 while(ruleIndex < rules->length()) { in parse()
95 UChar c = rules->charAt(ruleIndex); in parse()
97 ++ruleIndex; in parse()
108 ruleIndex = skipComment(ruleIndex + 1); in parse()
113 ++ruleIndex; in parse()
118 ++ruleIndex; in parse()
136 if(ruleIndex < rules->length() && rules->charAt(ruleIndex) == 0x23) { in parseRuleChain()
138 ruleIndex = skipComment(ruleIndex + 1); in parseRuleChain()
[all …]
Dplurrule.cpp593 U_ASSERT(ruleIndex == 0); // Parsers are good for a single use only! in parse()
596 while (ruleIndex< ruleSrc->length()) { in parse()
1231 ruleIndex(0), token(), type(none), prevType(none), in PluralRuleParser()
1372 while (ruleIndex < ruleSrc->length()) { in getNextToken()
1373 ch = ruleSrc->charAt(ruleIndex); in getNextToken()
1378 ++(ruleIndex); in getNextToken()
1380 if (ruleIndex >= ruleSrc->length()) { in getNextToken()
1384 int32_t curIndex= ruleIndex; in getNextToken()
1445 U_ASSERT(ruleIndex <= ruleSrc->length()); in getNextToken()
1447 token=UnicodeString(*ruleSrc, ruleIndex, curIndex-ruleIndex); in getNextToken()
[all …]
Dcollationruleparser.h191 int32_t ruleIndex; variable
Drbnf.cpp109 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const = 0;
278 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const;
676 StringLocalizationInfo::getDisplayName(int32_t localeIndex, int32_t ruleIndex) const { in getDisplayName()
678 ruleIndex >= 0 && ruleIndex < getNumberOfRuleSets()) { in getDisplayName()
679 return data[localeIndex+1][ruleIndex+1]; in getDisplayName()
/third_party/node/deps/icu-small/source/i18n/
Dcollationruleparser.cpp64 ruleIndex(0) { in CollationRuleParser()
92 ruleIndex = 0; in parse()
94 while(ruleIndex < rules->length()) { in parse()
95 UChar c = rules->charAt(ruleIndex); in parse()
97 ++ruleIndex; in parse()
108 ruleIndex = skipComment(ruleIndex + 1); in parse()
113 ++ruleIndex; in parse()
118 ++ruleIndex; in parse()
136 if(ruleIndex < rules->length() && rules->charAt(ruleIndex) == 0x23) { in parseRuleChain()
138 ruleIndex = skipComment(ruleIndex + 1); in parseRuleChain()
[all …]
Dplurrule.cpp601 U_ASSERT(ruleIndex == 0); // Parsers are good for a single use only! in parse()
604 while (ruleIndex< ruleSrc->length()) { in parse()
1239 ruleIndex(0), token(), type(none), prevType(none), in PluralRuleParser()
1380 while (ruleIndex < ruleSrc->length()) { in getNextToken()
1381 ch = ruleSrc->charAt(ruleIndex); in getNextToken()
1386 ++(ruleIndex); in getNextToken()
1388 if (ruleIndex >= ruleSrc->length()) { in getNextToken()
1392 int32_t curIndex= ruleIndex; in getNextToken()
1453 U_ASSERT(ruleIndex <= ruleSrc->length()); in getNextToken()
1455 token=UnicodeString(*ruleSrc, ruleIndex, curIndex-ruleIndex); in getNextToken()
[all …]
Dcollationruleparser.h191 int32_t ruleIndex; variable
Drbnf.cpp109 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const = 0;
278 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const override;
676 StringLocalizationInfo::getDisplayName(int32_t localeIndex, int32_t ruleIndex) const { in getDisplayName()
678 ruleIndex >= 0 && ruleIndex < getNumberOfRuleSets()) { in getDisplayName()
679 return data[localeIndex+1][ruleIndex+1]; in getDisplayName()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DSymbolTable.cpp499 for (uint32_t ruleIndex = startIndex; ruleIndex < endIndex; ++ruleIndex) in FindMangledBuiltIn() local
502 rules[ruleIndex].get(shaderSpec, shaderVersion, shaderType, resources, symbolTable); in FindMangledBuiltIn()
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
DRbnfMapperTest.java176 Group group, String setType, Access access, String key, String value, int ruleIndex) { in rbnfRule() argument
184 cldrPath.append("/rbnfrule#").append(ruleIndex); in rbnfRule()
/third_party/flutter/skia/third_party/externals/angle2/src/feature_support_util/
Dfeature_support_util.cpp706 for (unsigned int ruleIndex = 0; ruleIndex < jRules.size(); ruleIndex++) in ReadRulesFromJsonString() local
708 Json::Value jRule = jRules[ruleIndex]; in ReadRulesFromJsonString()
/third_party/icu/icu4c/source/tools/tzcode/
Dzic.c180 int ruleIndex, int startYear);
182 static void emit_icu_rule(FILE* f, const struct rule* r, int ruleIndex);
538 int ruleIndex, int startYear) { in emit_icu_zone() argument
545 rule->r_name, ruleIndex); in emit_icu_zone()
557 emit_icu_rule(FILE* f, const struct rule* r, int ruleIndex) { in emit_icu_rule() argument
574 ruleIndex, r->r_name, r->r_filename, r->r_linenum); in emit_icu_rule()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dzic.c180 int ruleIndex, int startYear);
182 static void emit_icu_rule(FILE* f, const struct rule* r, int ruleIndex);
538 int ruleIndex, int startYear) { in emit_icu_zone() argument
545 rule->r_name, ruleIndex); in emit_icu_zone()
557 emit_icu_rule(FILE* f, const struct rule* r, int ruleIndex) { in emit_icu_rule() argument
574 ruleIndex, r->r_name, r->r_filename, r->r_linenum); in emit_icu_rule()
/third_party/flutter/skia/third_party/externals/icu/source/tools/tzcode/
Dzic.c180 int ruleIndex, int startYear);
182 static void emit_icu_rule(FILE* f, const struct rule* r, int ruleIndex);
538 int ruleIndex, int startYear) { in emit_icu_zone() argument
545 rule->r_name, ruleIndex); in emit_icu_zone()
557 emit_icu_rule(FILE* f, const struct rule* r, int ruleIndex) { in emit_icu_rule() argument
574 ruleIndex, r->r_name, r->r_filename, r->r_linenum); in emit_icu_rule()

12