Home
last modified time | relevance | path

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

12345678910>>...21

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DMessageFormatTest.java38 MessageFormat mf = new MessageFormat(pattern); in testHashCode() local
41 testEHCS(mf, eq, ne); in testHashCode()
55 MessageFormat mf = new MessageFormat(pattern); in testMessageFormatString() local
56 assertEquals(englishTarget, mf.format(args)); in testMessageFormatString()
63 MessageFormat mf = new MessageFormat(pattern, Locale.US); in testMessageFormatStringLocale() local
64 assertEquals(englishTarget, mf.format(args)); in testMessageFormatStringLocale()
71 MessageFormat mf = new MessageFormat(pattern, ULocale.US); in testMessageFormatStringULocale() local
72 assertEquals(englishTarget, mf.format(args)); in testMessageFormatStringULocale()
79 MessageFormat mf = new MessageFormat(pattern, Locale.US); in testSetLocaleLocale() local
80 mf.setLocale(Locale.GERMANY); in testSetLocaleLocale()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessageRegressionTest.java304 MessageFormat mf = new MessageFormat(originalPattern); in Test4114743() local
307 mf.applyPattern(illegalPattern); in Test4114743()
310 if (illegalPattern.equals(mf.toPattern())) in Test4114743()
311 errln("pattern after: \"" + mf.toPattern() + "\""); in Test4114743()
322 MessageFormat mf = new MessageFormat(""); in Test4116444() local
326 mf.applyPattern(pattern); in Test4116444()
328 Object[] array = mf.parse(null, new ParsePosition(0)); in Test4116444()
359 MessageFormat mf = new MessageFormat("<{0}>"); in Test4114739() local
364 logln("pattern: \"" + mf.toPattern() + "\""); in Test4114739()
366 logln("\"" + mf.format(objs1) + "\""); in Test4114739()
[all …]
DMeasureUnitTest.java1439 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf); in TestFormatPeriodEn() local
1440 verifyFormatPeriod("en FULL", mf, fullData); in TestFormatPeriodEn()
1441 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf); in TestFormatPeriodEn()
1442 verifyFormatPeriod("en SHORT", mf, abbrevData); in TestFormatPeriodEn()
1443 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn()
1444 verifyFormatPeriod("en NARROW", mf, narrowData); in TestFormatPeriodEn()
1445 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf); in TestFormatPeriodEn()
1446 verifyFormatPeriod("en NUMERIC", mf, numericData); in TestFormatPeriodEn()
1450 mf = MeasureFormat.getInstance(ULocale.GERMAN, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
1451 verifyFormatPeriod("de FULL", mf, fullDataDe); in TestFormatPeriodEn()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMessageRegressionTest.java307 MessageFormat mf = new MessageFormat(originalPattern); in Test4114743() local
310 mf.applyPattern(illegalPattern); in Test4114743()
313 if (illegalPattern.equals(mf.toPattern())) in Test4114743()
314 errln("pattern after: \"" + mf.toPattern() + "\""); in Test4114743()
325 MessageFormat mf = new MessageFormat(""); in Test4116444() local
329 mf.applyPattern(pattern); in Test4116444()
331 Object[] array = mf.parse(null, new ParsePosition(0)); in Test4116444()
362 MessageFormat mf = new MessageFormat("<{0}>"); in Test4114739() local
367 logln("pattern: \"" + mf.toPattern() + "\""); in Test4114739()
369 logln("\"" + mf.format(objs1) + "\""); in Test4114739()
[all …]
DMeasureUnitTest.java1442 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf); in TestFormatPeriodEn() local
1443 verifyFormatPeriod("en FULL", mf, fullData); in TestFormatPeriodEn()
1444 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf); in TestFormatPeriodEn()
1445 verifyFormatPeriod("en SHORT", mf, abbrevData); in TestFormatPeriodEn()
1446 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn()
1447 verifyFormatPeriod("en NARROW", mf, narrowData); in TestFormatPeriodEn()
1448 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf); in TestFormatPeriodEn()
1449 verifyFormatPeriod("en NUMERIC", mf, numericData); in TestFormatPeriodEn()
1453 mf = MeasureFormat.getInstance(ULocale.GERMAN, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
1454 verifyFormatPeriod("de FULL", mf, fullDataDe); in TestFormatPeriodEn()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSpiller.cpp54 MachineFunction *mf; member in __anond2c2b0460211::SpillerBase
63 SpillerBase(MachineFunctionPass &pass, MachineFunction &mf, VirtRegMap &vrm) in SpillerBase() argument
64 : pass(&pass), mf(&mf), vrm(&vrm) in SpillerBase()
67 mfi = mf.getFrameInfo(); in SpillerBase()
68 mri = &mf.getRegInfo(); in SpillerBase()
69 tii = mf.getTarget().getInstrInfo(); in SpillerBase()
70 tri = mf.getTarget().getRegisterInfo(); in SpillerBase()
179 TrivialSpiller(MachineFunctionPass &pass, MachineFunction &mf, in TrivialSpiller() argument
181 : SpillerBase(pass, mf, vrm) {} in TrivialSpiller()
196 MachineFunction *mf; member in __anond2c2b0460411::StandardSpiller
[all …]
DRegAllocPBQP.cpp127 MachineFunction *mf; member in __anon46417c670111::RegAllocPBQP
192 std::auto_ptr<PBQPRAProblem> PBQPBuilder::build(MachineFunction *mf, in build() argument
199 MachineRegisterInfo *mri = &mf->getRegInfo(); in build()
200 const TargetRegisterInfo *tri = mf->getTarget().getRegisterInfo(); in build()
215 BitVector reservedRegs = tri->getReservedRegs(*mf); in build()
227 ArrayRef<unsigned> rawOrder = trc->getRawAllocationOrder(*mf); in build()
338 MachineFunction *mf, in build() argument
343 std::auto_ptr<PBQPRAProblem> p = PBQPBuilder::build(mf, lis, loopInfo, vregs); in build()
346 const TargetMachine &tm = mf->getTarget(); in build()
351 for (MachineFunction::const_iterator mbbItr = mf->begin(), in build()
[all …]
/external/lzma/C/
DLzFindMt.c175 CMatchFinder *mf = mt->MatchFinder; in HashThreadFunc() local
176 if (MatchFinder_NeedMove(mf)) in HashThreadFunc()
181 const Byte *beforePtr = Inline_MatchFinder_GetPointerToCurrentPos(mf); in HashThreadFunc()
183 MatchFinder_MoveBlock(mf); in HashThreadFunc()
184 offset = beforePtr - Inline_MatchFinder_GetPointerToCurrentPos(mf); in HashThreadFunc()
195 MatchFinder_ReadIfRequired(mf); in HashThreadFunc()
196 if (mf->pos > (kMtMaxValForNormalize - kMtHashBlockSize)) in HashThreadFunc()
198 UInt32 subValue = (mf->pos - mf->historySize - 1); in HashThreadFunc()
199 MatchFinder_ReduceOffsets(mf, subValue); in HashThreadFunc()
200 MatchFinder_Normalize3(subValue, mf->hash + mf->fixedHashSize, (size_t)mf->hashMask + 1); in HashThreadFunc()
[all …]
/external/python/cpython2/Tools/scripts/
Dtreesync.py115 mf = open(master, 'rb')
117 mf = None
119 if not mf:
125 if not mf:
128 if sf and mf:
129 if identical(sf, mf):
132 mft = mtime(mf)
136 mf.close()
144 mf.seek(0)
145 fun = funnychars(mf)
[all …]
/external/autotest/client/site_tests/firmware_TouchMTB/
Dvalidators.py185 def __init__(self, criteria, mf=None, device=None, name=None): argument
187 self.fc = fuzzy.FuzzyCriteria(self.criteria_str, mf=mf)
285 def __init__(self, criteria_str, mf=None): argument
287 super(DragLatencyValidator, self).__init__(criteria_str, mf=mf,
317 self.vlog.score = self.fc.mf.grade(avg)
329 def __init__(self, validator, mf=None, device=None, argument
334 validator.criteria_str, mf, device, validator.__class__.__name__)
387 def __init__(self, criteria_str, mf=None, device=None, finger=0, argument
392 super(LinearityValidator1, self).__init__(criteria_str, mf, device,
502 self.vlog.score = self.fc.mf.grade(deviation)
[all …]
/external/icu/icu4c/source/test/intltest/
Dmsfmrgts.cpp458 MessageFormat *mf = new MessageFormat(originalPattern, status); in Test4114743() local
462 mf->applyPattern(illegalPattern, status); in Test4114743()
469 delete mf; in Test4114743()
484 MessageFormat *mf = new MessageFormat("", status); in Test4116444() local
489 mf->applyPattern(pattern, status); in Test4116444()
495 Formattable *array = mf->parse(UnicodeString(""), pp, count); in Test4116444()
521 delete mf; in Test4116444()
532 MessageFormat *mf = new MessageFormat("<{0}>", status); in Test4114739() local
541 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4114739()
544 logln("\"" + mf->format(objs1, 0, res, pos, status) + "\""); in Test4114739()
[all …]
/external/python/cpython2/Lib/test/
Dtest_multifile.py40 def getMIMEMsg(mf): argument
42 msg = mimetools.Message(mf)
49 mf.push(boundary)
50 while mf.next():
51 getMIMEMsg(mf)
52 mf.pop()
54 lines = mf.readlines()
Dtest_modulefinder.py231 mf = modulefinder.ModuleFinder(path=TEST_PATH)
232 mf.import_hook(import_this)
234 mf.report()
245 found = set(mf.modules.keys())
252 bad, maybe = mf.any_missing_maybe()
/external/xz-java/src/org/tukaani/xz/
DLZMA2Options.java139 private int mf; field in LZMA2Options
172 int niceLen, int mf, int depthLimit) in LZMA2Options() argument
179 setMatchFinder(mf); in LZMA2Options()
211 mf = MF_HC4; in setPreset()
216 mf = MF_BT4; in setPreset()
479 public void setMatchFinder(int mf) throws UnsupportedOptionsException { in setMatchFinder() argument
480 if (mf != MF_HC4 && mf != MF_BT4) in setMatchFinder()
482 "Unsupported match finder: " + mf); in setMatchFinder()
484 this.mf = mf; in setMatchFinder()
491 return mf; in getMatchFinder()
/external/eigen/test/
Dmixingtypes.cpp51 Mat_f mf = Mat_f::Random(size,size); in mixingtypes() local
52 Mat_d md = mf.template cast<double>(); in mixingtypes()
66 mf+mf; in mixingtypes()
155 VERIFY_IS_APPROX(sf*mf*mcf, sf*mf.template cast<CF>()*mcf); in mixingtypes()
156 VERIFY_IS_APPROX(sf*mcf*mf, sf*mcf*mf.template cast<CF>()); in mixingtypes()
157 VERIFY_IS_APPROX(scf*mf*mcf, scf*mf.template cast<CF>()*mcf); in mixingtypes()
158 VERIFY_IS_APPROX(scf*mcf*mf, scf*mcf*mf.template cast<CF>()); in mixingtypes()
167 VERIFY_IS_APPROX(sf*mf.adjoint()*mcf, (sf*mf).template cast<CF>().eval().adjoint()*mcf); in mixingtypes()
168 VERIFY_IS_APPROX(sf*mcf.adjoint()*mf, sf*mcf.adjoint()*mf.template cast<CF>()); in mixingtypes()
169 …VERIFY_IS_APPROX(sf*mf.adjoint()*mcf.adjoint(), (sf*mf).template cast<CF>().eval().adjoint()*mcf.a… in mixingtypes()
[all …]
/external/python/cpython3/Tools/freeze/
Dfreeze.py345 mf = modulefinder.ModuleFinder(path, debug, exclude, replace_paths)
349 mod = mf.add_module("servicemanager")
353 mf.import_hook(mod)
360 mf.import_hook(mod[:-2], None, ["*"])
362 mf.import_hook(mod)
364 mf.load_file(mod)
369 mf.modules["_frozen_importlib"] = mf.modules["importlib._bootstrap"]
370 mf.modules["_frozen_importlib_external"] = mf.modules["importlib._bootstrap_external"]
374 mf.run_script(scriptfile)
376 mf.load_file(scriptfile)
[all …]
/external/u-boot/arch/x86/lib/
Dmpspec.c25 struct mp_config_table *mp_write_floating_table(struct mp_floating_table *mf) in mp_write_floating_table() argument
29 memcpy(mf->mpf_signature, MPF_SIGNATURE, 4); in mp_write_floating_table()
30 mf->mpf_physptr = (ulong)mf + sizeof(struct mp_floating_table); in mp_write_floating_table()
31 mf->mpf_length = 1; in mp_write_floating_table()
32 mf->mpf_spec = MPSPEC_V14; in mp_write_floating_table()
33 mf->mpf_checksum = 0; in mp_write_floating_table()
35 mf->mpf_feature1 = 0; in mp_write_floating_table()
37 mf->mpf_feature2 = 0; in mp_write_floating_table()
38 mf->mpf_feature3 = 0; in mp_write_floating_table()
39 mf->mpf_feature4 = 0; in mp_write_floating_table()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
D6-1.c100 long mf; variable
115 if (mf > 0) in threaded()
128 if (mf > 0) { in threaded()
167 if (mf > 0) in threaded()
190 mf = sysconf(_SC_MAPPED_FILES); in main()
197 if (mf > 0) { in main()
/external/skia/src/core/
DSkMaskFilterBase.h227 inline SkMaskFilterBase* as_MFB(SkMaskFilter* mf) { in as_MFB() argument
228 return static_cast<SkMaskFilterBase*>(mf); in as_MFB()
231 inline const SkMaskFilterBase* as_MFB(const SkMaskFilter* mf) { in as_MFB() argument
232 return static_cast<const SkMaskFilterBase*>(mf); in as_MFB()
235 inline const SkMaskFilterBase* as_MFB(const sk_sp<SkMaskFilter>& mf) { in as_MFB() argument
236 return static_cast<SkMaskFilterBase*>(mf.get()); in as_MFB()
/external/skqp/src/core/
DSkMaskFilterBase.h227 inline SkMaskFilterBase* as_MFB(SkMaskFilter* mf) { in as_MFB() argument
228 return static_cast<SkMaskFilterBase*>(mf); in as_MFB()
231 inline const SkMaskFilterBase* as_MFB(const SkMaskFilter* mf) { in as_MFB() argument
232 return static_cast<const SkMaskFilterBase*>(mf); in as_MFB()
235 inline const SkMaskFilterBase* as_MFB(const sk_sp<SkMaskFilter>& mf) { in as_MFB() argument
236 return static_cast<SkMaskFilterBase*>(mf.get()); in as_MFB()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/
D1-1.c71 long mf; /* Is memory mapping supported? */ in main() local
101 mf = sysconf(_SC_MAPPED_FILES); in main()
106 output(" MF : %li\n", mf); in main()
107 if (mf <= 0) in main()
112 if (mf > 0) { in main()
/external/python/cpython2/Tools/freeze/
Dfreeze.py345 mf = modulefinder.ModuleFinder(path, debug, exclude, replace_paths)
349 mod = mf.add_module("servicemanager")
353 mf.import_hook(mod)
360 mf.import_hook(mod[:-2], None, ["*"])
362 mf.import_hook(mod)
364 mf.load_file(mod)
368 mf.run_script(scriptfile)
370 mf.load_file(scriptfile)
373 mf.report()
375 dict = mf.modules
[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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DReachingDefAnalysis.cpp134 bool ReachingDefAnalysis::runOnMachineFunction(MachineFunction &mf) { in runOnMachineFunction() argument
135 if (skipFunction(mf.getFunction())) in runOnMachineFunction()
137 MF = &mf; in runOnMachineFunction()
143 MBBReachingDefs.resize(mf.getNumBlockIDs()); in runOnMachineFunction()
148 MBBOutRegsInfos.resize(mf.getNumBlockIDs()); in runOnMachineFunction()
152 LoopTraversal::TraversalOrder TraversedMBBOrder = Traversal.traverse(mf); in runOnMachineFunction()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
D4-2.c162 long pshared, mf; in main() local
172 mf = sysconf(_SC_MAPPED_FILES); in main()
178 output(" MF : %li\n", mf); in main()
179 if ((mf < 0) || (pshared < 0)) in main()
188 mf = -1; in main()
194 if (mf < 0) { in main()

12345678910>>...21