Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/i18n/
Dnfrule.cpp438 … UnicodeString type(fRuleText.tempSubString(pluralRuleStart + 2, endType - pluralRuleStart - 2)); in extractSubstitutions()
451 fRuleText.tempSubString(endType + 1, pluralRuleEnd - endType - 1), status); in extractSubstitutions()
756 toInsertInto.insert(pos, fRuleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
761 toInsertInto.insert(pos, fRuleText.tempSubString(0, pluralRuleStart)); in doFormat()
802 toInsertInto.insert(pos, fRuleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
815 toInsertInto.insert(pos, fRuleText.tempSubString(0, pluralRuleStart)); in doFormat()
1493 UnicodeString prefix(fRuleText.tempSubString(0, pluralRuleStart)); in findText()
1494 UnicodeString suffix(fRuleText.tempSubString(pluralRuleSuffix)); in findText()
Dtzfmt.cpp2401 unquote(gmtPattern.tempSubString(0, idx), fGMTPatternPrefix); in initGMTPattern()
2402 unquote(gmtPattern.tempSubString(idx + ARG0_LEN), fGMTPatternSuffix); in initGMTPattern()
2588 int32_t idx_H = offsetHM.tempSubString(0, idx_mm).lastIndexOf((UChar)0x0048 /* H */); in expandOffsetPattern()
2590 sep = offsetHM.tempSubString(idx_H + 1, idx_mm - (idx_H + 1)); in expandOffsetPattern()
2592 result.setTo(offsetHM.tempSubString(0, idx_mm + 2)); in expandOffsetPattern()
2595 result.append(offsetHM.tempSubString(idx_mm + 2)); in expandOffsetPattern()
2614 int32_t idx_HH = offsetHM.tempSubString(0, idx_mm).lastIndexOf(HH, 2, 0); in truncateOffsetPattern()
2616 return result.setTo(offsetHM.tempSubString(0, idx_HH + 2)); in truncateOffsetPattern()
2618 int32_t idx_H = offsetHM.tempSubString(0, idx_mm).lastIndexOf((UChar)0x0048, 0); in truncateOffsetPattern()
2620 return result.setTo(offsetHM.tempSubString(0, idx_H + 1)); in truncateOffsetPattern()
Dplurfmt.cpp550 …UnicodeString currArg = pattern.tempSubString(partStart->getLimit(), partLimit->getIndex() - partS… in parseType()
568 …keyword = pattern.tempSubString(partStart->getLimit(), partLimit->getIndex() - partStart->getLimit… in parseType()
Dlistformatter.cpp608 temp.tempSubString(offsets[1]), in append()
632 temp.tempSubString(offsets[0]), in append()
Dmsgfmt.cpp202 append(s.tempSubString(start, length)); in append()
1460 UnicodeString strValue(source.tempSubString(sourceOffset, next - sourceOffset)); in parse()
1713 UnicodeString skeleton = style.tempSubString(firstNonSpace + 2); in createAppropriateFormat()
1735 UnicodeString skeleton = style.tempSubString(firstNonSpace + 2); in createAppropriateFormat()
Dnumber_patternstring.cpp953 UnicodeString temp = input.tempSubString(offset, pair[0].length()); in convertLocalized()
967 UnicodeString temp = input.tempSubString(offset, pair[1].length()); in convertLocalized()
Dnumber_mapper.cpp423 negPrefix.tempSubString(1) != posPrefix || in hasNegativeSubpattern()
Dnumfmt.cpp1437 nsLocID.appendInvariantChars(nsDesc.tempSubString(0, firstSlash), status); in makeInstance()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_skeletons.cpp271 UnicodeString expectedPreContext = skeletonString.tempSubString(0, expectedOffset); in stemsRequiringOption()
273 … expectedPreContext = expectedPreContext.tempSubString(expectedOffset - U_PARSE_CONTEXT_LEN + 1); in stemsRequiringOption()
276 UnicodeString expectedPostContext = skeletonString.tempSubString(expectedOffset); in stemsRequiringOption()
Ddatadrivennumberformattestsuite.cpp157 fFileLine.tempSubString(colStart, idx - colStart); in splitBy()
162 fFileLine.tempSubString(colStart, len - colStart); in splitBy()
Dustrtest.cpp2008 temp.fastCopyFrom(longString.tempSubString()); in TestReadOnlyAlias()
2012 temp.fastCopyFrom(longString.tempSubString(-3, 5)); in TestReadOnlyAlias()
2016 temp.fastCopyFrom(longString.tempSubString(17)); in TestReadOnlyAlias()
2020 temp.fastCopyFrom(longString.tempSubString(99)); in TestReadOnlyAlias()
2278 UnicodeString sub = str.tempSubString(1, 2); in TestUnicodeStringInsertAppendToSelf()
2284 sub = str.tempSubString(1, 2); in TestUnicodeStringInsertAppendToSelf()
2304 sub = str.tempSubString(1, 3); in TestUnicodeStringInsertAppendToSelf()
2310 sub = str.tempSubString(1, 3); in TestUnicodeStringInsertAppendToSelf()
Dutxttest.cpp1553 if (0 != str.tempSubString(startIdx, 20).compare(extractBuffer)) { in Ticket12130()
1555 …__FILE__, __LINE__, CStr(str.tempSubString(startIdx, 20))(), CStr(UnicodeString(extractBuffer))()); in Ticket12130()
1580 if (0 != str.tempSubString(startIdx, 20).compare(extractBuffer)) { in Ticket12130()
1582 …__FILE__, __LINE__, CStr(str.tempSubString(startIdx, 20))(), CStr(UnicodeString(extractBuffer))()); in Ticket12130()
Dcompactdecimalformattest.cpp337 …UnicodeString subString = result.tempSubString(fp.getBeginIndex(), fp.getEndIndex() - fp.getBeginI… in TestFieldPosition()
Drbbiapts.cpp1191 out.append(ustr.tempSubString(prev,n-prev)); in prtbrks()
1195 out.append(ustr.tempSubString(prev,ustr.length()-prev)); in prtbrks()
Dcollationtest.cpp1130 UnicodeString valueString = fileLine.tempSubString(equalPos+1); in parseAndSetAttribute()
1287 localeID.appendInvariantChars(fileLine.tempSubString(9), errorCode); in setLocaleCollator()
/external/icu/icu4c/source/common/
Dfilterednormalizer2.cpp174 UnicodeString prefix(second.tempSubString(0, prefixLimit)); in normalizeSecondAndAppend()
193 UnicodeString rest(second.tempSubString(prefixLimit, INT32_MAX)); in normalizeSecondAndAppend()
Dunormcmp.cpp550 UnicodeString unnormalized=str.tempSubString(spanQCYes); in _normalize()
Ducharstriebuilder.cpp44 return strings.tempSubString(stringOffset+1, length); in getString()
Duts46.cpp535 uts46Norm2.normalizeSecondAndAppend(dest, src.tempSubString(mappingStart), errorCode); in processUnicode()
660 uts46Norm2.normalize(dest.tempSubString(labelStart), normalized, errorCode); in mapDevChars()
Dunistr.cpp916 UnicodeString::tempSubString(int32_t start, int32_t len) const { in tempSubString() function in UnicodeString
/external/icu/icu4c/source/tools/gendict/
Dgendict.cpp374 dict.addWord(fileLine.tempSubString(0, keyLen), (int32_t)value, status); in main()
380 dict.addWord(fileLine.tempSubString(0, keyLen), 0, status); in main()
/external/icu/icu4c/source/common/unicode/
Dmessagepattern.h660 return msg.tempSubString(part.index, part.length); in getSubstring()
Dunistr.h1688 UnicodeString tempSubString(int32_t start=0, int32_t length=INT32_MAX) const;
4503 return tempSubString(start, limit - start); in tempSubStringBetween()
/external/icu/libicu/cts_headers/unicode/
Dmessagepattern.h660 return msg.tempSubString(part.index, part.length); in getSubstring()
Dunistr.h1688 UnicodeString tempSubString(int32_t start=0, int32_t length=INT32_MAX) const;
4503 return tempSubString(start, limit - start); in tempSubStringBetween()

12