Home
last modified time | relevance | path

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

12345678910

/external/llvm-project/clang/lib/ARCMigrate/
DTransAPIUses.cpp47 getArgumentSel = sels.getSelector(2, selIds); in APIChecker()
49 setArgumentSel = sels.getSelector(2, selIds); in APIChecker()
60 if (E->getSelector() == getReturnValueSel) in VisitObjCMessageExpr()
62 else if (E->getSelector() == setReturnValueSel) in VisitObjCMessageExpr()
64 else if (E->getSelector() == getArgumentSel) in VisitObjCMessageExpr()
66 else if (E->getSelector() == setArgumentSel) in VisitObjCMessageExpr()
88 E->getSelector() == zoneSel && in VisitObjCMessageExpr()
DTransRetainReleaseDealloc.cpp63 if (E->isInstanceMessage() && E->getSelector() == FinalizeSel) in VisitObjCMessageExpr()
90 err += E->getSelector().getAsString() + "' message on " in VisitObjCMessageExpr()
99 err += E->getSelector().getAsString() + "' message on " in VisitObjCMessageExpr()
405 return (ME->isInstanceMessage() && ME->getSelector() == DelegateSel); in isDelegateMessage()
/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()
/external/llvm-project/clang/lib/AST/
DNSAPI.cpp62 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSStringSelector()
99 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSArraySelector()
116 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSArraySelector()
127 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSArraySelector()
135 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSArraySelector()
172 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSDictionarySelector()
180 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSDictionarySelector()
189 Sel = Ctx.Selectors.getSelector(3, KeyIdents); in getNSDictionarySelector()
209 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSDictionarySelector()
220 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSDictionarySelector()
[all …]
/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/llvm-project/clang/lib/Analysis/
DObjCNoReturn.cpp39 C.Selectors.getSelector(II.size(), &II[0]); in ObjCNoReturn()
44 C.Selectors.getSelector(II.size(), &II[0]); in ObjCNoReturn()
49 Selector S = ME->getSelector(); in isImplicitNoReturn()
/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()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCheckObjCInstMethSignature.cpp57 MethDerived->getSelector().print(os); in CompareReturnTypes()
96 IMeths[M->getSelector()] = M; in CheckObjCInstMethSignature()
104 Selector S = M->getSelector(); in CheckObjCInstMethSignature()
DTrustNonnullChecker.cpp106 (Msg.getSelector() == SetObjectForKeyedSubscriptSel || in checkPostObjCMessage()
107 Msg.getSelector() == SetObjectForKeySel)) { in checkPostObjCMessage()
114 (Msg.getSelector() == ObjectForKeyedSubscriptSel || in checkPostObjCMessage()
115 Msg.getSelector() == ObjectForKeySel)) { in checkPostObjCMessage()
DObjCMissingSuperCallChecker.cpp46 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.cpp192 msg.getSelector().print(os); in warnIfNilArg()
196 msg.getSelector().print(os); in warnIfNilArg()
233 Selector S = msg.getSelector(); in checkPreObjCMessage()
260 Selector S = msg.getSelector(); in checkPreObjCMessage()
288 Selector S = msg.getSelector(); in checkPreObjCMessage()
624 Selector S = msg.getSelector(); in checkPreObjCMessage()
675 Selector S = msg.getSelector(); in isVariadicMessage()
737 unsigned variadicArgsBegin = msg.getSelector().getNumArgs(); in checkPreObjCMessage()
786 msg.getSelector().print(os); in checkPreObjCMessage()
1000 Selector S = M.getSelector(); in isCollectionCountMethod()
[all …]
/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/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/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 …]
/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/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp417 << 0 << MDecl->getSelector(); in ActOnStartOfObjCMethodDef()
439 IC->lookupMethod(MDecl->getSelector(), MDecl->isInstanceMethod()); in ActOnStartOfObjCMethodDef()
490 SuperClass->lookupMethod(MDecl->getSelector(), in ActOnStartOfObjCMethodDef()
1756 MethodMap[MD->getSelector()] = MD; in DiagnoseClassExtensionDupMethods()
1761 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods()
2639 MethodDecl->getSelector() == GetNullarySelector("load", Context)); in WarnExactTypedMethods()
2732 Selector fISelector = S.Context.Selectors.getSelector(1, &II); in CheckProtocolMethodDefs()
2754 !InsMap.count(method->getSelector()) && in CheckProtocolMethodDefs()
2755 (!Super || !Super->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
2770 IDecl->lookupMethod(method->getSelector(), in CheckProtocolMethodDefs()
[all …]
/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/llvm-project/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp67 Selector Sel = Msg->getSelector(); in rewriteObjCRedundantCallWithLiteral()
302 Selector Sel = Msg->getSelector(); in rewriteToObjCSubscriptSyntax()
387 Selector Sel = Msg->getSelector(); in rewriteToArrayLiteral()
456 Selector Sel = Msg->getSelector(); in getNSArrayObjects()
491 Selector Sel = Msg->getSelector(); in rewriteToDictionaryLiteral()
614 Selector Sel = Msg->getSelector(); in shouldNotRewriteImmediateMessageArgs()
648 Msg->getSelector())) { in rewriteToCharLiteral()
662 Msg->getSelector())) { in rewriteToBoolLiteral()
777 Selector Sel = Msg->getSelector(); in rewriteToNumberLiteral()
985 Selector Sel = Msg->getSelector(); in rewriteToNumericBoxedExpression()
[all …]

12345678910