/third_party/ffmpeg/libavfilter/ |
D | vf_fieldmatch.c | 156 static int get_width(const FieldMatchContext *fm, const AVFrame *f, int plane) in get_width() argument 158 return plane ? AV_CEIL_RSHIFT(f->width, fm->hsub) : f->width; in get_width() 161 static int get_height(const FieldMatchContext *fm, const AVFrame *f, int plane) in get_height() argument 163 return plane ? AV_CEIL_RSHIFT(f->height, fm->vsub) : f->height; in get_height() 196 static int calc_combed_score(const FieldMatchContext *fm, const AVFrame *src) in calc_combed_score() argument 199 const int cthresh = fm->cthresh; in calc_combed_score() 202 for (plane = 0; plane < (fm->chroma ? 3 : 1); plane++) { in calc_combed_score() 205 const int width = get_width (fm, src, plane); in calc_combed_score() 206 const int height = get_height(fm, src, plane); in calc_combed_score() 207 uint8_t *cmkp = fm->cmask_data[plane]; in calc_combed_score() [all …]
|
/third_party/skia/src/utils/ |
D | SkOrderedFontMgr.cpp | 14 void SkOrderedFontMgr::append(sk_sp<SkFontMgr> fm) { in append() argument 15 fList.push_back(std::move(fm)); in append() 20 for (const auto& fm : fList) { in onCountFamilies() local 21 count += fm->countFamilies(); in onCountFamilies() 27 for (const auto& fm : fList) { in onGetFamilyName() local 28 const int count = fm->countFamilies(); in onGetFamilyName() 30 return fm->getFamilyName(index, familyName); in onGetFamilyName() 37 for (const auto& fm : fList) { in onCreateStyleSet() local 38 const int count = fm->countFamilies(); in onCreateStyleSet() 40 return fm->createStyleSet(index); in onCreateStyleSet() [all …]
|
/third_party/flutter/skia/gm/ |
D | fontmgr.cpp | 43 SkScalar y, const SkFont& origFont, SkFontMgr* fm, in drawCharacter() argument 50 sk_sp<SkTypeface> typeface(fm->matchFamilyStyleCharacter(fontName, fontStyle, in drawCharacter() 64 font.setTypeface(fm->legacyMakeTypeface(familyName.c_str(), typeface->fontStyle())); in drawCharacter() 90 SkFontMgr* fm = fFM.get(); in onDraw() local 91 int count = SkMin32(fm->countFamilies(), MAX_FAMILIES); in onDraw() 95 fm->getFamilyName(i, &familyName); in onDraw() 101 sk_sp<SkFontStyleSet> set(fm->createStyleSet(i)); in onDraw() 112 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &zh, 1, fs); in onDraw() 113 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &ja, 1, fs); in onDraw() 115 … x = drawCharacter(canvas, 0x1f601, x, y, font, fm, familyName.c_str(), nullptr,0, fs); in onDraw() [all …]
|
D | poly2poly.cpp | 63 SkFontMetrics fm; in doDraw() local 64 font.getMetrics(&fm); in doDraw() 68 SkScalar y = D/2 - (fm.fAscent + fm.fDescent)/2; in doDraw()
|
/third_party/skia/gm/ |
D | fontmgr.cpp | 44 SkScalar y, const SkFont& origFont, SkFontMgr* fm, in drawCharacter() argument 51 sk_sp<SkTypeface> typeface(fm->matchFamilyStyleCharacter(fontName, fontStyle, in drawCharacter() 65 font.setTypeface(fm->legacyMakeTypeface(familyName.c_str(), typeface->fontStyle())); in drawCharacter() 91 SkFontMgr* fm = fFM.get(); in onDraw() local 92 int count = std::min(fm->countFamilies(), MAX_FAMILIES); in onDraw() 96 fm->getFamilyName(i, &familyName); in onDraw() 102 sk_sp<SkFontStyleSet> set(fm->createStyleSet(i)); in onDraw() 113 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &zh, 1, fs); in onDraw() 114 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &ja, 1, fs); in onDraw() 116 … x = drawCharacter(canvas, 0x1f601, x, y, font, fm, familyName.c_str(), nullptr,0, fs); in onDraw() [all …]
|
D | poly2poly.cpp | 63 SkFontMetrics fm; in doDraw() local 64 font.getMetrics(&fm); in doDraw() 68 SkScalar y = D/2 - (fm.fAscent + fm.fDescent)/2; in doDraw()
|
/third_party/boost/boost/spirit/home/karma/stream/detail/ |
D | format_manip.hpp | 148 , format_manip<Expr, CopyExpr, CopyAttr> const& fm) in operator <<() argument 151 if (!karma::generate (sink, fm.expr)) in operator <<() 163 , format_manip<Expr, CopyExpr, CopyAttr, unused_type, Attribute> const& fm) in operator <<() argument 166 if (!karma::generate(sink, fm.expr, fm.attr)) in operator <<() 177 , format_manip<Expr, CopyExpr, CopyAttr, Delimiter> const& fm) in operator <<() argument 180 if (!karma::generate_delimited(sink, fm.expr, fm.delim, fm.pre)) in operator <<() 193 , format_manip<Expr, CopyExpr, CopyAttr, Delimiter, Attribute> const& fm) in operator <<() argument 196 if (!karma::generate_delimited(sink, fm.expr, fm.delim, fm.pre, fm.attr)) in operator <<()
|
/third_party/boost/boost/spirit/home/qi/stream/detail/ |
D | match_manip.hpp | 151 match_manip<Expr, CopyExpr, CopyAttr> const& fm) in operator >>() argument 157 if (!qi::parse(f, l, fm.expr)) in operator >>() 170 match_manip<Expr, CopyExpr, CopyAttr, unused_type, Attribute> const& fm) in operator >>() argument 176 if (!qi::parse(f, l, fm.expr, fm.attr)) in operator >>() 189 match_manip<Expr, CopyExpr, CopyAttr, Skipper> const& fm) in operator >>() argument 196 f, l, fm.expr, fm.skipper, fm.post_skip)) in operator >>() 211 match_manip<Expr, CopyExpr, CopyAttr, Attribute, Skipper> const& fm) in operator >>() argument 218 f, l, fm.expr, fm.skipper, fm.post_skip, fm.attr)) in operator >>()
|
/third_party/boost/libs/container/src/ |
D | dlmalloc_ext_2_8_6.c | 71 mstate fm = get_mstate_for(p); in mspace_free_lockless() local 74 mstate fm = (mstate)msp; in mspace_free_lockless() local 76 if (!ok_magic(fm)) { in mspace_free_lockless() 77 USAGE_ERROR_ACTION(fm, p); in mspace_free_lockless() 81 check_inuse_chunk(fm, p); in mspace_free_lockless() 82 if (RTCHECK(ok_address(fm, p) && ok_inuse(p))) { in mspace_free_lockless() 90 fm->footprint -= psize; in mspace_free_lockless() 97 if (RTCHECK(ok_address(fm, prev))) { /* consolidate backward */ in mspace_free_lockless() 98 if (p != fm->dv) { in mspace_free_lockless() 99 unlink_chunk(fm, p, prevsize); in mspace_free_lockless() [all …]
|
/third_party/skia/tests/ |
D | TypefaceTest.cpp | 129 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 130 sk_sp<SkTypeface> typeface2 = fm->makeFromStream(std::move(stream), fontIndex); in DEF_TEST() 218 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 231 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() 252 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), params); in DEF_TEST() 272 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() 290 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 294 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() 421 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 434 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() [all …]
|
D | FontMgrTest.cpp | 85 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); in DEF_TEST() local 86 int count = fm->countFamilies(); in DEF_TEST() 90 fm->getFamilyName(i, &fname); in DEF_TEST() 92 sk_sp<SkFontStyleSet> fnset(fm->matchFamily(fname.c_str())); in DEF_TEST() 93 sk_sp<SkFontStyleSet> set(fm->createStyleSet(i)); in DEF_TEST() 118 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); in DEF_TEST() local 119 sk_sp<SkFontStyleSet> styleSet(fm->matchFamily(nullptr)); in DEF_TEST() 741 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); in DEF_TEST() local 743 SkSafeUnref(fm->matchFamilyStyleCharacter("Blah", SkFontStyle::Normal(), nullptr, 0, 0x0)); in DEF_TEST() 744 SkSafeUnref(fm->matchFamilyStyleCharacter("Blah", SkFontStyle::Normal(), nullptr, 0, 0xD800)); in DEF_TEST() [all …]
|
/third_party/skia/tools/fm/fm_bot/ |
D | fm_bot.go | 51 func listAll(flag string, fm string) (list []string, err error) { 52 cmd := exec.Command(fm, flag) 162 fm := flag.Args()[0] 164 gms, err := listAll("--listGMs", fm) 166 log.Fatalln("Could not query", fm, "for GMs:", err) 169 tests, err := listAll("--listTests", fm) 171 log.Fatalln("Could not query", fm, "for tests:", err) 207 cmd := exec.Command(fm, args...)
|
/third_party/flutter/skia/tests/ |
D | TypefaceTest.cpp | 114 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 115 sk_sp<SkTypeface> typeface2 = fm->makeFromStream(std::move(stream), fontIndex); in DEF_TEST() 151 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 161 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() 193 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 197 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() 247 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 250 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() 371 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 372 sk_sp<SkTypeface> typeface1 = fm->legacyMakeTypeface(nullptr, SkFontStyle::Italic()); in DEF_TEST() [all …]
|
/third_party/skia/include/core/ |
D | SkSamplingOptions.h | 68 SkSamplingOptions(SkFilterMode fm, SkMipmapMode mm) in SkSamplingOptions() 70 , filter(fm) in SkSamplingOptions() 73 explicit SkSamplingOptions(SkFilterMode fm) in SkSamplingOptions() 75 , filter(fm) in SkSamplingOptions()
|
/third_party/boost/libs/regex/src/ |
D | cregex.cpp | 89 match_results<mapfile::iterator> fm; member in boost::BOOST_REGEX_DETAIL_NS::RegExData 102 fm(), in RegExData() 129 for(unsigned int i = 0; i < fm.size(); ++i) in update() 131 if(fm[i].matched) strings[i] = to_string(fm[i].first, fm[i].second); in update() 132 positions[i] = fm[i].matched ? fm[i].first - fbase : -1; in update() 143 fm = match_results<mapfile::iterator>(); in clean() 332 pe->pdata->fm = m; in operator ()() 443 if(regex_search(map.begin(), map.end(), pdata->fm, pdata->e, flags)) in FindFiles() 503 return pdata->fm[i].matched ? pdata->fm[i].first - pdata->fbase : RegEx::npos; in Position() 530 return pdata->fm[i].matched ? pdata->fm[i].second - pdata->fm[i].first : RegEx::npos; in Length() [all …]
|
/third_party/iowow/src/platform/win32/mman/ |
D | mman.c | 56 HANDLE fm; in mmap() local 89 fm = CreateFileMapping(fh, NULL, protect, dwMaxSizeHigh, dwMaxSizeLow, NULL); in mmap() 90 if (fm == NULL) { in mmap() 94 map = MapViewOfFile(fm, desiredAccess, dwFileOffsetHigh, dwFileOffsetLow, len); in mmap() 95 CloseHandle(fm); in mmap()
|
/third_party/boost/boost/chrono/io/ |
D | time_point_io.hpp | 313 const char_type fm[] = {'%', 'm', '/', '%', 'd', '/', '%', 'y'}; in get() local 314 b = get(b, e, iob, err, tm, fm, fm + sizeof(fm)/sizeof(fm[0])); in get() 319 const char_type fm[] = {'%', 'Y', '-', '%', 'm', '-', '%', 'd'}; in get() local 320 b = get(b, e, iob, err, tm, fm, fm + sizeof(fm)/sizeof(fm[0])); in get() 347 const char_type fm[] = {'%', 'I', ':', '%', 'M', ':', '%', 'S', ' ', '%', 'p'}; in get() local 348 b = get(b, e, iob, err, tm, fm, fm + sizeof(fm)/sizeof(fm[0])); in get() 353 const char_type fm[] = {'%', 'H', ':', '%', 'M'}; in get() local 354 b = get(b, e, iob, err, tm, fm, fm + sizeof(fm)/sizeof(fm[0])); in get() 362 const char_type fm[] = {'%', 'H', ':', '%', 'M', ':', '%', 'S'}; in get() local 363 b = get(b, e, iob, err, tm, fm, fm + sizeof(fm)/sizeof(fm[0])); in get()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
D | CalendarPanel.java | 209 FontMetrics fm = g.getFontMetrics(); in paint() local 210 int labelHeight = fm.getHeight() + YINSET * 2; in paint() 212 int v = fm.getAscent() + YINSET; in paint() 224 h -= fm.stringWidth(dayName) / 2; in paint() 296 fm = g.getFontMetrics(); in paint() 318 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(dayNum); in paint() 322 int y = celly + + fm.getAscent() + YINSET + i * fm.getHeight(); in paint() 337 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(month); in paint()
|
D | CalendarFrame.java | 378 FontMetrics fm = g.getFontMetrics(font); in paint() local 384 g.drawString(text, fm.stringWidth("\u00a0"), in paint() 385 bounds.height/2 + fm.getHeight() in paint() 386 - fm.getAscent() + fm.getLeading()/2); in paint() 394 FontMetrics fm = getFontMetrics(font); in getMinimumSize() local 396 return new Dimension( fm.stringWidth(text) + 2*fm.stringWidth("\u00a0"), in getMinimumSize() 397 fm.getHeight() + fm.getLeading()*2); in getMinimumSize()
|
/third_party/ffmpeg/libavcodec/ |
D | mpegaudiodec_common_tablegen.h | 55 double f, fm; in mpegaudiodec_common_tableinit() local 61 fm = frexp(f, &e); in mpegaudiodec_common_tableinit() 62 m = llrint(fm * (1LL << 31)); in mpegaudiodec_common_tableinit()
|
/third_party/flutter/glfw/src/ |
D | monitor.c | 42 const GLFWvidmode* fm = fp; in compareVideoModes() local 44 const int fbpp = fm->redBits + fm->greenBits + fm->blueBits; in compareVideoModes() 46 const int farea = fm->width * fm->height; in compareVideoModes() 58 return fm->refreshRate - sm->refreshRate; in compareVideoModes() 275 int _glfwCompareVideoModes(const GLFWvidmode* fm, const GLFWvidmode* sm) in _glfwCompareVideoModes() argument 277 return compareVideoModes(fm, sm); in _glfwCompareVideoModes()
|
/third_party/libffi/src/ |
D | dlmalloc.c | 4270 mstate fm = get_mstate_for(p); in dlfree() local 4271 if (!ok_magic(fm)) { in dlfree() 4272 USAGE_ERROR_ACTION(fm, p); in dlfree() 4276 #define fm gm in dlfree() macro 4278 if (!PREACTION(fm)) { in dlfree() 4279 check_inuse_chunk(fm, p); in dlfree() 4280 if (RTCHECK(ok_address(fm, p) && ok_cinuse(p))) { in dlfree() 4289 fm->footprint -= psize; in dlfree() 4296 if (RTCHECK(ok_address(fm, prev))) { /* consolidate backward */ in dlfree() 4297 if (p != fm->dv) { in dlfree() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/ |
D | SDL_malloc.c | 4316 mstate fm = get_mstate_for(p); in dlfree() local 4317 if (!ok_magic(fm)) { in dlfree() 4318 USAGE_ERROR_ACTION(fm, p); in dlfree() 4322 #define fm gm in dlfree() macro 4324 if (!PREACTION(fm)) { in dlfree() 4325 check_inuse_chunk(fm, p); in dlfree() 4326 if (RTCHECK(ok_address(fm, p) && ok_cinuse(p))) { in dlfree() 4335 fm->footprint -= psize; in dlfree() 4341 if (RTCHECK(ok_address(fm, prev))) { /* consolidate backward */ in dlfree() 4342 if (p != fm->dv) { in dlfree() [all …]
|
/third_party/flutter/skia/tools/fm/fm_bot/ |
D | fm_bot.go | 50 func listAllGMs(fm string) (gms []string, err error) { 52 cmd := exec.Command(fm) 149 fm := flag.Args()[0] 151 gms, err := listAllGMs(fm) 153 log.Fatalln("Could not query", fm, "for GMs:", err) 189 cmd := exec.Command(fm, args...)
|
/third_party/flutter/skia/resources/lua/ |
D | slides.lua | 65 local fm = paint:getFontMetrics() 66 local height = #slide * (fm.descent - fm.ascent) 70 y = y - fm.ascent * scale 72 y = y + fm.descent * scale 81 local fm = paint:getFontMetrics() 82 local x_offset = -fm.ascent * node.indent * 1.25 86 draw_bullet(canvas, x + x_offset, y - fm.ascent, paint, node.indent)
|