Lines Matching refs:StringPiece
128 explicit Value(StringPiece in_string);
180 Value* FindKey(StringPiece key);
181 const Value* FindKey(StringPiece key) const;
192 Value* FindKeyOfType(StringPiece key, Type type);
193 const Value* FindKeyOfType(StringPiece key, Type type) const;
202 Value* SetKey(StringPiece key, Value value);
216 bool RemoveKey(StringPiece key);
236 Value* FindPath(std::initializer_list<StringPiece> path);
237 Value* FindPath(span<const StringPiece> path);
238 const Value* FindPath(std::initializer_list<StringPiece> path) const;
239 const Value* FindPath(span<const StringPiece> path) const;
246 Value* FindPathOfType(std::initializer_list<StringPiece> path, Type type);
247 Value* FindPathOfType(span<const StringPiece> path, Type type);
248 const Value* FindPathOfType(std::initializer_list<StringPiece> path,
250 const Value* FindPathOfType(span<const StringPiece> path, Type type) const;
268 Value* SetPath(std::initializer_list<StringPiece> path, Value value);
269 Value* SetPath(span<const StringPiece> path, Value value);
285 bool RemovePath(std::initializer_list<StringPiece> path);
286 bool RemovePath(span<const StringPiece> path);
318 bool GetAsString(StringPiece* out_value) const;
396 bool HasKey(StringPiece key) const;
416 Value* Set(StringPiece path, std::unique_ptr<Value> in_value);
421 Value* SetBoolean(StringPiece path, bool in_value);
423 Value* SetInteger(StringPiece path, int in_value);
425 Value* SetDouble(StringPiece path, double in_value);
427 Value* SetString(StringPiece path, StringPiece in_value);
429 Value* SetString(StringPiece path, const string16& in_value);
431 DictionaryValue* SetDictionary(StringPiece path,
434 ListValue* SetList(StringPiece path, std::unique_ptr<ListValue> in_value);
439 Value* SetWithoutPathExpansion(StringPiece key,
451 bool Get(StringPiece path, const Value** out_value) const;
453 bool Get(StringPiece path, Value** out_value);
460 bool GetBoolean(StringPiece path, bool* out_value) const;
462 bool GetInteger(StringPiece path, int* out_value) const;
466 bool GetDouble(StringPiece path, double* out_value) const;
468 bool GetString(StringPiece path, std::string* out_value) const;
470 bool GetString(StringPiece path, string16* out_value) const;
472 bool GetStringASCII(StringPiece path, std::string* out_value) const;
474 bool GetBinary(StringPiece path, const Value** out_value) const;
476 bool GetBinary(StringPiece path, Value** out_value);
478 bool GetDictionary(StringPiece path,
481 bool GetDictionary(StringPiece path, DictionaryValue** out_value);
483 bool GetList(StringPiece path, const ListValue** out_value) const;
485 bool GetList(StringPiece path, ListValue** out_value);
490 bool GetWithoutPathExpansion(StringPiece key, const Value** out_value) const;
492 bool GetWithoutPathExpansion(StringPiece key, Value** out_value);
494 bool GetBooleanWithoutPathExpansion(StringPiece key, bool* out_value) const;
496 bool GetIntegerWithoutPathExpansion(StringPiece key, int* out_value) const;
498 bool GetDoubleWithoutPathExpansion(StringPiece key, double* out_value) const;
500 bool GetStringWithoutPathExpansion(StringPiece key,
503 bool GetStringWithoutPathExpansion(StringPiece key,
507 StringPiece key,
510 bool GetDictionaryWithoutPathExpansion(StringPiece key,
513 bool GetListWithoutPathExpansion(StringPiece key,
516 bool GetListWithoutPathExpansion(StringPiece key, ListValue** out_value);
525 bool Remove(StringPiece path, std::unique_ptr<Value>* out_value);
530 bool RemoveWithoutPathExpansion(StringPiece key,
536 bool RemovePath(StringPiece path, std::unique_ptr<Value>* out_value);
690 void AppendString(StringPiece in_value);