/external/libbrillo/brillo/ |
D | value_conversion.h | 34 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() 50 inline bool FromValue(const base::Value& in_value, in FromValue() argument 52 return in_value.GetAsList(out_value); in FromValue() [all …]
|
D | value_conversion.cc | 22 bool FromValue(const base::Value& in_value, in FromValue() argument 25 if (!in_value.GetAsList(&list)) in FromValue() 31 bool FromValue(const base::Value& in_value, in FromValue() argument 34 if (!in_value.GetAsDictionary(&dict)) in FromValue()
|
D | value_conversion_unittest.cc | 103 auto in_value = ParseValue("[1, 2, 'foo']"); in TEST() local 104 EXPECT_TRUE(FromValue(*in_value, &list)); in TEST() 110 auto in_value = ParseValue("{'foo':'bar','baz': 1}"); in TEST() local 111 EXPECT_TRUE(FromValue(*in_value, &dict)); in TEST()
|
/external/libchrome/base/ |
D | values.cc | 176 FundamentalValue::FundamentalValue(bool in_value) in FundamentalValue() argument 177 : Value(TYPE_BOOLEAN), boolean_value_(in_value) { in FundamentalValue() 180 FundamentalValue::FundamentalValue(int in_value) in FundamentalValue() argument 181 : Value(TYPE_INTEGER), integer_value_(in_value) { in FundamentalValue() 184 FundamentalValue::FundamentalValue(double in_value) in FundamentalValue() argument 185 : Value(TYPE_DOUBLE), double_value_(in_value) { in FundamentalValue() 258 StringValue::StringValue(const std::string& in_value) in StringValue() argument 260 value_(in_value) { in StringValue() 261 DCHECK(IsStringUTF8(in_value)); in StringValue() 264 StringValue::StringValue(const string16& in_value) in StringValue() argument [all …]
|
D | values.h | 127 explicit FundamentalValue(bool in_value); 128 explicit FundamentalValue(int in_value); 129 explicit FundamentalValue(double in_value); 152 explicit StringValue(const std::string& in_value); 155 explicit StringValue(const string16& in_value); 242 void Set(const std::string& path, scoped_ptr<Value> in_value); 244 void Set(const std::string& path, Value* in_value); 248 void SetBoolean(const std::string& path, bool in_value); 249 void SetInteger(const std::string& path, int in_value); 250 void SetDouble(const std::string& path, double in_value); [all …]
|
/external/libweave/third_party/chromium/base/ |
D | values.cc | 172 FundamentalValue::FundamentalValue(bool in_value) in FundamentalValue() argument 173 : Value(TYPE_BOOLEAN), boolean_value_(in_value) { in FundamentalValue() 176 FundamentalValue::FundamentalValue(int in_value) in FundamentalValue() argument 177 : Value(TYPE_INTEGER), integer_value_(in_value) { in FundamentalValue() 180 FundamentalValue::FundamentalValue(double in_value) in FundamentalValue() argument 181 : Value(TYPE_DOUBLE), double_value_(in_value) { in FundamentalValue() 254 StringValue::StringValue(const std::string& in_value) in StringValue() argument 256 value_(in_value) { in StringValue() 257 DCHECK(IsStringUTF8(in_value)); in StringValue() 384 void DictionaryValue::Set(const std::string& path, scoped_ptr<Value> in_value) { in Set() argument [all …]
|
D | values.h | 125 explicit FundamentalValue(bool in_value); 126 explicit FundamentalValue(int in_value); 127 explicit FundamentalValue(double in_value); 150 explicit StringValue(const std::string& in_value); 236 void Set(const std::string& path, scoped_ptr<Value> in_value); 238 void Set(const std::string& path, Value* in_value); 242 void SetBoolean(const std::string& path, bool in_value); 243 void SetInteger(const std::string& path, int in_value); 244 void SetDouble(const std::string& path, double in_value); 245 void SetString(const std::string& path, const std::string& in_value); [all …]
|
/external/libchrome/base/memory/ |
D | ref_counted.h | 207 RefCountedData(const T& in_value) : data(in_value) {}
|
/external/libweave/third_party/chromium/base/memory/ |
D | ref_counted.h | 194 RefCountedData(const T& in_value) : data(in_value) {}
|
/external/tinyxml/ |
D | tinyxml.h | 848 TiXmlElement (const char * in_value);
|
/external/sfntly/cpp/src/test/tinyxml/ |
D | tinyxml.h | 944 TiXmlElement (const char * in_value);
|