/external/clang/lib/ARCMigrate/ |
D | TransAPIUses.cpp | 48 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()
|
D | TransRetainReleaseDealloc.cpp | 64 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()
|
D | TransZeroOutPropsInDealloc.cpp | 62 if (PropDecl->getSetterName() == ME->getSelector()) { in VisitObjCMessageExpr() 102 !(D->isInstanceMethod() && D->getSelector() == FinalizeSel)) in TraverseObjCMethodDecl()
|
/external/clang/lib/AST/ |
D | NSAPI.cpp | 63 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 …]
|
D | DeclObjC.cpp | 780 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/ |
D | ObjCNoReturn.cpp | 40 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/ |
D | CheckObjCInstMethSignature.cpp | 58 MethDerived->getSelector().print(os); in CompareReturnTypes() 97 IMeths[M->getSelector()] = M; in CheckObjCInstMethSignature() 105 Selector S = M->getSelector(); in CheckObjCInstMethSignature()
|
D | ObjCMissingSuperCallChecker.cpp | 47 if (E->getSelector() == Sel) in VisitObjCMessageExpr() 114 Selector Sel = Ctx.Selectors.getSelector(Descriptor.ArgumentCount, &II); in fillSelectors() 183 Selector S = MD->getSelector(); in checkASTDecl()
|
D | BasicObjCFoundationChecks.cpp | 187 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 …]
|
D | CheckObjCDealloc.cpp | 231 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()
|
D | DirectIvarAssignment.cpp | 48 M->getSelector().getNameForSlot(0).find("init") != StringRef::npos || in DefaultMethodFilter() 49 M->getSelector().getNameForSlot(0).find("Init") != StringRef::npos; in DefaultMethodFilter()
|
D | NSAutoreleasePoolChecker.cpp | 58 if (msg.getSelector() != releaseS) in checkPreObjCMessage()
|
D | ObjCSuperDeallocChecker.cpp | 238 SELdealloc = Ctx.Selectors.getSelector(0, &IIdealloc); in initIdentifierInfoAndSelectors() 249 return M.getSelector() == SELdealloc; in isSuperDeallocMessage()
|
D | SelectorExtras.h | 28 return Ctx.Selectors.getSelector(II.size(), &II[0]); in getKeywordSelectorImpl()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MessagePatternUtilTest.java | 264 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/ |
D | MessagePatternUtilTest.java | 261 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/ |
D | SemaDeclObjC.cpp | 345 << 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 …]
|
D | SemaPseudoObject.cpp | 599 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 …]
|
D | SemaObjCProperty.cpp | 1293 << 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/ |
D | MessagePatternUtilDemo.java | 80 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/ |
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_SwitchEntryContext.txt | 2 …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/ |
D | RewriteObjCFoundationAPI.cpp | 68 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/ |
D | SwitchNode.java | 19 Expression getSelector(); in getSelector() method
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/ |
D | SwitchStmt.java | 70 public Expression getSelector() { in getSelector() method in SwitchStmt
|
/external/clang/include/clang/AST/ |
D | ExprObjC.h | 409 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();
|