Home
last modified time | relevance | path

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

12345678910>>...17

/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 …]
/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 …]
/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/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/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/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/icu/icu4c/source/test/intltest/
Dmsfmrgts.cpp459 MessageFormat *mf = new MessageFormat(originalPattern, status); in Test4114743() local
463 mf->applyPattern(illegalPattern, status); in Test4114743()
470 delete mf; in Test4114743()
485 MessageFormat *mf = new MessageFormat("", status); in Test4116444() local
490 mf->applyPattern(pattern, status); in Test4116444()
496 Formattable *array = mf->parse(UnicodeString(""), pp, count); in Test4116444()
522 delete mf; in Test4116444()
533 MessageFormat *mf = new MessageFormat("<{0}>", status); in Test4114739() local
542 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4114739()
545 logln("\"" + mf->format(objs1, 0, res, pos, status) + "\""); in Test4114739()
[all …]
/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.py349 mf = modulefinder.ModuleFinder(path, debug, exclude, replace_paths)
353 mod = mf.add_module("servicemanager")
357 mf.import_hook(mod)
364 mf.import_hook(mod[:-2], None, ["*"])
366 mf.import_hook(mod)
368 mf.load_file(mod)
373 mf.modules["_frozen_importlib"] = mf.modules["importlib._bootstrap"]
374 mf.modules["_frozen_importlib_external"] = mf.modules["importlib._bootstrap_external"]
378 mf.run_script(scriptfile)
380 mf.load_file(scriptfile)
[all …]
/external/mesa3d/src/mesa/state_tracker/tests/
Dst_format.c79 mesa_format mf = st_pipe_format_to_mesa_format(pf); in main() local
80 if (mf != i) { in main()
83 _mesa_get_format_name(mf)); in main()
93 bool mesa_array = (_mesa_get_format_layout(mf) == in main()
104 _mesa_get_format_name(mf), in main()
/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/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.h234 inline SkMaskFilterBase* as_MFB(SkMaskFilter* mf) { in as_MFB() argument
235 return static_cast<SkMaskFilterBase*>(mf); in as_MFB()
238 inline const SkMaskFilterBase* as_MFB(const SkMaskFilter* mf) { in as_MFB() argument
239 return static_cast<const SkMaskFilterBase*>(mf); in as_MFB()
242 inline const SkMaskFilterBase* as_MFB(const sk_sp<SkMaskFilter>& mf) { in as_MFB() argument
243 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/libvpx/libvpx/tools/3D-Reconstruction/MotionEST/
DGroundTruth.py21 def __init__(self, cur_f, ref_f, blk_sz, gt_path, mf=None, mask=None): argument
37 self.mf[i, -j - 1] = np.array([float(y), -float(x)], dtype=np.int)
39 self.mf = mf
/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/llvm-project/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/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/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/llvm-project/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/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()
D1-2.c164 long pshared, mf; in main() local
171 mf = sysconf(_SC_MAPPED_FILES); in main()
177 output(" MF : %li\n", mf); in main()
178 if ((mf < 0) || (pshared < 0)) in main()
187 mf = -1; in main()
193 if (mf < 0) { in main()
/external/skqp/bench/
DMorphologyBench.cpp66 sk_sp<SkImageFilter> mf; in onDraw() local
69 mf = SkDilateImageFilter::Make(SkScalarFloorToInt(fRadius), in onDraw()
74 mf = SkErodeImageFilter::Make(SkScalarFloorToInt(fRadius), in onDraw()
79 paint.setImageFilter(std::move(mf)); in onDraw()
/external/skia/bench/
DMorphologyBench.cpp66 sk_sp<SkImageFilter> mf; in onDraw() local
69 mf = SkImageFilters::Dilate( in onDraw()
73 mf = SkImageFilters::Erode( in onDraw()
77 paint.setImageFilter(std::move(mf)); in onDraw()

12345678910>>...17