Home
last modified time | relevance | path

Searched refs:getRetainCount (Results 1 – 11 of 11) sorted by relevance

/xnu-11215/iokit/Tests/
H A DTestCollections.cpp257 if (sym->getRetainCount() == 1) { in testArray()
456 count2 += sym->getRetainCount(); in testSet()
490 count2 -= sym->getRetainCount(); in testSet()
568 if (1 == sym->getRetainCount()) { in testDictionary()
610 if (1 == sym->getRetainCount()) { in testDictionary()
625 count2 += (cache[i]->getRetainCount() == 1); in testDictionary()
667 if (1 == sym->getRetainCount()) { in testDictionary()
684 count2 += (sym->getRetainCount() == 3); in testDictionary()
709 count2 += (sym->getRetainCount() == 2); in testDictionary()
721 count2 += (sym->getRetainCount() == 1); in testDictionary()
[all …]
H A DTests.cpp1657 assert(result->getRetainCount() == 1); in IOServiceMatchingSharedPtrTests()
1660 assert(table->getRetainCount() == 2); in IOServiceMatchingSharedPtrTests()
1671 assert(result->getRetainCount() == 1); in IOServiceMatchingSharedPtrTests()
1674 assert(table->getRetainCount() == 2); in IOServiceMatchingSharedPtrTests()
1685 assert(result->getRetainCount() == 1); in IOServiceMatchingSharedPtrTests()
1688 assert(table->getRetainCount() == 2); in IOServiceMatchingSharedPtrTests()
1702 assert(table->getRetainCount() == 2); in IOServiceMatchingSharedPtrTests()
1716 assert(table->getRetainCount() == 2); in IOServiceMatchingSharedPtrTests()
1730 assert(table->getRetainCount() == 2); in IOServiceMatchingSharedPtrTests()
1744 assert(table->getRetainCount() == 2); in IOServiceMatchingSharedPtrTests()
[all …]
H A DTestContainers.cpp429 if (cache[i]->getRetainCount() == 1) { in testSymbol()
H A DTestIOMemoryDescriptor.cpp776 assert(firstString->getRetainCount() == 1); in IOMDContextTest()
777 assert(secondString->getRetainCount() == 1); in IOMDContextTest()
/xnu-11215/libkern/libkern/c++/
H A DOSObject.h342 virtual int getRetainCount() const APPLE_KEXT_OVERRIDE;
H A DOSMetaClass.h619 virtual int getRetainCount() const = 0;
1252 virtual int getRetainCount() const;
/xnu-11215/libkern/c++/
H A DOSObject.cpp102 OSObject::getRetainCount() const in getRetainCount() function in OSObject
H A DOSMetaClass.cpp747 OSMetaClass::getRetainCount() const in getRetainCount() function in OSMetaClass
H A DOSKext.cpp4163 if (mkextData && mkextData->getRetainCount() > 1) { in loadFromMkext()
8506 if (aKext->getRetainCount() > kOSKextMinLoadedRetainCount) {
8547 if (getRetainCount() > kOSKextMinLoadedRetainCount) {
8557 if (getRetainCount() > kOSKextMinLoadedRetainCount) {
8647 if (getRetainCount() > kOSKextMinLoadedRetainCount) {
8653 getIdentifierCString(), getRetainCount());
9113 if ((aKext->getRetainCount() > kOSKextMinLoadedRetainCount) ||
10674 if (requestDict->getRetainCount() > 1) {
12659 int kextRetainCount = getRetainCount() - 1;
/xnu-11215/iokit/Kernel/
H A DIOService.cpp4199 getName(), inst->getRetainCount()); in probeCandidates()
4229 inst->getRetainCount()); in probeCandidates()
H A DIOUserClient.cpp2556 *retainCount = object->getRetainCount(); in is_io_object_get_retain_count()