Lines Matching refs:out_value
114 bool Value::GetAsBoolean(bool* out_value) const {
118 bool Value::GetAsInteger(int* out_value) const {
122 bool Value::GetAsDouble(double* out_value) const {
126 bool Value::GetAsString(std::string* out_value) const {
130 bool Value::GetAsString(string16* out_value) const {
134 bool Value::GetAsList(ListValue** out_value) {
138 bool Value::GetAsList(const ListValue** out_value) const {
142 bool Value::GetAsDictionary(DictionaryValue** out_value) {
146 bool Value::GetAsDictionary(const DictionaryValue** out_value) const {
202 bool FundamentalValue::GetAsBoolean(bool* out_value) const {
203 if (out_value && IsType(TYPE_BOOLEAN))
204 *out_value = boolean_value_;
208 bool FundamentalValue::GetAsInteger(int* out_value) const {
209 if (out_value && IsType(TYPE_INTEGER))
210 *out_value = integer_value_;
214 bool FundamentalValue::GetAsDouble(double* out_value) const {
215 if (out_value && IsType(TYPE_DOUBLE))
216 *out_value = double_value_;
217 else if (out_value && IsType(TYPE_INTEGER))
218 *out_value = integer_value_;
278 bool StringValue::GetAsString(std::string* out_value) const {
279 if (out_value)
280 *out_value = value_;
284 bool StringValue::GetAsString(string16* out_value) const {
285 if (out_value)
286 *out_value = UTF8ToUTF16(value_);
349 bool DictionaryValue::GetAsDictionary(DictionaryValue** out_value) {
350 if (out_value)
351 *out_value = this;
355 bool DictionaryValue::GetAsDictionary(const DictionaryValue** out_value) const {
356 if (out_value)
357 *out_value = this;
463 const std::string& path, const Value** out_value) const {
482 return current_dictionary->GetWithoutPathExpansion(current_path, out_value);
485 bool DictionaryValue::Get(const std::string& path, Value** out_value) {
488 const_cast<const Value**>(out_value));
501 int* out_value) const {
506 return value->GetAsInteger(out_value);
510 double* out_value) const {
515 return value->GetAsDouble(out_value);
519 std::string* out_value) const {
524 return value->GetAsString(out_value);
528 string16* out_value) const {
533 return value->GetAsString(out_value);
537 std::string* out_value) const {
547 out_value->assign(out);
552 const BinaryValue** out_value) const {
558 if (out_value)
559 *out_value = static_cast<const BinaryValue*>(value);
565 BinaryValue** out_value) {
568 const_cast<const BinaryValue**>(out_value));
572 const DictionaryValue** out_value) const {
578 if (out_value)
579 *out_value = static_cast<const DictionaryValue*>(value);
585 DictionaryValue** out_value) {
588 const_cast<const DictionaryValue**>(out_value));
592 const ListValue** out_value) const {
598 out_value)
599 *out_value = static_cast<const ListValue*>(value);
604 bool DictionaryValue::GetList(const std::string& path, ListValue** out_value) {
607 const_cast<const ListValue**>(out_value));
611 const Value** out_value) const {
618 if (out_value)
619 *out_value = entry;
624 Value** out_value) {
627 const_cast<const Value**>(out_value));
631 bool* out_value) const {
636 return value->GetAsBoolean(out_value);
640 int* out_value) const {
645 return value->GetAsInteger(out_value);
649 double* out_value) const {
654 return value->GetAsDouble(out_value);
659 std::string* out_value) const {
664 return value->GetAsString(out_value);
668 string16* out_value) const {
673 return value->GetAsString(out_value);
678 const DictionaryValue** out_value) const {
684 if (out_value)
685 *out_value = static_cast<const DictionaryValue*>(value);
692 DictionaryValue** out_value) {
697 const_cast<const DictionaryValue**>(out_value));
702 const ListValue** out_value) const {
708 if (out_value)
709 *out_value = static_cast<const ListValue*>(value);
715 ListValue** out_value) {
719 const_cast<const ListValue**>(out_value));
723 scoped_ptr<Value>* out_value) {
736 out_value);
740 scoped_ptr<Value>* out_value) {
747 if (out_value)
748 out_value->reset(entry);
851 bool ListValue::Get(size_t index, const Value** out_value) const {
855 if (out_value)
856 *out_value = list_[index];
861 bool ListValue::Get(size_t index, Value** out_value) {
864 const_cast<const Value**>(out_value));
875 bool ListValue::GetInteger(size_t index, int* out_value) const {
880 return value->GetAsInteger(out_value);
883 bool ListValue::GetDouble(size_t index, double* out_value) const {
888 return value->GetAsDouble(out_value);
891 bool ListValue::GetString(size_t index, std::string* out_value) const {
896 return value->GetAsString(out_value);
899 bool ListValue::GetString(size_t index, string16* out_value) const {
904 return value->GetAsString(out_value);
907 bool ListValue::GetBinary(size_t index, const BinaryValue** out_value) const {
913 if (out_value)
914 *out_value = static_cast<const BinaryValue*>(value);
919 bool ListValue::GetBinary(size_t index, BinaryValue** out_value) {
922 const_cast<const BinaryValue**>(out_value));
926 const DictionaryValue** out_value) const {
932 if (out_value)
933 *out_value = static_cast<const DictionaryValue*>(value);
938 bool ListValue::GetDictionary(size_t index, DictionaryValue** out_value) {
941 const_cast<const DictionaryValue**>(out_value));
944 bool ListValue::GetList(size_t index, const ListValue** out_value) const {
950 if (out_value)
951 *out_value = static_cast<const ListValue*>(value);
956 bool ListValue::GetList(size_t index, ListValue** out_value) {
959 const_cast<const ListValue**>(out_value));
962 bool ListValue::Remove(size_t index, scoped_ptr<Value>* out_value) {
966 if (out_value)
967 out_value->reset(list_[index]);
991 scoped_ptr<Value>* out_value) {
992 if (out_value)
993 out_value->reset(*iter);
1068 bool ListValue::GetAsList(ListValue** out_value) {
1069 if (out_value)
1070 *out_value = this;
1074 bool ListValue::GetAsList(const ListValue** out_value) const {
1075 if (out_value)
1076 *out_value = this;