Home
last modified time | relevance | path

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

123456

/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp70 rules.setTo(((RuleBasedCollator *)m_de_)->getRules()); in StringSearchTest()
78 rules.setTo(((RuleBasedCollator *)m_es_)->getRules()); in StringSearchTest()
479 text.setTo(temp); in assertEqual()
482 pattern.setTo(temp); in assertEqual()
538 text.setTo(temp); in assertCanonicalEqual()
541 pattern.setTo(temp); in assertCanonicalEqual()
591 text.setTo(temp); in assertEqualWithAttribute()
594 pattern.setTo(temp); in assertEqualWithAttribute()
876 text.setTo(temp, u_strlen(temp)); in TestBreakIterator()
879 pattern.setTo(temp, u_strlen(temp)); in TestBreakIterator()
[all …]
Dloctest.cpp1257 resultStr.setTo(tmp); in TestEuroSupport()
1262 resultStr.setTo(tmp); in TestEuroSupport()
1267 resultStr.setTo(tmp); in TestEuroSupport()
1272 resultStr.setTo(tmp); in TestEuroSupport()
1277 resultStr.setTo(tmp); in TestEuroSupport()
2592 tempStr.setTo(TMP); in TestCurrencyByDate()
2593 resultStr.setTo("SUR"); in TestCurrencyByDate()
2605 tempStr.setTo(TMP); in TestCurrencyByDate()
2606 resultStr.setTo("RUR"); in TestCurrencyByDate()
2618 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, UPRV_LENGTHOF(buffer)).length()!=u_strlen(buffer)) { in TestBasicManipulation()
219 if(s.setTo(buffer, -1, UPRV_LENGTHOF(buffer)).length()!=UPRV_LENGTHOF(buffer)) { in TestBasicManipulation()
896 test4.setTo(test1).trim(); in TestSpacePadding()
1115 test1.setTo(FALSE, u, 3); in TestMiscellaneous()
1121 test1.setTo(TRUE, u, -1); in TestMiscellaneous()
1176 test1.setTo(TRUE, ucs, 3); in TestMiscellaneous()
1250 test->setTo(TRUE, workingBuffer, 2); in TestStackAllocation()
1267 test->setTo(TRUE, workingBuffer, -1); in TestStackAllocation()
[all …]
Didnaconf.cpp306 key.setTo(s,0,p).trim(); in Test()
307 value.setTo(s,p+1).trim(); in Test()
326 id.setTo(value, 0, value.indexOf((UChar)0x20)); // space in Test()
329 namezone.setTo(value); in Test()
332 namebase.setTo(value); in Test()
/external/icu/icu4c/source/i18n/
Dnumber_decnum.h37 void setTo(StringPiece str, UErrorCode& status);
40 void setTo(const char* str, UErrorCode& status);
43 void setTo(double d, UErrorCode& status);
46 …void setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status);
Dulistformatter.cpp70 ustrings[stringIndex].setTo(TRUE, strings[stringIndex], -1); in ulistfmt_format()
74 …ustrings[stringIndex].setTo(stringLengths[stringIndex] < 0, strings[stringIndex], stringLengths[st… in ulistfmt_format()
81 res.setTo(result, 0, resultCapacity); in ulistfmt_format()
Dreldtfmt.cpp170 relativeDayString.setTo(theString, len); in format()
208 datePattern.setTo(relativeDayString); in format()
210 datePattern.setTo(fDatePattern); in format()
372 result.setTo(fTimePattern); in toPattern()
374 result.setTo(fDatePattern); in toPattern()
387 result.setTo(fDatePattern); in toPatternDate()
397 result.setTo(fTimePattern); in toPatternTime()
406 fDatePattern.setTo(datePattern); in applyPatterns()
407 fTimePattern.setTo(timePattern); in applyPatterns()
Dtzfmt.cpp362 fGMTZeroFormat.setTo(TRUE, resStr, len); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
382 …fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_HM].setTo(FALSE, hourFormats, (int32_t)(sep - hourFormats)); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
383 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_HM].setTo(TRUE, sep + 1, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
394 fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_H].setTo(TRUE, DEFAULT_GMT_POSITIVE_H, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
395 fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_HM].setTo(TRUE, DEFAULT_GMT_POSITIVE_HM, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
396 fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_HMS].setTo(TRUE, DEFAULT_GMT_POSITIVE_HMS, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
397 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_H].setTo(TRUE, DEFAULT_GMT_NEGATIVE_H, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
398 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_HM].setTo(TRUE, DEFAULT_GMT_NEGATIVE_HM, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
399 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_HMS].setTo(TRUE, DEFAULT_GMT_NEGATIVE_HMS, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
554 return pattern.setTo(fGMTPattern); in getGMTPattern()
[all …]
Dnumber_utils.cpp120 void DecNum::setTo(StringPiece str, UErrorCode& status) { in setTo() function in DecNum
127 void DecNum::setTo(const char* str, UErrorCode& status) { in setTo() function in DecNum
131 void DecNum::setTo(double d, UErrorCode& status) { in setTo() function in DecNum
192 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& statu… in setTo() function in DecNum
Dnumber_mapper.h33 void setTo(const DecimalFormatProperties& properties, UErrorCode& status);
38 setTo(properties, status); in PropertiesAffixPatternProvider()
83 void setTo(const CurrencyPluralInfo& cpi, const DecimalFormatProperties& properties,
Dnfrule.cpp208 sbuf.setTo(description, 0, brack1); in makeRules()
261 descriptor.setTo(description, 0, p); in parseRuleDescriptor()
516 subToken.setTo(fRuleText, subStart, subEnd + 1 - subStart); in extractSubstitution()
700 ruleTextCopy.setTo(fRuleText); in _appendRuleText()
919 prefix.setTo(fRuleText, 0, sub1Pos); in doParse()
1003 temp.setTo(fRuleText, sub1Pos, sub2Pos - sub1Pos); in doParse()
1017 workText2.setTo(workText, pp.getIndex(), workText.length() - pp.getIndex()); in doParse()
1024 temp.setTo(fRuleText, sub2Pos, fRuleText.length() - sub2Pos); in doParse()
1190 subText.setTo(text, 0, dPos); in matchToDelimiter()
1416 temp.setTo(str, 0, prefix.length()); in prefixLength()
[all …]
Dnumber_multiplier.cpp94 decnum->setTo(multiplicand, localError); in byDecimal()
107 decnum->setTo(multiplicand, localError); in byDouble()
120 decnum->setTo(multiplicand, localError); in byDoubleAndPowerOfTen()
Dnumber_mapper.cpp52 macros.symbols.setTo(symbols); in oldToNew()
69 warehouse.propertiesAPP.setTo(properties, status); in oldToNew()
72 … warehouse.currencyPluralInfoAPP.setTo(*properties.currencyPluralInfo.fPtr, properties, status); in oldToNew()
318 void PropertiesAffixPatternProvider::setTo(const DecimalFormatProperties& properties, UErrorCode&) { in setTo() function in PropertiesAffixPatternProvider
448 void CurrencyPluralInfoAffixProvider::setTo(const CurrencyPluralInfo& cpi, in setTo() function in CurrencyPluralInfoAffixProvider
464 affixesByPlural[plural].setTo(pluralProperties, status); in setTo()
Dtzgnames.cpp180 tzID.setTo(TRUE, minfo->gnameInfo->tzID, -1); in getTimeZoneID()
373 rpat.setTo(regionPattern, -1); in initialize()
378 fpat.setTo(fallbackPattern, -1); in initialize()
497 name.setTo(locname, u_strlen(locname)); in getGenericLocationName()
679 name.setTo(stdName); in formatGenericNonLocationName()
720 name.setTo(mzName); in formatGenericNonLocationName()
724 name.setTo(mzName); in formatGenericNonLocationName()
752 name.setTo(TRUE, uplname, -1); in getPartialLocationName()
802 location.setTo(tzCanonicalID); in getPartialLocationName()
967 tzID.setTo(bestMatchTzID); in findBestMatch()
[all …]
Dtitletrn.cpp149 tmp.setTo(FALSE, s, result); in handleTransliterate()
153 tmp.setTo(result); in handleTransliterate()
Dtztrans.cpp61 setTo(*right.fTo); in operator =()
114 TimeZoneTransition::setTo(const TimeZoneRule& to) { in setTo() function in TimeZoneTransition
Dunum.cpp199 res.setTo(result, 0, resultLength); in unum_formatInt64()
232 res.setTo(result, 0, resultLength); in unum_formatDouble()
270 res.setTo(result, 0, resultLength); in unum_formatDoubleForFields()
309 resultStr.setTo(result, 0, resultLength); in unum_formatDecimal()
336 res.setTo(result, 0, resultLength); in unum_formatDoubleCurrency()
631 res.setTo(result, 0, resultLength); in unum_getTextAttribute()
754 pat.setTo(result, 0, resultLength); in unum_toPattern()
/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/aac/libSACenc/src/
Dsacenc_bitstream.cpp155 LOSSLESSDATA *const hLosslessDataTo, const INT setTo) { in DuplicateLosslessData() argument
164 hLosslessDataTo->bsXXXDataMode[i][setTo] = in DuplicateLosslessData()
166 hLosslessDataTo->bsDataPair[i][setTo] = in DuplicateLosslessData()
168 hLosslessDataTo->bsQuantCoarseXXX[i][setTo] = in DuplicateLosslessData()
170 hLosslessDataTo->bsFreqResStrideXXX[i][setTo] = in DuplicateLosslessData()
179 const INT setTo) { in fdk_sacenc_duplicateParameterSet() argument
190 FDKmemcpy(hTo->ottData.cld[box][setTo], hFrom->ottData.cld[box][setFrom], in fdk_sacenc_duplicateParameterSet()
192 FDKmemcpy(hTo->ottData.icc[box][setTo], hFrom->ottData.icc[box][setFrom], in fdk_sacenc_duplicateParameterSet()
198 setFrom, &hTo->CLDLosslessData, setTo); in fdk_sacenc_duplicateParameterSet()
200 setFrom, &hTo->ICCLosslessData, setTo); in fdk_sacenc_duplicateParameterSet()
/external/icu/icu4c/source/common/
Dlocdspnm.cpp132 return result.setTo(s, len); in get()
134 return result.setTo(UnicodeString(itemKey, -1, US_INV)); in get()
147 return result.setTo(s, len); in getNoFallback()
468 formatOpenParen.setTo((UChar)0xFF08); // fullwidth ( in initialize()
469 formatReplaceOpenParen.setTo((UChar)0xFF3B); // fullwidth [ in initialize()
470 formatCloseParen.setTo((UChar)0xFF09); // fullwidth ) in initialize()
471 formatReplaceCloseParen.setTo((UChar)0xFF3D); // fullwidth ] in initialize()
473 formatOpenParen.setTo((UChar)0x0028); // ( in initialize()
474 formatReplaceOpenParen.setTo((UChar)0x005B); // [ in initialize()
475 formatCloseParen.setTo((UChar)0x0029); // ) in initialize()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dxmlparser.cpp598 replacement.setTo((UChar)x_AMP); in replaceCharRefs()
600 replacement.setTo((UChar)x_LT); in replaceCharRefs()
602 replacement.setTo((UChar)x_GT); in replaceCharRefs()
604 replacement.setTo((UChar)x_APOS); in replaceCharRefs()
606 replacement.setTo((UChar)x_QUOT); in replaceCharRefs()
614 replacement.setTo(val); in replaceCharRefs()
622 replacement.setTo(val); in replaceCharRefs()
737 name.setTo(*(const UnicodeString *)fAttNames.elementAt(i)); in getAttribute()
738 value.setTo(*(const UnicodeString *)fAttValues.elementAt(i)); in getAttribute()
/external/icu/libandroidicu/include/unicode/
Dures.h814 result.setTo(TRUE, r, len); in ures_getUnicodeString()
839 result.setTo(TRUE, r, len); in ures_getNextUnicodeString()
861 result.setTo(TRUE, r, len); in ures_getUnicodeStringByIndex()
884 result.setTo(TRUE, r, len); in ures_getUnicodeStringByKey()
/external/icu/icu4c/source/common/unicode/
Dures.h814 result.setTo(TRUE, r, len); in ures_getUnicodeString()
839 result.setTo(TRUE, r, len); in ures_getNextUnicodeString()
861 result.setTo(TRUE, r, len); in ures_getUnicodeStringByIndex()
884 result.setTo(TRUE, r, len); in ures_getUnicodeStringByKey()
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DTensorTest.java153 tensor.setTo(input); in testSetTo()
158 tensor.setTo(inputByteBuffer); in testSetTo()
166 tensor.setTo(null); in testSetToNull()
177 tensor.setTo(input); in testSetToInvalidByteBuffer()
/external/golang-protobuf/proto/
Dextensions_test.go357 setTo := func(test testcase) interface{} {
358 setTo := reflect.ValueOf(test.want)
360 setTo = reflect.New(typ).Elem()
361 setTo.Set(reflect.New(setTo.Type().Elem()))
362 setTo.Elem().Set(reflect.ValueOf(test.want))
364 return setTo.Interface()
378 if err := proto.SetExtension(msg, test.ext, setTo(test)); err != nil {

123456