Home
last modified time | relevance | path

Searched refs:getCount (Results 1 – 25 of 36) sorted by relevance

12

/xnu-11215/iokit/Tests/
H A DTestCollections.cpp67 TEST_ASSERT('A', "1b", !array1->getCount()); in testArray()
138 TEST_ASSERT('A', "3e", array1->getCount() == array2->getCount()); in testArray()
148 count += ((int) array2->getCount() == i); in testArray()
365 for (i = set1->getCount(); --i >= 0;) { in testSet()
392 TEST_ASSERT('S', "3e", set1->getCount() == set2->getCount()); in testSet()
467 TEST_ASSERT('S', "4g", set1->getCount() == set2->getCount()); in testSet()
484 TEST_ASSERT('S', "5b", array->getCount() != set1->getCount()); in testSet()
487 count = count2 = set1->getCount(); in testSet()
588 for (i = dict1->getCount(); --i >= 0;) { in testDictionary()
787 count1 += (bigReturn->getCount() == 1); in testIterator()
[all …]
/xnu-11215/libkern/crypto/
H A Dcorecrypto_md5.c7 getCount(MD5_CTX *ctx) in getCount() function
32 uint64_t count = getCount(md5_ctx); in MD5ToDi()
H A Dcorecrypto_sha1.c8 getCount(SHA1_CTX *ctx) in getCount() function
32 uint64_t count = getCount(sha1_ctx); in SHA1ToDi()
/xnu-11215/libkern/c++/
H A DOSSet.cpp92 if (members->getCount() < capacity) { in initWithObjects()
184 OSSet::getCount() const in getCount() function in OSSet
324 if (count != aSet->getCount()) { in isEqualTo()
H A DOSArray.cpp182 OSArray::getCount() const in getCount() function in OSArray
294 unsigned int otherCount = otherArray->getCount(); in merge()
367 if (count != anArray->getCount()) { in isEqualTo()
H A DOSKext.cpp1535 if (sKernelRequests->getCount()) { in setIOKitDaemonActive()
4300 uint32_t count[2] = {sLoadedKexts->getCount(), sLoadedDriverKitKexts->getCount()}; in lookupKextWithLoadTag()
4341 count = sLoadedKexts->getCount(); in lookupKextWithAddress()
4465 uint32_t count[2] = {sLoadedKexts->getCount(), sLoadedDriverKitKexts->getCount()}; in lookupKextWithUUID()
4710 uint32_t count[2] = {sLoadedKexts->getCount(), sLoadedDriverKitKexts->getCount()}; in removeKextWithLoadTag()
9837 count = loopStack->getCount();
9932 return dependencies->getCount();
11380 uint32_t count[2] = {sLoadedKexts->getCount(), sLoadedDriverKitKexts->getCount()};
11729 avgDextCount = sLoadedDriverKitKexts->getCount() + sDriverKitToUpgradeByID->getCount();
14750 count = array->getCount();
[all …]
H A DOSDictionary.cpp291 OSDictionary::getCount() const in getCount() function in OSDictionary
603 keysCount = keys->getCount(); in setObject()
604 if ((count < keysCount) || (srcDict->getCount() < keysCount)) { in setObject()
641 if (count != srcDict->getCount()) { in isEqualTo()
H A DOSOrderedSet.cpp138 OSOrderedSet::getCount() const in getCount() function in OSOrderedSet
385 if (count != anOrderedSet->getCount()) { in isEqualTo()
/xnu-11215/iokit/Kernel/
H A DIOCatalogue.cpp362 SInt count = array->getCount(); in exchangeDrivers()
387 if (doNubMatching && (set->getCount() > 0)) { in exchangeDrivers()
463 count = array->getCount(); in addDrivers()
493 if (result && doNubMatching && (set->getCount() > 0)) { in addDrivers()
538 if (doNubMatching && (set->getCount() > 0)) {
1072 if (set->getCount() > 0) { in startMatching()
1191 if (set->getCount() > 0) { in startMatching()
1321 if (result && doNubMatching && (matchSet->getCount() > 0)) { in resetAndAddDrivers()
H A DIONVRAMV3Handler.cpp429 for (unsigned int i = 0; i < _varEntries->getCount(); i++) { in reloadInternal()
561 for (index = 0; index < _varEntries->getCount(); index++) { in findExistingEntry()
863 …%s, system=%d, current var count=%u\n", uuidString, variableName, system, _varEntries->getCount()); in setVariableInternal()
1061 for (unsigned int i = 0; i < _varEntries->getCount(); i++) { in reclaim()
1118 for (unsigned int i = 0; i < _varEntries->getCount(); i++) { in getAppendSize()
1150 DEBUG_INFO("_varEntries->getCount()=%#x\n", _varEntries->getCount()); in syncRaw()
1160 invalidateOffsetsCount = _varEntries->getCount(); in syncRaw()
1164 for (unsigned int i = 0; i < _varEntries->getCount(); i++) { in syncRaw()
1288 for (unsigned int i = 0; i < _varEntries->getCount(); i++) { in syncBlock()
H A DIOPolledInterface.cpp139 && !vars->pollers->getCount()) { in OSDefineMetaClassAndStructors()
147 if (!vars->pollers->getCount()) { in OSDefineMetaClassAndStructors()
172 for (idx = vars->pollers->getCount() - 1; idx >= 0; idx--) { in IOPolledFilePollersProbe()
216 for (idx = vars->pollers->getCount() - 1; idx >= 0; idx--) { in IOPolledFilePollersOpen()
690 vars->pollers->pollers->getCount()); in IOPolledFileOpen()
H A DIODeviceTreeSupport.cpp202 parent = (IORegistryEntry *)stack->getObject( stack->getCount() - 1); in IODeviceTreeAlloc()
204 stack->removeObject( stack->getCount() - 1); in IODeviceTreeAlloc()
236 } while (stack->getCount() in IODeviceTreeAlloc()
295 for (UInt32 i = 0; array && (i < array->getCount()); i++) { in IODeviceTreeAlloc()
836 regEntry->getName(), mapped->getCount()); in IODTMapInterruptsSharing()
842 map = OSData::withData( local, mapped->getCount() * sizeof(UInt32), in IODTMapInterruptsSharing()
H A DIOPMrootDomain.cpp1855 if ((dict->getCount() == 1) && in setProperties()
3219 if (!preventers->getCount()) { in makeSleepPreventersListLog()
3286 if (preventIdleSleepList->getCount()) { in updatePreventIdleSleepListInternal()
4602 existing_feature_arr_raw->getCount() + 1);
9046 return preventIdleSleepList->getCount();
10473 count = gPMHaltArray->getCount();
10479 count = gPMHaltArray->getCount();
10506 count = inner->getCount();
10518 count = inner->getCount();
10532 gPMHaltDepth = gPMHaltArray->getCount() - 1;
[all …]
H A DIORegistryEntry.cpp1300 index = stack->getCount(); in getPath()
1748 if (0 == links->getCount()) { in breakLink()
1787 links = OSArray::withArray( links, links->getCount()); in getParentIterator()
1857 links = OSArray::withArray( links, links->getCount()); in getChildIterator()
1879 count = links->getCount(); in getChildCount()
1988 if ((!onlyChild) || (1 == links->getCount())) { in isChild()
2012 if ((!onlyParent) || (1 == links->getCount())) { in isParent()
2307 count = parents->getCount(); in getDepth()
H A DIOService.cpp1260 count += set->getCount(); in catalogNewDrivers()
4471 if (0 == fUserServersWait->getCount()) { in serverAck()
4484 …if (fUserServersWait && fUserServersWait->getCount() > 0 && fMatchingWork && fMatchingWork->getCou… in serverAck()
4485 …for %u user servers, %u matching work\n", fUserServersWait->getCount(), fMatchingWork->getCount()); in serverAck()
4553 if (0 == fMatchingWork->getCount()) { in matchingEnd()
4656 while (0 < fUserServers->getCount()) { in systemHalt()
6068 ctx->count += table->getCount(); in instanceMatch()
7649 count = table->getCount(); in matchInternal()
7915 count = table->getCount(); in matchPassive()
8343 count = array->getCount(); in getDeviceMemoryCount()
[all …]
H A DIOCPU.cpp274 numCPUs = gIOCPUs->getCount(); in IOCPUSleepKernel()
571 return _cpuGroup->getCount(); in getCPUGroupSize()
H A DIOWorkloadConfig.cpp759 if (flags->getCount() && !phaseData->setObject(kFlagsKey, flags)) { in IOUnparseWorkloadConfig()
816 if (idTable->getCount() > 0 && in IOUnparseWorkloadConfig()
H A DIOReporter.cpp1036 chCnt = channelIDs->getCount(); in legendWith()
1069 if (channelLegendArray->getCount() != 0) { in legendWith()
/xnu-11215/libkern/libkern/c++/
H A DOSCollection.h284 virtual unsigned int getCount() const = 0;
H A DOSSet.h420 virtual unsigned int getCount() const APPLE_KEXT_OVERRIDE;
H A DOSArray.h347 virtual unsigned int getCount() const APPLE_KEXT_OVERRIDE;
H A DOSOrderedSet.h276 virtual unsigned int getCount() const APPLE_KEXT_OVERRIDE;
H A DOSDictionary.h484 virtual unsigned int getCount() const APPLE_KEXT_OVERRIDE;
/xnu-11215/iokit/bsddev/skywalk/
H A DIOSkywalkSupport.cpp210 return fRegions->getCount(); in getRegionCount()
531 if (fSubMaps->getCount() != regionCount) { in OSDefineMetaClassAndFinalStructors()
567 (uint64_t)size, fSubMaps->getCount(), kr); in OSDefineMetaClassAndFinalStructors()
609 assert(regionIndex < fSubMaps->getCount()); in map()
625 assert(regionIndex < fSubMaps->getCount()); in unmap()
714 assert(fMappers->getCount() == 0); in free()
/xnu-11215/iokit/Kernel/arm/
H A DAppleARMSMP.cpp130 unsigned int irqcount = irqs->getCount(); in register_aic_handlers()

12