Home
last modified time | relevance | path

Searched refs:mf (Results 1 – 25 of 185) sorted by relevance

12345678

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessageRegression.java293 MessageFormat mf = new MessageFormat(originalPattern); in Test4114743() local
296 mf.applyPattern(illegalPattern); in Test4114743()
299 if (illegalPattern.equals(mf.toPattern())) in Test4114743()
300 errln("pattern after: \"" + mf.toPattern() + "\""); in Test4114743()
310 MessageFormat mf = new MessageFormat(""); in Test4116444() local
314 mf.applyPattern(pattern); in Test4116444()
316 Object[] array = mf.parse(null, new ParsePosition(0)); in Test4116444()
346 MessageFormat mf = new MessageFormat("<{0}>"); in Test4114739() local
351 logln("pattern: \"" + mf.toPattern() + "\""); in Test4114739()
353 logln("\"" + mf.format(objs1) + "\""); in Test4114739()
[all …]
DMeasureUnitTest.java555 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf); in TestFormatPeriodEn() local
556 verifyFormatPeriod("en FULL", mf, fullData); in TestFormatPeriodEn()
557 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf); in TestFormatPeriodEn()
558 verifyFormatPeriod("en SHORT", mf, abbrevData); in TestFormatPeriodEn()
559 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn()
560 verifyFormatPeriod("en NARROW", mf, narrowData); in TestFormatPeriodEn()
561 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf); in TestFormatPeriodEn()
562 verifyFormatPeriod("en NUMERIC", mf, numericData); in TestFormatPeriodEn()
566 mf = MeasureFormat.getInstance(ULocale.GERMAN, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
567 verifyFormatPeriod("de FULL", mf, fullDataDe); in TestFormatPeriodEn()
[all …]
DTestMessageFormat.java1155 MessageFormat mf = new MessageFormat("Number of files in folder {folder}: {numfiles}"); in testNamedArguments() local
1156 if (!mf.usesNamedArguments()) { in testNamedArguments()
1159 mf = new MessageFormat("Wavelength: {\u028EValue\uFF14}"); in testNamedArguments()
1160 if (!mf.usesNamedArguments()) { in testNamedArguments()
1194 MessageFormat mf = new MessageFormat("X:{2} Y:{1}"); in testNumericFormatWithMap() local
1195 if (mf.usesNamedArguments()) { in testNumericFormatWithMap()
1204 String result = mf.format(map12); in testNumericFormatWithMap()
1210 Map mapResult = mf.parseToMap(target); in testNumericFormatWithMap()
1222 result = mf.format(map10); in testNumericFormatWithMap()
1232 mf.setFormatsByArgumentName(fmtMap); in testNumericFormatWithMap()
[all …]
/external/eigen/test/
Dmixingtypes.cpp39 Mat_f mf = Mat_f::Random(size,size); in mixingtypes() local
40 Mat_d md = mf.template cast<double>(); in mixingtypes()
53 mf+mf; in mixingtypes()
54 VERIFY_RAISES_ASSERT(mf+md); in mixingtypes()
55 VERIFY_RAISES_ASSERT(mf+mcf); in mixingtypes()
101 VERIFY_IS_APPROX(sf*mf*mcf, sf*mf.template cast<CF>()*mcf); in mixingtypes()
102 VERIFY_IS_APPROX(sf*mcf*mf, sf*mcf*mf.template cast<CF>()); in mixingtypes()
103 VERIFY_IS_APPROX(scf*mf*mcf, scf*mf.template cast<CF>()*mcf); in mixingtypes()
104 VERIFY_IS_APPROX(scf*mcf*mf, scf*mcf*mf.template cast<CF>()); in mixingtypes()
106 VERIFY_IS_APPROX(sf*mf*vcf, (sf*mf).template cast<CF>().eval()*vcf); in mixingtypes()
[all …]
/external/eigen/test/eigen2/
Deigen2_mixingtypes.cpp33 Mat_f mf(size,size); in mixingtypes() local
42 mf+mf; in mixingtypes()
43 VERIFY_RAISES_ASSERT(mf+md); in mixingtypes()
44 VERIFY_RAISES_ASSERT(mf+mcf); in mixingtypes()
49 mf*mf; in mixingtypes() local
52 mf*vcf; in mixingtypes()
54 mcf *= mf; in mixingtypes()
59 VERIFY_RAISES_ASSERT(mf*md); in mixingtypes()
62 VERIFY_RAISES_ASSERT(vcf = mf*vf); in mixingtypes()
/external/lzma/C/
DLzFindMt.c168 CMatchFinder *mf = mt->MatchFinder; in HashThreadFunc() local
169 if (MatchFinder_NeedMove(mf)) in HashThreadFunc()
174 const Byte *beforePtr = MatchFinder_GetPointerToCurrentPos(mf); in HashThreadFunc()
176 MatchFinder_MoveBlock(mf); in HashThreadFunc()
177 afterPtr = MatchFinder_GetPointerToCurrentPos(mf); in HashThreadFunc()
188 MatchFinder_ReadIfRequired(mf); in HashThreadFunc()
189 if (mf->pos > (kMtMaxValForNormalize - kMtHashBlockSize)) in HashThreadFunc()
191 UInt32 subValue = (mf->pos - mf->historySize - 1); in HashThreadFunc()
192 MatchFinder_ReduceOffsets(mf, subValue); in HashThreadFunc()
193 MatchFinder_Normalize3(subValue, mf->hash + mf->fixedHashSize, mf->hashMask + 1); in HashThreadFunc()
[all …]
/external/icu/icu4c/source/test/intltest/
Dmsfmrgts.cpp455 MessageFormat *mf = new MessageFormat(originalPattern, status); in Test4114743() local
459 mf->applyPattern(illegalPattern, status); in Test4114743()
466 delete mf; in Test4114743()
481 MessageFormat *mf = new MessageFormat("", status); in Test4116444() local
486 mf->applyPattern(pattern, status); in Test4116444()
492 Formattable *array = mf->parse(UnicodeString(""), pp, count); in Test4116444()
518 delete mf; in Test4116444()
529 MessageFormat *mf = new MessageFormat("<{0}>", status); in Test4114739() local
538 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4114739()
541 logln("\"" + mf->format(objs1, 0, res, pos, status) + "\""); in Test4114739()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyFormat.java38 private transient final MeasureFormat mf; field in CurrencyFormat
43 mf = MeasureFormat.getInstance(locale, FormatWidth.WIDE); in CurrencyFormat()
89 return mf.formatMeasures(appendTo, fieldPosition, measures); in formatMeasures()
97 return mf.getWidth(); in getWidth()
105 return mf.getNumberFormat(); in getNumberFormat()
113 return mf.toCurrencyProxy(); in writeReplace()
DTimeUnitFormat.java96 private transient MeasureFormat mf; field in TimeUnitFormat
117 mf = MeasureFormat.getInstance(ULocale.getDefault(), FormatWidth.WIDE); in TimeUnitFormat()
155 mf = MeasureFormat.getInstance( in TimeUnitFormat()
190 mf = mf.withLocale(locale); in setLocale()
226 mf = mf.withLocale(ULocale.getDefault()); in setNumberFormat()
229 mf = mf.withNumberFormat(this.format); in setNumberFormat()
233 mf = mf.withNumberFormat(this.format); in setNumberFormat()
247 return mf.format(obj, toAppendTo, pos); in format()
542 return mf.formatMeasures(appendTo, fieldPosition, measures); in formatMeasures()
552 return mf.getWidth(); in getWidth()
[all …]
/external/clang/test/Frontend/
Dast-main.cpp9 T *mf();
12 T *S<T>::mf() { in mf() function in S
17 S<int>().mf(); in f()
/external/harfbuzz_ng/src/
Dtest-size-params.cc62 GMappedFile *mf = g_mapped_file_new (argv[1], false, NULL); in main() local
63 font_data = g_mapped_file_get_contents (mf); in main()
64 len = g_mapped_file_get_length (mf); in main()
66 user_data = (void *) mf; in main()
Dtest-would-substitute.cc66 GMappedFile *mf = g_mapped_file_new (argv[1], false, NULL); in main() local
67 font_data = g_mapped_file_get_contents (mf); in main()
68 len = g_mapped_file_get_length (mf); in main()
70 user_data = (void *) mf; in main()
Dtest-buffer-serialize.cc64 GMappedFile *mf = g_mapped_file_new (argv[1], false, NULL); in main() local
65 font_data = g_mapped_file_get_contents (mf); in main()
66 len = g_mapped_file_get_length (mf); in main()
68 user_data = (void *) mf; in main()
Dtest.cc65 GMappedFile *mf = g_mapped_file_new (argv[1], false, NULL); in main() local
66 font_data = g_mapped_file_get_contents (mf); in main()
67 len = g_mapped_file_get_length (mf); in main()
69 user_data = (void *) mf; in main()
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
Dp17.cpp5 void mf();
10 template<> template<> void A<char>::B<char>::mf();
12 template<> void A<char>::B<int>::mf(); // expected-error{{requires 'template<>'}}
/external/skia/bench/
DMorphologyBench.cpp66 SkMorphologyImageFilter* mf = NULL; in onDraw() local
69 mf = SkDilateImageFilter::Create(SkScalarFloorToInt(fRadius), in onDraw()
73 mf = SkErodeImageFilter::Create(SkScalarFloorToInt(fRadius), in onDraw()
77 paint.setImageFilter(mf)->unref(); in onDraw()
/external/skia/samplecode/
DSampleTextureDomain.cpp80 SkMaskFilter* mf = SkBlurMaskFilter::Create( in onDrawContent() local
85 paint.setMaskFilter(mf)->unref(); in onDrawContent()
93 mf = SkBlurMaskFilter::Create(kNormal_SkBlurStyle, in onDrawContent()
96 paint.setMaskFilter(mf)->unref(); in onDrawContent()
DSampleBlur.cpp102 SkMaskFilter* mf = SkBlurMaskFilter::Create(gRecs[i].fStyle, in onDrawContent() local
105 paint.setMaskFilter(mf)->unref(); in onDrawContent()
114 SkMaskFilter* mf = SkBlurMaskFilter::Create(kNormal_SkBlurStyle, in onDrawContent() local
117 paint.setMaskFilter(mf)->unref(); in onDrawContent()
/external/openfst/src/lib/
Dmapped-file.cc97 MappedFile* mf = Allocate(size); in Map() local
98 if (!s->read(reinterpret_cast<char*>(mf->mutable_data()), size)) { in Map()
99 delete mf; in Map()
102 return mf; in Map()
/external/llvm/lib/CodeGen/
DSlotIndexes.cpp54 mf = &fn; in runOnMachineFunction()
66 MBBRanges.resize(mf->getNumBlockIDs()); in runOnMachineFunction()
67 idx2MBBMap.reserve(mf->size()); in runOnMachineFunction()
72 for (MachineFunction::iterator mbbItr = mf->begin(), mbbEnd = mf->end(); in runOnMachineFunction()
105 DEBUG(mf->print(dbgs(), this)); in runOnMachineFunction()
DLiveDebugVariables.cpp322 bool collectDebugValues(MachineFunction &mf);
331 bool runOnMachineFunction(MachineFunction &mf);
511 bool LDVImpl::collectDebugValues(MachineFunction &mf) { in collectDebugValues() argument
513 for (MachineFunction::iterator MFI = mf.begin(), MFE = mf.end(); MFI != MFE; in collectDebugValues()
734 bool LDVImpl::runOnMachineFunction(MachineFunction &mf) { in runOnMachineFunction() argument
736 MF = &mf; in runOnMachineFunction()
739 TRI = mf.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
740 LS.initialize(mf); in runOnMachineFunction()
742 << mf.getName() << " **********\n"); in runOnMachineFunction()
744 bool Changed = collectDebugValues(mf); in runOnMachineFunction()
[all …]
/external/skia/tests/
DBlurTest.cpp473 static void make_blur_layer(SkLayerDrawLooper::Builder* builder, SkMaskFilter* mf) { in make_blur_layer() argument
479 paint->setMaskFilter(mf); in make_blur_layer()
482 static void test_layerDrawLooper(skiatest::Reporter* reporter, SkMaskFilter* mf, SkScalar sigma, in test_layerDrawLooper() argument
499 make_blur_layer(&builder, mf); in test_layerDrawLooper()
504 make_blur_layer(&builder, mf); in test_layerDrawLooper()
527 SkAutoTUnref<SkMaskFilter> mf(SkBlurMaskFilter::Create(style, sigma, flags)); in test_asABlur() local
528 if (NULL == mf.get()) { in test_asABlur()
533 bool success = mf->asABlur(&rec); in test_asABlur()
542 test_layerDrawLooper(reporter, mf, sigma, style, quality, success); in test_asABlur()
557 SkAutoTUnref<SkMaskFilter> mf(SkEmbossMaskFilter::Create(sigma, light)); in test_asABlur() local
[all …]
/external/elfutils/src/
Dconfig.status1203 mf=`echo "$mf" | sed -e 's/:.*$//'`
1211 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1212 dirpart=`$as_dirname -- "$mf" ||
1213 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1214 X"$mf" : 'X\(//\)[^/]' \| \
1215 X"$mf" : 'X\(//\)$' \| \
1216 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1217 $as_echo X"$mf" |
1240 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1242 am__include=`sed -n 's/^am__include = //p' < "$mf"`
[all …]
/external/eigen/doc/snippets/
DMatrixBase_cast.cpp2 Matrix2f mf = Matrix2f::Identity(); variable
3 cout << md + mf.cast<double>() << endl;
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
Dp5.cpp5 void mf() { } in mf() function in N::Y
17 template void N::Y<double>::mf();

12345678