• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ICU-531.30/icuSources/i18n/

Lines Matching defs:pos

99  * @param pos INPUT-OUTPUT parameter.  On input, the position of
107 TransliteratorIDParser::parseSingleID(const UnicodeString& id, int32_t& pos,
110 int32_t start = pos;
122 specsA = parseFilterID(id, pos, TRUE);
124 pos = start;
128 if (ICU_Utility::parseChar(id, pos, OPEN_REV)) {
130 if (!ICU_Utility::parseChar(id, pos, CLOSE_REV)) {
131 specsB = parseFilterID(id, pos, TRUE);
133 if (specsB == NULL || !ICU_Utility::parseChar(id, pos, CLOSE_REV)) {
135 pos = start;
207 * @param pos INPUT-OUTPUT parameter. On input, the position of
213 TransliteratorIDParser::parseFilterID(const UnicodeString& id, int32_t& pos) {
215 int32_t start = pos;
217 Specs* specs = parseFilterID(id, pos, TRUE);
219 pos = start;
236 * @param pos INPUT-OUTPUT parameter. On input, the position of
254 UnicodeSet* TransliteratorIDParser::parseGlobalFilter(const UnicodeString& id, int32_t& pos,
259 int32_t start = pos;
262 withParens = ICU_Utility::parseChar(id, pos, OPEN_REV) ? 1 : 0;
264 if (!ICU_Utility::parseChar(id, pos, OPEN_REV)) {
265 pos = start;
270 ICU_Utility::skipWhitespace(id, pos, TRUE);
272 if (UnicodeSet::resemblesPattern(id, pos)) {
273 ParsePosition ppos(pos);
278 pos = start;
283 pos = start;
288 id.extractBetween(pos, ppos.getIndex(), pattern);
289 pos = ppos.getIndex();
291 if (withParens == 1 && !ICU_Utility::parseChar(id, pos, CLOSE_REV)) {
292 pos = start;
358 int32_t pos = 0;
367 filter = parseGlobalFilter(id, pos, dir, withParens, &canonID);
369 if (!ICU_Utility::parseChar(id, pos, ID_DELIM)) {
372 pos = 0;
384 SingleID* single = parseSingleID(id, pos, dir, ec);
396 if (!ICU_Utility::parseChar(id, pos, ID_DELIM)) {
419 filter = parseGlobalFilter(id, pos, dir, withParens, &canonID);
422 ICU_Utility::parseChar(id, pos, ID_DELIM);
434 ICU_Utility::skipWhitespace(id, pos, TRUE);
435 if (pos != id.length()) {
684 * @param pos INPUT-OUTPUT parameter. On input, pos is the
686 * pos is the offset after the last parsed character. If the
687 * parse failed, pos will be unchanged.
699 TransliteratorIDParser::parseFilterID(const UnicodeString& id, int32_t& pos,
708 int32_t start = pos;
714 ICU_Utility::skipWhitespace(id, pos, TRUE);
715 if (pos == id.length()) {
721 UnicodeSet::resemblesPattern(id, pos)) {
723 ParsePosition ppos(pos);
727 pos = start;
730 id.extractBetween(pos, ppos.getIndex(), filter);
731 pos = ppos.getIndex();
736 UChar c = id.charAt(pos);
740 ++pos;
752 UnicodeString spec = ICU_Utility::parseUnicodeIdentifier(id, pos);
787 pos = start;