Lines Matching refs:string_view
54 bool PrefsBase::GetString(const std::string_view key, string* value) const { in GetString()
58 bool PrefsBase::SetString(std::string_view key, std::string_view value) { in SetString()
69 bool PrefsBase::GetInt64(const std::string_view key, int64_t* value) const { in GetInt64()
78 bool PrefsBase::SetInt64(std::string_view key, const int64_t value) { in SetInt64()
82 bool PrefsBase::GetBoolean(std::string_view key, bool* value) const { in GetBoolean()
98 bool PrefsBase::SetBoolean(std::string_view key, const bool value) { in SetBoolean()
102 bool PrefsBase::Exists(std::string_view key) const { in Exists()
106 bool PrefsBase::Delete(std::string_view key) { in Delete()
117 bool PrefsBase::Delete(std::string_view pref_key, const vector<string>& nss) { in Delete()
135 bool PrefsBase::GetSubKeys(std::string_view ns, vector<string>* keys) const { in GetSubKeys()
139 void PrefsBase::AddObserver(std::string_view key, ObserverInterface* observer) { in AddObserver()
143 void PrefsBase::RemoveObserver(std::string_view key, in RemoveObserver()
170 bool Prefs::FileStorage::GetKey(std::string_view key, string* value) const { in GetKey()
179 bool Prefs::FileStorage::GetSubKeys(std::string_view ns, in GetSubKeys()
197 bool Prefs::FileStorage::SetKey(std::string_view key, std::string_view value) { in SetKey()
210 bool Prefs::FileStorage::KeyExists(std::string_view key) const { in KeyExists()
216 bool Prefs::FileStorage::DeleteKey(std::string_view key) { in DeleteKey()
227 bool Prefs::FileStorage::GetFileNameForKey(std::string_view key, in GetFileNameForKey()
241 bool MemoryPrefs::MemoryStorage::GetKey(std::string_view key, in GetKey()
250 bool MemoryPrefs::MemoryStorage::GetSubKeys(std::string_view ns, in GetSubKeys()
253 return std::string_view{pr.first.data(), ns.length()} < ns; in GetSubKeys()
256 return ns < std::string_view{pr.first.data(), ns.length()}; in GetSubKeys()
266 bool MemoryPrefs::MemoryStorage::SetKey(std::string_view key, in SetKey()
267 std::string_view value) { in SetKey()
272 bool MemoryPrefs::MemoryStorage::KeyExists(std::string_view key) const { in KeyExists()
276 bool MemoryPrefs::MemoryStorage::DeleteKey(std::string_view key) { in DeleteKey()