/external/libbrillo/brillo/ |
D | value_conversion_unittest.cc | 31 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/ |
D | TGParser.cpp | 512 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 …]
|
D | TGParser.h | 183 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr,
|
/external/swiftshader/third_party/LLVM/lib/AsmParser/ |
D | LLParser.h | 278 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()
|
D | LLParser.cpp | 1368 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/ |
D | TGParser.cpp | 730 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 …]
|
D | TGParser.h | 119 Init *ParseValue(Record *CurRec, RecTy *ItemType = 0);
|
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 404 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 …]
|
D | TGParser.h | 175 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr,
|
/external/llvm/lib/AsmParser/ |
D | LLParser.h | 364 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()
|
D | LLParser.cpp | 2115 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/ |
D | LLParser.h | 452 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()
|
D | LLParser.cpp | 2380 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/ |
D | json_stream_parser.cc | 215 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()
|
D | json_stream_parser.h | 133 util::Status ParseValue(TokenType type);
|
/external/llvm/docs/TableGen/ |
D | LangRef.rst | 333 ParseNameMode). ParseObjectName calls into the general ParseValue, with
|