• Home
  • Raw
  • Download

Lines Matching refs:rules

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->length() && in parseResetAndPosition()
183 0x31 <= (c = rules->charAt(j)) && c <= 0x33 && in parseResetAndPosition()
184 rules->charAt(j + 1) == 0x5d) { in parseResetAndPosition()
191 if(i >= rules->length()) { in parseResetAndPosition()
196 if(rules->charAt(i) == 0x5b) { // '[' in parseResetAndPosition()
211 if(ruleIndex >= rules->length()) { return UCOL_DEFAULT; } in parseRelationOperator()
214 UChar c = rules->charAt(i++); in parseRelationOperator()
217 if(i < rules->length() && rules->charAt(i) == 0x3c) { // << in parseRelationOperator()
219 if(i < rules->length() && rules->charAt(i) == 0x3c) { // <<< in parseRelationOperator()
221 if(i < rules->length() && rules->charAt(i) == 0x3c) { // <<<< in parseRelationOperator()
233 if(i < rules->length() && rules->charAt(i) == 0x2a) { // '*' in parseRelationOperator()
246 if(i < rules->length() && rules->charAt(i) == 0x2a) { // '*' in parseRelationOperator()
265 UChar next = (i < rules->length()) ? rules->charAt(i) : 0; in parseRelationStrings()
270 next = (i < rules->length()) ? rules->charAt(i) : 0; in parseRelationStrings()
315 if(i >= rules->length() || rules->charAt(i) != 0x2d) { // '-' in parseStarredCharacters()
374 while(i < rules->length()) { in parseString()
375 UChar32 c = rules->charAt(i++); in parseString()
378 if(i < rules->length() && rules->charAt(i) == 0x27) { in parseString()
386 if(i == rules->length()) { in parseString()
390 c = rules->charAt(i++); in parseString()
392 if(i < rules->length() && rules->charAt(i) == 0x27) { in parseString()
403 if(i == rules->length()) { in parseString()
407 c = rules->char32At(i); in parseString()
464 if(j > i && rules->charAt(j) == 0x5d && !raw.isEmpty()) { // words end with ] in parseSpecialPosition()
494 if(rules->charAt(j) == 0x5d) { // words end with ] in parseSetting()
654 const UnicodeString *outerRules = rules; in parseSetting()
662 rules = outerRules; in parseSetting()
667 } else if(rules->charAt(j) == 0x5b) { // words end with [ in parseSetting()
755 if(j == rules->length()) { in parseUnicodeSet()
759 UChar c = rules->charAt(j++); in parseUnicodeSet()
766 set.applyPattern(rules->tempSubStringBetween(i, j), errorCode); in parseUnicodeSet()
773 if(j == rules->length() || rules->charAt(j) != 0x5d) { in parseUnicodeSet()
786 if(i >= rules->length()) { return 0; } in readWords()
787 UChar c = rules->charAt(i); in readWords()
808 while(i < rules->length()) { in skipComment()
809 UChar c = rules->charAt(i++); in skipComment()
845 } else if(start > 0 && U16_IS_TRAIL(rules->charAt(start))) { in setErrorContext()
849 rules->extract(start, length, parseError->preContext); in setErrorContext()
853 length = rules->length() - ruleIndex; in setErrorContext()
856 if(U16_IS_LEAD(rules->charAt(ruleIndex + length - 1))) { in setErrorContext()
860 rules->extract(ruleIndex, length, parseError->postContext); in setErrorContext()
873 while(i < rules->length() && PatternProps::isWhiteSpace(rules->charAt(i))) { in skipWhiteSpace()