Searched refs:out_value (Results 1 – 13 of 13) sorted by relevance
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()[all …]
85 virtual bool GetAsBoolean(bool* out_value) const;86 virtual bool GetAsInteger(int* out_value) const;87 virtual bool GetAsDouble(double* out_value) const;88 virtual bool GetAsString(std::string* out_value) const;89 virtual bool GetAsString(string16* out_value) const;90 virtual bool GetAsString(const StringValue** out_value) const;91 virtual bool GetAsBinary(const BinaryValue** out_value) const;92 virtual bool GetAsList(ListValue** out_value);93 virtual bool GetAsList(const ListValue** out_value) const;94 virtual bool GetAsDictionary(DictionaryValue** out_value);[all …]
573 int out_value; in TEST() local574 EXPECT_TRUE(iter.ReadInt(&out_value)); in TEST()575 EXPECT_EQ(42, out_value); in TEST()
116 bool Value::GetAsString(const StringValue** out_value) const { in GetAsString()192 bool FundamentalValue::GetAsBoolean(bool* out_value) const { in GetAsBoolean()193 if (out_value && IsType(TYPE_BOOLEAN)) in GetAsBoolean()194 *out_value = boolean_value_; in GetAsBoolean()198 bool FundamentalValue::GetAsInteger(int* out_value) const { in GetAsInteger()199 if (out_value && IsType(TYPE_INTEGER)) in GetAsInteger()200 *out_value = integer_value_; in GetAsInteger()204 bool FundamentalValue::GetAsDouble(double* out_value) const { in GetAsDouble()205 if (out_value && IsType(TYPE_DOUBLE)) in GetAsDouble()206 *out_value = double_value_; in GetAsDouble()[all …]
84 virtual bool GetAsBoolean(bool* out_value) const;85 virtual bool GetAsInteger(int* out_value) const;86 virtual bool GetAsDouble(double* out_value) const;87 virtual bool GetAsString(std::string* out_value) const;88 virtual bool GetAsString(const StringValue** out_value) const;89 virtual bool GetAsBinary(const BinaryValue** out_value) const;90 virtual bool GetAsList(ListValue** out_value);91 virtual bool GetAsList(const ListValue** out_value) const;92 virtual bool GetAsDictionary(DictionaryValue** out_value);93 virtual bool GetAsDictionary(const DictionaryValue** out_value) const;[all …]
34 inline bool FromValue(const base::Value& in_value, bool* out_value) { in FromValue() argument35 return in_value.GetAsBoolean(out_value); in FromValue()38 inline bool FromValue(const base::Value& in_value, int* out_value) { in FromValue() argument39 return in_value.GetAsInteger(out_value); in FromValue()42 inline bool FromValue(const base::Value& in_value, double* out_value) { in FromValue() argument43 return in_value.GetAsDouble(out_value); in FromValue()46 inline bool FromValue(const base::Value& in_value, std::string* out_value) { in FromValue() argument47 return in_value.GetAsString(out_value); in FromValue()51 const base::ListValue** out_value) { in FromValue() argument52 return in_value.GetAsList(out_value); in FromValue()[all …]
23 std::unique_ptr<base::ListValue>* out_value) { in FromValue() argument27 out_value->reset(list->DeepCopy()); in FromValue()32 std::unique_ptr<base::DictionaryValue>* out_value) { in FromValue() argument36 out_value->reset(dict->DeepCopy()); in FromValue()
63 const Value* out_value = nullptr; in CheckAttribute() local70 EXPECT_TRUE(arg->Get("value", &out_value)); in CheckAttribute()71 return out_value ? out_value->CreateDeepCopy() : scoped_ptr<Value>(); in CheckAttribute()
142 bool GetAsString(std::string* out_value) const override { in GetAsString()143 string_piece_.CopyToString(out_value); in GetAsString()146 bool GetAsString(string16* out_value) const override { in GetAsString()147 *out_value = UTF8ToUTF16(string_piece_); in GetAsString()
178 bool FileTest::GetAttribute(std::string *out_value, const std::string &key) { in GetAttribute() argument185 *out_value = iter->second; in GetAttribute()
113 bool GetAttribute(std::string *out_value, const std::string &key);
193 out_value = value.encode('utf-8')195 out_value = value201 out.write(text_encoding.CEscape(out_value, out_as_utf8))
141 bool GetAsString(std::string* out_value) const override { in GetAsString()142 string_piece_.CopyToString(out_value); in GetAsString()