Home
last modified time | relevance | path

Searched refs:map_ranges (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/src/ports/
DSkFontConfigInterface_direct.cpp388 static SkScalar map_ranges(SkScalar val, MapRanges const ranges[], int rangesCount) { in map_ranges() function
428 SkScalar weight = map_ranges(get_int(pattern, FC_WEIGHT, FC_WEIGHT_REGULAR), in skfontstyle_from_fcpattern()
442 SkScalar width = map_ranges(get_int(pattern, FC_WIDTH, FC_WIDTH_NORMAL), in skfontstyle_from_fcpattern()
473 int weight = map_ranges(style.weight(), weightRanges, SK_ARRAY_COUNT(weightRanges)); in fcpattern_from_skfontstyle()
486 int width = map_ranges(style.width(), widthRanges, SK_ARRAY_COUNT(widthRanges)); in fcpattern_from_skfontstyle()
DSkFontMgr_fontconfig.cpp306 static SkScalar map_ranges(SkScalar val, MapRanges const ranges[], int rangesCount) { in map_ranges() function
347 SkScalar weight = map_ranges(get_int(pattern, FC_WEIGHT, FC_WEIGHT_REGULAR), in skfontstyle_from_fcpattern()
361 SkScalar width = map_ranges(get_int(pattern, FC_WIDTH, FC_WIDTH_NORMAL), in skfontstyle_from_fcpattern()
395 int weight = map_ranges(style.weight(), weightRanges, SK_ARRAY_COUNT(weightRanges)); in fcpattern_from_skfontstyle()
408 int width = map_ranges(style.width(), widthRanges, SK_ARRAY_COUNT(widthRanges)); in fcpattern_from_skfontstyle()
/third_party/skia/src/ports/
DSkFontConfigInterface_direct.cpp373 static SkScalar map_ranges(SkScalar val, MapRanges const ranges[], int rangesCount) { in map_ranges() function
413 SkScalar weight = map_ranges(get_int(pattern, FC_WEIGHT, FC_WEIGHT_REGULAR), in skfontstyle_from_fcpattern()
427 SkScalar width = map_ranges(get_int(pattern, FC_WIDTH, FC_WIDTH_NORMAL), in skfontstyle_from_fcpattern()
458 int weight = map_ranges(style.weight(), weightRanges, SK_ARRAY_COUNT(weightRanges)); in fcpattern_from_skfontstyle()
471 int width = map_ranges(style.width(), widthRanges, SK_ARRAY_COUNT(widthRanges)); in fcpattern_from_skfontstyle()
DSkFontMgr_fontconfig.cpp282 static SkScalar map_ranges(SkScalar val, MapRanges const ranges[], int rangesCount) { in map_ranges() function
323 SkScalar weight = map_ranges(get_int(pattern, FC_WEIGHT, FC_WEIGHT_REGULAR), in skfontstyle_from_fcpattern()
337 SkScalar width = map_ranges(get_int(pattern, FC_WIDTH, FC_WIDTH_NORMAL), in skfontstyle_from_fcpattern()
371 int weight = map_ranges(style.weight(), weightRanges, SK_ARRAY_COUNT(weightRanges)); in fcpattern_from_skfontstyle()
384 int width = map_ranges(style.width(), widthRanges, SK_ARRAY_COUNT(widthRanges)); in fcpattern_from_skfontstyle()