Searched refs:map_range (Results 1 – 3 of 3) sorted by relevance
/external/clang/test/SemaCXX/ |
D | for-range-examples.cpp | 57 namespace map_range { namespace 132 map_range::vector<char> chars; in main() 141 typedef map_range::tuple<int, double> T; in main() 142 map_range::vector<T> pairs; in main() 146 for (auto a : map(map_range::mem_fun(&T::get<int>), pairs)) { in main()
|
/external/skia/src/fonts/ |
D | SkFontMgr_fontconfig.cpp | 160 static int map_range(int value, in map_range() function 175 weight = map_range(weight, 0, 80, 0, 400); in make_fontconfig_style() 176 width = map_range(width, 0, 200, 0, 9); in make_fontconfig_style()
|
/external/skia/src/ports/ |
D | SkFontMgr_fontconfig.cpp | 258 static int map_range(SkFixed value, in map_range() function 285 return map_range(val, ranges[i].old_val, ave(ranges[i].old_val, ranges[i+1].old_val), in map_ranges_fixed() 289 return map_range(val, ave(ranges[i].old_val, ranges[i+1].old_val), ranges[i+1].old_val, in map_ranges_fixed()
|