Home
last modified time | relevance | path

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

1234

/third_party/libphonenumber/cpp/test/phonenumbers/
Dunicodestring_test.cc162 EXPECT_EQ(UnicodeString(""), UnicodeString().tempSubString(0, 0)); in TEST()
169 EXPECT_EQ(UnicodeString(""), s.tempSubString(6)); in TEST()
170 EXPECT_EQ(UnicodeString(""), s.tempSubString(2, 6)); in TEST()
175 EXPECT_EQ(UnicodeString(""), s.tempSubString(0, 0)); in TEST()
176 EXPECT_EQ(UnicodeString("h"), s.tempSubString(0, 1)); in TEST()
177 EXPECT_EQ(UnicodeString("hello"), s.tempSubString(0, 5)); in TEST()
178 EXPECT_EQ(UnicodeString("llo"), s.tempSubString(2, 3)); in TEST()
183 EXPECT_EQ(UnicodeString("hello"), s.tempSubString(0)); in TEST()
184 EXPECT_EQ(UnicodeString("llo"), s.tempSubString(2)); in TEST()
189 EXPECT_EQ(UnicodeString("\xEF\xBC\x91" /* 1 */), s.tempSubString(3, 1)); in TEST()
/third_party/libphonenumber/cpp/src/phonenumbers/
Dasyoutypeformatter.cc659 accrued_input_without_formatting_.tempSubString(start_of_country_code) in AttemptToExtractIdd()
663 accrued_input_without_formatting_.tempSubString(0, start_of_country_code) in AttemptToExtractIdd()
732 .tempSubString(last_match_position_).indexOf(placeholder_codepoint); in InputDigitHelper()
739 formatting_template_.tempSubString(0, last_match_position_ + 1) in InputDigitHelper()
761 s.tempSubString(0, pos).toUTF8String(substring); in ConvertUnicodeStringPosition()
Dunicodestring.h101 UnicodeString tempSubString(
Dunicodestring.cc86 UnicodeString UnicodeString::tempSubString(int start, int length) const { in tempSubString() function in i18n::phonenumbers::UnicodeString
Dregexp_adapter_icu.cc75 return UnicodeStringToUtf8String(utf8_input_.tempSubString(position_)); in ToString()
/third_party/skia/third_party/externals/icu/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()
/third_party/flutter/skia/third_party/externals/icu/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()
1489 UnicodeString prefix(fRuleText.tempSubString(0, pluralRuleStart)); in findText()
1490 UnicodeString suffix(fRuleText.tempSubString(pluralRuleSuffix)); in findText()
Dtzfmt.cpp2396 unquote(gmtPattern.tempSubString(0, idx), fGMTPatternPrefix); in initGMTPattern()
2397 unquote(gmtPattern.tempSubString(idx + ARG0_LEN), fGMTPatternSuffix); in initGMTPattern()
2583 int32_t idx_H = offsetHM.tempSubString(0, idx_mm).lastIndexOf((UChar)0x0048 /* H */); in expandOffsetPattern()
2585 sep = offsetHM.tempSubString(idx_H + 1, idx_mm - (idx_H + 1)); in expandOffsetPattern()
2587 result.setTo(offsetHM.tempSubString(0, idx_mm + 2)); in expandOffsetPattern()
2590 result.append(offsetHM.tempSubString(idx_mm + 2)); in expandOffsetPattern()
2609 int32_t idx_HH = offsetHM.tempSubString(0, idx_mm).lastIndexOf(HH, 2, 0); in truncateOffsetPattern()
2611 return result.setTo(offsetHM.tempSubString(0, idx_HH + 2)); in truncateOffsetPattern()
2613 int32_t idx_H = offsetHM.tempSubString(0, idx_mm).lastIndexOf((UChar)0x0048, 0); in truncateOffsetPattern()
2615 return result.setTo(offsetHM.tempSubString(0, idx_H + 1)); in truncateOffsetPattern()
/third_party/node/deps/icu-small/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()
/third_party/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()
/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_skeletons.cpp285 UnicodeString expectedPreContext = skeletonString.tempSubString(0, expectedOffset); in stemsRequiringOption()
287 … expectedPreContext = expectedPreContext.tempSubString(expectedOffset - U_PARSE_CONTEXT_LEN + 1); in stemsRequiringOption()
290 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()
/third_party/icu/icu4c/source/common/
Dfilterednormalizer2.cpp174 UnicodeString prefix(second.tempSubString(0, prefixLimit)); in normalizeSecondAndAppend()
193 UnicodeString rest(second.tempSubString(prefixLimit, INT32_MAX)); in normalizeSecondAndAppend()
/third_party/node/deps/icu-small/source/common/
Dfilterednormalizer2.cpp174 UnicodeString prefix(second.tempSubString(0, prefixLimit)); in normalizeSecondAndAppend()
193 UnicodeString rest(second.tempSubString(prefixLimit, INT32_MAX)); in normalizeSecondAndAppend()
/third_party/skia/third_party/externals/icu/source/common/
Dfilterednormalizer2.cpp174 UnicodeString prefix(second.tempSubString(0, prefixLimit)); in normalizeSecondAndAppend()
193 UnicodeString rest(second.tempSubString(prefixLimit, INT32_MAX)); in normalizeSecondAndAppend()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dfilterednormalizer2.cpp174 UnicodeString prefix(second.tempSubString(0, prefixLimit)); in normalizeSecondAndAppend()
193 UnicodeString rest(second.tempSubString(prefixLimit, INT32_MAX)); in normalizeSecondAndAppend()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/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()

1234