Lines Matching refs:pSources
166 CFArrayRef pSources = IOPSCopyPowerSourcesList(pBlob);
172 if (CFArrayGetCount(pSources) > 0)
174 for (int i = 0; i < CFArrayGetCount(pSources); ++i)
176 pSource = IOPSGetPowerSourceDescription(pBlob, CFArrayGetValueAtIndex(pSources, i));
201 CFRelease(pSources);
281 CFArrayRef pSources = IOPSCopyPowerSourcesList(pBlob);
287 if (CFArrayGetCount(pSources) > 0)
289 for (int i = 0; i < CFArrayGetCount(pSources); ++i)
291 pSource = IOPSGetPowerSourceDescription(pBlob, CFArrayGetValueAtIndex(pSources, i));
381 CFRelease(pSources);