Home
last modified time | relevance | path

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

12345

/external/chromium/third_party/icu/source/test/intltest/
Dsrchtest.cpp65 rules.setTo(((RuleBasedCollator *)m_de_)->getRules()); in StringSearchTest()
73 rules.setTo(((RuleBasedCollator *)m_es_)->getRules()); in StringSearchTest()
361 text.setTo(temp); in assertEqual()
364 pattern.setTo(temp); in assertEqual()
420 text.setTo(temp); in assertCanonicalEqual()
423 pattern.setTo(temp); in assertCanonicalEqual()
473 text.setTo(temp); in assertEqualWithAttribute()
476 pattern.setTo(temp); in assertEqualWithAttribute()
758 text.setTo(temp, u_strlen(temp)); in TestBreakIterator()
761 pattern.setTo(temp, u_strlen(temp)); in TestBreakIterator()
[all …]
Dloctest.cpp1208 resultStr.setTo(tmp); in TestEuroSupport()
1213 resultStr.setTo(tmp); in TestEuroSupport()
1218 resultStr.setTo(tmp); in TestEuroSupport()
1223 resultStr.setTo(tmp); in TestEuroSupport()
1228 resultStr.setTo(tmp); in TestEuroSupport()
2171 tempStr.setTo(TMP); in TestCurrencyByDate()
2172 resultStr.setTo("SUR"); in TestCurrencyByDate()
2184 tempStr.setTo(TMP); in TestCurrencyByDate()
2185 resultStr.setTo("RUR"); in TestCurrencyByDate()
2197 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, LENGTHOF(buffer)).length()!=u_strlen(buffer)) { in TestBasicManipulation()
218 if(s.setTo(buffer, -1, LENGTHOF(buffer)).length()!=LENGTHOF(buffer)) { in TestBasicManipulation()
888 test4.setTo(test1).trim(); in TestSpacePadding()
1086 test1.setTo(FALSE, u, 3); in TestMiscellaneous()
1092 test1.setTo(TRUE, u, -1); in TestMiscellaneous()
1199 test->setTo(TRUE, workingBuffer, 2); in TestStackAllocation()
1216 test->setTo(TRUE, workingBuffer, -1); in TestStackAllocation()
1221 test->setTo(FALSE, workingBuffer, -1); in TestStackAllocation()
[all …]
Didnaconf.cpp305 key.setTo(s,0,p).trim(); in Test()
306 value.setTo(s,p+1).trim(); in Test()
325 id.setTo(value, 0, value.indexOf((UChar)0x20)); // space in Test()
328 namezone.setTo(value); in Test()
331 namebase.setTo(value); in Test()
/external/icu4c/test/intltest/
Dsrchtest.cpp65 rules.setTo(((RuleBasedCollator *)m_de_)->getRules()); in StringSearchTest()
73 rules.setTo(((RuleBasedCollator *)m_es_)->getRules()); in StringSearchTest()
371 text.setTo(temp); in assertEqual()
374 pattern.setTo(temp); in assertEqual()
430 text.setTo(temp); in assertCanonicalEqual()
433 pattern.setTo(temp); in assertCanonicalEqual()
483 text.setTo(temp); in assertEqualWithAttribute()
486 pattern.setTo(temp); in assertEqualWithAttribute()
768 text.setTo(temp, u_strlen(temp)); in TestBreakIterator()
771 pattern.setTo(temp, u_strlen(temp)); in TestBreakIterator()
[all …]
Dloctest.cpp1212 resultStr.setTo(tmp); in TestEuroSupport()
1217 resultStr.setTo(tmp); in TestEuroSupport()
1222 resultStr.setTo(tmp); in TestEuroSupport()
1227 resultStr.setTo(tmp); in TestEuroSupport()
1232 resultStr.setTo(tmp); in TestEuroSupport()
2209 tempStr.setTo(TMP); in TestCurrencyByDate()
2210 resultStr.setTo("SUR"); in TestCurrencyByDate()
2222 tempStr.setTo(TMP); in TestCurrencyByDate()
2223 resultStr.setTo("RUR"); in TestCurrencyByDate()
2235 tempStr.setTo(TMP); in TestCurrencyByDate()
[all …]
Dustrtest.cpp136 if( test3.setTo((UChar32)0x10330).length() != 2 || in TestBasicManipulation()
179 if (target1 != target2.setTo(src, 12)) { in TestBasicManipulation()
203 if(s.setTo(buffer, -1, LENGTHOF(buffer)).length()!=u_strlen(buffer)) { in TestBasicManipulation()
219 if(s.setTo(buffer, -1, LENGTHOF(buffer)).length()!=LENGTHOF(buffer)) { in TestBasicManipulation()
889 test4.setTo(test1).trim(); in TestSpacePadding()
1087 test1.setTo(FALSE, u, 3); in TestMiscellaneous()
1093 test1.setTo(TRUE, u, -1); in TestMiscellaneous()
1216 test->setTo(TRUE, workingBuffer, 2); in TestStackAllocation()
1233 test->setTo(TRUE, workingBuffer, -1); in TestStackAllocation()
1238 test->setTo(FALSE, workingBuffer, -1); in TestStackAllocation()
[all …]
Didnaconf.cpp305 key.setTo(s,0,p).trim(); in Test()
306 value.setTo(s,p+1).trim(); in Test()
325 id.setTo(value, 0, value.indexOf((UChar)0x20)); // space in Test()
328 namezone.setTo(value); in Test()
331 namebase.setTo(value); in Test()
/external/icu4c/i18n/
Dnfrule.cpp182 rule2->ruleText.setTo(sbuf); in makeRules()
189 sbuf.setTo(description, 0, brack1); in makeRules()
194 rule1->ruleText.setTo(sbuf); in makeRules()
235 descriptor.setTo(description, 0, p); in parseRuleDescriptor()
448 subToken.setTo(ruleText, subStart, subEnd + 1 - subStart); in extractSubstitution()
620 ruleTextCopy.setTo(ruleText); in _appendRuleText()
772 prefix.setTo(ruleText, 0, sub1->getPos()); in doParse()
844 temp.setTo(ruleText, sub1->getPos(), sub2->getPos() - sub1->getPos()); in doParse()
857 workText2.setTo(workText, pp.getIndex(), workText.length() - pp.getIndex()); in doParse()
864 temp.setTo(ruleText, sub2->getPos(), ruleText.length() - sub2->getPos()); in doParse()
[all …]
Ddtfmtsym.cpp1156 (*(field)+i)->setTo(TRUE, resStr, strLen); in initField()
1175 (*(field)+i)->setTo(TRUE, data+(i*((int32_t)strLen)), -1); in initField()
1321 fGmtFormat.setTo(TRUE, gLastResortGmtFormat, -1); in initializeData()
1322 fLocalPatternChars.setTo(TRUE, gPatternChars, PATTERN_CHARS_LEN); in initializeData()
1389 fGmtFormat.setTo(TRUE, resStr, len); in initializeData()
1401 fGmtHourFormats[GMT_NEGATIVE_HM].setTo(TRUE, sep + 1, -1); in initializeData()
1402 fGmtHourFormats[GMT_POSITIVE_HM].setTo(FALSE, resStr, (int32_t)(sep - resStr)); in initializeData()
1435 fLocalPatternChars.setTo(TRUE, gPatternChars, PATTERN_CHARS_LEN); in initializeData()
1450 fWeekdays[i+1].setTo(TRUE, resStr, len); in initializeData()
1466 fShortWeekdays[i+1].setTo(TRUE, resStr, len); in initializeData()
[all …]
Dnumsys.cpp54 desc.setTo(defaultDigits); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
153 nsd.setTo(description); in createInstanceByName()
192 desc.setTo(d); in setDesc()
Dzstrfmt.cpp592 names[typeIdx].setTo(strings[row][col]); in ZoneStringFormat()
740 city.setTo(TRUE, tmpCity, -1); in ZoneStringFormat()
742 city.setTo(UnicodeString(pCity, -1, US_INV)); in ZoneStringFormat()
856 strings_mz[typeidx].setTo(TRUE, mzstrarray[typeidx], -1); in ZoneStringFormat()
919 mzPartialLoc[mzPartialLocIdx][0].setTo(mzid); in ZoneStringFormat()
940 … mzPartialLoc[mzPartialLocIdx][3].setTo(TRUE, gCommonlyUsedTrue, -1); in ZoneStringFormat()
969 strings[i].setTo(zstrarray[i], -1); in ZoneStringFormat()
1004 genericPartialLocationNames[i][j].setTo(mzPartialLoc[i][j]); in ZoneStringFormat()
1118 result[i][0].setTo(*id); in createZoneStringsArray()
1229 canonicalID.setTo(tzid); in getString()
[all …]
Dzonemeta.cpp221 systemID.setTo(canonical); in getCanonicalSystemID()
231 canonicalCountry.setTo(region, -1); in getCanonicalCountry()
352 country.setTo(region, -1); in getSingleCountry()
365 result.setTo(mzm->mzid, -1); in getMetazoneID()
595 result.setTo(tzid, tzidLen); in getZoneIdByMetazone()
Dtitletrn.cpp146 tmp.setTo(FALSE, s, result); in handleTransliterate()
150 tmp.setTo(result); in handleTransliterate()
Dtztrans.cpp57 setTo(*right.fTo); in operator =()
110 TimeZoneTransition::setTo(const TimeZoneRule& to) { in setTo() function in TimeZoneTransition
/external/chromium/third_party/icu/source/i18n/
Dnfrule.cpp182 rule2->ruleText.setTo(sbuf); in makeRules()
189 sbuf.setTo(description, 0, brack1); in makeRules()
194 rule1->ruleText.setTo(sbuf); in makeRules()
235 descriptor.setTo(description, 0, p); in parseRuleDescriptor()
448 subToken.setTo(ruleText, subStart, subEnd + 1 - subStart); in extractSubstitution()
620 ruleTextCopy.setTo(ruleText); in _appendRuleText()
772 prefix.setTo(ruleText, 0, sub1->getPos()); in doParse()
844 temp.setTo(ruleText, sub1->getPos(), sub2->getPos() - sub1->getPos()); in doParse()
857 workText2.setTo(workText, pp.getIndex(), workText.length() - pp.getIndex()); in doParse()
864 temp.setTo(ruleText, sub2->getPos(), ruleText.length() - sub2->getPos()); in doParse()
[all …]
Dzstrfmt.cpp505 names[typeIdx].setTo(strings[row][col]); in ZoneStringFormat()
636 city.setTo(TRUE, tmpCity, -1); in ZoneStringFormat()
638 city.setTo(UnicodeString(pCity, -1, US_INV)); in ZoneStringFormat()
760 strings_mz[typeidx].setTo(TRUE, mzstrarray[typeidx], -1); in ZoneStringFormat()
815 mzPartialLoc[mzPartialLocIdx][0].setTo(mzid); in ZoneStringFormat()
836 … mzPartialLoc[mzPartialLocIdx][3].setTo(TRUE, gCommonlyUsedTrue, -1); in ZoneStringFormat()
865 strings[i].setTo(zstrarray[i], -1); in ZoneStringFormat()
895 genericPartialLocationNames[i][j].setTo(mzPartialLoc[i][j]); in ZoneStringFormat()
1003 result[i][0].setTo(*id); in createZoneStringsArray()
1114 canonicalID.setTo(tzid); in getString()
[all …]
Ddtfmtsym.cpp1154 (*(field)+i)->setTo(TRUE, resStr, strLen); in initField()
1173 (*(field)+i)->setTo(TRUE, data+(i*((int32_t)strLen)), -1); in initField()
1319 fGmtFormat.setTo(TRUE, gLastResortGmtFormat, -1); in initializeData()
1320 fLocalPatternChars.setTo(TRUE, gPatternChars, PATTERN_CHARS_LEN); in initializeData()
1387 fGmtFormat.setTo(TRUE, resStr, len); in initializeData()
1399 fGmtHourFormats[GMT_NEGATIVE_HM].setTo(TRUE, sep + 1, -1); in initializeData()
1400 fGmtHourFormats[GMT_POSITIVE_HM].setTo(FALSE, resStr, sep - resStr); in initializeData()
1433 fLocalPatternChars.setTo(TRUE, gPatternChars, PATTERN_CHARS_LEN); in initializeData()
1448 fWeekdays[i+1].setTo(TRUE, resStr, len); in initializeData()
1464 fShortWeekdays[i+1].setTo(TRUE, resStr, len); in initializeData()
[all …]
Dnumsys.cpp53 desc.setTo(defaultDigits); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
151 nsd.setTo(description); in createInstanceByName()
190 desc.setTo(d); in setDesc()
Dnumfmt.cpp891 pattern.setTo(TRUE, gLastResortNumberPatterns[style], -1); in makeInstance()
918 pattern.setTo(TRUE, patResStr, patLen); in makeInstance()
926 pattern.setTo(currPattern, u_strlen(currPattern)); in makeInstance()
943 nsDesc.setTo(ns->getDescription()); in makeInstance()
950 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance()
951 nsRuleSetName.setTo(nsDesc,lastSlash+1); in makeInstance()
961 nsRuleSetName.setTo(nsDesc); in makeInstance()
Dtitletrn.cpp146 tmp.setTo(FALSE, s, result); in handleTransliterate()
150 tmp.setTo(result); in handleTransliterate()
Dtztrans.cpp57 setTo(*right.fTo); in operator =()
110 TimeZoneTransition::setTo(const TimeZoneRule& to) { in setTo() function in TimeZoneTransition
/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/chromium/third_party/icu/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()
734 name.setTo(*(const UnicodeString *)fAttNames.elementAt(i)); in getAttribute()
735 value.setTo(*(const UnicodeString *)fAttValues.elementAt(i)); in getAttribute()
/external/icu4c/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()
734 name.setTo(*(const UnicodeString *)fAttNames.elementAt(i)); in getAttribute()
735 value.setTo(*(const UnicodeString *)fAttValues.elementAt(i)); in getAttribute()

12345