/external/llvm/unittests/MC/ |
H A D | StringTableBuilderTest.cpp | 28 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 D | FuzzerUnittest.cpp | 15 Unit Expected[] = { local 57 for (const Unit &U : Expected)
|
/external/clang/unittests/Tooling/ |
H A D | RefactoringCallbacksTest.cpp | 23 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 D | CompilationDatabaseTest.cpp | 27 << "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 D | RefactoringTest.cpp | 401 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 D | InstrProfTest.cpp | 25 static ::testing::AssertionResult ErrorEquals(std::error_code Expected, argument 27 if (Expected == Found)
|
/external/llvm/unittests/Support/ |
H A D | ConvertUTFTest.cpp | 26 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 D | DeclPrinterTest.cpp | 95 << "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 D | ThreadSafety.h | 99 /// \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 D | VirtualFileSystemTest.cpp | 360 static void checkContents(DirIter I, ArrayRef<StringRef> Expected) { argument 362 auto ExpectedIter = Expected.begin(), ExpectedEnd = Expected.end();
|
/external/llvm/unittests/ADT/ |
H A D | StringRefTest.cpp | 371 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 D | Store.cpp | 228 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 D | ditFrameworkTests.cpp | 50 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 D | CGAtomic.cpp | 205 /// \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 D | tzrulets.cpp | 2097 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 D | YAMLParser.cpp | 386 /// \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 D | MetadataTest.cpp | 267 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 D | ASTUnit.cpp | 2231 CanQualType Expected local 2234 SimplifiedTypeClass ExpectedSTC = getSimplifiedTypeClass(Expected); 2240 = CachedCompletionTypes.find(QualType(Expected).getAsString());
|
/external/llvm/utils/TableGen/ |
H A D | CodeGenDAGPatterns.cpp | 1638 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 D | Parser.h | 289 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 D | ExprConstant.cpp | 1041 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 D | SemaDecl.cpp | 3794 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 D | X86ISelLowering.cpp | 1845 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...] |