Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dvalue_conversion_unittest.cc52 EXPECT_TRUE(FromValue(*ParseValue("123"), &actual)); in TEST()
55 EXPECT_TRUE(FromValue(*ParseValue("-123"), &actual)); in TEST()
58 EXPECT_FALSE(FromValue(*ParseValue("true"), &actual)); in TEST()
63 EXPECT_TRUE(FromValue(*ParseValue("false"), &actual)); in TEST()
66 EXPECT_TRUE(FromValue(*ParseValue("true"), &actual)); in TEST()
69 EXPECT_FALSE(FromValue(*ParseValue("0"), &actual)); in TEST()
70 EXPECT_FALSE(FromValue(*ParseValue("1"), &actual)); in TEST()
75 EXPECT_TRUE(FromValue(*ParseValue("12.5"), &actual)); in TEST()
78 EXPECT_TRUE(FromValue(*ParseValue("-0.1"), &actual)); in TEST()
81 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/v8/src/crankshaft/
Dhydrogen-types.h67 static HType FromValue(Handle<Object> value) WARN_UNUSED_RESULT;
Dhydrogen-types.cc42 HType HType::FromValue(Handle<Object> value) { in FromValue() function in v8::internal::HType
Dhydrogen-instructions.cc2700 : HTemplateInstruction<0>(HType::FromValue(object)), in HConstant()
/external/llvm/lib/IR/
DAsmWriter.cpp998 bool FromValue = false);
1967 bool FromValue) { in WriteAsOperandInternal() argument
1993 assert((FromValue || !isa<LocalAsMetadata>(V)) && in WriteAsOperandInternal()