Lines Matching refs:out_value
102 bool Value::GetAsBoolean(bool* out_value) const { in GetAsBoolean()
106 bool Value::GetAsInteger(int* out_value) const { in GetAsInteger()
110 bool Value::GetAsDouble(double* out_value) const { in GetAsDouble()
114 bool Value::GetAsString(std::string* out_value) const { in GetAsString()
118 bool Value::GetAsString(string16* out_value) const { in GetAsString()
122 bool Value::GetAsList(ListValue** out_value) { in GetAsList() argument
167 bool FundamentalValue::GetAsBoolean(bool* out_value) const { in GetAsBoolean()
168 if (out_value && IsType(TYPE_BOOLEAN)) in GetAsBoolean()
169 *out_value = boolean_value_; in GetAsBoolean()
173 bool FundamentalValue::GetAsInteger(int* out_value) const { in GetAsInteger()
174 if (out_value && IsType(TYPE_INTEGER)) in GetAsInteger()
175 *out_value = integer_value_; in GetAsInteger()
179 bool FundamentalValue::GetAsDouble(double* out_value) const { in GetAsDouble()
180 if (out_value && IsType(TYPE_DOUBLE)) in GetAsDouble()
181 *out_value = double_value_; in GetAsDouble()
241 bool StringValue::GetAsString(std::string* out_value) const { in GetAsString()
242 if (out_value) in GetAsString()
243 *out_value = value_; in GetAsString()
247 bool StringValue::GetAsString(string16* out_value) const { in GetAsString()
248 if (out_value) in GetAsString()
249 *out_value = UTF8ToUTF16(value_); in GetAsString()
396 bool DictionaryValue::Get(const std::string& path, Value** out_value) const { in Get()
412 return current_dictionary->GetWithoutPathExpansion(current_path, out_value); in Get()
425 int* out_value) const { in GetInteger()
430 return value->GetAsInteger(out_value); in GetInteger()
434 double* out_value) const { in GetDouble()
439 return value->GetAsDouble(out_value); in GetDouble()
443 std::string* out_value) const { in GetString()
448 return value->GetAsString(out_value); in GetString()
452 string16* out_value) const { in GetString()
457 return value->GetAsString(out_value); in GetString()
461 std::string* out_value) const { in GetStringASCII()
471 out_value->assign(out); in GetStringASCII()
476 BinaryValue** out_value) const { in GetBinary()
482 if (out_value) in GetBinary()
483 *out_value = static_cast<BinaryValue*>(value); in GetBinary()
489 DictionaryValue** out_value) const { in GetDictionary()
495 if (out_value) in GetDictionary()
496 *out_value = static_cast<DictionaryValue*>(value); in GetDictionary()
502 ListValue** out_value) const { in GetList()
508 if (out_value) in GetList()
509 *out_value = static_cast<ListValue*>(value); in GetList()
515 Value** out_value) const { in GetWithoutPathExpansion()
522 if (out_value) in GetWithoutPathExpansion()
523 *out_value = entry; in GetWithoutPathExpansion()
528 int* out_value) const { in GetIntegerWithoutPathExpansion()
533 return value->GetAsInteger(out_value); in GetIntegerWithoutPathExpansion()
537 double* out_value) const { in GetDoubleWithoutPathExpansion()
542 return value->GetAsDouble(out_value); in GetDoubleWithoutPathExpansion()
547 std::string* out_value) const { in GetStringWithoutPathExpansion()
552 return value->GetAsString(out_value); in GetStringWithoutPathExpansion()
557 string16* out_value) const { in GetStringWithoutPathExpansion()
562 return value->GetAsString(out_value); in GetStringWithoutPathExpansion()
567 DictionaryValue** out_value) const { in GetDictionaryWithoutPathExpansion()
573 if (out_value) in GetDictionaryWithoutPathExpansion()
574 *out_value = static_cast<DictionaryValue*>(value); in GetDictionaryWithoutPathExpansion()
580 ListValue** out_value) const { in GetListWithoutPathExpansion()
586 if (out_value) in GetListWithoutPathExpansion()
587 *out_value = static_cast<ListValue*>(value); in GetListWithoutPathExpansion()
592 bool DictionaryValue::Remove(const std::string& path, Value** out_value) { in Remove() argument
605 out_value); in Remove()
609 Value** out_value) { in RemoveWithoutPathExpansion() argument
616 if (out_value) in RemoveWithoutPathExpansion()
617 *out_value = entry; in RemoveWithoutPathExpansion()
719 bool ListValue::Get(size_t index, Value** out_value) const { in Get()
723 if (out_value) in Get()
724 *out_value = list_[index]; in Get()
737 bool ListValue::GetInteger(size_t index, int* out_value) const { in GetInteger()
742 return value->GetAsInteger(out_value); in GetInteger()
745 bool ListValue::GetDouble(size_t index, double* out_value) const { in GetDouble()
750 return value->GetAsDouble(out_value); in GetDouble()
753 bool ListValue::GetString(size_t index, std::string* out_value) const { in GetString()
758 return value->GetAsString(out_value); in GetString()
761 bool ListValue::GetString(size_t index, string16* out_value) const { in GetString()
766 return value->GetAsString(out_value); in GetString()
769 bool ListValue::GetBinary(size_t index, BinaryValue** out_value) const { in GetBinary()
775 if (out_value) in GetBinary()
776 *out_value = static_cast<BinaryValue*>(value); in GetBinary()
781 bool ListValue::GetDictionary(size_t index, DictionaryValue** out_value) const { in GetDictionary()
787 if (out_value) in GetDictionary()
788 *out_value = static_cast<DictionaryValue*>(value); in GetDictionary()
793 bool ListValue::GetList(size_t index, ListValue** out_value) const { in GetList()
799 if (out_value) in GetList()
800 *out_value = static_cast<ListValue*>(value); in GetList()
805 bool ListValue::Remove(size_t index, Value** out_value) { in Remove() argument
809 if (out_value) in Remove()
810 *out_value = list_[index]; in Remove()
861 bool ListValue::GetAsList(ListValue** out_value) { in GetAsList() argument
862 if (out_value) in GetAsList()
863 *out_value = this; in GetAsList()