Home
last modified time | relevance | path

Searched refs:FromValue (Results 1 – 5 of 5) sorted by relevance

/external/libbrillo/brillo/
Dvalue_conversion_unittest.cc51 EXPECT_TRUE(FromValue(*ParseValue("123"), &actual)); in TEST()
54 EXPECT_TRUE(FromValue(*ParseValue("-123"), &actual)); in TEST()
57 EXPECT_FALSE(FromValue(*ParseValue("true"), &actual)); in TEST()
62 EXPECT_TRUE(FromValue(*ParseValue("false"), &actual)); in TEST()
65 EXPECT_TRUE(FromValue(*ParseValue("true"), &actual)); in TEST()
68 EXPECT_FALSE(FromValue(*ParseValue("0"), &actual)); in TEST()
69 EXPECT_FALSE(FromValue(*ParseValue("1"), &actual)); in TEST()
74 EXPECT_TRUE(FromValue(*ParseValue("12.5"), &actual)); in TEST()
77 EXPECT_TRUE(FromValue(*ParseValue("-0.1"), &actual)); in TEST()
80 EXPECT_TRUE(FromValue(*ParseValue("17"), &actual)); in TEST()
[all …]
Dvalue_conversion.h34 inline bool FromValue(const base::Value& in_value, bool* out_value) { in FromValue() function
38 inline bool FromValue(const base::Value& in_value, int* out_value) { in FromValue() function
42 inline bool FromValue(const base::Value& in_value, double* out_value) { in FromValue() function
46 inline bool FromValue(const base::Value& in_value, std::string* out_value) { in FromValue() function
50 inline bool FromValue(const base::Value& in_value, in FromValue() function
55 inline bool FromValue(const base::Value& in_value, in FromValue() function
60 BRILLO_EXPORT bool FromValue(const base::Value& in_value,
62 BRILLO_EXPORT bool FromValue(const base::Value& in_value,
66 bool FromValue(const base::Value& in_value,
70 bool FromValue(const base::Value& in_value, std::vector<T, Alloc>* out_value) { in FromValue() function
[all …]
Dvalue_conversion.cc22 bool FromValue(const base::Value& in_value, in FromValue() function
31 bool FromValue(const base::Value& in_value, in FromValue() function
/external/llvm/lib/IR/
DAsmWriter.cpp1042 bool FromValue = false);
2021 bool FromValue) { in WriteAsOperandInternal() argument
2047 assert((FromValue || !isa<LocalAsMetadata>(V)) && in WriteAsOperandInternal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAsmWriter.cpp1217 bool FromValue = false);
2240 bool FromValue) { in WriteAsOperandInternal() argument
2273 assert((FromValue || !isa<LocalAsMetadata>(V)) && in WriteAsOperandInternal()