/external/clang/lib/AST/ |
SelectorLocationsKind.cpp | 21 Selector Sel, 25 unsigned NumSelArgs = Sel.getNumArgs(); 30 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(0); 38 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(Index); 70 SelectorLocationsKind hasStandardSelLocs(Selector Sel, 77 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/false, 86 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/true, 97 clang::hasStandardSelectorLocs(Selector Sel, 101 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); 105 Selector Sel, [all...] |
NSAPI.cpp | 40 Selector Sel; 43 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString")); 46 Sel = Ctx.Selectors.getUnarySelector( 54 Sel = Ctx.Selectors.getSelector(2, KeyIdents); 58 Sel= Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithCString")); 61 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithString")); 64 return (NSStringSelectors[MK] = Sel); 71 NSAPI::getNSStringMethodKind(Selector Sel) const { 74 if (Sel == getNSStringSelector(MK)) 83 Selector Sel; [all...] |
DeclObjC.cpp | 68 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, 86 lookup_const_result R = lookup(Sel); 103 Selector Sel = Property->getSetterName(); 104 lookup_const_result R = lookup(Sel); 120 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel)) 459 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, 474 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) 481 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) 489 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) 499 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance)) [all...] |
/external/clang/include/clang/AST/ |
SelectorLocationsKind.h | 46 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel, 58 Selector Sel, 64 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel, 76 Selector Sel,
|
NSAPI.h | 54 /// \brief Return NSStringMethodKind if \param Sel is such a selector. 55 Optional<NSStringMethodKind> getNSStringMethodKind(Selector Sel) const; 86 /// \brief Return NSArrayMethodKind if \p Sel is such a selector. 87 Optional<NSArrayMethodKind> getNSArrayMethodKind(Selector Sel); 108 /// \brief Return NSDictionaryMethodKind if \p Sel is such a selector. 109 Optional<NSDictionaryMethodKind> getNSDictionaryMethodKind(Selector Sel); 167 Selector Sel) const { 168 return Sel == getNSNumberLiteralSelector(MK, false) || 169 Sel == getNSNumberLiteralSelector(MK, true); 172 /// \brief Return NSNumberLiteralMethodKind if \p Sel is such a selector [all...] |
DeclObjC.h | 328 Selector Sel = getSelector(); 329 if (Sel.isUnarySelector()) 331 return Sel.getNumArgs(); 540 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance, 542 ObjCMethodDecl *getInstanceMethod(Selector Sel, 544 return getMethod(Sel, true/*isInstance*/, AllowHidden); 546 ObjCMethodDecl *getClassMethod(Selector Sel, bool AllowHidden = false) const { 547 return getMethod(Sel, false/*isInstance*/, AllowHidden); 745 ObjCMethodDecl *getCategoryInstanceMethod(Selector Sel) const; 746 ObjCMethodDecl *getCategoryClassMethod(Selector Sel) const [all...] |
ExprObjC.h | [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
NoReturnFunctionChecker.cpp | 82 static bool END_WITH_NULL isMultiArgSelector(const Selector *Sel, ...) { 84 va_start(argp, Sel); 89 if (!Sel->getNameForSlot(Slot).equals(Arg)) 131 Selector Sel = Msg.getSelector(); 132 switch (Sel.getNumArgs()) { 136 if (!isMultiArgSelector(&Sel, "handleFailureInFunction", "file", 141 if (!isMultiArgSelector(&Sel, "handleFailureInMethod", "object", "file",
|
ObjCMissingSuperCallChecker.cpp | 45 explicit FindSuperCallVisitor(Selector S) : DoesCallSuper(false), Sel(S) {} 48 if (E->getSelector() == Sel) 59 Selector Sel; 78 void fillSelectors(ASTContext &Ctx, ArrayRef<SelectorDescriptor> Sel, 104 ArrayRef<SelectorDescriptor> Sel, 108 for (ArrayRef<SelectorDescriptor>::iterator I = Sel.begin(), E = Sel.end(); 116 Selector Sel = Ctx.Selectors.getSelector(Descriptor.ArgumentCount, &II); 117 ClassSelectors.insert(Sel);
|
/external/clang/include/clang/Serialization/ |
ASTDeserializationListener.h | 50 virtual void SelectorRead(serialization::SelectorID iD, Selector Sel) { }
|
/external/clang/lib/Edit/ |
RewriteObjCFoundationAPI.cpp | 68 Selector Sel = Msg->getSelector(); 72 (NS.getNSStringSelector(NSAPI::NSStr_stringWithString) == Sel || 73 NS.getNSStringSelector(NSAPI::NSStr_initWithString) == Sel)) || 77 (NS.getNSArraySelector(NSAPI::NSArr_arrayWithArray) == Sel || 78 NS.getNSArraySelector(NSAPI::NSArr_initWithArray) == Sel)) || 83 NSAPI::NSDict_dictionaryWithDictionary) == Sel || 84 NS.getNSDictionarySelector(NSAPI::NSDict_initWithDictionary) == Sel))) { 303 Selector Sel = Msg->getSelector(); 305 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_objectAtIndex)) 308 if (Sel == NS.getNSDictionarySelector(NSAPI::NSDict_objectForKey) [all...] |
/external/llvm/lib/Target/R600/ |
R600EmitClauseMarkers.cpp | 93 std::pair<unsigned, unsigned> getAccessedBankLine(unsigned Sel) const { 94 // Sel is (512 + (kc_bank << 12) + ConstIndex) << 2 98 ((Sel >> 2) - 512) >> 12, // KC_BANK 104 ((((Sel >> 2) - 512) & 4095) >> 5) << 1); 117 unsigned Sel = Consts[i].second; 118 unsigned Chan = Sel & 3, Index = ((Sel >> 2) - 512) & 31; 120 const std::pair<unsigned, unsigned> &BankLine = getAccessedBankLine(Sel);
|
/external/clang/lib/Sema/ |
SemaExprObjC.cpp | 147 Selector Sel, const ObjCMethodDecl *Method) { 150 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName(); 158 << Sel; 188 Selector Sel = S.NSAPIObj->getNSNumberLiteralSelector(*Kind, 224 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); 228 Method = ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, 245 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method)) 639 Sel = NSAPIObj->getNSArraySelector(NSAPI::NSArr_arrayWithObjectsCount); 640 ObjCMethodDecl *Method = NSArrayDecl->lookupClassMethod(Sel); 644 SourceLocation(), SourceLocation(), Sel, [all...] |
MultiplexExternalSemaSource.cpp | 53 Selector Sel; 55 Sel = Sources[i]->GetExternalSelector(ID); 56 if (!Sel.isNull()) 57 return Sel; 59 return Sel; 186 void MultiplexExternalSemaSource::ReadMethodPool(Selector Sel) { 188 Sources[i]->ReadMethodPool(Sel);
|
SemaCodeComplete.cpp | 242 void setPreferredSelector(Selector Sel) { 243 PreferredSelector = Sel; [all...] |
/external/clang/include/clang/Frontend/ |
ChainedIncludesSource.h | 69 virtual void ReadMethodPool(Selector Sel);
|
/external/clang/include/clang/Sema/ |
ExternalSemaSource.h | 63 virtual void ReadMethodPool(Selector Sel);
|
MultiplexExternalSemaSource.h | 212 virtual void ReadMethodPool(Selector Sel);
|
/external/clang/lib/Serialization/ |
ASTCommon.h | 60 unsigned ComputeHash(Selector Sel);
|
ASTCommon.cpp | 80 unsigned serialization::ComputeHash(Selector Sel) { 81 unsigned N = Sel.getNumArgs(); 86 if (IdentifierInfo *II = Sel.getIdentifierInfoForSlot(I))
|
/external/clang/lib/Analysis/ |
CallGraph.cpp | 70 Selector Sel = ME->getSelector(); 75 D = IDecl->lookupPrivateMethod(Sel); 77 D = IDecl->lookupPrivateClassMethod(Sel);
|
/external/clang/lib/CodeGen/ |
CGObjCRuntime.h | 123 Selector Sel, bool lval=false) = 0; 156 Selector Sel, 172 Selector Sel,
|
/external/llvm/lib/Target/R600/InstPrinter/ |
AMDGPUInstPrinter.cpp | 155 int sel = MI->getOperand(OpNo).getImm(); local 157 int chan = sel & 3; 158 sel >>= 2; 160 if (sel >= 512) { 161 sel -= 512; 162 int cb = sel >> 12; 163 sel &= 4095; 164 O << cb << "[" << sel << "]"; local 165 } else if (sel >= 448) { 166 sel -= 448 167 O << sel; local 169 O << sel; local [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
CallEvent.cpp | 734 Selector Sel) const { 759 D = IDecl->lookupMethod(Sel, true); 791 Selector Sel = E->getSelector(); 817 if (!canBeOverridenInSubclass(IDecl, Sel)) 845 Optional<const ObjCMethodDecl *> &Val = PMC[std::make_pair(IDecl, Sel)]; 849 Val = IDecl->lookupPrivateMethod(Sel); 864 return RuntimeDefinition(IDecl->lookupPrivateClassMethod(Sel)); [all...] |
/external/clang/lib/Frontend/ |
MultiplexConsumer.cpp | 38 virtual void SelectorRead(serialization::SelectorID iD, Selector Sel); 75 serialization::SelectorID ID, Selector Sel) { 77 Listeners[i]->SelectorRead(ID, Sel);
|