Home
last modified time | relevance | path

Searched refs:setTo (Results 1 – 25 of 96) sorted by relevance

1234

/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp67 rules.setTo(((RuleBasedCollator *)m_de_)->getRules()); in StringSearchTest()
75 rules.setTo(((RuleBasedCollator *)m_es_)->getRules()); in StringSearchTest()
476 text.setTo(temp); in assertEqual()
479 pattern.setTo(temp); in assertEqual()
535 text.setTo(temp); in assertCanonicalEqual()
538 pattern.setTo(temp); in assertCanonicalEqual()
588 text.setTo(temp); in assertEqualWithAttribute()
591 pattern.setTo(temp); in assertEqualWithAttribute()
873 text.setTo(temp, u_strlen(temp)); in TestBreakIterator()
876 pattern.setTo(temp, u_strlen(temp)); in TestBreakIterator()
[all …]
Dloctest.cpp1229 resultStr.setTo(tmp); in TestEuroSupport()
1234 resultStr.setTo(tmp); in TestEuroSupport()
1239 resultStr.setTo(tmp); in TestEuroSupport()
1244 resultStr.setTo(tmp); in TestEuroSupport()
1249 resultStr.setTo(tmp); in TestEuroSupport()
2371 tempStr.setTo(TMP); in TestCurrencyByDate()
2372 resultStr.setTo("SUR"); in TestCurrencyByDate()
2384 tempStr.setTo(TMP); in TestCurrencyByDate()
2385 resultStr.setTo("RUR"); in TestCurrencyByDate()
2397 tempStr.setTo(TMP); in TestCurrencyByDate()
[all …]
Dustrtest.cpp135 if( test3.setTo((UChar32)0x10330).length() != 2 || in TestBasicManipulation()
178 if (target1 != target2.setTo(src, 12)) { in TestBasicManipulation()
202 if(s.setTo(buffer, -1, UPRV_LENGTHOF(buffer)).length()!=u_strlen(buffer)) { in TestBasicManipulation()
218 if(s.setTo(buffer, -1, UPRV_LENGTHOF(buffer)).length()!=UPRV_LENGTHOF(buffer)) { in TestBasicManipulation()
895 test4.setTo(test1).trim(); in TestSpacePadding()
1114 test1.setTo(FALSE, u, 3); in TestMiscellaneous()
1120 test1.setTo(TRUE, u, -1); in TestMiscellaneous()
1177 test1.setTo(TRUE, ucs, 3); in TestMiscellaneous()
1251 test->setTo(TRUE, workingBuffer, 2); in TestStackAllocation()
1268 test->setTo(TRUE, workingBuffer, -1); in TestStackAllocation()
[all …]
Didnaconf.cpp304 key.setTo(s,0,p).trim(); in Test()
305 value.setTo(s,p+1).trim(); in Test()
324 id.setTo(value, 0, value.indexOf((UChar)0x20)); // space in Test()
327 namezone.setTo(value); in Test()
330 namebase.setTo(value); in Test()
/external/icu/icu4c/source/common/
Dulistformatter.cpp68 ustrings[stringIndex].setTo(TRUE, strings[stringIndex], -1); in ulistfmt_format()
72 …ustrings[stringIndex].setTo(stringLengths[stringIndex] < 0, strings[stringIndex], stringLengths[st… in ulistfmt_format()
79 res.setTo(result, 0, resultCapacity); in ulistfmt_format()
Ducharstriebuilder.cpp38 void setTo(const UnicodeString &s, int32_t val, UnicodeString &strings, UErrorCode &errorCode);
64 UCharsTrieElement::setTo(const UnicodeString &s, int32_t val, in setTo() function in UCharsTrieElement
124 elements[elementsLength++].setTo(s, value, strings, errorCode); in add()
164 result.setTo(FALSE, uchars+(ucharsCapacity-ucharsLength), ucharsLength); in buildUnicodeString()
Dnorm2allmodes.h114 decomposition.setTo(buffer, length); // copy the string (Jamos from Hangul syllable c) in getDecomposition()
116 decomposition.setTo(FALSE, d, length); // read-only alias in getDecomposition()
129 decomposition.setTo(buffer, length); // copy the string (algorithmic decomposition) in getRawDecomposition()
131 decomposition.setTo(FALSE, d, length); // read-only alias in getRawDecomposition()
/external/nist-sip/java/gov/nist/javax/sip/message/
DMessageFactoryImpl.java138 sipRequest.setTo(to); in createRequest()
196 sipRequest.setTo(to); in createRequest()
247 sipRequest.setTo(to); in createRequest()
306 sipResponse.setTo(to); in createResponse()
357 sipResponse.setTo(to); in createResponse()
404 sipResponse.setTo(to); in createResponse()
561 sipRequest.setTo(to); in createRequest()
617 sipResponse.setTo(to); in createResponse()
673 sipResponse.setTo(to); in createResponse()
/external/icu/icu4c/source/i18n/
Dlocdspnm.cpp129 return result.setTo(s, len); in get()
131 return result.setTo(UnicodeString(itemKey, -1, US_INV)); in get()
144 return result.setTo(s, len); in getNoFallback()
411 formatOpenParen.setTo((UChar)0xFF08); // fullwidth ( in initialize()
412 formatReplaceOpenParen.setTo((UChar)0xFF3B); // fullwidth [ in initialize()
413 formatCloseParen.setTo((UChar)0xFF09); // fullwidth ) in initialize()
414 formatReplaceCloseParen.setTo((UChar)0xFF3D); // fullwidth ] in initialize()
416 formatOpenParen.setTo((UChar)0x0028); // ( in initialize()
417 formatReplaceOpenParen.setTo((UChar)0x005B); // [ in initialize()
418 formatCloseParen.setTo((UChar)0x0029); // ) in initialize()
[all …]
Dreldtfmt.cpp171 relativeDayString.setTo(theString, len); in format()
209 datePattern.setTo(relativeDayString); in format()
211 datePattern.setTo(fDatePattern); in format()
380 result.setTo(fTimePattern); in toPattern()
382 result.setTo(fDatePattern); in toPattern()
397 result.setTo(fDatePattern); in toPatternDate()
407 result.setTo(fTimePattern); in toPatternTime()
416 fDatePattern.setTo(datePattern); in applyPatterns()
417 fTimePattern.setTo(timePattern); in applyPatterns()
Dtzfmt.cpp356 fGMTZeroFormat.setTo(TRUE, resStr, len); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
376 …fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_HM].setTo(FALSE, hourFormats, (int32_t)(sep - hourFormats)); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
377 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_HM].setTo(TRUE, sep + 1, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
388 fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_H].setTo(TRUE, DEFAULT_GMT_POSITIVE_H, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
389 fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_HM].setTo(TRUE, DEFAULT_GMT_POSITIVE_HM, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
390 fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_HMS].setTo(TRUE, DEFAULT_GMT_POSITIVE_HMS, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
391 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_H].setTo(TRUE, DEFAULT_GMT_NEGATIVE_H, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
392 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_HM].setTo(TRUE, DEFAULT_GMT_NEGATIVE_HM, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
393 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_HMS].setTo(TRUE, DEFAULT_GMT_NEGATIVE_HMS, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
548 return pattern.setTo(fGMTPattern); in getGMTPattern()
[all …]
Ddtfmtsym.cpp1266 zarray[i][0].setTo(*tzid); in initZoneStringsArray()
1267 … zarray[i][1].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_STANDARD, now, tzDispName)); in initZoneStringsArray()
1268 … zarray[i][2].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_STANDARD, now, tzDispName)); in initZoneStringsArray()
1269 … zarray[i][3].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_DAYLIGHT, now, tzDispName)); in initZoneStringsArray()
1270 … zarray[i][4].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_DAYLIGHT, now, tzDispName)); in initZoneStringsArray()
1401 (*(field)+i)->setTo(TRUE, resStr, strLen); in initField()
1420 (*(field)+i)->setTo(TRUE, data+(i*((int32_t)strLen)), -1); in initField()
1437 field[index].setTo(TRUE, resStr, strLen); in initLeapMonthPattern()
1580 …fLeapMonthPatterns[kLeapMonthPatternFormatAbbrev].setTo(fLeapMonthPatterns[kLeapMonthPatternFormat… in initializeData()
1583 …fLeapMonthPatterns[kLeapMonthPatternFormatNarrow].setTo(fLeapMonthPatterns[kLeapMonthPatternStanda… in initializeData()
[all …]
Dnfrule.cpp195 sbuf.setTo(description, 0, brack1); in makeRules()
240 descriptor.setTo(description, 0, p); in parseRuleDescriptor()
484 subToken.setTo(ruleText, subStart, subEnd + 1 - subStart); in extractSubstitution()
656 ruleTextCopy.setTo(ruleText); in _appendRuleText()
854 prefix.setTo(ruleText, 0, sub1->getPos()); in doParse()
926 temp.setTo(ruleText, sub1->getPos(), sub2->getPos() - sub1->getPos()); in doParse()
939 workText2.setTo(workText, pp.getIndex(), workText.length() - pp.getIndex()); in doParse()
946 temp.setTo(ruleText, sub2->getPos(), ruleText.length() - sub2->getPos()); in doParse()
1112 subText.setTo(text, 0, dPos); in matchToDelimiter()
1332 temp.setTo(str, 0, prefix.length()); in prefixLength()
[all …]
Dtitletrn.cpp147 tmp.setTo(FALSE, s, result); in handleTransliterate()
151 tmp.setTo(result); in handleTransliterate()
Dtztrans.cpp59 setTo(*right.fTo); in operator =()
112 TimeZoneTransition::setTo(const TimeZoneRule& to) { in setTo() function in TimeZoneTransition
Dtzgnames.cpp177 tzID.setTo(TRUE, minfo->gnameInfo->tzID, -1); in getTimeZoneID()
372 rpat.setTo(regionPattern, -1); in initialize()
377 fpat.setTo(fallbackPattern, -1); in initialize()
508 name.setTo(locname, u_strlen(locname)); in getGenericLocationName()
702 name.setTo(stdName); in formatGenericNonLocationName()
743 name.setTo(mzName); in formatGenericNonLocationName()
747 name.setTo(mzName); in formatGenericNonLocationName()
775 name.setTo(TRUE, uplname, -1); in getPartialLocationName()
825 location.setTo(tzCanonicalID); in getPartialLocationName()
996 tzID.setTo(bestMatchTzID); in findBestMatch()
[all …]
Dcasetrn.cpp173 tmp.setTo(FALSE, s, result); in handleTransliterate()
177 tmp.setTo(result); in handleTransliterate()
Ddcfmtsym.cpp233 fSymbols[kZeroDigitSymbol].setTo(digit); in initialize()
237 fSymbols[i].setTo(digit); in initialize()
308 fSymbols[kIntlCurrencySymbol].setTo(curriso, -1); in initialize()
415 fSymbols[kIntlCurrencySymbol].setTo(TRUE, INTL_CURRENCY_SYMBOL_STR, 2); in initialize()
Dtznames.cpp344 this->id.setTo(*tzID); in MatchInfo()
347 this->id.setTo(*mzID); in MatchInfo()
438 tzID.setTo(match->id); in getTimeZoneIDAt()
449 mzID.setTo(match->id); in getMetaZoneIDAt()
Dudat.cpp229 res.setTo(result, 0, resultLength); in udat_format()
267 res.setTo(result, 0, resultLength); in udat_formatCalendar()
305 res.setTo(result, 0, resultLength); in udat_formatForFields()
333 res.setTo(result, 0, resultLength); in udat_formatCalendarForFields()
543 res.setTo(result, 0, resultLength); in udat_toPattern()
642 res1.setTo(result, 0, resultLength); in udat_getSymbols()
909 array[index].setTo(value, valueLength); in setSymbol()
1268 datePattern.setTo(result, 0, resultLength); in udat_toPatternRelativeDate()
1293 timePattern.setTo(result, 0, resultLength); in udat_toPatternRelativeTime()
Dunum.cpp187 res.setTo(result, 0, resultLength); in unum_formatInt64()
220 res.setTo(result, 0, resultLength); in unum_formatDouble()
270 resultStr.setTo(result, 0, resultLength); in unum_formatDecimal()
297 res.setTo(result, 0, resultLength); in unum_formatDoubleCurrency()
545 res.setTo(result, 0, resultLength); in unum_getTextAttribute()
668 pat.setTo(result, 0, resultLength); in unum_toPattern()
/external/icu/icu4c/source/tools/toolutil/
Dxmlparser.cpp596 replacement.setTo((UChar)x_AMP); in replaceCharRefs()
598 replacement.setTo((UChar)x_LT); in replaceCharRefs()
600 replacement.setTo((UChar)x_GT); in replaceCharRefs()
602 replacement.setTo((UChar)x_APOS); in replaceCharRefs()
604 replacement.setTo((UChar)x_QUOT); in replaceCharRefs()
612 replacement.setTo(val); in replaceCharRefs()
620 replacement.setTo(val); in replaceCharRefs()
735 name.setTo(*(const UnicodeString *)fAttNames.elementAt(i)); in getAttribute()
736 value.setTo(*(const UnicodeString *)fAttValues.elementAt(i)); in getAttribute()
/external/javassist/src/main/javassist/bytecode/annotation/
DClassMemberValue.java108 String setTo = Descriptor.of(newClassName); in setValue() local
109 valueIndex = cp.addUtf8Info(setTo); in setValue()
/external/icu/icu4c/source/common/unicode/
Dunistr.h1872 inline UnicodeString& setTo(const UnicodeString& srcText,
1888 inline UnicodeString& setTo(const UnicodeString& srcText,
1900 inline UnicodeString& setTo(const UnicodeString& srcText);
1910 inline UnicodeString& setTo(const UChar *srcChars,
1921 UnicodeString& setTo(UChar srcChar);
1931 UnicodeString& setTo(UChar32 srcChar);
1956 UnicodeString &setTo(UBool isTerminated,
1979 UnicodeString &setTo(UChar *buffer,
4339 UnicodeString::setTo(const UnicodeString& srcText, in setTo() function
4348 UnicodeString::setTo(const UnicodeString& srcText, in setTo() function
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dtztrans.h139 void setTo(const TimeZoneRule& to);

1234