Home
last modified time | relevance | path

Searched refs:getSelector (Results 1 – 25 of 140) sorted by relevance

123456

/external/clang/lib/ARCMigrate/
DTransAPIUses.cpp48 getArgumentSel = sels.getSelector(2, selIds); in APIChecker()
50 setArgumentSel = sels.getSelector(2, selIds); in APIChecker()
61 if (E->getSelector() == getReturnValueSel) in VisitObjCMessageExpr()
63 else if (E->getSelector() == setReturnValueSel) in VisitObjCMessageExpr()
65 else if (E->getSelector() == getArgumentSel) in VisitObjCMessageExpr()
67 else if (E->getSelector() == setArgumentSel) in VisitObjCMessageExpr()
89 E->getSelector() == zoneSel && in VisitObjCMessageExpr()
DTransRetainReleaseDealloc.cpp64 if (E->isInstanceMessage() && E->getSelector() == FinalizeSel) in VisitObjCMessageExpr()
89 err += E->getSelector().getAsString() + "' message on " in VisitObjCMessageExpr()
98 err += E->getSelector().getAsString() + "' message on " in VisitObjCMessageExpr()
401 return (ME->isInstanceMessage() && ME->getSelector() == DelegateSel); in isDelegateMessage()
DTransZeroOutPropsInDealloc.cpp62 if (PropDecl->getSetterName() == ME->getSelector()) { in VisitObjCMessageExpr()
102 !(D->isInstanceMethod() && D->getSelector() == FinalizeSel)) in TraverseObjCMethodDecl()
/external/clang/lib/AST/
DNSAPI.cpp63 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSStringSelector()
111 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSArraySelector()
128 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSArraySelector()
139 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSArraySelector()
147 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSArraySelector()
184 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSDictionarySelector()
192 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSDictionarySelector()
201 Sel = Ctx.Selectors.getSelector(3, KeyIdents); in getNSDictionarySelector()
221 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSDictionarySelector()
232 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSDictionarySelector()
[all …]
DDeclObjC.cpp780 return ID->isDesignatedInitializer(getSelector(), InitMethod); in isDesignatedInitializerForTheInterface()
828 SelLocsKind = hasStandardSelectorLocs(getSelector(), SelLocs, Params, in setMethodParams()
853 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
858 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
864 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
870 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
876 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
888 if (ObjCMethodDecl *MD = IFD->getMethod(getSelector(), in getCanonicalDecl()
895 if (ObjCMethodDecl *MD = CatD->getMethod(getSelector(), in getCanonicalDecl()
901 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getCanonicalDecl()
[all …]
/external/clang/lib/Analysis/
DObjCNoReturn.cpp40 C.Selectors.getSelector(II.size(), &II[0]); in ObjCNoReturn()
45 C.Selectors.getSelector(II.size(), &II[0]); in ObjCNoReturn()
50 Selector S = ME->getSelector(); in isImplicitNoReturn()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckObjCInstMethSignature.cpp58 MethDerived->getSelector().print(os); in CompareReturnTypes()
97 IMeths[M->getSelector()] = M; in CheckObjCInstMethSignature()
105 Selector S = M->getSelector(); in CheckObjCInstMethSignature()
DObjCMissingSuperCallChecker.cpp47 if (E->getSelector() == Sel) in VisitObjCMessageExpr()
114 Selector Sel = Ctx.Selectors.getSelector(Descriptor.ArgumentCount, &II); in fillSelectors()
183 Selector S = MD->getSelector(); in checkASTDecl()
DBasicObjCFoundationChecks.cpp187 msg.getSelector().print(os); in warnIfNilArg()
191 msg.getSelector().print(os); in warnIfNilArg()
228 Selector S = msg.getSelector(); in checkPreObjCMessage()
258 Selector S = msg.getSelector(); in checkPreObjCMessage()
287 Selector S = msg.getSelector(); in checkPreObjCMessage()
653 Selector S = msg.getSelector(); in checkPreObjCMessage()
704 Selector S = msg.getSelector(); in isVariadicMessage()
766 unsigned variadicArgsBegin = msg.getSelector().getNumArgs(); in checkPreObjCMessage()
815 msg.getSelector().print(os); in checkPreObjCMessage()
1030 Selector S = M.getSelector(); in isCollectionCountMethod()
[all …]
DCheckObjCDealloc.cpp231 if (I->getSelector() == DeallocSel) { in checkASTDecl()
344 if (M.getSelector() == ReleaseSel) { in checkPreObjCMessage()
346 } else if (M.getSelector() == DeallocSel && !M.isReceiverSelfOrSuper()) { in checkPreObjCMessage()
786 DeallocSel = Ctx.Selectors.getSelector(0, &DeallocII); in initIdentifierInfoAndSelectors()
787 ReleaseSel = Ctx.Selectors.getSelector(0, &ReleaseII); in initIdentifierInfoAndSelectors()
796 return M.getSelector() == DeallocSel; in isSuperDeallocMessage()
980 if (!MD || !MD->isInstanceMethod() || MD->getSelector() != DeallocSel) in isInInstanceDealloc()
DDirectIvarAssignment.cpp48 M->getSelector().getNameForSlot(0).find("init") != StringRef::npos || in DefaultMethodFilter()
49 M->getSelector().getNameForSlot(0).find("Init") != StringRef::npos; in DefaultMethodFilter()
DNSAutoreleasePoolChecker.cpp58 if (msg.getSelector() != releaseS) in checkPreObjCMessage()
DObjCSuperDeallocChecker.cpp238 SELdealloc = Ctx.Selectors.getSelector(0, &IIdealloc); in initIdentifierInfoAndSelectors()
249 return M.getSelector() == SELdealloc; in isSuperDeallocMessage()
DSelectorExtras.h28 return Ctx.Selectors.getSelector(II.size(), &II[0]); in getKeywordSelectorImpl()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMessagePatternUtilTest.java264 selector, v.getSelector()); in matches()
502 assertEquals("'other' selector", "other", other.getSelector()); in TestPluralVariantsByType()
507 assertEquals("numericVariants[0] selector", "=4", v.getSelector()); in TestPluralVariantsByType()
511 assertEquals("numericVariants[1] selector", "=2", v.getSelector()); in TestPluralVariantsByType()
517 assertEquals("keywordVariants[0] selector", "a", v.getSelector()); in TestPluralVariantsByType()
521 assertEquals("keywordVariants[1] selector", "b", v.getSelector()); in TestPluralVariantsByType()
545 assertEquals("'other' selector", "other", other.getSelector()); in TestSelectVariantsByType()
550 assertEquals("keywordVariants[0] selector", "a", v.getSelector()); in TestSelectVariantsByType()
554 assertEquals("keywordVariants[1] selector", "b", v.getSelector()); in TestSelectVariantsByType()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessagePatternUtilTest.java261 selector, v.getSelector()); in matches()
499 assertEquals("'other' selector", "other", other.getSelector()); in TestPluralVariantsByType()
504 assertEquals("numericVariants[0] selector", "=4", v.getSelector()); in TestPluralVariantsByType()
508 assertEquals("numericVariants[1] selector", "=2", v.getSelector()); in TestPluralVariantsByType()
514 assertEquals("keywordVariants[0] selector", "a", v.getSelector()); in TestPluralVariantsByType()
518 assertEquals("keywordVariants[1] selector", "b", v.getSelector()); in TestPluralVariantsByType()
542 assertEquals("'other' selector", "other", other.getSelector()); in TestSelectVariantsByType()
547 assertEquals("keywordVariants[0] selector", "a", v.getSelector()); in TestSelectVariantsByType()
551 assertEquals("keywordVariants[1] selector", "b", v.getSelector()); in TestSelectVariantsByType()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp345 << 0 << MDecl->getSelector(); in ActOnStartOfObjCMethodDef()
367 IC->lookupMethod(MDecl->getSelector(), MDecl->isInstanceMethod()); in ActOnStartOfObjCMethodDef()
420 SuperClass->lookupMethod(MDecl->getSelector(), in ActOnStartOfObjCMethodDef()
1665 MethodMap[MD->getSelector()] = MD; in DiagnoseClassExtensionDupMethods()
1670 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods()
2546 MethodDecl->getSelector() == GetNullarySelector("load", Context)); in WarnExactTypedMethods()
2639 Selector fISelector = S.Context.Selectors.getSelector(1, &II); in CheckProtocolMethodDefs()
2661 !InsMap.count(method->getSelector()) && in CheckProtocolMethodDefs()
2662 (!Super || !Super->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
2677 IDecl->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
[all …]
DSemaPseudoObject.cpp599 GetterSelector = Getter->getSelector(); in findGetter()
607 setter->getSelector().getIdentifierInfoForSlot(0); in findGetter()
630 SetterSelector = setter->getSelector(); in findSetter()
634 RefExpr->getImplicitPropertyGetter()->getSelector() in findSetter()
665 << prop << prop1 << setter->getSelector(); in findSetter()
734 GenericLoc, Getter->getSelector(), in buildGet()
738 GenericLoc, Getter->getSelector(), in buildGet()
1122 Selector GetterSelector = S.Context.Selectors.getSelector(1, KeyIdents); in CheckKeyForObjCARCConversion()
1165 AtIndexGetterSelector = S.Context.Selectors.getSelector(1, KeyIdents); in findAtIndexGetter()
1173 AtIndexGetterSelector = S.Context.Selectors.getSelector(1, KeyIdents); in findAtIndexGetter()
[all …]
DSemaObjCProperty.cpp1293 << 1 << getterMethod->getSelector(); in ActOnPropertyImplDecl()
1510 << GetterMethod->getSelector() << GetterType; in DiagnosePropertyAccessorMismatch()
1525 << GetterMethod->getSelector(); in DiagnosePropertyAccessorMismatch()
1622 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor()
1630 if ((Property->getGetterName() == IMD->getSelector() || in IvarBacksCurrentMethodAccessor()
1631 Property->getSetterName() == IMD->getSelector()) && in IvarBacksCurrentMethodAccessor()
1639 if ((Property->getGetterName() == IMD->getSelector() || in IvarBacksCurrentMethodAccessor()
1640 Property->getSetterName() == IMD->getSelector()) && in IvarBacksCurrentMethodAccessor()
1777 return x->getSelector() == Method && in DiagnoseUnimplementedAccessor()
1928 if (!impDecl->getInstanceMethod(setterMethod->getSelector()) && in diagnoseNullResettableSynthesizedSetters()
[all …]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMessagePatternUtilDemo.java80 variant.getSelector() + ":"); in printComplexArgStyle()
85 System.out.println(indent + variant.getSelector() + ":"); in printComplexArgStyle()
87 System.out.println(indent + variant.getSelector() + " (" + value + "):"); in printComplexArgStyle()
91 System.out.println(indent + variant.getSelector() + ":"); in printComplexArgStyle()
253 varName + " == \"" + variant.getSelector() + "\") {"); in genCodeForKeywordVariants()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_SwitchEntryContext.txt2 …Line 48) JavaParserFacade.get(typeSolver).getType(switchStmt.getSelector()) ==> com.github.javapar…
4 Line 48) switchStmt.getSelector() ==> com.github.javaparser.ast.stmt.SwitchStmt.getSelector()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp68 Selector Sel = Msg->getSelector(); in rewriteObjCRedundantCallWithLiteral()
303 Selector Sel = Msg->getSelector(); in rewriteToObjCSubscriptSyntax()
388 Selector Sel = Msg->getSelector(); in rewriteToArrayLiteral()
457 Selector Sel = Msg->getSelector(); in getNSArrayObjects()
492 Selector Sel = Msg->getSelector(); in rewriteToDictionaryLiteral()
616 Selector Sel = Msg->getSelector(); in shouldNotRewriteImmediateMessageArgs()
650 Msg->getSelector())) { in rewriteToCharLiteral()
664 Msg->getSelector())) { in rewriteToBoolLiteral()
779 Selector Sel = Msg->getSelector(); in rewriteToNumberLiteral()
983 Selector Sel = Msg->getSelector(); in rewriteToNumericBoxedExpression()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DSwitchNode.java19 Expression getSelector(); in getSelector() method
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DSwitchStmt.java70 public Expression getSelector() { in getSelector() method in SwitchStmt
/external/clang/include/clang/AST/
DExprObjC.h409 Selector getSelector() const { return SelName; }
650 return getImplicitPropertyGetter()->getSelector();
656 return getImplicitPropertySetter()->getSelector();
1244 Selector getSelector() const;
1272 return getSelector().getMethodFamily();
1321 return getStandardSelectorLoc(Index, getSelector(),
1334 Selector Sel = getSelector();

123456