Searched refs:getCount (Results 1 - 25 of 29) sorted by relevance

12

/darwin-on-arm/xnu/iokit/Tests/
H A DTestCollections.cpp63 TEST_ASSERT('A', "1b", !array1->getCount());
79 TEST_ASSERT('A', "1k", 1 == array1->getCount());
81 TEST_ASSERT('A', "1l", !array1->getCount());
98 TEST_ASSERT('A', "2b", numStrCache == (int) array1->getCount());
128 TEST_ASSERT('A', "3c", !array2->getCount());
130 TEST_ASSERT('A', "3e", array1->getCount() == array2->getCount());
134 TEST_ASSERT('A', "3f", numStrCache == (int) array2->getCount());
135 for (i = array2->getCount(); (str = array2->__takeObject(--i)); ) {
140 count += ((int) array2->getCount()
[all...]
H A DTests.cpp60 IOLog("\nCount %d\n", all->getCount() );
90 IOLog("del gc/, count now %d\n", all->getCount() );
/darwin-on-arm/xnu/libkern/crypto/
H A Dcorecrypto_md5.c10 static uint64_t getCount(MD5_CTX *ctx) function
32 uint64_t count = getCount(md5_ctx);
H A Dcorecrypto_sha1.c12 static uint64_t getCount(SHA1_CTX *ctx) function
33 uint64_t count = getCount(sha1_ctx);
/darwin-on-arm/xnu/libkern/libkern/c++/
H A DOSCollection.h259 * @function getCount
270 virtual unsigned int getCount() const = 0;
H A DOSArray.h318 * @function getCount
326 virtual unsigned int getCount() const;
H A DOSOrderedSet.h257 * @function getCount
265 virtual unsigned int getCount() const;
H A DOSSet.h396 * @function getCount
404 virtual unsigned int getCount() const;
H A DOSDictionary.h444 * @function getCount
454 virtual unsigned int getCount() const;
/darwin-on-arm/xnu/libkern/c++/
H A DOSSet.cpp80 if (members->getCount() < inCapacity)
166 unsigned int OSSet::getCount() const function in class:OSSet
278 if ( count != aSet->getCount() )
H A DOSArray.cpp177 unsigned int OSArray::getCount() const { return count; } function in class:OSArray
258 unsigned int otherCount = otherArray->getCount();
320 if ( count != anArray->getCount() )
H A DOSDictionary.cpp261 unsigned int OSDictionary::getCount() const { return count; } function in class:OSDictionary
502 keysCount = keys->getCount();
503 if ( (count < keysCount) || (srcDict->getCount() < keysCount) )
537 if ( count != srcDict->getCount() )
H A DOSOrderedSet.cpp115 unsigned int OSOrderedSet::getCount() const { return count; } function in class:OSOrderedSet
303 if ( count != anOrderedSet->getCount() )
H A DOSKext.cpp1010 count = sLoadedKexts->getCount();
1050 if (sKernelRequests->getCount()) {
2791 count = mkextInfoDictArray->getCount();
3257 if (!requestArgs || !requestArgs->getCount()) {
3467 count = sLoadedKexts->getCount();
3493 count = sLoadedKexts->getCount();
3663 count = sLoadedKexts->getCount();
4927 num_kxlddeps = linkDependencies->getCount();
5259 uint32_t count = sLoadedKexts->getCount();
6343 count = sRequestCallbackRecords->getCount();
[all...]
H A DOSMetaClass.cpp812 if (0 == reserved->instances->getCount()) {
1157 classDict = OSDictionary::withCapacity(sAllClassesDict->getCount());
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOKitDebug.cpp80 DEBG("Count %d\n", all->getCount() );
H A DIOCatalogue.cpp343 count = array->getCount();
373 if (result && doNubMatching && (set->getCount() > 0)) {
433 if ( doNubMatching && (set->getCount() > 0) ) {
742 if ( set->getCount() > 0 ) {
850 if (result && doNubMatching && (matchSet->getCount() > 0)) {
H A DIOPMrootDomain.cpp1136 if (0 != publish->getCount()) {
2437 oldCount = preventIdleSleepList->getCount();
2442 service->getName(), preventIdleSleepList->getCount());
2448 service->getName(), preventIdleSleepList->getCount());
2450 newCount = preventIdleSleepList->getCount();
2485 oldCount = preventSystemSleepList->getCount();
2490 service->getName(), preventSystemSleepList->getCount());
2496 service->getName(), preventSystemSleepList->getCount());
2498 if ((oldCount != 0) && (preventSystemSleepList->getCount() == 0))
3145 existing_feature_arr->getCount()
[all...]
H A DIODeviceTreeSupport.cpp156 parent = (IORegistryEntry *)stack->getObject( stack->getCount() - 1);
158 stack->removeObject( stack->getCount() - 1);
175 } while( stack->getCount()
228 for( UInt32 i = 0; array && (i < array->getCount()); i++)
688 regEntry->getName(), mapped->getCount());
692 map = OSData::withData( local, mapped->getCount() * sizeof(UInt32),
H A DIORegistryEntry.cpp940 index = stack->getCount();
1358 if( 0 == links->getCount())
1389 links = OSArray::withArray( links, links->getCount() );
1450 links = OSArray::withArray( links, links->getCount() );
1548 if( (!onlyChild) || (1 == links->getCount()))
1570 if( (!onlyParent) || (1 == links->getCount()))
1817 count = parents->getCount();
H A DIOCPU.cpp356 numCPUs = gIOCPUs->getCount();
581 return _cpuGroup->getCount();
H A DIOService.cpp687 count += set->getCount();
2249 TLOG("iokit terminate done, %d stops remain\n", gIOStopList->getCount());
2252 (uintptr_t) gIOStopList->getCount(), 0, 0, 0);
2675 props = OSDictionary::withDictionary( match, match->getCount());
3144 if (keepGuessing && matches->getCount() && (kIOReturnSuccess == getResources()))
3537 ctx->count += table->getCount();
4619 count = table->getCount();
4781 count = table->getCount();
5104 count = array->getCount();
5364 numSources = array->getCount();
[all...]
H A DIOPlatformExpert.cpp477 numPowerTreeNodes = inSubTree->getCount ();
579 numChildren = children->getCount ();
H A DIOHibernateIO.cpp391 for (idx = vars->pollers->getCount() - 1; idx >= 0; idx--)
412 for (idx = vars->pollers->getCount() - 1; idx >= 0; idx--)
765 major(hibernate_image_dev), minor(hibernate_image_dev), (long)vars->blockSize, vars->pollers->getCount());
766 if (vars->pollers->getCount() < kIOHibernateMinPollersNeeded)
/darwin-on-arm/xnu/libsa/
H A Dbootstrap.cpp413 for (i = 0; i < infoDictArray->getCount(); ++i) {
466 (unsigned long long)infoDictArray->getCount(),
478 infoDictArray->getCount());
937 count = builtinExtensions->getCount();

Completed in 119 milliseconds

12