Home
last modified time | relevance | path

Searched refs:Verifier (Results 1 – 25 of 195) sorted by relevance

12345678

/external/clang/unittests/AST/
DSourceLocationTest.cpp32 LocationVerifier<VarDecl> Verifier; in TEST() local
33 Verifier.expectLocation(1, 1); in TEST()
34 EXPECT_FALSE(Verifier.match("int i", varDecl())); in TEST()
38 LocationVerifier<VarDecl> Verifier; in TEST() local
39 Verifier.expectLocation(1, 1); in TEST()
40 EXPECT_FALSE(Verifier.match("int i;", recordDecl())); in TEST()
44 LocationVerifier<RecordDecl> Verifier; in TEST() local
45 Verifier.expectLocation(1, 1); in TEST()
46 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST()
50 LocationVerifier<VarDecl> Verifier; in TEST() local
[all …]
DASTImporterTest.cpp51 MatchVerifier<NodeType> &Verifier, in testImport() argument
101 return Verifier.match(Imported, AMatcher); in testImport()
105 MatchVerifier<Decl> Verifier; in TEST() local
107 Lang_CXX, "", Lang_CXX, Verifier, in TEST()
116 Lang_CXX, "", Lang_CXX, Verifier, in TEST()
125 Lang_CXX, "", Lang_CXX, Verifier, in TEST()
136 MatchVerifier<Decl> Verifier; in TEST() local
138 Lang_CXX, "", Lang_CXX, Verifier, in TEST()
148 MatchVerifier<Decl> Verifier; in TEST() local
150 Lang_CXX11, "", Lang_CXX11, Verifier, in TEST()
[all …]
DASTTypeTraitsTest.cpp128 RangeVerifier<DynTypedNode> Verifier; in TEST() local
129 Verifier.expectRange(1, 1, 1, 11); in TEST()
130 EXPECT_TRUE(Verifier.match("void f() {}", decl())); in TEST()
134 RangeVerifier<DynTypedNode> Verifier; in TEST() local
135 Verifier.expectRange(1, 10, 1, 11); in TEST()
136 EXPECT_TRUE(Verifier.match("void f() {}", stmt())); in TEST()
140 RangeVerifier<DynTypedNode> Verifier; in TEST() local
141 Verifier.expectRange(1, 1, 1, 8); in TEST()
142 EXPECT_TRUE(Verifier.match("void f() {}", typeLoc(loc(functionType())))); in TEST()
146 RangeVerifier<DynTypedNode> Verifier; in TEST() local
[all …]
DASTContextParentMapTest.cpp25 MatchVerifier<Decl> Verifier; in TEST() local
27 Verifier.match("class C { void f(); };", in TEST()
32 MatchVerifier<Stmt> Verifier; in TEST() local
33 EXPECT_TRUE(Verifier.match("class C { void f() { if (true) {} } };", in TEST()
38 MatchVerifier<TypeLoc> Verifier; in TEST() local
40 Verifier.match("namespace a { class b {}; } void f(a::b) {}", in TEST()
45 MatchVerifier<NestedNameSpecifierLoc> Verifier; in TEST() local
46 EXPECT_TRUE(Verifier.match("namespace a { class b {}; } void f(a::b) {}", in TEST()
/external/llvm-project/clang/unittests/AST/
DSourceLocationTest.cpp34 LocationVerifier<VarDecl> Verifier; in TEST() local
35 Verifier.expectLocation(1, 1); in TEST()
36 EXPECT_FALSE(Verifier.match("int i", varDecl())); in TEST()
40 LocationVerifier<VarDecl> Verifier; in TEST() local
41 Verifier.expectLocation(1, 1); in TEST()
42 EXPECT_FALSE(Verifier.match("int i;", recordDecl())); in TEST()
46 LocationVerifier<RecordDecl> Verifier; in TEST() local
47 Verifier.expectLocation(1, 1); in TEST()
48 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST()
52 LocationVerifier<VarDecl> Verifier; in TEST() local
[all …]
DASTTypeTraitsTest.cpp127 RangeVerifier<DynTypedNode> Verifier; in TEST() local
128 Verifier.expectRange(1, 1, 1, 11); in TEST()
129 EXPECT_TRUE(Verifier.match("void f() {}", decl())); in TEST()
133 RangeVerifier<DynTypedNode> Verifier; in TEST() local
134 Verifier.expectRange(1, 10, 1, 11); in TEST()
135 EXPECT_TRUE(Verifier.match("void f() {}", stmt())); in TEST()
139 RangeVerifier<DynTypedNode> Verifier; in TEST() local
140 Verifier.expectRange(1, 1, 1, 8); in TEST()
141 EXPECT_TRUE(Verifier.match("void f() {}", typeLoc(loc(functionType())))); in TEST()
145 RangeVerifier<DynTypedNode> Verifier; in TEST() local
[all …]
DASTContextParentMapTest.cpp27 MatchVerifier<Decl> Verifier; in TEST() local
29 Verifier.match("class C { void f(); };", in TEST()
34 MatchVerifier<Stmt> Verifier; in TEST() local
35 EXPECT_TRUE(Verifier.match("class C { void f() { if (true) {} } };", in TEST()
40 MatchVerifier<TypeLoc> Verifier; in TEST() local
42 Verifier.match("namespace a { class b {}; } void f(a::b) {}", in TEST()
47 MatchVerifier<NestedNameSpecifierLoc> Verifier; in TEST() local
48 EXPECT_TRUE(Verifier.match("namespace a { class b {}; } void f(a::b) {}", in TEST()
DASTImporterTest.cpp250 MatchVerifier<Decl> Verifier; in TEST_P() local
252 Lang_CXX03, Verifier, in TEST_P()
256 Lang_CXX03, Verifier, in TEST_P()
260 Lang_CXX03, Verifier, in TEST_P()
266 MatchVerifier<Decl> Verifier; in TEST_P() local
271 Lang_C99, "", Lang_C99, Verifier, in TEST_P()
276 MatchVerifier<Decl> Verifier; in TEST_P() local
278 Lang_CXX03, Verifier, in TEST_P()
283 MatchVerifier<Decl> Verifier; in TEST_P() local
286 Lang_CXX11, "", Lang_CXX11, Verifier, in TEST_P()
[all …]
/external/llvm-project/llvm/unittests/XRay/
DFDRBlockVerifierTest.cpp60 BlockVerifier Verifier; in TEST() local
65 ASSERT_FALSE(errorToBool(R->apply(Verifier))); in TEST()
66 ASSERT_FALSE(errorToBool(Verifier.verify())); in TEST()
67 Verifier.reset(); in TEST()
81 BlockVerifier Verifier; in TEST() local
83 ASSERT_FALSE(errorToBool(R->apply(Verifier))); in TEST()
84 ASSERT_FALSE(errorToBool(Verifier.verify())); in TEST()
95 BlockVerifier Verifier; in TEST() local
97 ASSERT_FALSE(errorToBool(R->apply(Verifier))); in TEST()
98 ASSERT_FALSE(errorToBool(Verifier.verify())); in TEST()
[all …]
DFDRRecordsTest.cpp85 BlockVerifier Verifier; in TEST() local
87 ASSERT_FALSE(errorToBool(R->apply(Verifier))); in TEST()
88 ASSERT_FALSE(errorToBool(Verifier.verify())); in TEST()
136 BlockVerifier Verifier; in TEST() local
141 ASSERT_FALSE(errorToBool(R->apply(Verifier))); in TEST()
142 ASSERT_FALSE(errorToBool(Verifier.verify())); in TEST()
143 Verifier.reset(); in TEST()
/external/clang/unittests/Tooling/
DCommentHandlerTest.cpp136 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST() local
143 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST() local
144 Verifier.Match("/* comment */", 1, 26); in TEST()
155 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST() local
156 Verifier.Match("// comment 1", 1, 13); in TEST()
157 Verifier.Match("// comment 2", 3, 3); in TEST()
167 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST() local
168 Verifier.Match("// visible comment", 4, 1); in TEST()
189 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST() local
190 Verifier.Match("// visible_1", 1, 21); in TEST()
[all …]
/external/llvm-project/clang/unittests/Tooling/
DCommentHandlerTest.cpp134 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST() local
141 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST() local
142 Verifier.Match("/* comment */", 1, 26); in TEST()
153 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST() local
154 Verifier.Match("// comment 1", 1, 13); in TEST()
155 Verifier.Match("// comment 2", 3, 3); in TEST()
165 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST() local
166 Verifier.Match("// visible comment", 4, 1); in TEST()
187 CommentVerifier Verifier = Visitor.GetVerifier(); in TEST() local
188 Verifier.Match("// visible_1", 1, 21); in TEST()
[all …]
/external/grpc-grpc/test/cpp/end2end/
Dasync_end2end_test.cc61 class Verifier { class
63 Verifier() : lambda_run_(false) {} in Verifier() function in grpc::testing::__anonf10ab8ac0111::Verifier
65 Verifier& Expect(int i, bool expect_ok) { in Expect()
70 Verifier& ExpectUnless(int i, bool expect_ok, bool seen) { in ExpectUnless()
79 Verifier& ExpectMaybe(int i, bool expect_ok, bool* seen) { in ExpectMaybe()
324 Verifier().Expect(2, true).Verify(cq_.get()); in SendRpc()
329 Verifier().Expect(3, true).Expect(4, true).Verify(cq_.get()); in SendRpc()
433 Verifier().Verify(cq_.get(), time_now); in TEST_P()
434 Verifier().Verify(cq_.get(), time_now); in TEST_P()
440 Verifier().Expect(2, true).Verify(cq_.get(), time_limit); in TEST_P()
[all …]
Draw_end2end_test.cc56 class Verifier { class
58 Verifier() {} in Verifier() function in grpc::testing::__anoncd5f51d80111::Verifier
61 Verifier& Expect(int i, bool expect_ok) { in Expect()
181 Verifier().Expect(2, true).Verify(cq_.get()); in TEST_F()
185 Verifier().Expect(3, true).Expect(4, true).Verify(cq_.get()); in TEST_F()
206 Verifier().Expect(2, true).Verify(cq_.get()); in TEST_F()
213 Verifier().Expect(3, true).Expect(4, true).Verify(cq_.get()); in TEST_F()
236 Verifier().Expect(2, true).Expect(1, true).Verify(cq_.get()); in TEST_F()
240 Verifier().Expect(3, true).Expect(4, true).Verify(cq_.get()); in TEST_F()
246 Verifier().Expect(5, true).Expect(6, true).Verify(cq_.get()); in TEST_F()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/
DVerifierFactory.java39 private static final Map<String, Verifier> hashMap = new HashMap<>();
58 public static Verifier getVerifier( final String fully_qualified_classname ) { in getVerifier()
59 Verifier v = hashMap.get(fully_qualified_classname); in getVerifier()
61 v = new Verifier(fully_qualified_classname); in getVerifier()
87 public static Verifier[] getVerifiers() { in getVerifiers()
88 final Verifier[] vs = new Verifier[hashMap.values().size()]; in getVerifiers()
/external/junit-params/src/test/java/junitparams/custom/combined/
DCombinedParametersProviderTest.java17 private static Verifier verifier = new Verifier();
28 new Verifier.Call("a", "1"), in verify()
29 new Verifier.Call("b", "1"), in verify()
30 new Verifier.Call("a", "2"), in verify()
31 new Verifier.Call("b", "2") in verify()
35 private static class Verifier { class in CombinedParametersProviderTest
/external/deqp-deps/amber/src/
Dverifier_test.cc88 Verifier verifier; in TEST_F()
121 Verifier verifier; in TEST_F()
146 Verifier verifier; in TEST_F()
182 Verifier verifier; in TEST_F()
207 Verifier verifier; in TEST_F()
234 Verifier verifier; in TEST_F()
261 Verifier verifier; in TEST_F()
288 Verifier verifier; in TEST_F()
315 Verifier verifier; in TEST_F()
342 Verifier verifier; in TEST_F()
[all …]
Dverifier.h27 class Verifier {
30 Verifier();
31 ~Verifier();
/external/llvm/lib/IR/
DVerifier.cpp209 class Verifier : public InstVisitor<Verifier>, VerifierSupport { class
210 friend class InstVisitor<Verifier>;
266 explicit Verifier(raw_ostream *OS, bool ShouldTreatBrokenDebugInfoAsError) in Verifier() function in __anoncea4ff5f0111::Verifier
381 using InstVisitor<Verifier>::visit;
480 void Verifier::visit(Instruction &I) { in visit()
483 InstVisitor<Verifier>::visit(I); in visit()
499 void Verifier::visitGlobalValue(const GlobalValue &GV) { in visitGlobalValue()
537 void Verifier::visitGlobalVariable(const GlobalVariable &GV) { in visitGlobalVariable()
620 void Verifier::visitAliaseeSubExpr(const GlobalAlias &GA, const Constant &C) { in visitAliaseeSubExpr()
626 void Verifier::visitAliaseeSubExpr(SmallPtrSetImpl<const GlobalAlias*> &Visited, in visitAliaseeSubExpr()
[all …]
/external/python/cffi/testing/cffi0/
Dtest_zdistutils.py4 from cffi.verifier import Verifier, _locate_engine_class, _get_so_suffixes
40 v = Verifier(ffi, csrc, force_generic_engine=self.generic,
51 v = Verifier(ffi, csrc, force_generic_engine=self.generic,
64 v = Verifier(ffi, csrc, force_generic_engine=self.generic,
78 v = Verifier(ffi, csrc, force_generic_engine=self.generic,
90 v = Verifier(ffi, csrc, force_generic_engine=self.generic,
106 v = Verifier(ffi, "#include <math.h>",
117 v = Verifier(ffi, csrc, force_generic_engine=self.generic)
125 v = Verifier(ffi, csrc, force_generic_engine=self.generic,
135 v = Verifier(ffi, csrc, include_dirs=[str(udir)],
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DVerifier.cpp254 class Verifier : public InstVisitor<Verifier>, VerifierSupport { class
255 friend class InstVisitor<Verifier>;
316 explicit Verifier(raw_ostream *OS, bool ShouldTreatBrokenDebugInfoAsError, in Verifier() function in __anon679889010111::Verifier
436 using InstVisitor<Verifier>::visit;
547 void Verifier::visit(Instruction &I) { in visit()
550 InstVisitor<Verifier>::visit(I); in visit()
566 void Verifier::visitGlobalValue(const GlobalValue &GV) { in visitGlobalValue()
622 void Verifier::visitGlobalVariable(const GlobalVariable &GV) { in visitGlobalVariable()
718 void Verifier::visitAliaseeSubExpr(const GlobalAlias &GA, const Constant &C) { in visitAliaseeSubExpr()
724 void Verifier::visitAliaseeSubExpr(SmallPtrSetImpl<const GlobalAlias*> &Visited, in visitAliaseeSubExpr()
[all …]
/external/llvm-project/llvm/lib/IR/
DVerifier.cpp254 class Verifier : public InstVisitor<Verifier>, VerifierSupport { class
255 friend class InstVisitor<Verifier>;
319 explicit Verifier(raw_ostream *OS, bool ShouldTreatBrokenDebugInfoAsError, in Verifier() function in __anone911e60d0111::Verifier
443 using InstVisitor<Verifier>::visit;
554 void Verifier::visit(Instruction &I) { in visit()
557 InstVisitor<Verifier>::visit(I); in visit()
573 void Verifier::visitGlobalValue(const GlobalValue &GV) { in visitGlobalValue()
628 void Verifier::visitGlobalVariable(const GlobalVariable &GV) { in visitGlobalVariable()
724 void Verifier::visitAliaseeSubExpr(const GlobalAlias &GA, const Constant &C) { in visitAliaseeSubExpr()
730 void Verifier::visitAliaseeSubExpr(SmallPtrSetImpl<const GlobalAlias*> &Visited, in visitAliaseeSubExpr()
[all …]
/external/python/oauth2client/tests/
Dtest_crypt.py85 with mock.patch('oauth2client.crypt.Verifier') as Verifier:
86 Verifier.from_string = mock.MagicMock(name='from_string',
92 Verifier.from_string.assert_called_once_with(cert_value,
109 with mock.patch('oauth2client.crypt.Verifier') as Verifier:
110 Verifier.from_string = mock.MagicMock(name='from_string',
121 self.assertEqual(Verifier.from_string.mock_calls,
135 with mock.patch('oauth2client.crypt.Verifier') as Verifier:
136 Verifier.from_string = mock.MagicMock(name='from_string',
142 Verifier.from_string.assert_called_once_with(cert_value,
/external/autotest/server/hosts/
Dservo_repair.py61 class _UpdateVerifier(hosts.Verifier):
105 class _ConfigVerifier(hosts.Verifier):
245 class _ServodJobVerifier(hosts.Verifier):
266 class _DiskSpaceVerifier(hosts.Verifier):
281 class _ServodConnectionVerifier(hosts.Verifier):
299 class _ServodControlVerifier(hosts.Verifier):
325 class _Cr50ConsoleVerifier(hosts.Verifier):
361 class _CCDTestlabVerifier(hosts.Verifier):
397 class _CCDPowerDeliveryVerifier(hosts.Verifier):
462 class _BaseDUTConnectionVerifier(hosts.Verifier):
[all …]
Dcros_repair.py122 class ACPowerVerifier(hosts.Verifier):
219 class CrosVerisionVerifier(hosts.Verifier):
252 class WritableVerifier(hosts.Verifier):
292 class EXT4fsErrorVerifier(hosts.Verifier):
325 class UpdateSuccessVerifier(hosts.Verifier):
354 class TPMStatusVerifier(hosts.Verifier):
397 class PythonVerifier(hosts.Verifier):
420 class DevModeVerifier(hosts.Verifier):
442 class DevDefaultBootVerifier(hosts.Verifier):
461 class HWIDVerifier(hosts.Verifier):
[all …]

12345678