/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 | SimpleDictionaryTest.cpp | 14 const char *Expected = "ElvisPresley"; local 15 if (Size < strlen(Expected)) return 0; 17 for (size_t i = 0; Expected[i]; i++) 18 if (Expected[i] + Zero == Data[i]) 20 if (Match == strlen(Expected)) {
|
H A D | FuzzerUnittest.cpp | 18 Unit Expected[] = { local 63 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(); 547 std::vector<std::string> Expected; local 548 Expected.push_back("clang-tool"); 549 Expected.push_back("-c"); 550 Expected.push_back("-DDEF3"); 551 Expected.push_back("source"); 552 ASSERT_EQ(Expected, Result[0].CommandLine); 566 std::vector<std::string> Expected; local 567 Expected.push_back("clang-tool"); 568 Expected [all...] |
H A D | RefactoringTest.cpp | 435 std::vector<Replacement> Expected; local 436 Expected.push_back(Replacement("fileA", 9, 3, " bar ")); 437 Expected.push_back(Replacement("fileA", 10, 2, " bar ")); 438 Expected.push_back(Replacement("fileA", 10, 3, " bar ")); 439 Expected.push_back(Replacement("fileA", 50, 0, " foo ")); 440 Expected.push_back(Replacement("fileA", 51, 3, " bar ")); 441 Expected.push_back(Replacement("fileA", 51, 3, " moo ")); 442 Expected.push_back(Replacement("fileB", 60, 1, " bar ")); 443 Expected.push_back(Replacement("fileA", 60, 2, " bar ")); 449 EXPECT_EQ(Expected, Inpu [all...] |
/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() << "\", " 685 SmallString<128> Expected; local 686 Expected.append("void operator"); 687 Expected.append(OperatorNames[i]); 688 Expected.append("(Z z)"); 694 Expected)); 709 SmallString<128> Expected; local 710 Expected.append("void operator"); 711 Expected.append(OperatorNames[i]); 712 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 | 382 static void checkContents(DirIter I, ArrayRef<StringRef> Expected) { argument 384 auto ExpectedIter = Expected.begin(), ExpectedEnd = Expected.end();
|
/external/llvm/unittests/ADT/ |
H A D | StringRefTest.cpp | 424 uint64_t Expected; member in struct:__anon12719::UnsignedPair 441 int64_t Expected; member in struct:__anon12719::SignedPair 474 if (static_cast<uint8_t>(Unsigned[i].Expected) == Unsigned[i].Expected) { 476 EXPECT_EQ(U8, Unsigned[i].Expected); 481 if (static_cast<uint16_t>(Unsigned[i].Expected) == Unsigned[i].Expected) { 483 EXPECT_EQ(U16, Unsigned[i].Expected); 488 if (static_cast<uint32_t>(Unsigned[i].Expected) == Unsigned[i].Expected) { [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/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/llvm/lib/ProfileData/ |
H A D | SampleProfReader.cpp | 178 "Expected 'mangled_name:NUM:NUM', found " + *LineIt); 196 "Expected 'NUM[.NUM]: NUM[ mangled_name:NUM]*', found " + 476 std::error_code SampleProfileReaderGCC::readSectionTag(uint32_t Expected) { argument 481 if (Tag != Expected)
|
/external/deqp/modules/internal/ |
H A D | ditFrameworkTests.cpp | 54 enum Expected { NO_MATCH, MATCH_GROUP, MATCH_CASE, EXPECTED_LAST }; enum in struct:dit::__anon4637::MatchCase 57 Expected expected; 60 const char* getMatchCaseExpectedDesc (MatchCase::Expected expected)
|
/external/clang/lib/CodeGen/ |
H A D | CGAtomic.cpp | 217 /// \param Expected Expected value. 225 RValue Expected, RValue Desired, 383 llvm::Value *Expected = CGF.Builder.CreateLoad(Val1); local 387 Ptr.getPointer(), Expected, Desired, SuccessOrder, FailureOrder); 406 // Update Expected if Expected isn't equal to Old, otherwise branch to the 411 // Update the memory at Expected with Old's value. 1213 assert(IntVal->getType()->isIntegerTy() && "Expected integer value"); 1478 RValue Expected, RValu 1477 EmitAtomicCompareExchange( RValue Expected, RValue Desired, llvm::AtomicOrdering Success, llvm::AtomicOrdering Failure, bool IsWeak) argument 1810 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 | 403 /// \a Expected. This updates \a Column. 404 bool consume(uint32_t Expected); 941 bool Scanner::consume(uint32_t Expected) { argument 942 if (Expected >= 0x80) 948 if (uint8_t(*Current) == Expected) { 1319 setError("Expected quote at end of scalar", Current); 1503 setError("Expected a line break after block scalar header", Current); 2148 setError("Unexpected token. Expected Key or Block End", T); 2167 setError( "Unexpected token. Expected Key, Flow Entry, or Flow " 2201 setError( "Unexpected token. Expected Bloc [all...] |
/external/llvm/unittests/IR/ |
H A D | MetadataTest.cpp | 269 std::string Expected; local 271 raw_string_ostream OS(Expected); 289 EXPECT_EQ(Expected, Actual); 331 std::string Expected; local 333 raw_string_ostream OS(Expected); 341 EXPECT_PRINTER_EQ(Expected, N->print(OS, &M));
|
/external/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 2263 CanQualType Expected local 2266 SimplifiedTypeClass ExpectedSTC = getSimplifiedTypeClass(Expected); 2272 = CachedCompletionTypes.find(QualType(Expected).getAsString());
|
/external/llvm/utils/TableGen/ |
H A D | CodeGenDAGPatterns.cpp | 1683 unsigned Expected, 1686 " operands but expected only " + Twine(Expected) + "!"); 1681 emitTooManyOperandsError(TreePattern &TP, StringRef InstName, unsigned Expected, unsigned Actual) argument
|
/external/v8/test/cctest/ |
H A D | test-parsing.cc | 974 enum Expected { enum 1629 "Expected parser and preparser to produce the same error on:\n" 1651 "Expected error on:\n" 2713 "Expected preparse data for program:\n"
|
/external/clang/include/clang/Parse/ |
H A D | Parser.h | 293 bool TryConsumeToken(tok::TokenKind Expected) { argument 294 if (Tok.isNot(Expected)) 303 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { argument 304 if (!TryConsumeToken(Expected))
|
/external/vixl/test/ |
H A D | test-assembler-a64.cc | 7708 struct Expected { struct 7715 static const Expected expected_adcs_x[input_count][input_count] = { 7782 static const Expected expected_sbcs_x[input_count][input_count] = { 7851 const Expected & expected = expected_adcs_x[left][right]; 7861 const Expected & expected = expected_sbcs_x[left][right]; 7878 struct Expected { struct 7885 static const Expected expected_adcs_w[input_count][input_count] = { 7952 static const Expected expected_sbcs_w[input_count][input_count] = { 8021 const Expected & expected = expected_adcs_w[left][right]; 8031 const Expected [all...] |
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 2165 assert(SrcAS != DestAS && "Expected different address spaces!"); 4387 assert(VT.isVector() && "Expected a vector type"); 4668 assert(VT.isVector() && "Expected a vector type"); 5276 assert(V1.getNode() && "Expected at least two non-zero elements!"); 5945 SDValue Expected = (i * 2 < NumElts) ? V0 : V1; local 5947 CanFold = I1 == I0 + 1 && Op0.getOperand(0) == Expected; 5951 CanFold = I0 == I1 + 1 && Op1.getOperand(0) == Expected; 6353 assert(VT == MVT::v2i64 && "Expected an SSE value type!"); 6381 "Expected an SSE value type!"); 6403 assert(VT.is128BitVector() && "Expected a [all...] |