/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | TensorTest.java | 213 tensor.setTo(input); in testSetTo() 221 tensor.setTo(inputByteBuffer); in testSetTo() 229 tensor.setTo(inputFloatBuffer); in testSetTo() 237 tensor.setTo(inputFloatBuffer); in testSetTo() 252 tensor.setTo(input); in testSetToInt() 260 tensor.setTo(inputByteBuffer); in testSetToInt() 268 tensor.setTo(inputIntBuffer); in testSetToInt() 275 tensor.setTo(inputIntBuffer); in testSetToInt() 290 tensor.setTo(input); in testSetToLong() 298 tensor.setTo(inputByteBuffer); in testSetToLong() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | srchtest.cpp | 70 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 …]
|
D | ustrtest.cpp | 138 if( test3.setTo((UChar32)0x10330).length() != 2 || in TestBasicManipulation() 181 if (target1 != target2.setTo(src, 12)) { in TestBasicManipulation() 205 if(s.setTo(buffer, -1, UPRV_LENGTHOF(buffer)).length()!=u_strlen(buffer)) { in TestBasicManipulation() 221 if(s.setTo(buffer, -1, UPRV_LENGTHOF(buffer)).length()!=UPRV_LENGTHOF(buffer)) { in TestBasicManipulation() 898 test4.setTo(test1).trim(); in TestSpacePadding() 1117 test1.setTo(FALSE, u, 3); in TestMiscellaneous() 1123 test1.setTo(TRUE, u, -1); in TestMiscellaneous() 1178 test1.setTo(TRUE, ucs, 3); in TestMiscellaneous() 1252 test->setTo(TRUE, workingBuffer, 2); in TestStackAllocation() 1269 test->setTo(TRUE, workingBuffer, -1); in TestStackAllocation() [all …]
|
D | idnaconf.cpp | 307 key.setTo(s,0,p).trim(); in Test() 308 value.setTo(s,p+1).trim(); in Test() 327 id.setTo(value, 0, value.indexOf((UChar)0x20)); // space in Test() 330 namezone.setTo(value); in Test() 333 namebase.setTo(value); in Test()
|
D | loctest.cpp | 1277 resultStr.setTo(tmp); in TestEuroSupport() 1282 resultStr.setTo(tmp); in TestEuroSupport() 1287 resultStr.setTo(tmp); in TestEuroSupport() 1292 resultStr.setTo(tmp); in TestEuroSupport() 2730 tempStr.setTo(TMP); in TestCurrencyByDate() 2731 resultStr.setTo("SUR"); in TestCurrencyByDate() 2743 tempStr.setTo(TMP); in TestCurrencyByDate() 2744 resultStr.setTo("RUR"); in TestCurrencyByDate() 2756 tempStr.setTo(TMP); in TestCurrencyByDate() 2757 resultStr.setTo("AMD"); in TestCurrencyByDate() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_decnum.h | 37 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);
|
D | reldtfmt.cpp | 170 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()
|
D | ulistformatter.cpp | 76 ustrings[stringIndex].setTo(TRUE, strings[stringIndex], -1); in getUnicodeStrings() 80 …ustrings[stringIndex].setTo(stringLengths[stringIndex] < 0, strings[stringIndex], stringLengths[st… in getUnicodeStrings() 114 res.setTo(result, 0, resultCapacity); in ulistfmt_format()
|
D | tzfmt.cpp | 368 fGMTZeroFormat.setTo(TRUE, resStr, len); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 388 …fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_HM].setTo(FALSE, hourFormats, (int32_t)(sep - hourFormats)); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 389 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_HM].setTo(TRUE, sep + 1, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 400 fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_H].setTo(TRUE, DEFAULT_GMT_POSITIVE_H, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 401 fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_HM].setTo(TRUE, DEFAULT_GMT_POSITIVE_HM, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 402 fGMTOffsetPatterns[UTZFMT_PAT_POSITIVE_HMS].setTo(TRUE, DEFAULT_GMT_POSITIVE_HMS, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 403 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_H].setTo(TRUE, DEFAULT_GMT_NEGATIVE_H, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 404 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_HM].setTo(TRUE, DEFAULT_GMT_NEGATIVE_HM, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 405 fGMTOffsetPatterns[UTZFMT_PAT_NEGATIVE_HMS].setTo(TRUE, DEFAULT_GMT_NEGATIVE_HMS, -1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 560 return pattern.setTo(fGMTPattern); in getGMTPattern() [all …]
|
D | number_mapper.h | 33 void setTo(const DecimalFormatProperties& properties, UErrorCode& status); 38 setTo(properties, status); in PropertiesAffixPatternProvider() 84 void setTo(const CurrencyPluralInfo& cpi, const DecimalFormatProperties& properties,
|
D | number_utils.cpp | 120 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
|
D | number_multiplier.cpp | 97 decnum->setTo(multiplicand, localError); in byDecimal() 110 decnum->setTo(multiplicand, localError); in byDouble() 123 decnum->setTo(multiplicand, localError); in byDoubleAndPowerOfTen()
|
D | nfrule.cpp | 208 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 …]
|
D | number_mapper.cpp | 52 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() 327 void PropertiesAffixPatternProvider::setTo(const DecimalFormatProperties& properties, UErrorCode& s… in setTo() function in PropertiesAffixPatternProvider 462 void CurrencyPluralInfoAffixProvider::setTo(const CurrencyPluralInfo& cpi, in setTo() function in CurrencyPluralInfoAffixProvider 478 affixesByPlural[plural].setTo(pluralProperties, status); in setTo()
|
D | titletrn.cpp | 149 tmp.setTo(FALSE, s, result); in handleTransliterate() 153 tmp.setTo(result); in handleTransliterate()
|
D | tztrans.cpp | 61 setTo(*right.fTo); in operator =() 114 TimeZoneTransition::setTo(const TimeZoneRule& to) { in setTo() function in TimeZoneTransition
|
D | tzgnames.cpp | 183 tzID.setTo(TRUE, minfo->gnameInfo->tzID, -1); in getTimeZoneID() 376 rpat.setTo(regionPattern, -1); in initialize() 381 fpat.setTo(fallbackPattern, -1); in initialize() 503 name.setTo(locname, u_strlen(locname)); in getGenericLocationName() 685 name.setTo(stdName); in formatGenericNonLocationName() 726 name.setTo(mzName); in formatGenericNonLocationName() 730 name.setTo(mzName); in formatGenericNonLocationName() 758 name.setTo(TRUE, uplname, -1); in getPartialLocationName() 808 location.setTo(tzCanonicalID); in getPartialLocationName() 973 tzID.setTo(bestMatchTzID); in findBestMatch() [all …]
|
D | casetrn.cpp | 173 tmp.setTo(FALSE, s, result); in handleTransliterate() 177 tmp.setTo(result); in handleTransliterate()
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | MessageFactoryImpl.java | 138 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/ |
D | sacenc_bitstream.cpp | 155 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/tools/toolutil/ |
D | xmlparser.cpp | 598 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/icu4c/source/common/unicode/ |
D | ures.h | 814 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/libandroidicu/include/unicode/ |
D | ures.h | 814 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/ |
D | locdspnm.cpp | 132 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() 471 formatOpenParen.setTo((UChar)0xFF08); // fullwidth ( in initialize() 472 formatReplaceOpenParen.setTo((UChar)0xFF3B); // fullwidth [ in initialize() 473 formatCloseParen.setTo((UChar)0xFF09); // fullwidth ) in initialize() 474 formatReplaceCloseParen.setTo((UChar)0xFF3D); // fullwidth ] in initialize() 476 formatOpenParen.setTo((UChar)0x0028); // ( in initialize() 477 formatReplaceOpenParen.setTo((UChar)0x005B); // [ in initialize() 478 formatCloseParen.setTo((UChar)0x0029); // ) in initialize() [all …]
|
/external/golang-protobuf/proto/ |
D | extensions_test.go | 353 setTo := func(test testcase) interface{} { 354 setTo := reflect.ValueOf(test.want) 356 setTo = reflect.New(typ).Elem() 357 setTo.Set(reflect.New(setTo.Type().Elem())) 358 setTo.Elem().Set(reflect.ValueOf(test.want)) 360 return setTo.Interface() 374 if err := proto.SetExtension(msg, test.ext, setTo(test)); err != nil {
|