Lines Matching refs:count
95 unsigned int count = 0; in objc_copyProtocolList() local
105 count++; in objc_copyProtocolList()
109 if (count != 0) in objc_copyProtocolList()
114 returnValue = (Protocol **)(malloc (sizeof (Protocol *) * (count + 1))); in objc_copyProtocolList()
130 *numberOfReturnedProtocols = count; in objc_copyProtocolList()
155 protocols->count = 1; in class_addProtocol()
190 for (i = 0; i < proto_list->count; i++) in class_conformsToProtocol()
210 unsigned int count = 0; in class_copyProtocolList() local
230 count = count + proto_list->count; in class_copyProtocolList()
234 if (count != 0) in class_copyProtocolList()
239 returnValue = (Protocol **)(malloc (sizeof (Protocol *) * (count + 1))); in class_copyProtocolList()
247 for (j = 0; j < proto_list->count; j++) in class_copyProtocolList()
260 *numberOfReturnedProtocols = count; in class_copyProtocolList()
295 for (i = 0; i < proto_list->count; i++) in protocol_conformsToProtocol()
381 for (i = 0; i < methods->count; i++) in protocol_getMethodDescription()
401 unsigned int count = 0; in protocol_copyMethodDescriptionList() local
435 count = methods->count; in protocol_copyMethodDescriptionList()
438 …(struct objc_method_description *)(malloc (sizeof (struct objc_method_description) * (count + 1))); in protocol_copyMethodDescriptionList()
441 for (i = 0; i < count; i++) in protocol_copyMethodDescriptionList()
451 *numberOfReturnedMethods = count; in protocol_copyMethodDescriptionList()
477 unsigned int count = 0; in protocol_copyPropertyList() local
496 *numberOfReturnedProperties = count; in protocol_copyPropertyList()
503 unsigned int count = 0; in protocol_copyProtocolList() local
525 count = count + proto_list->count; in protocol_copyProtocolList()
529 if (count != 0) in protocol_copyProtocolList()
534 returnValue = (Protocol **)(malloc (sizeof (Protocol *) * (count + 1))); in protocol_copyProtocolList()
542 for (j = 0; j < proto_list->count; j++) in protocol_copyProtocolList()
554 *numberOfReturnedProtocols = count; in protocol_copyProtocolList()