Home
last modified time | relevance | path

Searched refs:tempSubString (Results 1 – 22 of 22) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnfrule.cpp435 …UnicodeString type(this->ruleText.tempSubString(pluralRuleStart + 2, endType - pluralRuleStart - 2… in extractSubstitutions()
448 this->ruleText.tempSubString(endType + 1, pluralRuleEnd - endType - 1), status); in extractSubstitutions()
747 toInsertInto.insert(pos, ruleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
752 toInsertInto.insert(pos, ruleText.tempSubString(0, pluralRuleStart)); in doFormat()
793 toInsertInto.insert(pos, ruleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
806 toInsertInto.insert(pos, ruleText.tempSubString(0, pluralRuleStart)); in doFormat()
1474 UnicodeString prefix(ruleText.tempSubString(0, pluralRuleStart)); in findText()
1475 UnicodeString suffix(ruleText.tempSubString(pluralRuleSuffix)); in findText()
Dtzfmt.cpp2367 unquote(gmtPattern.tempSubString(0, idx), fGMTPatternPrefix); in initGMTPattern()
2368 unquote(gmtPattern.tempSubString(idx + ARG0_LEN), fGMTPatternSuffix); in initGMTPattern()
2554 int32_t idx_H = offsetHM.tempSubString(0, idx_mm).lastIndexOf((UChar)0x0048 /* H */); in expandOffsetPattern()
2556 sep = offsetHM.tempSubString(idx_H + 1, idx_mm - (idx_H + 1)); in expandOffsetPattern()
2558 result.setTo(offsetHM.tempSubString(0, idx_mm + 2)); in expandOffsetPattern()
2561 result.append(offsetHM.tempSubString(idx_mm + 2)); in expandOffsetPattern()
2580 int32_t idx_HH = offsetHM.tempSubString(0, idx_mm).lastIndexOf(HH, 2, 0); in truncateOffsetPattern()
2582 return result.setTo(offsetHM.tempSubString(0, idx_HH + 2)); in truncateOffsetPattern()
2584 int32_t idx_H = offsetHM.tempSubString(0, idx_mm).lastIndexOf((UChar)0x0048, 0); in truncateOffsetPattern()
2586 return result.setTo(offsetHM.tempSubString(0, idx_H + 1)); in truncateOffsetPattern()
Dplurfmt.cpp550 …UnicodeString currArg = pattern.tempSubString(partStart->getLimit(), partLimit->getIndex() - partS… in parseType()
562 …keyword = pattern.tempSubString(partStart->getLimit(), partLimit->getIndex() - partStart->getLimit… in parseType()
Dcompactdecimalformat.cpp829 unit->prefix = formatStr.tempSubString(0, firstIdx); in populatePrefixSuffix()
832 unit->suffix = formatStr.tempSubString(lastIdx + 1); in populatePrefixSuffix()
Dmsgfmt.cpp199 append(s.tempSubString(start, length)); in append()
1452 UnicodeString strValue(source.tempSubString(sourceOffset, next - sourceOffset)); in parse()
Dnumfmt.cpp1448 nsLocID.appendInvariantChars(nsDesc.tempSubString(0, firstSlash), status); in makeInstance()
Dcollationdatabuilder.cpp993 dest.unsafeBackwardSet.addAll(cond->context.tempSubString(suffixStart)); in copyCE32()
Ddecimfmt.cpp1231 …s.append((UnicodeString)"PARSE \"").append(text.tempSubString(position)).append((UnicodeString)"\"… in subparse()
/external/icu/icu4c/source/common/
Dfilterednormalizer2.cpp124 UnicodeString prefix(second.tempSubString(0, prefixLimit)); in normalizeSecondAndAppend()
143 UnicodeString rest(second.tempSubString(prefixLimit, INT32_MAX)); in normalizeSecondAndAppend()
Dunormcmp.cpp554 UnicodeString unnormalized=str.tempSubString(spanQCYes); in _normalize()
Ducharstriebuilder.cpp42 return strings.tempSubString(stringOffset+1, length); in getString()
Duts46.cpp533 uts46Norm2.normalizeSecondAndAppend(dest, src.tempSubString(mappingStart), errorCode); in processUnicode()
647 uts46Norm2.normalize(dest.tempSubString(labelStart), normalized, errorCode); in mapDevChars()
Dunistr.cpp888 UnicodeString::tempSubString(int32_t start, int32_t len) const { in tempSubString() function in UnicodeString
/external/icu/icu4c/source/test/intltest/
Ddatadrivennumberformattestsuite.cpp146 fFileLine.tempSubString(colStart, idx - colStart); in splitBy()
151 fFileLine.tempSubString(colStart, len - colStart); in splitBy()
Dcompactdecimalformattest.cpp256 …UnicodeString subString = result.tempSubString(fp.getBeginIndex(), fp.getEndIndex() - fp.getBeginI… in TestFieldPosition()
Dustrtest.cpp1999 temp.fastCopyFrom(longString.tempSubString()); in TestReadOnlyAlias()
2003 temp.fastCopyFrom(longString.tempSubString(-3, 5)); in TestReadOnlyAlias()
2007 temp.fastCopyFrom(longString.tempSubString(17)); in TestReadOnlyAlias()
2011 temp.fastCopyFrom(longString.tempSubString(99)); in TestReadOnlyAlias()
Drbbiapts.cpp1204 out.append(ustr.tempSubString(prev,n-prev)); in prtbrks()
1208 out.append(ustr.tempSubString(prev,ustr.length()-prev)); in prtbrks()
Dcollationtest.cpp1131 UnicodeString valueString = fileLine.tempSubString(equalPos+1); in parseAndSetAttribute()
1288 localeID.appendInvariantChars(fileLine.tempSubString(9), errorCode); in setLocaleCollator()
/external/icu/icu4c/source/tools/gendict/
Dgendict.cpp371 dict.addWord(fileLine.tempSubString(0, keyLen), (int32_t)value, status); in main()
377 dict.addWord(fileLine.tempSubString(0, keyLen), 0, status); in main()
/external/icu/icu4c/source/common/unicode/
Dmessagepattern.h656 return msg.tempSubString(part.index, part.length); in getSubstring()
Dunistr.h1689 UnicodeString tempSubString(int32_t start=0, int32_t length=INT32_MAX) const;
4407 return tempSubString(start, limit - start); in tempSubStringBetween()
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp910 UnicodeString newMapping=writer.noNoMappings.tempSubString(oldNoNoLength); in writeExtraData()