Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dvalue_conversion_test.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-10.0/llvm/lib/TableGen/
DTGParser.cpp513 Init *Name = ParseValue(CurRec, StringRecTy::get(), ParseNameMode); in ParseObjectName()
675 CurVal = ParseValue(nullptr); in ParseRangePiece()
694 Init *I_End = ParseValue(nullptr); in ParseRangePiece()
982 Init *LHS = ParseValue(CurRec); in ParseOperation()
1060 Init *LHS = ParseValue(CurRec); in ParseOperation()
1180 InitList.push_back(ParseValue(CurRec, ArgType)); in ParseOperation()
1327 Init *MHS = ParseValue(CurRec); in ParseOperation()
1383 Init *RHS = ParseValue(ParseRec, OutEltType); in ParseOperation()
1438 Init *LHS = ParseValue(CurRec); in ParseOperation()
1448 Init *MHS = ParseValue(CurRec, ItemType); in ParseOperation()
[all …]
DTGParser.h247 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr,
/external/llvm-project/llvm/lib/TableGen/
DTGParser.cpp522 Init *Name = ParseValue(CurRec, StringRecTy::get(), ParseNameMode); in ParseObjectName()
682 CurVal = ParseValue(nullptr); in ParseRangePiece()
703 Init *I_End = ParseValue(nullptr); in ParseRangePiece()
986 Init *LHS = ParseValue(CurRec); in ParseOperation()
1064 Init *LHS = ParseValue(CurRec); in ParseOperation()
1192 InitList.push_back(ParseValue(CurRec, ArgType)); in ParseOperation()
1389 Init *LHS = ParseValue(CurRec); in ParseOperation()
1398 Init *MHS = ParseValue(CurRec, ItemType); in ParseOperation()
1408 Init *RHS = ParseValue(CurRec, ItemType); in ParseOperation()
1510 Init *StartUntyped = ParseValue(CurRec); in ParseOperation()
[all …]
DTGParser.h243 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr,
/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-10.0/llvm/lib/AsmParser/
DLLParser.h463 bool ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS);
464 bool ParseValue(Type *Ty, Value *&V, PerFunctionState &PFS) { in ParseValue() function
465 return ParseValue(Ty, V, &PFS); in ParseValue()
468 bool ParseValue(Type *Ty, Value *&V, LocTy &Loc, in ParseValue() function
471 return ParseValue(Ty, V, &PFS); in ParseValue()
DLLParser.cpp2471 if (ParseOptionalParamAttrs(ArgAttrs) || ParseValue(ArgTy, V, PFS)) in ParseParameterList()
2539 if (ParseType(Ty) || ParseValue(Ty, Input, PFS)) in ParseOptionalOperandBundles()
5081 if (ParseValue(Ty, V, PFS)) in ParseValueAsMetadata()
5280 bool LLParser::ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS) { in ParseValue() function in LLParser
5290 ParseValue(Ty, V, PFS); in ParseTypeAndValue()
5917 if (ParseValue(Ty, RV, PFS)) return true; in ParseRet()
6172 if (ParseValue(ArgTy, V, PFS)) in ParseExceptionArgs()
6190 if (ParseValue(Type::getTokenTy(Context), CleanupPad, PFS)) in ParseCleanupRet()
6219 if (ParseValue(Type::getTokenTy(Context), CatchPad, PFS)) in ParseCatchRet()
6243 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS)) in ParseCatchSwitch()
[all …]
/external/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.h142 util::Status ParseValue(TokenType type);
Djson_stream_parser.cc222 result = ParseValue(t); in RunParser()
269 util::Status JsonStreamParser::ParseValue(TokenType type) { in ParseValue() function in google::protobuf::util::converter::JsonStreamParser
711 util::Status result = ParseValue(type); in ParseArrayValue()
/external/openscreen/tools/cddl/
Dparse.cc225 AstNode* ParseValue(Parser* p) { in ParseValue() function
352 AstNode* value = ParseValue(&p_speculative); in ParseMemberKey3()
480 AstNode* value = ParseValue(p); in ParseType2()
770 AstNode* member_key_num = ParseValue(&p_speculative); in ParseGroupEntryWithNameInComment()
/external/llvm/docs/TableGen/
DLangRef.rst333 ParseNameMode). ParseObjectName calls into the general ParseValue, with