Home | History | Annotate | Download | only in common

Lines Matching refs:chars

459     RuleCharacterIterator chars(pattern, symbols, pos);
460 applyPattern(chars, symbols, rebuiltPat, options, status);
462 if (chars.inVariable()) {
463 // syntaxError(chars, "Extra chars in variable value");
506 * @param chars iterator over the pattern characters. Upon return
517 void UnicodeSet::applyPattern(RuleCharacterIterator& chars,
526 // Recognized special forms for chars, sets: c-c s-s s&s
549 while (mode != 2 && !chars.atEnd()) {
563 if (resemblesPropertyPattern(chars, opts)) {
577 chars.getPos(backup);
578 c = chars.next(opts, literal, ec);
583 chars.setPos(backup); // backup
589 chars.getPos(backup); // prepare to backup
590 c = chars.next(opts, literal, ec);
595 chars.getPos(backup); // prepare to backup
596 c = chars.next(opts, literal, ec);
605 chars.setPos(backup); // backup
632 // syntaxError(chars, "Char expected after operator");
656 nested->applyPattern(chars, symbols, patLocal, options, ec);
659 chars.skipIgnored(opts);
660 nested->applyPropertyPattern(chars, patLocal, ec);
696 // syntaxError(chars, "Missing '['");
717 // syntaxError(chars, "Trailing '&'");
732 c = chars.next(opts, literal, ec);
741 // syntaxError(chars, "'-' not after char or set");
749 // syntaxError(chars, "'&' not after set");
753 // syntaxError(chars, "'^' not after '['");
758 // syntaxError(chars, "Missing operand after operator");
770 while (!chars.atEnd()) {
771 c = chars.next(opts, literal, ec);
780 // syntaxError(chars, "Invalid multicharacter string");
801 chars.getPos(backup);
802 c = chars.next(opts, literal, ec);
807 chars.setPos(backup);
822 // syntaxError(chars, "Unquoted '$'");
832 // escaped chars ("\u4E01") and non-syntax characters
845 // syntaxError(chars, "Invalid range");
863 // syntaxError(chars, "Set expected after operator");
874 // syntaxError(chars, "Missing ']'");
879 chars.skipIgnored(opts);
1218 * @param chars iterator over the pattern characters. Upon return
1222 UBool UnicodeSet::resemblesPropertyPattern(RuleCharacterIterator& chars,
1229 chars.getPos(pos);
1230 UChar32 c = chars.next(iterOpts, literal, ec);
1232 UChar32 d = chars.next(iterOpts & ~RuleCharacterIterator::SKIP_WHITESPACE,
1237 chars.setPos(pos);
1336 * @param chars iterator over the pattern characters. Upon return
1343 void UnicodeSet::applyPropertyPattern(RuleCharacterIterator& chars,
1348 chars.lookahead(pattern);
1353 // syntaxError(chars, "Invalid property pattern");
1357 chars.jumpahead(pos.getIndex());