Home
last modified time | relevance | path

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

1234567891011

/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.cpp127 if( test3.setTo((UChar32)0x10330).length() != 2 || in TestBasicManipulation()
170 if (target1 != target2.setTo(src, 12)) { in TestBasicManipulation()
194 if(s.setTo(buffer, -1, UPRV_LENGTHOF(buffer)).length()!=u_strlen(buffer)) { in TestBasicManipulation()
210 if(s.setTo(buffer, -1, UPRV_LENGTHOF(buffer)).length()!=UPRV_LENGTHOF(buffer)) { in TestBasicManipulation()
887 test4.setTo(test1).trim(); in TestSpacePadding()
1106 test1.setTo(FALSE, u, 3); in TestMiscellaneous()
1112 test1.setTo(TRUE, u, -1); in TestMiscellaneous()
1169 test1.setTo(TRUE, ucs, 3); in TestMiscellaneous()
1243 test->setTo(TRUE, workingBuffer, 2); in TestStackAllocation()
1260 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/opencv3/modules/stitching/test/
Dtest_blenders.cpp58 mask1(Rect(0, 0, mask1.cols/2, mask1.rows)).setTo(255); in TEST()
59 mask1(Rect(mask1.cols/2, 0, mask1.cols - mask1.cols/2, mask1.rows)).setTo(0); in TEST()
62 mask2(Rect(0, 0, mask2.cols/2, mask2.rows)).setTo(0); in TEST()
63 mask2(Rect(mask2.cols/2, 0, mask2.cols - mask2.cols/2, mask2.rows)).setTo(255); in TEST()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/
Dreduce.hpp71 dst.setTo(0, stream); in gridCalcSum_()
93 dst.setTo(0, stream); in gridCalcSum_()
109 dst.setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); in gridFindMinVal_()
127 dst.setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); in gridFindMinVal_()
143 dst.setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); in gridFindMaxVal_()
161 dst.setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); in gridFindMaxVal_()
177 dst.col(0).setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); in gridFindMinMaxVal_()
178 dst.col(1).setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); in gridFindMinMaxVal_()
196 dst.col(0).setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); in gridFindMinMaxVal_()
197 dst.col(1).setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); in gridFindMinMaxVal_()
[all …]
/external/opencv3/modules/cudastereo/src/
Dstereocsbp.cpp225 l[0].setTo(0, _stream); in compute()
226 d[0].setTo(0, _stream); in compute()
227 r[0].setTo(0, _stream); in compute()
228 u[0].setTo(0, _stream); in compute()
230 l[1].setTo(0, _stream); in compute()
231 d[1].setTo(0, _stream); in compute()
232 r[1].setTo(0, _stream); in compute()
233 u[1].setTo(0, _stream); in compute()
235 data_cost.setTo(0, _stream); in compute()
236 data_cost_selected.setTo(0, _stream); in compute()
[all …]
Dstereobp.cpp246 u_.setTo(0, stream); in init()
247 d_.setTo(0, stream); in init()
248 l_.setTo(0, stream); in init()
249 r_.setTo(0, stream); in init()
264 u2_.setTo(0, stream); in init()
265 d2_.setTo(0, stream); in init()
266 l2_.setTo(0, stream); in init()
267 r2_.setTo(0, stream); in init()
353 out.setTo(0, _stream); in calcBP()
/external/opencv3/samples/cpp/tutorial_code/core/mat_mask_operations/
Dmat_mask_operations.cpp84 Result.row(0).setTo(Scalar(0)); in Sharpen()
85 Result.row(Result.rows-1).setTo(Scalar(0)); in Sharpen()
86 Result.col(0).setTo(Scalar(0)); in Sharpen()
87 Result.col(Result.cols-1).setTo(Scalar(0)); in Sharpen()
/external/opencv3/modules/cudalegacy/src/
Dfgd.cpp230 changeMask.setTo(Scalar::all(0)); in calcDiffThreshMask()
411 h_foreground.setTo(0); in findForegroundRegions()
495 Pbc_.setTo(Scalar::all(0)); in create()
498 Pbcc_.setTo(Scalar::all(0)); in create()
501 is_trained_st_model_.setTo(Scalar::all(0)); in create()
504 is_trained_dyn_model_.setTo(Scalar::all(0)); in create()
507 ctable_Pv_.setTo(Scalar::all(0)); in create()
510 ctable_Pvb_.setTo(Scalar::all(0)); in create()
513 ctable_v_.setTo(Scalar::all(0)); in create()
516 cctable_Pv_.setTo(Scalar::all(0)); in create()
[all …]
/external/opencv3/modules/java/android_test/src/org/opencv/test/android/
DUtilsTest.java79 bmp16.eraseColor(Color.BLACK); m16.setTo(s0); in testMatToBitmap()
85 bmp32.eraseColor(Color.WHITE); m32.setTo(s255); in testMatToBitmap()
97 bmp16.eraseColor(Color.BLACK); m16.setTo(s0); in testMatToBitmap()
103 bmp32.eraseColor(Color.WHITE); m32.setTo(s255); in testMatToBitmap()
116 bmp16.eraseColor(Color.BLACK); m16.setTo(s0); in testMatToBitmap()
123 bmp32.eraseColor(Color.WHITE); m32.setTo(s255); in testMatToBitmap()
125 tmp.setTo(s0); in testMatToBitmap()
/external/opencv3/modules/cudaarithm/test/
Dtest_gpumat.cpp78 mat.setTo(zero); in CUDA_TEST_P()
92 mat.setTo(val); in CUDA_TEST_P()
102 mat.setTo(val); in CUDA_TEST_P()
117 mat.setTo(val); in CUDA_TEST_P()
127 mat.setTo(val); in CUDA_TEST_P()
144 mat.setTo(val, loadMat(mask)); in CUDA_TEST_P()
154 mat.setTo(val, loadMat(mask, useRoi)); in CUDA_TEST_P()
156 mat_gold.setTo(val, mask); in CUDA_TEST_P()
/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()
/external/opencv3/modules/core/test/ocl/
Dtest_matrix_operation.cpp186 OCL_OFF(dst_roi.setTo(val, mask_roi)); in OCL_TEST_P()
187 OCL_ON(udst_roi.setTo(val, umask_roi)); in OCL_TEST_P()
191 OCL_OFF(dst_roi.setTo(val)); in OCL_TEST_P()
192 OCL_ON(udst_roi.setTo(val)); in OCL_TEST_P()
/external/opencv3/modules/core/perf/cuda/
Dperf_gpumat.cpp74 TEST_CYCLE() dst.setTo(val); in PERF_TEST_P()
80 TEST_CYCLE() dst.setTo(val); in PERF_TEST_P()
111 TEST_CYCLE() dst.setTo(val, d_mask); in PERF_TEST_P()
117 TEST_CYCLE() dst.setTo(val, mask); in PERF_TEST_P()
/external/opencv3/modules/cudaoptflow/src/
Dtvl1flow.cpp261 u1s[nscales_-1].setTo(Scalar::all(0), stream); in calcImpl()
262 u2s[nscales_-1].setTo(Scalar::all(0), stream); in calcImpl()
266 u3s[nscales_ - 1].setTo(Scalar::all(0), stream); in calcImpl()
329 p11.setTo(Scalar::all(0), _stream); in procOneScale()
330 p12.setTo(Scalar::all(0), _stream); in procOneScale()
331 p21.setTo(Scalar::all(0), _stream); in procOneScale()
332 p22.setTo(Scalar::all(0), _stream); in procOneScale()
335 p31.setTo(Scalar::all(0), _stream); in procOneScale()
336 p32.setTo(Scalar::all(0), _stream); in procOneScale()
/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.cpp1278 zarray[i][0].setTo(*tzid); in initZoneStringsArray()
1279 … zarray[i][1].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_STANDARD, now, tzDispName)); in initZoneStringsArray()
1280 … zarray[i][2].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_STANDARD, now, tzDispName)); in initZoneStringsArray()
1281 … zarray[i][3].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_DAYLIGHT, now, tzDispName)); in initZoneStringsArray()
1282 … zarray[i][4].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_DAYLIGHT, now, tzDispName)); in initZoneStringsArray()
1413 (*(field)+i)->setTo(TRUE, resStr, strLen); in initField()
1432 (*(field)+i)->setTo(TRUE, data+(i*((int32_t)strLen)), -1); in initField()
1449 field[index].setTo(TRUE, resStr, strLen); in initLeapMonthPattern()
1592 …fLeapMonthPatterns[kLeapMonthPatternFormatAbbrev].setTo(fLeapMonthPatterns[kLeapMonthPatternFormat… in initializeData()
1595 …fLeapMonthPatterns[kLeapMonthPatternFormatNarrow].setTo(fLeapMonthPatterns[kLeapMonthPatternStanda… in initializeData()
[all …]
/external/opencv3/doc/tutorials/core/mat-mask-operations/
Dmat_mask_operations.markdown58 Result.row(0).setTo(Scalar(0));
59 Result.row(Result.rows - 1).setTo(Scalar(0));
60 Result.col(0).setTo(Scalar(0));
61 Result.col(Result.cols - 1).setTo(Scalar(0));
102 Result.row(0).setTo(Scalar(0)); // The top row
103 Result.row(Result.rows - 1).setTo(Scalar(0)); // The bottom row
104 Result.col(0).setTo(Scalar(0)); // The left column
105 Result.col(Result.cols - 1).setTo(Scalar(0)); // The right column
/external/opencv3/samples/java/ant/src/
DSimpleSample.java15 mr1.setTo(new Scalar(1)); in main()
17 mc5.setTo(new Scalar(5)); in main()
/external/opencv3/modules/cudabgsegm/src/
Dmog.cpp195 weight_.setTo(cv::Scalar::all(0)); in initialize()
196 sortKey_.setTo(cv::Scalar::all(0)); in initialize()
197 mean_.setTo(cv::Scalar::all(0)); in initialize()
198 var_.setTo(cv::Scalar::all(0)); in initialize()
/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()

1234567891011