Lines Matching refs:out_value

196 bool FundamentalValue::GetAsBoolean(bool* out_value) const {  in GetAsBoolean()
197 if (out_value && IsType(TYPE_BOOLEAN)) in GetAsBoolean()
198 *out_value = boolean_value_; in GetAsBoolean()
202 bool FundamentalValue::GetAsInteger(int* out_value) const { in GetAsInteger()
203 if (out_value && IsType(TYPE_INTEGER)) in GetAsInteger()
204 *out_value = integer_value_; in GetAsInteger()
208 bool FundamentalValue::GetAsDouble(double* out_value) const { in GetAsDouble()
209 if (out_value && IsType(TYPE_DOUBLE)) in GetAsDouble()
210 *out_value = double_value_; in GetAsDouble()
211 else if (out_value && IsType(TYPE_INTEGER)) in GetAsDouble()
212 *out_value = integer_value_; in GetAsDouble()
280 bool StringValue::GetAsString(std::string* out_value) const { in GetAsString()
281 if (out_value) in GetAsString()
282 *out_value = value_; in GetAsString()
286 bool StringValue::GetAsString(string16* out_value) const { in GetAsString()
287 if (out_value) in GetAsString()
288 *out_value = UTF8ToUTF16(value_); in GetAsString()
292 bool StringValue::GetAsString(const StringValue** out_value) const { in GetAsString()
293 if (out_value) in GetAsString()
294 *out_value = this; in GetAsString()
331 bool BinaryValue::GetAsBinary(const BinaryValue** out_value) const { in GetAsBinary()
332 if (out_value) in GetAsBinary()
333 *out_value = this; in GetAsBinary()
370 bool DictionaryValue::GetAsDictionary(DictionaryValue** out_value) { in GetAsDictionary() argument
371 if (out_value) in GetAsDictionary()
372 *out_value = this; in GetAsDictionary()
376 bool DictionaryValue::GetAsDictionary(const DictionaryValue** out_value) const { in GetAsDictionary()
377 if (out_value) in GetAsDictionary()
378 *out_value = this; in GetAsDictionary()
495 const Value** out_value) const { in Get()
514 out_value); in Get()
517 bool DictionaryValue::Get(StringPiece path, Value** out_value) { in Get() argument
520 const_cast<const Value**>(out_value)); in Get()
533 int* out_value) const { in GetInteger()
538 return value->GetAsInteger(out_value); in GetInteger()
542 double* out_value) const { in GetDouble()
547 return value->GetAsDouble(out_value); in GetDouble()
551 std::string* out_value) const { in GetString()
556 return value->GetAsString(out_value); in GetString()
560 string16* out_value) const { in GetString()
565 return value->GetAsString(out_value); in GetString()
569 std::string* out_value) const { in GetStringASCII()
579 out_value->assign(out); in GetStringASCII()
584 const BinaryValue** out_value) const { in GetBinary()
590 if (out_value) in GetBinary()
591 *out_value = static_cast<const BinaryValue*>(value); in GetBinary()
597 BinaryValue** out_value) { in GetBinary() argument
600 const_cast<const BinaryValue**>(out_value)); in GetBinary()
604 const DictionaryValue** out_value) const { in GetDictionary()
610 if (out_value) in GetDictionary()
611 *out_value = static_cast<const DictionaryValue*>(value); in GetDictionary()
617 DictionaryValue** out_value) { in GetDictionary() argument
620 const_cast<const DictionaryValue**>(out_value)); in GetDictionary()
624 const ListValue** out_value) const { in GetList()
630 if (out_value) in GetList()
631 *out_value = static_cast<const ListValue*>(value); in GetList()
636 bool DictionaryValue::GetList(const std::string& path, ListValue** out_value) { in GetList() argument
639 const_cast<const ListValue**>(out_value)); in GetList()
643 const Value** out_value) const { in GetWithoutPathExpansion()
650 if (out_value) in GetWithoutPathExpansion()
651 *out_value = entry; in GetWithoutPathExpansion()
656 Value** out_value) { in GetWithoutPathExpansion() argument
659 const_cast<const Value**>(out_value)); in GetWithoutPathExpansion()
663 bool* out_value) const { in GetBooleanWithoutPathExpansion()
668 return value->GetAsBoolean(out_value); in GetBooleanWithoutPathExpansion()
672 int* out_value) const { in GetIntegerWithoutPathExpansion()
677 return value->GetAsInteger(out_value); in GetIntegerWithoutPathExpansion()
681 double* out_value) const { in GetDoubleWithoutPathExpansion()
686 return value->GetAsDouble(out_value); in GetDoubleWithoutPathExpansion()
691 std::string* out_value) const { in GetStringWithoutPathExpansion()
696 return value->GetAsString(out_value); in GetStringWithoutPathExpansion()
700 string16* out_value) const { in GetStringWithoutPathExpansion()
705 return value->GetAsString(out_value); in GetStringWithoutPathExpansion()
710 const DictionaryValue** out_value) const { in GetDictionaryWithoutPathExpansion()
716 if (out_value) in GetDictionaryWithoutPathExpansion()
717 *out_value = static_cast<const DictionaryValue*>(value); in GetDictionaryWithoutPathExpansion()
724 DictionaryValue** out_value) { in GetDictionaryWithoutPathExpansion() argument
729 const_cast<const DictionaryValue**>(out_value)); in GetDictionaryWithoutPathExpansion()
734 const ListValue** out_value) const { in GetListWithoutPathExpansion()
740 if (out_value) in GetListWithoutPathExpansion()
741 *out_value = static_cast<const ListValue*>(value); in GetListWithoutPathExpansion()
747 ListValue** out_value) { in GetListWithoutPathExpansion() argument
751 const_cast<const ListValue**>(out_value)); in GetListWithoutPathExpansion()
755 scoped_ptr<Value>* out_value) { in Remove() argument
768 out_value); in Remove()
772 scoped_ptr<Value>* out_value) { in RemoveWithoutPathExpansion() argument
779 if (out_value) in RemoveWithoutPathExpansion()
780 out_value->reset(entry); in RemoveWithoutPathExpansion()
788 scoped_ptr<Value>* out_value) { in RemovePath() argument
793 return RemoveWithoutPathExpansion(path, out_value); in RemovePath()
800 out_value); in RemovePath()
926 bool ListValue::Get(size_t index, const Value** out_value) const { in Get()
930 if (out_value) in Get()
931 *out_value = list_[index]; in Get()
936 bool ListValue::Get(size_t index, Value** out_value) { in Get() argument
939 const_cast<const Value**>(out_value)); in Get()
950 bool ListValue::GetInteger(size_t index, int* out_value) const { in GetInteger()
955 return value->GetAsInteger(out_value); in GetInteger()
958 bool ListValue::GetDouble(size_t index, double* out_value) const { in GetDouble()
963 return value->GetAsDouble(out_value); in GetDouble()
966 bool ListValue::GetString(size_t index, std::string* out_value) const { in GetString()
971 return value->GetAsString(out_value); in GetString()
974 bool ListValue::GetString(size_t index, string16* out_value) const { in GetString()
979 return value->GetAsString(out_value); in GetString()
982 bool ListValue::GetBinary(size_t index, const BinaryValue** out_value) const { in GetBinary()
988 if (out_value) in GetBinary()
989 *out_value = static_cast<const BinaryValue*>(value); in GetBinary()
994 bool ListValue::GetBinary(size_t index, BinaryValue** out_value) { in GetBinary() argument
997 const_cast<const BinaryValue**>(out_value)); in GetBinary()
1001 const DictionaryValue** out_value) const { in GetDictionary()
1007 if (out_value) in GetDictionary()
1008 *out_value = static_cast<const DictionaryValue*>(value); in GetDictionary()
1013 bool ListValue::GetDictionary(size_t index, DictionaryValue** out_value) { in GetDictionary() argument
1016 const_cast<const DictionaryValue**>(out_value)); in GetDictionary()
1019 bool ListValue::GetList(size_t index, const ListValue** out_value) const { in GetList()
1025 if (out_value) in GetList()
1026 *out_value = static_cast<const ListValue*>(value); in GetList()
1031 bool ListValue::GetList(size_t index, ListValue** out_value) { in GetList() argument
1034 const_cast<const ListValue**>(out_value)); in GetList()
1037 bool ListValue::Remove(size_t index, scoped_ptr<Value>* out_value) { in Remove() argument
1041 if (out_value) in Remove()
1042 out_value->reset(list_[index]); in Remove()
1066 scoped_ptr<Value>* out_value) { in Erase() argument
1067 if (out_value) in Erase()
1068 out_value->reset(*iter); in Erase()
1147 bool ListValue::GetAsList(ListValue** out_value) { in GetAsList() argument
1148 if (out_value) in GetAsList()
1149 *out_value = this; in GetAsList()
1153 bool ListValue::GetAsList(const ListValue** out_value) const { in GetAsList()
1154 if (out_value) in GetAsList()
1155 *out_value = this; in GetAsList()