Home
last modified time | relevance | path

Searched refs:hasMethod (Results 1 – 25 of 34) sorted by relevance

12

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DSingleFieldAccessor.cs62 … MethodInfo hasMethod = property.DeclaringType.GetRuntimeProperty("Has" + property.Name).GetMethod; in SingleFieldAccessor()
63 if (hasMethod == null) { in SingleFieldAccessor()
66 hasDelegate = ReflectionUtil.CreateFuncIMessageBool(hasMethod); in SingleFieldAccessor()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DUpgradeGoogletestCaseCheck.cpp146 hasMethod(hasName("SetUpTestSuite"))))) in registerMatchers()
153 hasMethod(hasName("test_suite_name"))))) in registerMatchers()
160 hasMethod(hasName("OnTestSuiteStart"))))) in registerMatchers()
169 hasMethod(hasName("current_test_suite"))))) in registerMatchers()
244 hasMethod(cxxMethodDecl(hasName(ReplacementMethod)))), in derivedTypeHasReplacementMethod()
/external/llvm-project/clang/lib/Analysis/
DExprMutationAnalyzer.cpp119 hasMethod(cxxConstructorDecl(isMoveConstructor(), unless(isDeleted()))), in __anon6bbd7cfa0602()
120 hasMethod(cxxMethodDecl(isMoveAssignmentOperator(), unless(isDeleted()))), in __anon6bbd7cfa0602()
121 unless(anyOf(hasMethod(cxxConstructorDecl(isCopyConstructor(), in __anon6bbd7cfa0602()
123 hasMethod(cxxMethodDecl(isCopyAssignmentOperator(), in __anon6bbd7cfa0602()
473 anyOf(allOf(hasMethod(allOf(hasName("begin"), unless(isConst()))), in findRangeLoopMutation()
474 unless(hasMethod(allOf(hasName("begin"), isConst())))), in findRangeLoopMutation()
475 allOf(hasMethod(allOf(hasName("end"), unless(isConst()))), in findRangeLoopMutation()
476 unless(hasMethod(allOf(hasName("end"), isConst()))))); in findRangeLoopMutation()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DFieldPresenceTest.java47 private static boolean hasMethod(Class<?> clazz, String name) { in hasMethod() method in FieldPresenceTest
61 assertTrue(hasMethod(classWithFieldPresence, "get" + camelName)); in assertHasMethodRemoved()
62 assertTrue(hasMethod(classWithFieldPresence, "has" + camelName)); in assertHasMethodRemoved()
63 assertTrue(hasMethod(classWithoutFieldPresence, "get" + camelName)); in assertHasMethodRemoved()
64 assertFalse(hasMethod(classWithoutFieldPresence, "has" + camelName)); in assertHasMethodRemoved()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageLiteToString.java152 Method hasMethod = nameToNoArgMethod.get("has" + suffix); in reflectivePrintWithIndent() local
157 hasMethod == null in reflectivePrintWithIndent()
159 : (Boolean) GeneratedMessageLite.invokeOrDie(hasMethod, messageLite); in reflectivePrintWithIndent()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/observer/
DObservableProperty.java220 private boolean hasMethod(Node node, String name) { in hasMethod() method in ObservableProperty
269 if (!hasMethod(node, getterName)) { in getRawValue()
271 if (!hasMethod(node, getterName)) { in getRawValue()
/external/vogar/src/vogar/target/junit/
DJunit3.java37 || new ClassAnalyzer(klass).hasMethod(true, Test.class, "suite"); in isJunit3Test()
/external/vogar/src/vogar/target/
DMainRunnerFactory.java32 if (new ClassAnalyzer(klass).hasMethod(true, void.class, "main", String[].class)) { in newRunner()
/external/vogar/src/vogar/
DClassAnalyzer.java29 public boolean hasMethod(boolean isStatic, Class<?> returnType, String name, in hasMethod() method in ClassAnalyzer
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSizeofContainerCheck.cpp26 hasMethod(cxxMethodDecl(hasName("size"), isPublic(), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DNoAutomaticMoveCheck.cpp42 ofClass(cxxRecordDecl(hasMethod(cxxConstructorDecl( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseEqualsDeleteCheck.cpp43 hasParent(cxxRecordDecl(hasMethod(unless( in registerMatchers()
DLoopConvertCheck.cpp200 recordType(hasDeclaration(cxxRecordDecl(hasMethod(cxxMethodDecl( in makeIteratorLoopMatcher()
284 hasMethod(cxxMethodDecl(hasName("begin"), isConst())), in makePseudoArrayLoopMatcher()
285 hasMethod(cxxMethodDecl(hasName("end"), in makePseudoArrayLoopMatcher()
290 cxxRecordDecl(hasMethod(hasName("begin")), in makePseudoArrayLoopMatcher()
291 hasMethod(hasName("end"))))))) // qualType in makePseudoArrayLoopMatcher()
/external/vogar/src/vogar/target/junit/junit3/
DAlternateSuiteMethodBuilder.java65 if (new ClassAnalyzer(testClass).hasMethod(true, Test.class, "suite")) { in runnerForClass()
/external/protobuf/php/src/Google/Protobuf/Internal/
DServiceDescriptorProto.php103 public function hasMethod() function in Google\\Protobuf\\Internal\\ServiceDescriptorProto
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DNonPrivateMemberVariablesInClassesCheck.cpp26 return hasMethod(unless(anyOf(isStaticStorageClass(), isImplicit()))) in AST_MATCHER()
/external/protobuf/php/tests/
Dgenerated_service_test.php61 $this->assertTrue($this->serviceClass->hasMethod($methodName));
/external/clang/unittests/AST/
DASTImporterTest.cpp213 hasMethod( in TEST()
269 hasMethod( in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DNonTrivialTypesLibcMemoryCallsCheck.cpp122 ArgChecker(hasMethod(hasAnyName(ComparisonOperators)), in registerMatchers()
/external/doclava/res/assets/templates/
Ddiff.cs176 <?cs if:site.hasMethod ?>
/external/bcc/tests/lua/
Dluaunit.lua1413 local hasMethod, methodName, className
1414 hasMethod = string.find(someName, '.', nil, true )
1415 if not hasMethod then return nil end
1416 methodName = string.sub(someName, hasMethod+1)
1417 className = string.sub(someName,1,hasMethod-1)
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DIvarInvalidationChecker.cpp80 bool hasMethod(const ObjCMethodDecl *MD) { in hasMethod() function
584 if (!InvalidationMethod || I->second.hasMethod(InvalidationMethod)) in markInvalidated()
/external/clang/lib/StaticAnalyzer/Checkers/
DIvarInvalidationChecker.cpp81 bool hasMethod(const ObjCMethodDecl *MD) { in hasMethod() function
585 if (!InvalidationMethod || I->second.hasMethod(InvalidationMethod)) in markInvalidated()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp21 TEST(DeclarationMatcher, hasMethod) { in TEST() argument
23 cxxRecordDecl(hasMethod(hasName("func"))))); in TEST()
25 cxxRecordDecl(hasMethod(isPublic())))); in TEST()
2405 hasMethod(cxxConstructorDecl(isCopyConstructor()))); in TEST()
2410 hasMethod(cxxMethodDecl(isCopyAssignmentOperator()))); in TEST()
2415 hasMethod(cxxConstructorDecl(isDefaultConstructor()))); in TEST()
2420 hasMethod(cxxDestructorDecl())); in TEST()
3511 cxxRecordDecl(decl().bind("x"), hasMethod(hasName("g"))), in TEST()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp22 TEST(DeclarationMatcher, hasMethod) { in TEST() argument
24 cxxRecordDecl(hasMethod(hasName("func"))))); in TEST()
26 cxxRecordDecl(hasMethod(isPublic())))); in TEST()
1458 cxxRecordDecl(decl().bind("x"), hasMethod(hasName("g"))), in TEST()

12