Home
last modified time | relevance | path

Searched refs:getIdentifier (Results 1 – 25 of 98) sorted by relevance

1234

/external/clang/lib/StaticAnalyzer/Checkers/
DStreamChecker.cpp155 if (FD->getIdentifier() == II_fopen) { in evalCall()
159 if (FD->getIdentifier() == II_tmpfile) { in evalCall()
163 if (FD->getIdentifier() == II_fclose) { in evalCall()
167 if (FD->getIdentifier() == II_fread) { in evalCall()
171 if (FD->getIdentifier() == II_fwrite) { in evalCall()
175 if (FD->getIdentifier() == II_fseek) { in evalCall()
179 if (FD->getIdentifier() == II_ftell) { in evalCall()
183 if (FD->getIdentifier() == II_rewind) { in evalCall()
187 if (FD->getIdentifier() == II_fgetpos) { in evalCall()
191 if (FD->getIdentifier() == II_fsetpos) { in evalCall()
[all …]
DChrootChecker.cpp78 if (FD->getIdentifier() == II_chroot) { in evalCall()
82 if (FD->getIdentifier() == II_chdir) { in evalCall()
142 if (FD->getIdentifier() == II_chroot || FD->getIdentifier() == II_chdir) in checkPreStmt()
DCheckSecuritySyntaxOnly.cpp55 IdentifierInfo *getIdentifier(IdentifierInfo *& II, const char *str);
78 IdentifierInfo *WalkAST::getIdentifier(IdentifierInfo *& II, const char *str) { in getIdentifier() function in WalkAST
103 IdentifierInfo *II = FD->getIdentifier(); in VisitCallExpr()
532 const IdentifierInfo *id = FD->getIdentifier(); in checkUncheckedReturnValue()
DBasicObjCFoundationChecks.cpp47 return ID->getIdentifier()->getNameStart(); in GetReceiverNameType()
53 if (ID->getIdentifier()->getName() == ClassName) in isReceiverClassOrSuperclass()
263 if (FD->getIdentifier() != II || CE->getNumArgs() != 3) in checkPreStmt()
381 const IdentifierInfo *FuncII = FD->getIdentifier(); in checkPreStmt()
DNSAutoreleasePoolChecker.cpp59 if (!OD->getIdentifier()->getName().equals("NSAutoreleasePool")) in checkPreObjCMessage()
DNoReturnFunctionChecker.cpp48 else if (const IdentifierInfo *II = FD->getIdentifier()) { in checkPostStmt()
DCheckObjCDealloc.cpp71 if (E->getDecl()->getIdentifier() == SelfII) in scan_ivar_release()
138 IdentifierInfo *II = ID->getIdentifier(); in checkObjCDealloc()
DNSErrorChecker.cpp301 return II == ID->getIdentifier(); in IsNSError()
313 return TT->getDecl()->getIdentifier() == II; in IsCFError()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp152 IdentifierInfo *PropertyId = FD.D.getIdentifier(); in HandlePropertyInClassExtension()
288 IdentifierInfo *PropertyId = FD.D.getIdentifier(); in CreatePropertyDecl()
569 IDecl->FindCategoryDeclaration(CatImplClass->getIdentifier()); in ActOnPropertyImplDecl()
805 << PropertyId << PPIDecl->getPropertyDecl()->getIdentifier() in ActOnPropertyImplDecl()
843 << PropertyId << PPIDecl->getPropertyDecl()->getIdentifier() in ActOnPropertyImplDecl()
962 if (SuperPDecl->getIdentifier() == PDecl->getIdentifier()) in ComparePropertiesInBaseAndSuper()
964 SDecl->getIdentifier()); in ComparePropertiesInBaseAndSuper()
987 if ((*CP)->getIdentifier() == Pr->getIdentifier()) in MatchOneProtocolPropertiesInClass()
991 DiagnosePropertyMismatch((*CP), Pr, PDecl->getIdentifier()); in MatchOneProtocolPropertiesInClass()
1001 if ((*CP)->getIdentifier() == Pr->getIdentifier()) in MatchOneProtocolPropertiesInClass()
[all …]
DSemaTemplateInstantiateDecl.cpp106 D->getIdentifier()); in VisitLabelDecl()
123 D->getIdentifier(), in VisitNamespaceAliasDecl()
151 D->getLocation(), D->getIdentifier(), DI); in InstantiateTypedefNameDecl()
154 D->getLocation(), D->getIdentifier(), DI); in InstantiateTypedefNameDecl()
164 assert(!newTag->getIdentifier() && !newTag->getTypedefNameForAnonDecl()); in InstantiateTypedefNameDecl()
324 D->getLocation(), D->getIdentifier(), in VisitVarDecl()
530 D->getIdentifier(), T, in VisitIndirectFieldDecl()
608 D->getLocation(), D->getIdentifier(), in VisitEnumDecl()
668 EC->getLocation(), EC->getIdentifier(), in VisitEnumDecl()
790 if (isFriend && Pattern->getIdentifier() && in VisitClassTemplateDecl()
[all …]
DSemaDeclObjC.cpp351 if ((*PI)->getIdentifier()) in ActOnStartOfObjCMethodDef()
554 ClassName = IDecl->getIdentifier(); in ActOnCompatiblityAlias()
586 if (ObjCProtocolDecl *PDecl = LookupProtocol((*I)->getIdentifier(), in CheckForwardProtocolDeclarationForCircularDependency()
588 if (PDecl->getIdentifier() == PName) { in CheckForwardProtocolDeclarationForCircularDependency()
807 if (CDeclChain->getIdentifier() == CategoryName) { in ActOnStartCategoryInterface()
1028 IDecl->getIvarDecl(ImplIvar->getIdentifier())) { in CheckImplementationIvars()
1056 << ImplIvar->getIdentifier() in CheckImplementationIvars()
1065 << ImplIvar->getIdentifier(); in CheckImplementationIvars()
1070 if (ImplIvar->getIdentifier() != ClsIvar->getIdentifier()) { in CheckImplementationIvars()
1072 << ImplIvar->getIdentifier() << ClsIvar->getIdentifier(); in CheckImplementationIvars()
[all …]
DSemaTemplateVariadic.cpp170 Name = TTP->getIdentifier(); in DiagnoseUnexpandedParameterPacks()
172 Name = Unexpanded[I].first.get<NamedDecl *>()->getIdentifier(); in DiagnoseUnexpandedParameterPacks()
486 Name = TTP->getIdentifier(); in CheckParameterPacksForExpansion()
494 Name = ND->getIdentifier(); in CheckParameterPacksForExpansion()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp117 FD->getIdentifier() && in transformNonObjCToObjCCast()
119 FD->getIdentifier()->getName())) { in transformNonObjCToObjCCast()
120 StringRef fname = FD->getIdentifier()->getName(); in transformNonObjCToObjCCast()
192 if (DRE->getDecl()->getIdentifier() == SelfII) in isSelf()
/external/clang/lib/AST/
DItaniumMangle.cpp472 const IdentifierInfo *II = NS->getOriginalNamespace()->getIdentifier(); in isStd()
598 if (const IdentifierInfo *Id = Dependent->getIdentifier()) in mangleUnscopedTemplateName()
681 DTST->getIdentifier()); in manglePrefix()
736 mangleSourceName(qualifier->getAsNamespace()->getIdentifier()); in mangleUnresolvedPrefix()
744 mangleSourceName(qualifier->getAsNamespaceAlias()->getIdentifier()); in mangleUnresolvedPrefix()
826 mangleSourceName(cast<TypedefType>(type)->getDecl()->getIdentifier()); in mangleUnresolvedPrefix()
831 ->getIdentifier()); in mangleUnresolvedPrefix()
835 mangleSourceName(cast<RecordType>(type)->getDecl()->getIdentifier()); in mangleUnresolvedPrefix()
852 mangleSourceName(temp->getIdentifier()); in mangleUnresolvedPrefix()
883 ->getIdentifier()); in mangleUnresolvedPrefix()
[all …]
DTypePrinter.cpp516 IdentifierInfo *II = D->getIdentifier(); in printTypeSpec()
592 if (NS->getIdentifier()) in AppendScope()
605 Buffer += Spec->getIdentifier()->getName(); in AppendScope()
609 Buffer += Typedef->getIdentifier()->getName(); in AppendScope()
610 else if (Tag->getIdentifier()) in AppendScope()
611 Buffer += Tag->getIdentifier()->getName(); in AppendScope()
643 if (const IdentifierInfo *II = D->getIdentifier()) in printTag()
646 assert(Typedef->getIdentifier() && "Typedef without identifier?"); in printTag()
647 Buffer += Typedef->getIdentifier()->getNameStart(); in printTag()
716 if (IdentifierInfo *Id = T->getIdentifier()) in printTemplateTypeParm()
[all …]
DDeclObjC.cpp265 if (ClassDecl->getIdentifier() == ICName) in lookupInheritedClass()
658 if (Category->getIdentifier() == CategoryId) in FindCategoryDeclaration()
823 if (Name == getIdentifier()) in lookupProtocolNamed()
943 return ID->FindCategoryDeclaration(getIdentifier()); in getCategoryDecl()
964 if (ObjCCategoryDecl *CD = IFace->FindCategoryDeclaration(getIdentifier())) in setClassInterface()
980 PID->getPropertyIvarDecl()->getIdentifier() == ivarId) in FindPropertyImplIvarDecl()
994 if (PID->getPropertyDecl()->getIdentifier() == Id) in FindPropertyImplDecl()
/external/clang/test/SemaCXX/
Dmember-expr.cpp50 void *getIdentifier() const;
55 return !getIdentifier(); in isAnonymousNamespace()
/external/clang/lib/Analysis/
DCocoaConventions.cpp70 llvm::StringRef TDName = TD->getDecl()->getIdentifier()->getName(); in isRefType()
124 if (ID->getIdentifier()->getName() == "NSObject") in isCocoaObjectRef()
/external/webkit/Source/WebCore/fileapi/
DBlobURL.h53 static String getIdentifier(const KURL&);
DBlobURL.cpp55 String BlobURL::getIdentifier(const KURL& url) in getIdentifier() function in WebCore::BlobURL
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp179 SectionName = getTok().getIdentifier(); in ParseSectionName()
193 CurSize = getTok().getIdentifier().size() + 2; in ParseSectionName()
196 CurSize = getTok().getIdentifier().size(); in ParseSectionName()
451 StringRef Data = getTok().getIdentifier(); in ParseDirectiveIdent()
/external/clang/lib/CodeGen/
DCGObjCMac.cpp1704 DefinedProtocols.insert(PD->getIdentifier()); in GenerateProtocol()
1709 if (Protocols.count(PD->getIdentifier())) in GenerateProtocol()
1714 if (DefinedProtocols.count(PD->getIdentifier())) in GetProtocolRef()
1733 llvm::GlobalVariable *&Entry = Protocols[PD->getIdentifier()]; in GetOrEmitProtocol()
1776 Values[1] = GetClassName(PD->getIdentifier()); in GetOrEmitProtocol()
1812 llvm::GlobalVariable *&Entry = Protocols[PD->getIdentifier()]; in GetOrEmitProtocolRef()
1925 if (!PropertySet.insert(PD->getIdentifier())) in PushProtocolProperties()
1927 Prop[0] = GetPropertyName(PD->getIdentifier()); in PushProtocolProperties()
1954 PropertySet.insert(PD->getIdentifier()); in EmitPropertyList()
1955 Prop[0] = GetPropertyName(PD->getIdentifier()); in EmitPropertyList()
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x9/
DX9FieldID.java81 public DERObjectIdentifier getIdentifier() in getIdentifier() method in X9FieldID
/external/llvm/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp402 RegNo = MatchRegisterName(getLexer().getTok().getIdentifier()); in ParseRegister()
429 unsigned reg = MatchFslRegister(getLexer().getTok().getIdentifier()); in ParseFsl()
526 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
/external/clang/include/clang/AST/
DDeclObjC.h1078 bool IsClassExtension() const { return getIdentifier() == 0; } in IsClassExtension()
1121 classInterface? classInterface->getIdentifier() : 0), in ObjCImplDecl()
1194 IdentifierInfo *getIdentifier() const { in getIdentifier() function
1314 IdentifierInfo *getIdentifier() const { in getIdentifier() function
1315 return getClassInterface()->getIdentifier(); in getIdentifier()
1324 assert(getIdentifier() && "Name is not a simple identifier"); in getName()
1325 return getIdentifier()->getName(); in getName()

1234