Searched refs:size2cpy (Results 1 - 5 of 5) sorted by relevance

/macosx-10.10.1/xnu-2782.1.97/iokit/IOKit/
H A DIOReportMacros.h141 * size_t size2cpy - On return, 'size2cpy' is set to the size of the report
145 #define SIMPLEREPORT_UPDATEPREP(simp_buf, ptr2cpy, size2cpy) \
148 (size2cpy) = sizeof(IOReportElement); \
310 * size_t size2cpy - filled in with the size of the buffer to copy out
312 #define STATEREPORT_UPDATEPREP(state_buf, currentTime, ptr2cpy, size2cpy) \
317 (size2cpy) = __info->elem[0].channel_type.nelements * sizeof(IOReportElement); \
497 * size_t size2cpy - filled in with the size of the buffer to copy out
500 #define SIMPLEARRAY_UPDATEPREP(array_buf, ptr2cpy, size2cpy) \
505 (size2cpy)
[all...]
/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/
H A DIOReporter.cpp807 size_t size2cpy; local
832 size2cpy = (size_t)chElems * sizeof(IOReportElement);
835 if (size2cpy > (destination->getCapacity() - destination->getLength())) {
836 IORLOG("CRITICAL ERROR: Report Buffer Overflow (buffer cap %luB, length %luB, size2cpy %luB",
839 (unsigned long)size2cpy);
843 destination->appendBytes(&_elements[start_element_idx], size2cpy);
H A DIOServicePM.cpp6609 uint32_t size2cpy; local
6632 STATEREPORT_UPDATEPREP(fReportBuf, ts, data2cpy, size2cpy);
6633 if (size2cpy > (dest->getCapacity() - dest->getLength()) ) {
6639 dest->appendBytes(data2cpy, size2cpy);
6690 uint32_t size2cpy; local
6722 SIMPLEREPORT_UPDATEPREP(buf, data2cpy, size2cpy);
6723 if (size2cpy > (dest->getCapacity() - dest->getLength())) {
6729 dest->appendBytes(data2cpy, size2cpy);
H A DIOPMrootDomain.cpp7054 uint32_t size2cpy; local
7079 SIMPLEREPORT_UPDATEPREP(buf, data2cpy, size2cpy);
7081 dest->appendBytes(data2cpy, size2cpy);
/macosx-10.10.1/PowerManagement-494.1.2/pmconfigd/
H A DPMAssertionLog.c670 uint32_t size2cpy = 0; local
729 SIMPLEARRAY_UPDATEPREP(pinfo->reportBuf, ptr2cpy, size2cpy);
730 CFDataAppendBytes(aggStats->reportBufs, ptr2cpy, size2cpy);

Completed in 132 milliseconds