Home | History | Annotate | Download | only in AST

Lines Matching full:numprotocols

3422                                 unsigned NumProtocols) {
3423 if (NumProtocols == 0) return true;
3428 for (unsigned i = 1; i != NumProtocols; ++i)
3436 unsigned &NumProtocols) {
3437 ObjCProtocolDecl **ProtocolsEnd = Protocols+NumProtocols;
3440 std::sort(Protocols, Protocols+NumProtocols, CmpProtocolNames);
3443 for (unsigned I = 0, N = NumProtocols; I != N; ++I)
3448 NumProtocols = ProtocolsEnd-Protocols;
3453 NumProtocols) const {
3456 if (!NumProtocols && isa<ObjCInterfaceType>(BaseType))
3461 ObjCObjectTypeImpl::Profile(ID, BaseType, Protocols, NumProtocols);
3469 bool ProtocolsSorted = areSortedAndUniqued(Protocols, NumProtocols);
3473 Protocols + NumProtocols);
3474 unsigned UniqueCount = NumProtocols;
3481 Protocols, NumProtocols);
3489 Size += NumProtocols * sizeof(ObjCProtocolDecl *);
3492 new (Mem) ObjCObjectTypeImpl(Canonical, BaseType, Protocols, NumProtocols);