Home
last modified time | relevance | path

Searched refs:out_value (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/
Dvalues.cc196 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 …]
Dvalues.h85 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 …]
Dpickle_unittest.cc573 int out_value; in TEST() local
574 EXPECT_TRUE(iter.ReadInt(&out_value)); in TEST()
575 EXPECT_EQ(42, out_value); in TEST()
/external/libweave/third_party/chromium/base/
Dvalues.cc116 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 …]
Dvalues.h84 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 …]
/external/libbrillo/brillo/
Dvalue_conversion.h34 inline bool FromValue(const base::Value& in_value, bool* out_value) { in FromValue() argument
35 return in_value.GetAsBoolean(out_value); in FromValue()
38 inline bool FromValue(const base::Value& in_value, int* out_value) { in FromValue() argument
39 return in_value.GetAsInteger(out_value); in FromValue()
42 inline bool FromValue(const base::Value& in_value, double* out_value) { in FromValue() argument
43 return in_value.GetAsDouble(out_value); in FromValue()
46 inline bool FromValue(const base::Value& in_value, std::string* out_value) { in FromValue() argument
47 return in_value.GetAsString(out_value); in FromValue()
51 const base::ListValue** out_value) { in FromValue() argument
52 return in_value.GetAsList(out_value); in FromValue()
[all …]
Dvalue_conversion.cc23 std::unique_ptr<base::ListValue>* out_value) { in FromValue() argument
27 out_value->reset(list->DeepCopy()); in FromValue()
32 std::unique_ptr<base::DictionaryValue>* out_value) { in FromValue() argument
36 out_value->reset(dict->DeepCopy()); in FromValue()
/external/libchrome/base/trace_event/
Dmemory_allocator_dump_unittest.cc63 const Value* out_value = nullptr; in CheckAttribute() local
70 EXPECT_TRUE(arg->Get("value", &out_value)); in CheckAttribute()
71 return out_value ? out_value->CreateDeepCopy() : scoped_ptr<Value>(); in CheckAttribute()
/external/libchrome/base/json/
Djson_parser.cc142 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()
/external/boringssl/src/crypto/test/
Dfile_test.cc178 bool FileTest::GetAttribute(std::string *out_value, const std::string &key) { in GetAttribute() argument
185 *out_value = iter->second; in GetAttribute()
Dfile_test.h113 bool GetAttribute(std::string *out_value, const std::string &key);
/external/protobuf/python/google/protobuf/
Dtext_format.py193 out_value = value.encode('utf-8')
195 out_value = value
201 out.write(text_encoding.CEscape(out_value, out_as_utf8))
/external/libweave/third_party/chromium/base/json/
Djson_parser.cc141 bool GetAsString(std::string* out_value) const override { in GetAsString()
142 string_piece_.CopyToString(out_value); in GetAsString()