/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 | 752 return ID->isDesignatedInitializer(getSelector(), InitMethod); in isDesignatedInitializerForTheInterface() 796 SelLocsKind = hasStandardSelectorLocs(getSelector(), SelLocs, Params, in setMethodParams() 821 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 826 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 832 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 838 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 844 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl() 856 if (ObjCMethodDecl *MD = IFD->getMethod(getSelector(), in getCanonicalDecl() 863 if (ObjCMethodDecl *MD = CatD->getMethod(getSelector(), in getCanonicalDecl() 869 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 | CheckObjCDealloc.cpp | 39 if (ME->getSelector() == Release) in scan_ivar_release() 134 Selector S = Ctx.Selectors.getSelector(0, &II); in checkObjCDealloc() 139 if (I->getSelector() == S) { in checkObjCDealloc() 165 Selector RS = Ctx.Selectors.getSelector(0, &RII); in checkObjCDealloc()
|
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 | 188 msg.getSelector().print(os); in warnIfNilArg() 192 msg.getSelector().print(os); in warnIfNilArg() 229 Selector S = msg.getSelector(); in checkPreObjCMessage() 259 Selector S = msg.getSelector(); in checkPreObjCMessage() 288 Selector S = msg.getSelector(); in checkPreObjCMessage() 655 Selector S = msg.getSelector(); in checkPreObjCMessage() 706 Selector S = msg.getSelector(); in isVariadicMessage() 768 unsigned variadicArgsBegin = msg.getSelector().getNumArgs(); in checkPreObjCMessage() 817 msg.getSelector().print(os); in checkPreObjCMessage() 1035 Selector S = M.getSelector(); in isCollectionCountMethod() [all …]
|
D | DirectIvarAssignment.cpp | 47 M->getSelector().getNameForSlot(0).find("init") != StringRef::npos || in DefaultMethodFilter() 48 M->getSelector().getNameForSlot(0).find("Init") != StringRef::npos) in DefaultMethodFilter()
|
D | NSAutoreleasePoolChecker.cpp | 58 if (msg.getSelector() != releaseS) in checkPreObjCMessage()
|
D | SelectorExtras.h | 28 return Ctx.Selectors.getSelector(II.size(), &II[0]); in getKeywordSelectorImpl()
|
D | LocalizationChecker.cpp | 126 receiver##M.insert({Ctx.Selectors.getSelector(count, method_list), argument}); 537 Ctx.Selectors.getSelector(arguments, method_list)}); 675 Selector S = msg.getSelector(); in checkPreObjCMessage() 816 Selector S = msg.getSelector(); in checkPostObjCMessage() 912 ME->getSelector().getAsString() == in VisitObjCMessageExpr() 1103 ME->getSelector().getAsString() == "localizedStringForKey:value:table:") { in VisitObjCMessageExpr()
|
D | NoReturnFunctionChecker.cpp | 118 Selector Sel = Msg.getSelector(); in checkPostObjCMessage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MessagePatternUtilTest.java | 261 selector, v.getSelector()); in matches() 488 assertEquals("'other' selector", "other", other.getSelector()); in TestPluralVariantsByType() 493 assertEquals("numericVariants[0] selector", "=4", v.getSelector()); in TestPluralVariantsByType() 497 assertEquals("numericVariants[1] selector", "=2", v.getSelector()); in TestPluralVariantsByType() 503 assertEquals("keywordVariants[0] selector", "a", v.getSelector()); in TestPluralVariantsByType() 507 assertEquals("keywordVariants[1] selector", "b", v.getSelector()); in TestPluralVariantsByType() 530 assertEquals("'other' selector", "other", other.getSelector()); in TestSelectVariantsByType() 535 assertEquals("keywordVariants[0] selector", "a", v.getSelector()); in TestSelectVariantsByType() 539 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 | 257 selector, v.getSelector()); in matches() 484 assertEquals("'other' selector", "other", other.getSelector()); in TestPluralVariantsByType() 489 assertEquals("numericVariants[0] selector", "=4", v.getSelector()); in TestPluralVariantsByType() 493 assertEquals("numericVariants[1] selector", "=2", v.getSelector()); in TestPluralVariantsByType() 499 assertEquals("keywordVariants[0] selector", "a", v.getSelector()); in TestPluralVariantsByType() 503 assertEquals("keywordVariants[1] selector", "b", v.getSelector()); in TestPluralVariantsByType() 526 assertEquals("'other' selector", "other", other.getSelector()); in TestSelectVariantsByType() 531 assertEquals("keywordVariants[0] selector", "a", v.getSelector()); in TestSelectVariantsByType() 535 assertEquals("keywordVariants[1] selector", "b", v.getSelector()); in TestSelectVariantsByType()
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 346 << 0 << MDecl->getSelector(); in ActOnStartOfObjCMethodDef() 368 IC->lookupMethod(MDecl->getSelector(), MDecl->isInstanceMethod()); in ActOnStartOfObjCMethodDef() 421 SuperClass->lookupMethod(MDecl->getSelector(), in ActOnStartOfObjCMethodDef() 1657 MethodMap[MD->getSelector()] = MD; in DiagnoseClassExtensionDupMethods() 1662 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() 2521 MethodDecl->getSelector() == GetNullarySelector("load", Context)); in WarnExactTypedMethods() 2614 Selector fISelector = S.Context.Selectors.getSelector(1, &II); in CheckProtocolMethodDefs() 2636 !InsMap.count(method->getSelector()) && in CheckProtocolMethodDefs() 2637 (!Super || !Super->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs() 2652 IDecl->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs() [all …]
|
D | SemaObjCProperty.cpp | 1278 << 1 << getterMethod->getSelector(); in ActOnPropertyImplDecl() 1493 << GetterMethod->getSelector() << GetterType; in DiagnosePropertyAccessorMismatch() 1508 << GetterMethod->getSelector(); in DiagnosePropertyAccessorMismatch() 1586 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor() 1594 if ((Property->getGetterName() == IMD->getSelector() || in IvarBacksCurrentMethodAccessor() 1595 Property->getSetterName() == IMD->getSelector()) && in IvarBacksCurrentMethodAccessor() 1603 if ((Property->getGetterName() == IMD->getSelector() || in IvarBacksCurrentMethodAccessor() 1604 Property->getSetterName() == IMD->getSelector()) && in IvarBacksCurrentMethodAccessor() 1827 InsMap.insert(I->getSelector()); in DiagnoseUnimplementedProperties() 1839 InsMap.insert(I->getSelector()); in DiagnoseUnimplementedProperties() [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() 664 << prop << prop1 << setter->getSelector(); in findSetter() 733 GenericLoc, Getter->getSelector(), in buildGet() 737 GenericLoc, Getter->getSelector(), in buildGet() 1121 Selector GetterSelector = S.Context.Selectors.getSelector(1, KeyIdents); in CheckKeyForObjCARCConversion() 1164 AtIndexGetterSelector = S.Context.Selectors.getSelector(1, KeyIdents); in findAtIndexGetter() 1172 AtIndexGetterSelector = S.Context.Selectors.getSelector(1, KeyIdents); in findAtIndexGetter() [all …]
|
D | SemaExprObjC.cpp | 638 Selector ValueWithBytesObjCType = Context.Selectors.getSelector(2, II); in BuildObjCBoxedExpr() 1112 MatchingMethodDecl->getSelector() != Method->getSelector()) in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1119 << Method->getSelector() << FixItHint::CreateInsertion(LParenLoc, "(") in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1169 Selector MatchedSel = OM->getSelector(); in ParseObjCSelectorExpression() 1427 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer() 1493 << Method->isInstanceMethod() << Method->getSelector() in EmitRelatedResultTypeNote() 1544 Selector MatchedSel = OMD->getSelector(); in CheckMessageArgumentTypes() 2168 if (Method->getSelector() == Sel) in ActOnSuperMessage() 2218 << Msg->getSelector() << Msg->getSourceRange(); in applyCocoaAPICheck() 2666 << Method->getSelector() << Sel; in BuildInstanceMessage() [all …]
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
D | MessagePatternUtilDemo.java | 78 variant.getSelector() + ":"); in printComplexArgStyle() 83 System.out.println(indent + variant.getSelector() + ":"); in printComplexArgStyle() 85 System.out.println(indent + variant.getSelector() + " (" + value + "):"); in printComplexArgStyle() 89 System.out.println(indent + variant.getSelector() + ":"); in printComplexArgStyle() 251 varName + " == \"" + variant.getSelector() + "\") {"); in genCodeForKeywordVariants()
|
/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/clang/include/clang/AST/ |
D | ExprObjC.h | 414 Selector getSelector() const { return SelName; } 655 return getImplicitPropertyGetter()->getSelector(); 661 return getImplicitPropertySetter()->getSelector(); 1251 Selector getSelector() const; 1279 return getSelector().getMethodFamily(); 1327 return getStandardSelectorLoc(Index, getSelector(), 1340 Selector Sel = getSelector();
|
/external/clang/lib/CodeGen/ |
D | CGObjCGNU.cpp | 1095 return GetSelector(CGF, Method->getSelector(), SelTypes); in GetSelector() 1800 MakeConstantString(I->getSelector().getAsString())); in GenerateProtocol() 1804 MakeConstantString(I->getSelector().getAsString())); in GenerateProtocol() 1818 MakeConstantString(I->getSelector().getAsString())); in GenerateProtocol() 1822 MakeConstantString(I->getSelector().getAsString())); in GenerateProtocol() 1863 Fields.push_back(MakeConstantString(getter->getSelector().getAsString())); in GenerateProtocol() 1874 Fields.push_back(MakeConstantString(setter->getSelector().getAsString())); in GenerateProtocol() 2037 InstanceMethodSels.push_back(I->getSelector()); in GenerateCategory() 2047 ClassMethodSels.push_back(I->getSelector()); in GenerateCategory() 2110 InstanceMethodSels.push_back(getter->getSelector()); in GeneratePropertyList() [all …]
|