Searched defs:Expected (Results 1 - 23 of 23) sorted by relevance

/external/llvm/unittests/MC/
H A DStringTableBuilderTest.cpp28 std::string Expected; local
29 Expected += '\x00';
30 Expected += "foobar";
31 Expected += '\x00';
32 Expected += "foo";
33 Expected += '\x00';
35 EXPECT_EQ(Expected, B.data());
55 std::string Expected; local
59 Expected.append((const char*)&ExpectedSize, 4);
60 Expected
[all...]
/external/llvm/lib/Fuzzer/test/
H A DFuzzerUnittest.cpp15 Unit Expected[] = { local
57 for (const Unit &U : Expected)
/external/clang/unittests/Tooling/
H A DRefactoringCallbacksTest.cpp23 const std::string &Expected,
36 EXPECT_EQ(Expected, Context.getRewrittenText(ID));
41 std::string Expected = "void f() { ; }"; local
43 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
48 std::string Expected = "#define A void f() { ; }\nA"; local
50 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
55 std::string Expected = "#define A void f() { int i = 1; }"; local
57 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
62 std::string Expected = "void f() { int i = 2; }"; local
64 expectRewritten(Code, Expected, i
22 expectRewritten(const std::string &Code, const std::string &Expected, const T &AMatcher, RefactoringCallback &Callback) argument
70 std::string Expected = "void f() { int i = i * 2; }"; local
81 std::string Expected = "bool a; void f() { f(); }"; local
92 std::string Expected = "void f() { }"; local
[all...]
H A DCompilationDatabaseTest.cpp27 << "Expected an error because of: " << Explanation.str();
499 std::vector<std::string> Expected; local
500 Expected.push_back("clang-tool");
501 Expected.push_back("-c");
502 Expected.push_back("-DDEF3");
503 Expected.push_back("source");
504 ASSERT_EQ(Expected, Result[0].CommandLine);
518 std::vector<std::string> Expected; local
519 Expected.push_back("clang-tool");
520 Expected
[all...]
H A DRefactoringTest.cpp401 std::vector<Replacement> Expected; local
402 Expected.push_back(Replacement("fileA", 9, 3, " bar "));
403 Expected.push_back(Replacement("fileA", 10, 2, " bar "));
404 Expected.push_back(Replacement("fileA", 10, 3, " bar "));
405 Expected.push_back(Replacement("fileA", 50, 0, " foo "));
406 Expected.push_back(Replacement("fileA", 51, 3, " bar "));
407 Expected.push_back(Replacement("fileA", 51, 3, " moo "));
408 Expected.push_back(Replacement("fileB", 60, 1, " bar "));
409 Expected.push_back(Replacement("fileA", 60, 2, " bar "));
415 EXPECT_EQ(Expected, Inpu
[all...]
/external/llvm/unittests/ProfileData/
H A DInstrProfTest.cpp25 static ::testing::AssertionResult ErrorEquals(std::error_code Expected, argument
27 if (Expected == Found)
/external/llvm/unittests/Support/
H A DConvertUTFTest.cpp26 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0");
27 EXPECT_EQ(Expected, Result);
37 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0");
38 EXPECT_EQ(Expected, Result);
48 static const UTF16 Expected[] = {0x0CA0, 0x005f, 0x0CA0, 0}; local
51 EXPECT_EQ(Expected[I], Result[I]);
151 CheckConvertUTF8ToUnicodeScalars(ConvertUTFResultContainer Expected, argument
160 if (Expected.ErrorCode != ErrorCode)
161 return ::testing::AssertionFailure() << "Expected error code "
162 << Expected
[all...]
/external/clang/unittests/AST/
H A DDeclPrinterTest.cpp95 << "Expected \"" << ExpectedPrinted.str() << "\", "
674 SmallString<128> Expected; local
675 Expected.append("void operator");
676 Expected.append(OperatorNames[i]);
677 Expected.append("(Z z)");
683 Expected));
698 SmallString<128> Expected; local
699 Expected.append("void operator");
700 Expected.append(OperatorNames[i]);
701 Expected
[all...]
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h99 /// \param Expected -- the kind of lock expected.
103 LockKind Expected, LockKind Received,
102 handleIncorrectUnlockKind(StringRef Kind, Name LockName, LockKind Expected, LockKind Received, SourceLocation Loc) argument
/external/clang/unittests/Basic/
H A DVirtualFileSystemTest.cpp360 static void checkContents(DirIter I, ArrayRef<StringRef> Expected) { argument
362 auto ExpectedIter = Expected.begin(), ExpectedEnd = Expected.end();
/external/llvm/unittests/ADT/
H A DStringRefTest.cpp371 uint64_t Expected; member in struct:__anon11229::UnsignedPair
388 int64_t Expected; member in struct:__anon11229::SignedPair
421 if (static_cast<uint8_t>(Unsigned[i].Expected) == Unsigned[i].Expected) {
423 EXPECT_EQ(U8, Unsigned[i].Expected);
428 if (static_cast<uint16_t>(Unsigned[i].Expected) == Unsigned[i].Expected) {
430 EXPECT_EQ(U16, Unsigned[i].Expected);
435 if (static_cast<uint32_t>(Unsigned[i].Expected) == Unsigned[i].Expected) {
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp228 const CXXRecordDecl *Expected = Ty->getPointeeCXXRecordDecl(); local
229 if (!Expected)
230 Expected = Ty->getAsCXXRecordDecl();
232 return Expected->getCanonicalDecl() == RD->getCanonicalDecl();
/external/deqp/modules/internal/
H A DditFrameworkTests.cpp50 enum Expected { NO_MATCH, MATCH_GROUP, MATCH_CASE, EXPECTED_LAST }; enum in struct:dit::__anon3792::MatchCase
53 Expected expected;
56 const char* getMatchCaseExpectedDesc (MatchCase::Expected expected)
/external/clang/lib/CodeGen/
H A DCGAtomic.cpp205 /// \param Expected Expected value.
213 RValue Expected, RValue Desired,
239 RValue Expected, RValue DesiredAddr,
244 RValue Expected, RValue Desired,
345 llvm::LoadInst *Expected = CGF.Builder.CreateLoad(Val1); local
346 Expected->setAlignment(Align);
351 Ptr, Expected, Desired, SuccessOrder, FailureOrder);
370 // Update Expected if Expected is
1316 EmitAtomicCompareExchangeOp( RValue Expected, RValue Desired, llvm::AtomicOrdering Success, llvm::AtomicOrdering Failure, bool IsWeak) argument
1339 EmitAtomicCompareExchangeLibcall(RValue Expected, RValue Desired, llvm::AtomicOrdering Success, llvm::AtomicOrdering Failure) argument
1369 EmitAtomicCompareExchange( RValue Expected, RValue Desired, llvm::AtomicOrdering Success, llvm::AtomicOrdering Failure, bool IsWeak) argument
1512 EmitAtomicCompareExchange( LValue Obj, RValue Expected, RValue Desired, SourceLocation Loc, llvm::AtomicOrdering Success, llvm::AtomicOrdering Failure, bool IsWeak, AggValueSlot Slot) argument
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dtzrulets.cpp2097 int32_t Expected[][8] = { local
2143 if (offset != Expected[i][j]) {
2144 errln((UnicodeString)"FAIL: Invalid offset at time(" + times[j] + "):" + offset + " Expected:" + Expected[i][j]);
2170 + tzt.getTime() + " Expected: " + expectedNext);
2178 + tzt.getTime() + " Expected: " + expectedPrev);
2655 errln(UnicodeString("Fail: Wrong offsets: ") + raw + "/" + dst + " Expected: 21600000/0");
/external/llvm/lib/Support/
H A DYAMLParser.cpp386 /// \a Expected. This updates \a Column.
387 bool consume(uint32_t Expected);
870 bool Scanner::consume(uint32_t Expected) { argument
871 if (Expected >= 0x80)
877 if (uint8_t(*Current) == Expected) {
1235 setError("Expected quote at end of scalar", Current);
1897 setError("Unexpected token. Expected Key or Block End", T);
1916 setError( "Unexpected token. Expected Key, Flow Entry, or Flow "
1950 setError( "Unexpected token. Expected Block Entry or Block End."
1995 setError("Expected , betwee
[all...]
/external/llvm/unittests/IR/
H A DMetadataTest.cpp267 std::string Expected; local
269 raw_string_ostream OS(Expected);
287 EXPECT_EQ(Expected, Actual);
329 std::string Expected; local
331 raw_string_ostream OS(Expected);
339 EXPECT_PRINTER_EQ(Expected, N->print(OS, &M));
/external/clang/lib/Frontend/
H A DASTUnit.cpp2231 CanQualType Expected local
2234 SimplifiedTypeClass ExpectedSTC = getSimplifiedTypeClass(Expected);
2240 = CachedCompletionTypes.find(QualType(Expected).getAsString());
/external/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp1638 unsigned Expected,
1641 " operands but expected only " + Twine(Expected) + "!");
1636 emitTooManyOperandsError(TreePattern &TP, StringRef InstName, unsigned Expected, unsigned Actual) argument
/external/clang/include/clang/Parse/
H A DParser.h289 bool TryConsumeToken(tok::TokenKind Expected) { argument
290 if (Tok.isNot(Expected))
299 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { argument
300 if (!TryConsumeToken(Expected))
/external/clang/lib/AST/
H A DExprConstant.cpp1041 const CXXRecordDecl *Expected; local
1043 Expected = Path[Path.size() - 2];
1045 Expected = getContainingRecord();
1046 if (Expected->getCanonicalDecl() != Class->getCanonicalDecl()) {
5164 assert(!RD->isUnion() && "Expected non-union class type");
/external/clang/lib/Sema/
H A DSemaDecl.cpp3794 assert(PrevDecl && "Expected a non-null Decl");
8269 QualType Expected[] = { Context.IntTy, CharPP, CharPP, CharPP }; local
8276 if (Context.hasSameUnqualifiedType(AT, Expected[i]))
8278 else if (Expected[i] == CharPP) {
8296 Diag(FD->getLocation(), diag::err_main_arg_wrong) << i << Expected[i]; local
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp1845 assert(SrcAS != DestAS && "Expected different address spaces!");
3945 assert(VT.isVector() && "Expected a vector type");
4152 assert(VT.isVector() && "Expected a vector type");
4648 assert(V1.getNode() && "Expected at least two non-zero elements!");
5286 SDValue Expected = (i * 2 < NumElts) ? V0 : V1; local
5288 CanFold = I1 == I0 + 1 && Op0.getOperand(0) == Expected;
5292 CanFold = I0 == I1 + 1 && Op1.getOperand(0) == Expected;
5687 assert(VT == MVT::v2i64 && "Expected an SSE value type!");
5716 "Expected an SSE value type!");
5738 assert(VT.is128BitVector() && "Expected a
[all...]

Completed in 1548 milliseconds