Home | History | Annotate | Download | only in common

Lines Matching refs:pos

19  * Parse an integer at pos, either of the form \d+ or of the form
22 * @param pos INPUT-OUTPUT parameter. On input, the first
26 int32_t ICU_Utility::parseInteger(const UnicodeString& rule, int32_t& pos, int32_t limit) {
29 int32_t p = pos;
62 pos = p;
68 * Parse a pattern string starting at offset pos. Keywords are
86 int32_t ICU_Utility::parsePattern(const UnicodeString& rule, int32_t pos, int32_t limit,
96 if (pos >= limit) {
99 c = rule.charAt(pos++);
105 pos = skipWhitespace(rule, pos);
108 p = pos;
110 if (p == pos) {
114 pos = p;
117 if (pos >= limit) {
120 c = (UChar) u_tolower(rule.charAt(pos++));
127 return pos;
135 * @param pos INPUT-OUPUT parameter. On INPUT, pos is the
138 * have pos < str.length(). On
141 * no valid identifier at pos.
143 UnicodeString ICU_Utility::parseUnicodeIdentifier(const UnicodeString& str, int32_t& pos) {
144 // assert(pos < str.length());
146 int p = pos;
165 pos = p;
173 * @param pos INPUT-OUTPUT parameter. On entry, pos[0] is the
175 * to a valid digit. On exit, pos[0] is the offset after the last
181 * Parse fails if there are no digits, that is, if pos[0] does not
186 int32_t& pos, int8_t radix) {
187 // assert(pos[0] >= 0);
191 int32_t p = pos;
206 if (p == pos) {
209 pos = p;