Home
last modified time | relevance | path

Searched refs:ParseValue (Results 1 – 6 of 6) sorted by relevance

/external/libbrillo/brillo/
Dvalue_conversion_unittest.cc30 std::unique_ptr<base::Value> ParseValue(std::string json) { in ParseValue() function
46 EXPECT_PRED2(IsEqualValue, *ParseValue(expected), actual)
52 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()
[all …]
/external/llvm/lib/AsmParser/
DLLParser.h358 bool ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS);
359 bool ParseValue(Type *Ty, Value *&V, PerFunctionState &PFS) { in ParseValue() function
360 return ParseValue(Ty, V, &PFS); in ParseValue()
363 bool ParseValue(Type *Ty, Value *&V, LocTy &Loc, in ParseValue() function
366 return ParseValue(Ty, V, &PFS); in ParseValue()
DLLParser.cpp1951 if (ParseOptionalParamAttrs(ArgAttrs) || ParseValue(ArgTy, V, PFS)) in ParseParameterList()
2004 if (ParseType(Ty) || ParseValue(Ty, Input, PFS)) in ParseOptionalOperandBundles()
4101 if (ParseValue(Ty, V, PFS)) in ParseValueAsMetadata()
4298 bool LLParser::ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS) { in ParseValue() function in LLParser
4307 ParseValue(Ty, V, PFS); in ParseTypeAndValue()
4895 if (ParseValue(Ty, RV, PFS)) return true; in ParseRet()
5161 if (ParseValue(ArgTy, V, PFS)) in ParseExceptionArgs()
5179 if (ParseValue(Type::getTokenTy(Context), CleanupPad, PFS)) in ParseCleanupRet()
5208 if (ParseValue(Type::getTokenTy(Context), CatchPad, PFS)) in ParseCatchRet()
5233 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS)) in ParseCatchSwitch()
[all …]
/external/llvm/lib/TableGen/
DTGParser.cpp409 return ParseValue(CurRec, Type, ParseNameMode); in ParseObjectName()
815 Init *LHS = ParseValue(CurRec); in ParseOperation()
919 InitList.push_back(ParseValue(CurRec)); in ParseOperation()
925 InitList.push_back(ParseValue(CurRec)); in ParseOperation()
993 Init *LHS = ParseValue(CurRec); in ParseOperation()
1002 Init *MHS = ParseValue(CurRec, ItemType); in ParseOperation()
1012 Init *RHS = ParseValue(CurRec, ItemType); in ParseOperation()
1409 Init *Operator = ParseValue(CurRec); in ParseSimpleValue()
1468 Init *TGParser::ParseValue(Record *CurRec, RecTy *ItemType, IDParseMode Mode) { in ParseValue() function in TGParser
1568 Init *RHSResult = ParseValue(CurRec, ItemType, ParseNameMode); in ParseValue()
[all …]
DTGParser.h172 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr,
/external/llvm/docs/TableGen/
DLangRef.rst333 ParseNameMode). ParseObjectName calls into the general ParseValue, with