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