/external/llvm/unittests/MC/ |
StringTableBuilderTest.cpp | 27 std::string Expected; 28 Expected += '\x00'; 29 Expected += "foobar"; 30 Expected += '\x00'; 31 Expected += "foo"; 32 Expected += '\x00'; 34 EXPECT_EQ(Expected, B.data());
|
/external/clang/unittests/Tooling/ |
RefactoringCallbacksTest.cpp | 23 const std::string &Expected, 36 EXPECT_EQ(Expected, Context.getRewrittenText(ID)); 41 std::string Expected = "void f() { ; }"; 43 expectRewritten(Code, Expected, id("id", declStmt()), Callback); 48 std::string Expected = "#define A void f() { ; }\nA"; 50 expectRewritten(Code, Expected, id("id", declStmt()), Callback); 55 std::string Expected = "#define A void f() { int i = 1; }"; 57 expectRewritten(Code, Expected, id("id", declStmt()), Callback); 62 std::string Expected = "void f() { int i = 2; }"; 64 expectRewritten(Code, Expected, id("id", expr(integerLiteral())) [all...] |
CompilationDatabaseTest.cpp | 27 << "Expected an error because of: " << Explanation.str(); 499 std::vector<std::string> Expected; 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; 519 Expected.push_back("clang-tool"); 520 Expected.push_back("source") [all...] |
RefactoringTest.cpp | 398 std::vector<Replacement> Expected; 399 Expected.push_back(Replacement("fileA", 9, 3, " bar ")); 400 Expected.push_back(Replacement("fileA", 10, 2, " bar ")); 401 Expected.push_back(Replacement("fileA", 10, 3, " bar ")); 402 Expected.push_back(Replacement("fileA", 50, 0, " foo ")); 403 Expected.push_back(Replacement("fileA", 51, 3, " bar ")); 404 Expected.push_back(Replacement("fileA", 51, 3, " moo ")); 405 Expected.push_back(Replacement("fileB", 51, 3, " bar ")); 410 ASSERT_TRUE(Expected == Input); 435 // Expected sorted order is shown. It is the sorted order to which th [all...] |
/external/clang/unittests/AST/ |
DeclPrinterTest.cpp | 95 << "Expected \"" << ExpectedPrinted.str() << "\", " 673 SmallString<128> Expected; 674 Expected.append("void operator"); 675 Expected.append(OperatorNames[i]); 676 Expected.append("(Z z)"); 682 Expected)); 697 SmallString<128> Expected; 698 Expected.append("void operator"); 699 Expected.append(OperatorNames[i]); 700 Expected.append("()") [all...] |
/external/deqp/modules/internal/ |
ditFrameworkTests.cpp | 41 enum Expected { NO_MATCH, MATCH_GROUP, MATCH_CASE, EXPECTED_LAST }; 44 Expected expected; member in struct:dit::__anon4126::MatchCase 47 const char* getMatchCaseExpectedDesc (MatchCase::Expected expected) 55 return de::getSizedArrayElement<MatchCase::EXPECTED_LAST>(descs, expected); 96 << ", expecting " << getMatchCaseExpectedDesc(curCase.expected) 102 if ((matchGroup == (curCase.expected == MatchCase::MATCH_GROUP)) && 103 (matchCase == (curCase.expected == MatchCase::MATCH_CASE))) 151 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Parsing failed as expected"); [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
Store.cpp | 239 const CXXRecordDecl *Expected = Ty->getPointeeCXXRecordDecl(); 240 if (!Expected) 241 Expected = Ty->getAsCXXRecordDecl(); 243 return Expected->getCanonicalDecl() == RD->getCanonicalDecl();
|
/external/llvm/unittests/ADT/ |
StringRefTest.cpp | 152 SmallVector<StringRef, 5> expected; local 154 expected.push_back("ab"); expected.push_back("c"); 156 EXPECT_TRUE(parts == expected); 158 expected.clear(); parts.clear(); 159 expected.push_back(""); expected.push_back("ab"); expected.push_back(""); 160 expected.push_back("c"); expected.push_back("") [all...] |
/frameworks/compile/slang/ |
slang_rs_backend.cpp | 318 const RSExportRecordType *Expected = EF->getParamPacketType(); 319 if (Expected) { 320 fprintf(stderr, "Expected:\n"); 321 Expected->getLLVMType()->dump();
|
/external/clang/lib/CodeGen/ |
CGAtomic.cpp | 136 /// Does a store of the given IR type modify the full expected width? 184 llvm::LoadInst *Expected = CGF.Builder.CreateLoad(Val1); 185 Expected->setAlignment(Align); 190 Ptr, Expected, Desired, SuccessOrder, FailureOrder); 209 // Update Expected if Expected isn't equal to Old, otherwise branch to the 214 // Update the memory at Expected with Old's value. 624 // bool __atomic_compare_exchange(size_t size, void *mem, void *expected, 626 // bool __atomic_compare_exchange_N(T *mem, T *expected, T desired, [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tzrulets.cpp | 310 errln(UnicodeString("FAIL: Invalid time zone offset: ") + offset + " /expected: 0"); 324 errln(UnicodeString("FAIL: Invalid time zone raw offset: ") + offset + " /expected: -3600000"); 327 errln(UnicodeString("FAIL: Invalid DST amount: ") + dstSavings + " /expected: 3600000"); 349 errln((UnicodeString)"FAIL: Invalid time zone offset: " + offset + " /expected: -3600000"); 363 errln((UnicodeString)"FAIL: Invalid time zone raw offset: " + offset + " /expected: -3600000"); 366 errln((UnicodeString)"FAIL: Invalid DST amount: " + dstSavings + " /expected: 0"); 373 + offset + " /expected: -3600000"); [all...] |
/external/clang/lib/Frontend/ |
ASTUnit.cpp | [all...] |
/external/icu/icu4c/source/test/intltest/ |
tzrulets.cpp | 308 errln(UnicodeString("FAIL: Invalid time zone offset: ") + offset + " /expected: 0"); 322 errln(UnicodeString("FAIL: Invalid time zone raw offset: ") + offset + " /expected: -3600000"); 325 errln(UnicodeString("FAIL: Invalid DST amount: ") + dstSavings + " /expected: 3600000"); 347 errln((UnicodeString)"FAIL: Invalid time zone offset: " + offset + " /expected: -3600000"); 361 errln((UnicodeString)"FAIL: Invalid time zone raw offset: " + offset + " /expected: -3600000"); 364 errln((UnicodeString)"FAIL: Invalid DST amount: " + dstSavings + " /expected: 0"); 371 + offset + " /expected: -3600000"); [all...] |
/external/clang/lib/AST/ |
ExprConstant.cpp | [all...] |
/external/llvm/lib/Target/X86/ |
X86ISelLowering.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaDecl.cpp | 356 // will produce the ambiguity, or will complain that it expected [all...] |