/external/clang/lib/AST/ |
D | NSAPI.cpp | 45 Selector Sel; in getNSStringSelector() local 48 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString")); in getNSStringSelector() 51 Sel = Ctx.Selectors.getUnarySelector( in getNSStringSelector() 55 Sel = Ctx.Selectors.getUnarySelector( in getNSStringSelector() 63 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSStringSelector() 67 Sel= Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithCString")); in getNSStringSelector() 70 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithString")); in getNSStringSelector() 73 return (NSStringSelectors[MK] = Sel); in getNSStringSelector() 80 NSAPI::getNSStringMethodKind(Selector Sel) const { in getNSStringMethodKind() 83 if (Sel == getNSStringSelector(MK)) in getNSStringMethodKind() [all …]
|
D | SelectorLocationsKind.cpp | 21 Selector Sel, in getStandardSelLoc() argument 25 unsigned NumSelArgs = Sel.getNumArgs(); in getStandardSelLoc() 30 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(0); in getStandardSelLoc() 38 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(Index); in getStandardSelLoc() 70 SelectorLocationsKind hasStandardSelLocs(Selector Sel, in hasStandardSelLocs() argument 77 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/false, in hasStandardSelLocs() 86 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/true, in hasStandardSelLocs() 97 clang::hasStandardSelectorLocs(Selector Sel, in hasStandardSelectorLocs() argument 101 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs() 105 Selector Sel, in getStandardSelectorLoc() argument [all …]
|
D | ExprObjC.cpp | 137 QualType SuperType, Selector Sel, in ObjCMessageExpr() argument 147 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())), in ObjCMessageExpr() 158 TypeSourceInfo *Receiver, Selector Sel, in ObjCMessageExpr() argument 167 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())), in ObjCMessageExpr() 176 Selector Sel, ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument 185 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())), in ObjCMessageExpr() 220 bool IsInstanceSuper, QualType SuperType, Selector Sel, in Create() argument 231 Mem = alloc(Context, Args, RBracLoc, SelLocs, Sel, SelLocsK); in Create() 233 SuperType, Sel, SelLocs, SelLocsK, Method, in Create() 240 Selector Sel, ArrayRef<SourceLocation> SelLocs, in Create() argument [all …]
|
D | DeclObjC.cpp | 68 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() argument 86 lookup_result R = lookup(Sel); in getMethod() 103 Selector Sel = Property->getSetterName(); in HasUserDeclaredSetterMethod() local 104 lookup_result R = lookup(Sel); in HasUserDeclaredSetterMethod() 116 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel)) in HasUserDeclaredSetterMethod() 512 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel, in isDesignatedInitializer() argument 524 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) { in isDesignatedInitializer() 532 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) { in isDesignatedInitializer() 625 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod() argument 643 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCMissingSuperCallChecker.cpp | 44 explicit FindSuperCallVisitor(Selector S) : DoesCallSuper(false), Sel(S) {} in FindSuperCallVisitor() 47 if (E->getSelector() == Sel) in VisitObjCMessageExpr() 58 Selector Sel; member in __anonef85a6540111::FindSuperCallVisitor 76 void fillSelectors(ASTContext &Ctx, ArrayRef<SelectorDescriptor> Sel, 102 ArrayRef<SelectorDescriptor> Sel, in fillSelectors() argument 106 for (ArrayRef<SelectorDescriptor>::iterator I = Sel.begin(), E = Sel.end(); in fillSelectors() 114 Selector Sel = Ctx.Selectors.getSelector(Descriptor.ArgumentCount, &II); in fillSelectors() local 115 ClassSelectors.insert(Sel); in fillSelectors()
|
D | SelectorExtras.h | 48 static inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx, in lazyInitKeywordSelector() argument 50 if (!Sel.isNull()) in lazyInitKeywordSelector() 54 Sel = getKeywordSelectorImpl(Ctx, First, argp); in lazyInitKeywordSelector() 58 static inline void lazyInitNullarySelector(Selector &Sel, ASTContext &Ctx, in lazyInitNullarySelector() argument 60 if (!Sel.isNull()) in lazyInitNullarySelector() 62 Sel = GetNullarySelector(Name, Ctx); in lazyInitNullarySelector()
|
D | NoReturnFunctionChecker.cpp | 118 Selector Sel = Msg.getSelector(); in checkPostObjCMessage() local 119 switch (Sel.getNumArgs()) { in checkPostObjCMessage() 126 if (Sel != HandleFailureInFunctionSel) in checkPostObjCMessage() 133 if (Sel != HandleFailureInMethodSel) in checkPostObjCMessage()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 68 Selector Sel = Msg->getSelector(); in rewriteObjCRedundantCallWithLiteral() local 72 (NS.getNSStringSelector(NSAPI::NSStr_stringWithString) == Sel || in rewriteObjCRedundantCallWithLiteral() 73 NS.getNSStringSelector(NSAPI::NSStr_initWithString) == Sel)) || in rewriteObjCRedundantCallWithLiteral() 77 (NS.getNSArraySelector(NSAPI::NSArr_arrayWithArray) == Sel || in rewriteObjCRedundantCallWithLiteral() 78 NS.getNSArraySelector(NSAPI::NSArr_initWithArray) == Sel)) || in rewriteObjCRedundantCallWithLiteral() 83 NSAPI::NSDict_dictionaryWithDictionary) == Sel || in rewriteObjCRedundantCallWithLiteral() 84 NS.getNSDictionarySelector(NSAPI::NSDict_initWithDictionary) == Sel))) { in rewriteObjCRedundantCallWithLiteral() 303 Selector Sel = Msg->getSelector(); in rewriteToObjCSubscriptSyntax() local 305 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_objectAtIndex)) in rewriteToObjCSubscriptSyntax() 308 if (Sel == NS.getNSDictionarySelector(NSAPI::NSDict_objectForKey)) in rewriteToObjCSubscriptSyntax() [all …]
|
/external/clang/include/clang/AST/ |
D | NSAPI.h | 60 Optional<NSStringMethodKind> getNSStringMethodKind(Selector Sel) const; 96 Optional<NSArrayMethodKind> getNSArrayMethodKind(Selector Sel); 121 Optional<NSDictionaryMethodKind> getNSDictionaryMethodKind(Selector Sel); 138 Optional<NSSetMethodKind> getNSSetMethodKind(Selector Sel); 196 Selector Sel) const { in isNSNumberLiteralSelector() argument 197 return Sel == getNSNumberLiteralSelector(MK, false) || in isNSNumberLiteralSelector() 198 Sel == getNSNumberLiteralSelector(MK, true); in isNSNumberLiteralSelector() 203 getNSNumberLiteralMethodKind(Selector Sel) const; 231 Selector getOrInitSelector(ArrayRef<StringRef> Ids, Selector &Sel) const;
|
D | SelectorLocationsKind.h | 46 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel, 58 Selector Sel, 64 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel, 76 Selector Sel,
|
D | DeclObjC.h | 317 Selector Sel = getSelector(); in getNumSelectorLocs() local 318 if (Sel.isUnarySelector()) in getNumSelectorLocs() 320 return Sel.getNumArgs(); in getNumSelectorLocs() 768 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance, 770 ObjCMethodDecl *getInstanceMethod(Selector Sel, 772 return getMethod(Sel, true/*isInstance*/, AllowHidden); 774 ObjCMethodDecl *getClassMethod(Selector Sel, bool AllowHidden = false) const { 775 return getMethod(Sel, false/*isInstance*/, AllowHidden); 1028 ObjCMethodDecl *getCategoryInstanceMethod(Selector Sel) const; 1029 ObjCMethodDecl *getCategoryClassMethod(Selector Sel) const; [all …]
|
D | ExprObjC.h | 929 Selector Sel, 939 Selector Sel, 949 Selector Sel, 1000 Selector Sel, 1050 Selector Sel, 1084 Selector Sel, 1118 Selector Sel, 1340 Selector Sel = getSelector(); 1341 if (Sel.isUnarySelector()) 1343 return Sel.getNumArgs();
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 151 Selector Sel, const ObjCMethodDecl *Method) { in validateBoxingMethod() argument 154 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName(); in validateBoxingMethod() 162 << Sel; in validateBoxingMethod() 263 Selector Sel = S.NSAPIObj->getNSNumberLiteralSelector(*Kind, in getNSNumberFactoryMethod() local 285 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); in getNSNumberFactoryMethod() 290 ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, in getNSNumberFactoryMethod() 305 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method)) in getNSNumberFactoryMethod() 782 Sel = NSAPIObj->getNSArraySelector(NSAPI::NSArr_arrayWithObjectsCount); in BuildObjCArrayLiteral() local 783 ObjCMethodDecl *Method = NSArrayDecl->lookupClassMethod(Sel); in BuildObjCArrayLiteral() 787 Context, SourceLocation(), SourceLocation(), Sel, IdT, ReturnTInfo, in BuildObjCArrayLiteral() [all …]
|
D | MultiplexExternalSemaSource.cpp | 58 Selector Sel; in GetExternalSelector() local 60 Sel = Sources[i]->GetExternalSelector(ID); in GetExternalSelector() 61 if (!Sel.isNull()) in GetExternalSelector() 62 return Sel; in GetExternalSelector() 64 return Sel; in GetExternalSelector() 195 void MultiplexExternalSemaSource::ReadMethodPool(Selector Sel) { in ReadMethodPool() argument 197 Sources[i]->ReadMethodPool(Sel); in ReadMethodPool()
|
D | SemaDeclObjC.cpp | 2813 Selector Sel = I->getSelector(); in CheckCategoryVsClassMethodMatches() local 2817 if (SuperIDecl && SuperIDecl->lookupMethod(Sel, true)) in CheckCategoryVsClassMethodMatches() 2819 InsMap.insert(Sel); in CheckCategoryVsClassMethodMatches() 2823 Selector Sel = I->getSelector(); in CheckCategoryVsClassMethodMatches() local 2824 if (SuperIDecl && SuperIDecl->lookupMethod(Sel, false)) in CheckCategoryVsClassMethodMatches() 2826 ClsMap.insert(Sel); in CheckCategoryVsClassMethodMatches() 3220 void Sema::ReadMethodPool(Selector Sel) { in ReadMethodPool() argument 3222 ExternalSource->ReadMethodPool(Sel); in ReadMethodPool() 3265 Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods, bool instance) { in CollectMultipleMethodsInGlobalPool() argument 3267 ReadMethodPool(Sel); in CollectMultipleMethodsInGlobalPool() [all …]
|
D | SemaCodeComplete.cpp | 242 void setPreferredSelector(Selector Sel) { in setPreferredSelector() argument 243 PreferredSelector = Sel; in setPreferredSelector() 2777 Selector Sel = Method->getSelector(); in CreateCodeCompletionString() local 2778 if (Sel.isUnarySelector()) { in CreateCodeCompletionString() 2780 Sel.getNameForSlot(0))); in CreateCodeCompletionString() 2784 std::string SelName = Sel.getNameForSlot(0).str(); in CreateCodeCompletionString() 2804 if (IdentifierInfo *II = Sel.getIdentifierInfoForSlot(Idx)) in CreateCodeCompletionString() 4956 static bool isAcceptableObjCSelector(Selector Sel, in isAcceptableObjCSelector() argument 4961 if (NumSelIdents > Sel.getNumArgs()) in isAcceptableObjCSelector() 4966 case MK_ZeroArgSelector: return Sel.isUnarySelector(); in isAcceptableObjCSelector() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600EmitClauseMarkers.cpp | 103 std::pair<unsigned, unsigned> getAccessedBankLine(unsigned Sel) const { in getAccessedBankLine() 108 ((Sel >> 2) - 512) >> 12, // KC_BANK in getAccessedBankLine() 114 ((((Sel >> 2) - 512) & 4095) >> 5) << 1); in getAccessedBankLine() 132 unsigned Sel = Consts[i].second; in SubstituteKCacheBank() local 133 unsigned Chan = Sel & 3, Index = ((Sel >> 2) - 512) & 31; in SubstituteKCacheBank() 135 const std::pair<unsigned, unsigned> &BankLine = getAccessedBankLine(Sel); in SubstituteKCacheBank()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 785 Selector Sel) const { in canBeOverridenInSubclass() 810 D = IDecl->lookupMethod(Sel, true); in canBeOverridenInSubclass() 842 Selector Sel = E->getSelector(); in getRuntimeDefinition() local 868 if (!canBeOverridenInSubclass(IDecl, Sel)) in getRuntimeDefinition() 896 Optional<const ObjCMethodDecl *> &Val = PMC[std::make_pair(IDecl, Sel)]; in getRuntimeDefinition() 900 Val = IDecl->lookupPrivateMethod(Sel); in getRuntimeDefinition() 907 Val = IDecl->lookupInstanceMethod(Sel); in getRuntimeDefinition() 923 return RuntimeDefinition(IDecl->lookupPrivateClassMethod(Sel)); in getRuntimeDefinition() 932 Selector Sel = getSelector(); in argumentsMayEscape() local 933 if (Sel.getNumArgs() == 1 && in argumentsMayEscape() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.h | 125 virtual llvm::Value *GetSelector(CodeGenFunction &CGF, Selector Sel) = 0; 132 virtual Address GetAddrOfSelector(CodeGenFunction &CGF, Selector Sel) = 0; 165 Selector Sel, 181 Selector Sel,
|
D | CGObjCMac.cpp | 887 llvm::Constant *GetMethodVarName(Selector Sel); 1014 llvm::Value *Sel, 1170 llvm::Value *EmitSelector(CodeGenFunction &CGF, Selector Sel); 1171 Address EmitSelectorAddr(CodeGenFunction &CGF, Selector Sel); 1181 Selector Sel, llvm::Value *Receiver, 1189 Selector Sel, const ObjCInterfaceDecl *Class, 1197 llvm::Value *GetSelector(CodeGenFunction &CGF, Selector Sel) override; 1198 Address GetAddrOfSelector(CodeGenFunction &CGF, Selector Sel) override; 1288 bool isVTableDispatchedSelector(Selector Sel); 1351 Selector Sel, [all …]
|
D | CGObjCGNU.cpp | 446 llvm::Value *GetSelector(CodeGenFunction &CGF, Selector Sel, 493 QualType ResultType, Selector Sel, 499 QualType ResultType, Selector Sel, 506 llvm::Value *GetSelector(CodeGenFunction &CGF, Selector Sel) override; 507 Address GetAddrOfSelector(CodeGenFunction &CGF, Selector Sel) override; 1053 llvm::Value *CGObjCGNU::GetSelector(CodeGenFunction &CGF, Selector Sel, in GetSelector() argument 1056 SmallVectorImpl<TypedSelector> &Types = SelectorTable[Sel]; in GetSelector() 1069 ".objc_selector_" + Sel.getAsString(), &TheModule); in GetSelector() 1076 Address CGObjCGNU::GetAddrOfSelector(CodeGenFunction &CGF, Selector Sel) { in GetAddrOfSelector() argument 1077 llvm::Value *SelValue = GetSelector(CGF, Sel); in GetAddrOfSelector() [all …]
|
/external/clang/lib/Analysis/ |
D | CallGraph.cpp | 70 Selector Sel = ME->getSelector(); in VisitObjCMessageExpr() local 75 D = IDecl->lookupPrivateMethod(Sel); in VisitObjCMessageExpr() 77 D = IDecl->lookupPrivateClassMethod(Sel); in VisitObjCMessageExpr()
|
/external/clang/lib/Serialization/ |
D | ASTCommon.cpp | 195 unsigned serialization::ComputeHash(Selector Sel) { in ComputeHash() argument 196 unsigned N = Sel.getNumArgs(); in ComputeHash() 201 if (IdentifierInfo *II = Sel.getIdentifierInfoForSlot(I)) in ComputeHash()
|
/external/clang/lib/Frontend/ |
D | ChainedIncludesSource.cpp | 71 void ReadMethodPool(Selector Sel) override; 292 void ChainedIncludesSource::ReadMethodPool(Selector Sel) { in ReadMethodPool() argument 293 getFinalReader().ReadMethodPool(Sel); in ReadMethodPool()
|
/external/icu/icu4c/source/data/locales/ |
D | ms.txt | 517 "Sel", 555 "Sel", 1294 "-1"{"Sel lalu"} 1295 "0"{"Sel ini"} 1296 "1"{"Sel depan"} 1301 "-1"{"Sel lalu"} 1302 "0"{"Sel ini"} 1303 "1"{"Sel depan"}
|