Lines Matching refs:UInt8
55 _nvramImage = IONew(UInt8, kIODTNVRAMImageSize);
120 *(UInt8 *)(_nvramImage + currentOffset));
435 IOReturn IODTNVRAM::readXPRAM(IOByteCount offset, UInt8 *buffer,
449 IOReturn IODTNVRAM::writeXPRAM(IOByteCount offset, UInt8 *buffer,
499 IOByteCount offset, UInt8 *buffer,
526 IOByteCount offset, UInt8 *buffer,
554 UInt32 IODTNVRAM::savePanicInfo(UInt8 *buffer, IOByteCount length)
582 UInt8 IODTNVRAM::calculatePartitionChecksum(UInt8 *partitionHeader)
584 UInt8 cnt, isum, csum = 0;
597 UInt8 owVersion;
598 UInt8 owPages;
615 UInt8 *propName, *propData;
710 propName = IONew(UInt8, propDataLength + 1);
715 IODelete(propName, UInt8, propDataLength + 1);
746 UInt8 *buffer, *tmpBuffer;
747 const UInt8 *tmpData;
761 buffer = tmpBuffer = IONew(UInt8, _ofPartitionSize);
793 IODelete(buffer, UInt8, _ofPartitionSize);
797 buffer = IONew(UInt8, _ofPartitionSize);
831 tmpData = (const UInt8 *)tmpString->getCStringNoCopy();
859 IODelete(buffer, UInt8, _ofPartitionSize);
999 bool IODTNVRAM::convertPropToObject(UInt8 *propName, UInt32 propNameLength,
1000 UInt8 *propData, UInt32 propDataLength,
1057 bool IODTNVRAM::convertObjectToProp(UInt8 *buffer, UInt32 *length,
1060 const UInt8 *propName;
1068 propName = (const UInt8 *)propSymbol->getCStringNoCopy();
1144 UInt16 IODTNVRAM::generateOWChecksum(UInt8 *buffer)
1155 bool IODTNVRAM::validateOWChecksum(UInt8 *buffer)
1175 const UInt8 *bootCommandData, *bootArgsData;
1176 UInt8 *tmpData;
1192 bootCommandData = (const UInt8 *)bootCommand->getCStringNoCopy();
1212 bootArgsData = (const UInt8 *)bootArgs->getCStringNoCopy();
1217 tmpData = IONew(UInt8, tmpDataLength + 1);
1229 IODelete(tmpData, UInt8, tmpDataLength + 1);
1251 UInt8 nameLength;
1252 UInt8 name[ kMaxNVNameLength ];
1253 UInt8 dataLength;
1254 UInt8 data[ kMaxNVDataLength ];
1377 OSData *IODTNVRAM::unescapeBytesToData(const UInt8 *bytes, UInt32 length)
1382 UInt8 byte;
1425 const UInt8 * startPtr;
1426 const UInt8 * endPtr;
1427 const UInt8 * wherePtr;
1428 UInt8 byte;
1431 wherePtr = (const UInt8 *) value->getBytesNoCopy();
1477 const UInt8 *startPtr;
1478 const UInt8 *endPtr;
1479 const UInt8 *wherePtr;
1480 const UInt8 *nvPath = 0;
1483 const UInt8 *resultValue = 0;
1485 UInt8 byte;
1491 startPtr = (const UInt8 *) data->getBytesNoCopy();
1540 const UInt8 *startPtr;
1541 const UInt8 *propStart;
1542 const UInt8 *endPtr;
1543 const UInt8 *wherePtr;
1544 const UInt8 *nvPath = 0;
1548 UInt8 byte;
1560 startPtr = (const UInt8 *) oldData->getBytesNoCopy();