Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dvalue_conversion_unittest.cc31 std::unique_ptr<base::Value> ParseValue(std::string json) { in ParseValue() function
45 EXPECT_PRED2(IsEqualValue, *ParseValue(expected), actual)
51 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()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DTGParser.cpp512 Init *Name = ParseValue(CurRec, StringRecTy::get(), ParseNameMode); in ParseObjectName()
934 Init *LHS = ParseValue(CurRec); in ParseOperation()
1012 Init *LHS = ParseValue(CurRec); in ParseOperation()
1121 InitList.push_back(ParseValue(CurRec, ArgType)); in ParseOperation()
1224 Init *MHS = ParseValue(CurRec); in ParseOperation()
1280 Init *RHS = ParseValue(ParseRec, OutEltType); in ParseOperation()
1335 Init *LHS = ParseValue(CurRec); in ParseOperation()
1345 Init *MHS = ParseValue(CurRec, ItemType); in ParseOperation()
1356 Init *RHS = ParseValue(CurRec, ItemType); in ParseOperation()
1457 Init *StartUntyped = ParseValue(CurRec); in ParseOperation()
[all …]
DTGParser.h183 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr,
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.h278 bool ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS);
279 bool ParseValue(Type *Ty, Value *&V, PerFunctionState &PFS) { in ParseValue() function
280 return ParseValue(Ty, V, &PFS); in ParseValue()
282 bool ParseValue(Type *Ty, Value *&V, LocTy &Loc, in ParseValue() function
285 return ParseValue(Ty, V, &PFS); in ParseValue()
DLLParser.cpp1368 if (ParseOptionalAttrs(ArgAttrs1, 0) || ParseValue(ArgTy, V, PFS)) in ParseParameterList()
2554 bool LLParser::ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS) { in ParseValue() function in LLParser
2564 ParseValue(Ty, V, PFS); in ParseTypeAndValue()
3041 if (ParseValue(Ty, RV, PFS)) return true; in ParseRet()
3284 ParseValue(LHS->getType(), RHS, PFS)) in ParseArithmetic()
3312 ParseValue(LHS->getType(), RHS, PFS)) in ParseLogical()
3335 ParseValue(LHS->getType(), RHS, PFS)) in ParseCompare()
3479 ParseValue(Ty, Op0, PFS) || in ParsePHI()
3481 ParseValue(Type::getLabelTy(Context), Op1, PFS) || in ParsePHI()
3499 ParseValue(Ty, Op0, PFS) || in ParsePHI()
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGParser.cpp730 Init *LHS = ParseValue(CurRec); in ParseOperation()
833 InitList.push_back(ParseValue(CurRec)); in ParseOperation()
839 InitList.push_back(ParseValue(CurRec)); in ParseOperation()
894 Init *LHS = ParseValue(CurRec); in ParseOperation()
903 Init *MHS = ParseValue(CurRec); in ParseOperation()
912 Init *RHS = ParseValue(CurRec); in ParseOperation()
1252 Init *Operator = ParseValue(CurRec); in ParseSimpleValue()
1308 Init *TGParser::ParseValue(Record *CurRec, RecTy *ItemType) { in ParseValue() function in TGParser
1384 Init *Val = ParseValue(CurRec); in ParseDagArgList()
1430 Result.push_back(ParseValue(CurRec, ItemType)); in ParseValueList()
[all …]
DTGParser.h119 Init *ParseValue(Record *CurRec, RecTy *ItemType = 0);
/external/llvm/lib/TableGen/
DTGParser.cpp404 return ParseValue(CurRec, Type, ParseNameMode); in ParseObjectName()
810 Init *LHS = ParseValue(CurRec); in ParseOperation()
914 InitList.push_back(ParseValue(CurRec)); in ParseOperation()
920 InitList.push_back(ParseValue(CurRec)); in ParseOperation()
988 Init *LHS = ParseValue(CurRec); in ParseOperation()
997 Init *MHS = ParseValue(CurRec, ItemType); in ParseOperation()
1007 Init *RHS = ParseValue(CurRec, ItemType); in ParseOperation()
1404 Init *Operator = ParseValue(CurRec); in ParseSimpleValue()
1463 Init *TGParser::ParseValue(Record *CurRec, RecTy *ItemType, IDParseMode Mode) { in ParseValue() function in TGParser
1563 Init *RHSResult = ParseValue(CurRec, ItemType, ParseNameMode); in ParseValue()
[all …]
DTGParser.h175 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr,
/external/llvm/lib/AsmParser/
DLLParser.h364 bool ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS);
365 bool ParseValue(Type *Ty, Value *&V, PerFunctionState &PFS) { in ParseValue() function
366 return ParseValue(Ty, V, &PFS); in ParseValue()
369 bool ParseValue(Type *Ty, Value *&V, LocTy &Loc, in ParseValue() function
372 return ParseValue(Ty, V, &PFS); in ParseValue()
DLLParser.cpp2115 if (ParseOptionalParamAttrs(ArgAttrs) || ParseValue(ArgTy, V, PFS)) in ParseParameterList()
2168 if (ParseType(Ty) || ParseValue(Ty, Input, PFS)) in ParseOptionalOperandBundles()
4323 if (ParseValue(Ty, V, PFS)) in ParseValueAsMetadata()
4520 bool LLParser::ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS) { in ParseValue() function in LLParser
4529 ParseValue(Ty, V, PFS); in ParseTypeAndValue()
5114 if (ParseValue(Ty, RV, PFS)) return true; in ParseRet()
5380 if (ParseValue(ArgTy, V, PFS)) in ParseExceptionArgs()
5398 if (ParseValue(Type::getTokenTy(Context), CleanupPad, PFS)) in ParseCleanupRet()
5427 if (ParseValue(Type::getTokenTy(Context), CatchPad, PFS)) in ParseCatchRet()
5452 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS)) in ParseCatchSwitch()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.h452 bool ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS);
453 bool ParseValue(Type *Ty, Value *&V, PerFunctionState &PFS) { in ParseValue() function
454 return ParseValue(Ty, V, &PFS); in ParseValue()
457 bool ParseValue(Type *Ty, Value *&V, LocTy &Loc, in ParseValue() function
460 return ParseValue(Ty, V, &PFS); in ParseValue()
DLLParser.cpp2380 if (ParseOptionalParamAttrs(ArgAttrs) || ParseValue(ArgTy, V, PFS)) in ParseParameterList()
2432 if (ParseType(Ty) || ParseValue(Ty, Input, PFS)) in ParseOptionalOperandBundles()
4835 if (ParseValue(Ty, V, PFS)) in ParseValueAsMetadata()
5034 bool LLParser::ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS) { in ParseValue() function in LLParser
5044 ParseValue(Ty, V, PFS); in ParseTypeAndValue()
5619 if (ParseValue(Ty, RV, PFS)) return true; in ParseRet()
5872 if (ParseValue(ArgTy, V, PFS)) in ParseExceptionArgs()
5890 if (ParseValue(Type::getTokenTy(Context), CleanupPad, PFS)) in ParseCleanupRet()
5919 if (ParseValue(Type::getTokenTy(Context), CatchPad, PFS)) in ParseCatchRet()
5943 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS)) in ParseCatchSwitch()
[all …]
/external/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.cc215 result = ParseValue(t); in RunParser()
261 util::Status JsonStreamParser::ParseValue(TokenType type) { in ParseValue() function in google::protobuf::util::converter::JsonStreamParser
670 util::Status result = ParseValue(type); in ParseArrayValue()
Djson_stream_parser.h133 util::Status ParseValue(TokenType type);
/external/llvm/docs/TableGen/
DLangRef.rst333 ParseNameMode). ParseObjectName calls into the general ParseValue, with