Home
last modified time | relevance | path

Searched refs:ExpectedValue (Results 1 – 25 of 34) sorted by relevance

12

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DReturnValueChecker.cpp72 static Optional<bool> isInvariantBreak(bool ExpectedValue, SVal ReturnV, in isInvariantBreak() argument
78 if (ExpectedValue) in isInvariantBreak()
91 bool ExpectedValue = *RawExpectedValue; in checkPostCall() local
92 Optional<bool> IsInvariantBreak = isInvariantBreak(ExpectedValue, ReturnV, C); in checkPostCall()
102 [Name, ExpectedValue](PathSensitiveBugReport &) -> std::string { in checkPostCall()
107 << (ExpectedValue ? "true" : "false"); in checkPostCall()
113 State = State->assume(ReturnV.castAs<DefinedOrUnknownSVal>(), ExpectedValue); in checkPostCall()
138 bool ExpectedValue = *RawExpectedValue; in checkEndFunction() local
139 Optional<bool> IsInvariantBreak = isInvariantBreak(ExpectedValue, ReturnV, C); in checkEndFunction()
149 [Name, ExpectedValue](BugReport &BR) -> std::string { in checkEndFunction()
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Dfunctions.inl12 T ExpectedValue, argument
16 …return exp(-((x - ExpectedValue) * (x - ExpectedValue)) / (static_cast<T>(2) * StandardDeviation *…
23 tvec2<T, P> const& ExpectedValue, argument
27 …tvec2<T, P> const Squared = ((Coord - ExpectedValue) * (Coord - ExpectedValue)) / (static_cast<T>(…
Dfunctions.hpp37 T ExpectedValue,
46 tvec2<T, P> const& ExpectedValue,
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp66 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() local
67 if (!ExpectedValue) in handleSwitchExpect()
70 SwitchInst::CaseIt Case = SI.findCaseValue(ExpectedValue); in handleSwitchExpect()
118 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBranchExpect() local
119 if (!ExpectedValue) in handleBranchExpect()
127 if (ExpectedValue->isOne()) in handleBranchExpect()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp68 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() local
69 if (!ExpectedValue) in handleSwitchExpect()
72 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); in handleSwitchExpect()
102 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(Expect->getArgOperand(1)); in handlePhiDef() local
103 if (!ExpectedValue) in handlePhiDef()
105 const APInt &ExpectedPhiValue = ExpectedValue->getValue(); in handlePhiDef()
284 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBrSelExpect() local
285 if (!ExpectedValue) in handleBrSelExpect()
292 if ((ExpectedValue->getZExtValue() == ValueComparedTo) == in handleBrSelExpect()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp88 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() local
89 if (!ExpectedValue) in handleSwitchExpect()
92 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); in handleSwitchExpect()
120 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(Expect->getArgOperand(1)); in handlePhiDef() local
121 if (!ExpectedValue) in handlePhiDef()
123 const APInt &ExpectedPhiValue = ExpectedValue->getValue(); in handlePhiDef()
306 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBrSelExpect() local
307 if (!ExpectedValue) in handleBrSelExpect()
317 if ((ExpectedValue->getZExtValue() == ValueComparedTo) == in handleBrSelExpect()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DDbiModuleList.cpp124 auto ExpectedValue = Modules->getFileName(Off); in setValue() local
125 if (!ExpectedValue) { in setValue()
126 consumeError(ExpectedValue.takeError()); in setValue()
129 ThisValue = *ExpectedValue; in setValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DDbiModuleList.cpp124 auto ExpectedValue = Modules->getFileName(Off); in setValue() local
125 if (!ExpectedValue) { in setValue()
126 consumeError(ExpectedValue.takeError()); in setValue()
129 ThisValue = *ExpectedValue; in setValue()
/external/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/
Dllvm-support.cpp20 llvm::Expected<int> ExpectedValue(8); variable
62 !ExpectedValue; in main()
Dllvm-support.gdb20 p ExpectedValue
/external/llvm-project/llvm/unittests/Support/
DRISCVAttributeParserTest.cpp36 unsigned ExpectedValue) { in testAttribute() argument
48 return Attr.hasValue() && Attr.getValue() == ExpectedValue; in testAttribute()
DARMAttributeParser.cpp29 unsigned ExpectedTag, unsigned ExpectedValue) { in testBuildAttr() argument
41 return Attr.hasValue() && Attr.getValue() == ExpectedValue; in testBuildAttr()
/external/crosvm/src/
Dargument.rs63 ExpectedValue(String), enumerator
82 ExpectedValue(s) => write!(f, "expected parameter value: {}", s), in fmt()
275 if let Error::ExpectedValue(_) = e { in parse_arguments()
342 return Err(Error::ExpectedValue(short.to_string())); in set_arguments()
349 return Err(Error::ExpectedValue(arg.long.to_owned())); in set_arguments()
Dmain.rs688 let s = s.ok_or(argument::Error::ExpectedValue(String::from( in parse_direct_io_options()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1400 explicit ValueEqualsMatcher(const ValueT &ExpectedValue)
1401 : ExpectedValue(ExpectedValue) {}
1404 return Node.getValue() == ExpectedValue;
1408 const ValueT ExpectedValue;
1417 return Node.getValue().convertToFloat() == ExpectedValue;
1419 return Node.getValue().convertToDouble() == ExpectedValue;
1426 return Node.getValue().convertToFloat() == ExpectedValue;
1428 return Node.getValue().convertToDouble() == ExpectedValue;
1434 return ExpectedValue.compare(Node.getValue()) == llvm::APFloat::cmpEqual;
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1590 explicit ValueEqualsMatcher(const ValueT &ExpectedValue)
1591 : ExpectedValue(ExpectedValue) {}
1594 return Node.getValue() == ExpectedValue;
1598 const ValueT ExpectedValue;
1607 return Node.getValue().convertToFloat() == ExpectedValue;
1609 return Node.getValue().convertToDouble() == ExpectedValue;
1616 return Node.getValue().convertToFloat() == ExpectedValue;
1618 return Node.getValue().convertToDouble() == ExpectedValue;
1624 return ExpectedValue.compare(Node.getValue()) == llvm::APFloat::cmpEqual;
/external/OpenCL-CTS/test_conformance/c11_atomics/
Dtest_atomics.cpp65 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestStore
144 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestInit
251 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestLoad
743 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchAdd
820 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchSub
912 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchOr
1004 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchXor
1100 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchAnd
1219 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchOrAnd
1341 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchXor2
[all …]
Dcommon.h160 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function
1207 if(!ExpectedValue(expected, threadCount, startRefValues.size() ? &startRefValues[0] : 0, i)) in ExecuteSingleTest()
/external/capstone/contrib/sysz_update/
D0004-capstone-generate-GenDisassemblerTables.inc.patch354 + << " uint32_t CurFieldValue = 0, ExpectedValue; \\\n"
383 + << " ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \\\n"
387 + << " if (ExpectedValue != FieldValue) \\\n"
/external/llvm-project/llvm/unittests/FileCheck/
DFileCheckTest.cpp367 static void expectValueEqual(ExpressionValue ActualValue, T ExpectedValue) { in expectValueEqual() argument
368 EXPECT_EQ(ExpectedValue < 0, ActualValue.isNegative()); in expectValueEqual()
369 if (ExpectedValue < 0) { in expectValueEqual()
372 EXPECT_EQ(*SignedActualValue, static_cast<int64_t>(ExpectedValue)); in expectValueEqual()
376 EXPECT_EQ(*UnsignedActualValue, static_cast<uint64_t>(ExpectedValue)); in expectValueEqual()
/external/capstone/arch/XCore/
DXCoreGenDisassemblerTables.inc774 uint32_t CurFieldValue = 0, ExpectedValue; \
803 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
807 if (ExpectedValue != FieldValue) \
/external/capstone/arch/TMS320C64x/
DTMS320C64xGenDisassemblerTables.inc1277 uint32_t CurFieldValue = 0, ExpectedValue; \
1306 ExpectedValue = (uint32_t) decodeULEB128(++Ptr, &Len); \
1310 if (ExpectedValue != FieldValue) \
/external/capstone/arch/Sparc/
DSparcGenDisassemblerTables.inc1953 uint32_t CurFieldValue = 0, ExpectedValue; \
1982 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
1986 if (ExpectedValue != FieldValue) \
/external/capstone/arch/PowerPC/
DPPCGenDisassemblerTables.inc3931 uint32_t CurFieldValue = 0, ExpectedValue; \
3960 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
3964 if (ExpectedValue != FieldValue) \
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/
DPPCGenDisassemblerTables.inc6739 InsnType ExpectedValue = decodeULEB128(++Ptr, &Len);
6747 if (ExpectedValue != FieldValue)
6750 << Len << ", " << ExpectedValue << ", " << NumToSkip
6751 << "): FieldValue = " << FieldValue << ", ExpectedValue = "
6752 << ExpectedValue << ": "
6753 << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));

12