Lines Matching refs:string_view
122 explicit Value(std::string_view in_string);
172 Value* FindKey(std::string_view key);
173 const Value* FindKey(std::string_view key) const;
184 Value* FindKeyOfType(std::string_view key, Type type);
185 const Value* FindKeyOfType(std::string_view key, Type type) const;
194 Value* SetKey(std::string_view key, Value value);
208 bool RemoveKey(std::string_view key);
228 Value* FindPath(std::initializer_list<std::string_view> path);
229 Value* FindPath(span<const std::string_view> path);
230 const Value* FindPath(std::initializer_list<std::string_view> path) const;
231 const Value* FindPath(span<const std::string_view> path) const;
238 Value* FindPathOfType(std::initializer_list<std::string_view> path,
240 Value* FindPathOfType(span<const std::string_view> path, Type type);
241 const Value* FindPathOfType(std::initializer_list<std::string_view> path,
243 const Value* FindPathOfType(span<const std::string_view> path,
262 Value* SetPath(std::initializer_list<std::string_view> path, Value value);
263 Value* SetPath(span<const std::string_view> path, Value value);
279 bool RemovePath(std::initializer_list<std::string_view> path);
280 bool RemovePath(span<const std::string_view> path);
310 bool GetAsString(std::string_view* out_value) const;
388 bool HasKey(std::string_view key) const;
408 Value* Set(std::string_view path, std::unique_ptr<Value> in_value);
413 Value* SetBoolean(std::string_view path, bool in_value);
415 Value* SetInteger(std::string_view path, int in_value);
417 Value* SetString(std::string_view path, std::string_view in_value);
419 Value* SetString(std::string_view path, const std::u16string& in_value);
421 DictionaryValue* SetDictionary(std::string_view path,
424 ListValue* SetList(std::string_view path,
430 Value* SetWithoutPathExpansion(std::string_view key,
442 bool Get(std::string_view path, const Value** out_value) const;
444 bool Get(std::string_view path, Value** out_value);
451 bool GetBoolean(std::string_view path, bool* out_value) const;
453 bool GetInteger(std::string_view path, int* out_value) const;
455 bool GetString(std::string_view path, std::string* out_value) const;
457 bool GetString(std::string_view path, std::u16string* out_value) const;
459 bool GetStringASCII(std::string_view path, std::string* out_value) const;
461 bool GetBinary(std::string_view path, const Value** out_value) const;
463 bool GetBinary(std::string_view path, Value** out_value);
465 bool GetDictionary(std::string_view path,
468 bool GetDictionary(std::string_view path, DictionaryValue** out_value);
470 bool GetList(std::string_view path, const ListValue** out_value) const;
472 bool GetList(std::string_view path, ListValue** out_value);
477 bool GetWithoutPathExpansion(std::string_view key,
480 bool GetWithoutPathExpansion(std::string_view key, Value** out_value);
482 bool GetBooleanWithoutPathExpansion(std::string_view key,
485 bool GetIntegerWithoutPathExpansion(std::string_view key,
488 bool GetStringWithoutPathExpansion(std::string_view key,
491 bool GetStringWithoutPathExpansion(std::string_view key,
495 std::string_view key,
498 bool GetDictionaryWithoutPathExpansion(std::string_view key,
501 bool GetListWithoutPathExpansion(std::string_view key,
504 bool GetListWithoutPathExpansion(std::string_view key, ListValue** out_value);
513 bool Remove(std::string_view path, std::unique_ptr<Value>* out_value);
518 bool RemoveWithoutPathExpansion(std::string_view key,
524 bool RemovePath(std::string_view path, std::unique_ptr<Value>* out_value);
673 void AppendString(std::string_view in_value);