Searched defs:Expected (Results 1 - 20 of 20) sorted by path

/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtzrulets.cpp2099 int32_t Expected[][8] = { local
2145 if (offset != Expected[i][j]) {
2146 errln((UnicodeString)"FAIL: Invalid offset at time(" + times[j] + "):" + offset + " Expected:" + Expected[i][j]);
2172 + tzt.getTime() + " Expected: " + expectedNext);
2180 + tzt.getTime() + " Expected: " + expectedPrev);
2657 errln(UnicodeString("Fail: Wrong offsets: ") + raw + "/" + dst + " Expected: 21600000/0");
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h95 /// \param Expected -- the kind of lock expected.
99 LockKind Expected, LockKind Received,
98 handleIncorrectUnlockKind(StringRef Kind, Name LockName, LockKind Expected, LockKind Received, SourceLocation Loc) argument
/external/clang/include/clang/Parse/
H A DParser.h304 bool TryConsumeToken(tok::TokenKind Expected) { argument
305 if (Tok.isNot(Expected))
314 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { argument
315 if (!TryConsumeToken(Expected))
/external/clang/lib/AST/
H A DExprConstant.cpp1040 const CXXRecordDecl *Expected; local
1042 Expected = Path[Path.size() - 2];
1044 Expected = getContainingRecord();
1045 if (Expected->getCanonicalDecl() != Class->getCanonicalDecl()) {
4954 assert(!RD->isUnion() && "Expected non-union class type");
/external/clang/lib/CodeGen/
H A DCGAtomic.cpp184 llvm::LoadInst *Expected = CGF.Builder.CreateLoad(Val1); local
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.
/external/clang/lib/Frontend/
H A DASTUnit.cpp2283 CanQualType Expected local
2286 SimplifiedTypeClass ExpectedSTC = getSimplifiedTypeClass(Expected);
2292 = CachedCompletionTypes.find(QualType(Expected).getAsString());
/external/clang/lib/Sema/
H A DSemaDecl.cpp3555 assert(PrevDecl && "Expected a non-null Decl");
8015 QualType Expected[] = { Context.IntTy, CharPP, CharPP, CharPP }; local
8022 if (Context.hasSameUnqualifiedType(AT, Expected[i]))
8024 else if (Expected[i] == CharPP) {
8042 Diag(FD->getLocation(), diag::err_main_arg_wrong) << i << Expected[i]; local
/external/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp239 const CXXRecordDecl *Expected = Ty->getPointeeCXXRecordDecl(); local
240 if (!Expected)
241 Expected = Ty->getAsCXXRecordDecl();
243 return Expected->getCanonicalDecl() == RD->getCanonicalDecl();
/external/clang/unittests/AST/
H A DDeclPrinterTest.cpp95 << "Expected \"" << ExpectedPrinted.str() << "\", "
673 SmallString<128> Expected; local
674 Expected.append("void operator");
675 Expected.append(OperatorNames[i]);
676 Expected.append("(Z z)");
682 Expected));
697 SmallString<128> Expected; local
698 Expected.append("void operator");
699 Expected.append(OperatorNames[i]);
700 Expected
[all...]
/external/clang/unittests/Basic/
H A DVirtualFileSystemTest.cpp366 static void checkContents(DirIter I, ArrayRef<StringRef> Expected) { argument
368 auto ExpectedIter = Expected.begin(), ExpectedEnd = Expected.end();
/external/clang/unittests/Tooling/
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 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 DRefactoringTest.cpp398 std::vector<Replacement> Expected; local
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 sorte
[all...]
/external/deqp/modules/internal/
H A DditFrameworkTests.cpp41 enum Expected { NO_MATCH, MATCH_GROUP, MATCH_CASE, EXPECTED_LAST }; enum in struct:dit::__anon20421::MatchCase
44 Expected expected;
47 const char* getMatchCaseExpectedDesc (MatchCase::Expected expected)
/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.cpp383 /// \a Expected. This updates \a Column.
384 bool consume(uint32_t Expected);
873 bool Scanner::consume(uint32_t Expected) { argument
874 if (Expected >= 0x80)
880 if (uint8_t(*Current) == Expected) {
1238 setError("Expected quote at end of scalar", Current);
1902 setError("Unexpected token. Expected Key or Block End", T);
1921 setError( "Unexpected token. Expected Key, Flow Entry, or Flow "
1955 setError( "Unexpected token. Expected Block Entry or Block End."
2000 setError("Expected , betwee
[all...]
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp1837 assert(SrcAS != DestAS && "Expected different address spaces!");
4893 assert(VT.isVector() && "Expected a vector type");
4940 assert(VT.isVector() && "Expected a vector type");
6146 SDValue Expected = (i * 2 < NumElts) ? V0 : V1; local
6148 CanFold = I1 == I0 + 1 && Op0.getOperand(0) == Expected;
6152 CanFold = I0 == I1 + 1 && Op1.getOperand(0) == Expected;
6576 assert(VT == MVT::v2i64 && "Expected an SSE value type!");
6615 assert(VT.is128BitVector() && "Expected an SSE value type!");
6628 assert(VT.is128BitVector() && "Expected an SSE value type!");
7547 assert(MoveMask[MoveMaskIdx] == -1 && "Expected empt
[all...]
/external/llvm/unittests/ADT/
H A DStringRefTest.cpp371 uint64_t Expected; member in struct:__anon26462::UnsignedPair
388 int64_t Expected; member in struct:__anon26462::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/llvm/unittests/MC/
H A DStringTableBuilderTest.cpp27 std::string Expected; local
28 Expected += '\x00';
29 Expected += "foobar";
30 Expected += '\x00';
31 Expected += "foo";
32 Expected += '\x00';
34 EXPECT_EQ(Expected, B.data());
/external/llvm/unittests/Support/
H A DConvertUTFTest.cpp25 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0");
26 EXPECT_EQ(Expected, Result);
36 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0");
37 EXPECT_EQ(Expected, Result);
137 CheckConvertUTF8ToUnicodeScalars(ConvertUTFResultContainer Expected, argument
146 if (Expected.ErrorCode != ErrorCode)
147 return ::testing::AssertionFailure() << "Expected error code "
148 << Expected.ErrorCode << ", actual "
151 if (Expected.UnicodeScalars != Decoded)
153 << "Expected lenien
[all...]

Completed in 3392 milliseconds