Home
last modified time | relevance | path

Searched refs:map_name (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/
Dfont_family_cache.cc33 const char* map_name, in FillFontFamilyMap() argument
43 cache->FillFontFamilyMap(map_name, map); in FillFontFamilyMap()
46 void FontFamilyCache::FillFontFamilyMap(const char* map_name, in FillFontFamilyMap() argument
52 base::string16 result = FetchAndCacheFont(script, map_name); in FillFontFamilyMap()
59 const char* map_name) { in FetchFont() argument
60 std::string pref_name = base::StringPrintf("%s.%s", map_name, script); in FetchFont()
65 ScriptFontMap& map = font_family_map_[map_name]; in FetchFont()
76 const char* map_name) { in FetchAndCacheFont() argument
77 FontFamilyMap::const_iterator it = font_family_map_.find(map_name); in FetchAndCacheFont()
84 return FetchFont(script, map_name); in FetchAndCacheFont()
[all …]
Dfont_family_cache_unittest.cc20 const char* map_name) OVERRIDE { in FetchFont() argument
22 return FontFamilyCache::FetchFont(script, map_name); in FetchFont()
41 std::string map_name("webkit.webprefs.fonts.pictograph"); in TEST() local
43 std::string pref_name(map_name + '.' + script); in TEST()
44 std::string pref_name2(map_name + '.' + "adsf"); in TEST()
59 cache.FetchAndCacheFont(script.c_str(), map_name.c_str())); in TEST()
65 cache.FetchAndCacheFont(script.c_str(), map_name.c_str())); in TEST()
72 cache.FetchAndCacheFont(script.c_str(), map_name.c_str())); in TEST()
79 cache.FetchAndCacheFont(script.c_str(), map_name.c_str())); in TEST()
Dfont_family_cache.h34 const char* map_name,
38 void FillFontFamilyMap(const char* map_name,
44 virtual base::string16 FetchFont(const char* script, const char* map_name);
66 base::string16 FetchAndCacheFont(const char* script, const char* map_name);
/external/chromium_org/chrome/browser/ui/prefs/
Dprefs_tab_helper.cc96 #define EXPAND_SCRIPT_FONT(map_name, script_name) map_name "." script_name, in RegisterFontFamilyPrefs() argument
130 const char* map_name, in RegisterFontFamilyMapObserver() argument
132 DCHECK(StartsWithASCII(map_name, "webkit.webprefs.", true)); in RegisterFontFamilyMapObserver()
135 std::string pref_name = base::StringPrintf("%s.%s", map_name, script); in RegisterFontFamilyMapObserver()
/external/bluetooth/bluedroid/btif/src/
Dbtif_sock_sdp.c236 char *map_name = (char*)&(p_service_name[4]); in add_maps_sdp() local
254 p_bta_maps_cfg->service_name = map_name; in add_maps_sdp()
/external/chromium_org/chrome/browser/extensions/api/font_settings/
Dfont_settings_api.cc85 const char* map_name, in RegisterFontFamilyMapObserver() argument
89 std::string pref_name = base::StringPrintf("%s.%s", map_name, script); in RegisterFontFamilyMapObserver()