Lines Matching refs:ch
2061 UChar32 ch = text.char32At(position);
2067 * The character 'ch' may be a digit. If so, place its value
2074 digit = ch - zero;
2077 digit = u_charDigitValue(ch);
2089 position += U16_LENGTH(ch);
2112 position += U16_LENGTH(ch);
2158 ch = text[(int32_t)pos];
2159 digit = ch - zero;
2162 digit = u_charDigitValue(ch);
2530 * isRuleWhiteSpace(ch) then match a run of white space in text.
2532 int32_t DecimalFormat::match(const UnicodeString& text, int32_t pos, UChar32 ch) {
2533 if (uprv_isRuleWhiteSpace(ch)) {
2543 return (pos >= 0 && text.char32At(pos) == ch) ?
2544 (pos + U16_LENGTH(ch)) : -1;
2554 UChar32 ch = str.char32At(i);
2555 i += U16_LENGTH(ch);
2556 if (uprv_isRuleWhiteSpace(ch)) {
2559 pos = match(text, pos, ch);
3913 UChar32 ch;
3917 ch = pattern.char32At(pos);
3939 } else if ((ch >= zeroDigit && ch <= nineDigit) ||
3940 ch == sigDigit) {
3948 if (ch == sigDigit) {
3952 if (ch != zeroDigit && roundingPos < 0) {
3956 roundingInc.append((char)(ch - zeroDigit + '0'));
3962 pos += U16_LENGTH(ch);
4052 (ch >= zeroDigit && ch <= nineDigit) ||
4053 ch == sigDigit) {
4063 } else if (ch == kCurrencySign) {
4082 // Fall through to append(ch)
4083 } else if (ch == kQuote) {
4091 // Fall through to append(ch)
4165 affix->append(ch);
4166 pos += U16_LENGTH(ch);
4173 if (ch == kQuote) {
4177 // Fall through to append(ch)
4183 affix->append(ch);
4184 pos += U16_LENGTH(ch);