Home
last modified time | relevance | path

Searched refs:NumProtocols (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Serialization/
DASTReaderDecl.cpp499 unsigned NumProtocols = Record[Idx++]; in VisitObjCInterfaceDecl() local
501 Protocols.reserve(NumProtocols); in VisitObjCInterfaceDecl()
502 for (unsigned I = 0; I != NumProtocols; ++I) in VisitObjCInterfaceDecl()
505 ProtoLocs.reserve(NumProtocols); in VisitObjCInterfaceDecl()
506 for (unsigned I = 0; I != NumProtocols; ++I) in VisitObjCInterfaceDecl()
508 ID->setProtocolList(Protocols.data(), NumProtocols, ProtoLocs.data(), in VisitObjCInterfaceDecl()
512 NumProtocols = Record[Idx++]; in VisitObjCInterfaceDecl()
514 Protocols.reserve(NumProtocols); in VisitObjCInterfaceDecl()
515 for (unsigned I = 0; I != NumProtocols; ++I) in VisitObjCInterfaceDecl()
517 ID->AllReferencedProtocols.set(Protocols.data(), NumProtocols, in VisitObjCInterfaceDecl()
/external/clang/lib/AST/
DType.cpp412 unsigned NumProtocols) in ObjCObjectType() argument
416 ObjCObjectTypeBits.NumProtocols = NumProtocols; in ObjCObjectType()
417 assert(getNumProtocols() == NumProtocols && in ObjCObjectType()
419 if (NumProtocols) in ObjCObjectType()
421 NumProtocols * sizeof(ObjCProtocolDecl*)); in ObjCObjectType()
1920 unsigned NumProtocols) { in Profile() argument
1922 for (unsigned i = 0; i != NumProtocols; i++) in Profile()
DASTContext.cpp2608 unsigned NumProtocols) { in areSortedAndUniqued() argument
2609 if (NumProtocols == 0) return true; in areSortedAndUniqued()
2611 for (unsigned i = 1; i != NumProtocols; ++i) in areSortedAndUniqued()
2618 unsigned &NumProtocols) { in SortAndUniqueProtocols() argument
2619 ObjCProtocolDecl **ProtocolsEnd = Protocols+NumProtocols; in SortAndUniqueProtocols()
2622 std::sort(Protocols, Protocols+NumProtocols, CmpProtocolNames); in SortAndUniqueProtocols()
2626 NumProtocols = ProtocolsEnd-Protocols; in SortAndUniqueProtocols()
2631 unsigned NumProtocols) const { in getObjCObjectType()
2634 if (!NumProtocols && isa<ObjCInterfaceType>(BaseType)) in getObjCObjectType()
2639 ObjCObjectTypeImpl::Profile(ID, BaseType, Protocols, NumProtocols); in getObjCObjectType()
[all …]
/external/clang/include/clang/AST/
DType.h1174 unsigned NumProtocols : 32 - NumTypeBits;
4069 ObjCProtocolDecl * const *Protocols, unsigned NumProtocols);
4075 ObjCObjectTypeBits.NumProtocols = 0;
4118 unsigned getNumProtocols() const { return ObjCObjectTypeBits.NumProtocols; }
4148 unsigned NumProtocols)
4149 : ObjCObjectType(Canonical, Base, Protocols, NumProtocols) {}
4156 unsigned NumProtocols);
DASTContext.h772 unsigned NumProtocols) const;
/external/clang/lib/Sema/
DSemaDeclObjC.cpp659 unsigned NumProtocols, in FindProtocolDeclaration() argument
661 for (unsigned i = 0; i != NumProtocols; ++i) { in FindProtocolDeclaration()
DSemaCodeComplete.cpp5241 unsigned NumProtocols) { in CodeCompleteObjCProtocolReferences() argument
5251 for (unsigned I = 0; I != NumProtocols; ++I) in CodeCompleteObjCProtocolReferences()
/external/clang/include/clang/Sema/
DSema.h4972 unsigned NumProtocols,
5834 unsigned NumProtocols);