Lines Matching refs:pref
165 const Preference* pref = FindPreference(path); in HasPrefPath() local
166 return pref && !pref->IsDefaultValue(); in HasPrefPath()
229 const Preference* pref = FindPreference(pref_name); in IsManagedPreference() local
230 return pref && pref->IsManaged(); in IsManagedPreference()
234 const Preference* pref = FindPreference(pref_name); in IsUserModifiablePreference() local
235 return pref && pref->IsUserModifiable(); in IsUserModifiablePreference()
257 const Preference* pref = FindPreference(path); in GetUserPrefValue() local
258 if (!pref) { in GetUserPrefValue()
269 if (!value->IsType(pref->GetType())) { in GetUserPrefValue()
328 const Preference* pref = FindPreference(path); in ClearPref() local
329 if (!pref) { in ClearPref()
407 const Preference* pref = FindPreference(path); in GetMutableUserPref() local
408 if (!pref) { in GetMutableUserPref()
412 if (pref->GetType() != type) { in GetMutableUserPref()
443 const Preference* pref = FindPreference(path); in SetUserPrefValue() local
444 if (!pref) { in SetUserPrefValue()
448 if (pref->GetType() != new_value->GetType()) { in SetUserPrefValue()
450 << " of type " << pref->GetType() in SetUserPrefValue()