Lines Matching refs:data
669 // Break if the data goes past the end of the partition.
1092 // Get the size of the data.
1273 UInt8 data[ kMaxNVDataLength ];
1337 *value = OSData::withBytes(prop->data, length);
1379 bcopy(value->getBytesNoCopy(), prop->data, dataLength);
1397 OSData *data = 0;
1403 // Calculate the actual length of the data.
1422 data = OSData::withCapacity(totalLength);
1423 if (data != 0) {
1432 data->appendByte(byte, cnt2);
1437 return data;
1494 OSData *data;
1506 data = OSDynamicCast(OSData, _ofDict->getObject(_registryPropertiesKey));
1507 if (data == 0) return err;
1509 startPtr = (const UInt8 *) data->getBytesNoCopy();
1510 endPtr = startPtr + data->getLength();
1557 OSData *data = 0;
1599 data = OSData::withBytes(propStart, nvPath - propStart);
1600 if (data)
1601 ok &= data->appendBytes(wherePtr, endPtr - wherePtr);
1615 if (!data) {
1617 data = OSData::withData(oldData);
1619 data = OSData::withCapacity(16);
1620 if (!data)
1628 data->release();
1648 ok &= data->appendBytes("/@", 2);
1652 ok &= data->appendByte('/', 1);
1656 ok &= data->appendBytes(comp, strlen(comp));
1658 ok &= data->appendByte(0, 1);
1662 ok &= data->appendBytes(propName->getCStringNoCopy(), propName->getLength() + 1);
1664 // append escaped data
1668 ok &= data->appendBytes(oldData);
1671 ok = _ofDict->setObject(_registryPropertiesKey, data);
1675 data->release();