Lines Matching defs:pref
37 auto pref = GetPreference(storageType);
38 if (!pref) {
42 res = pref->HasKey(key);
50 auto pref = GetPreference(storageType);
51 if (!pref) {
55 pref->Delete(key);
56 pref->Flush();
68 auto pref = NativePreferences::PreferencesHelper::GetPreferences(fileName, errCode);
70 return pref;
76 auto pref = GetPreference(storageType);
77 if (!pref) {
83 pref->PutFloat(key, value);
89 pref->PutInt(key, value);
97 pref->Flush();
103 auto pref = GetPreference(storageType);
104 if (!pref) {
110 value = pref->GetFloat(key);
116 value = pref->GetInt(key);