Lines Matching refs:data
135 // Parse the serial-number data and publish a user-readable string
844 OSData *data;
860 /* convert to data */
861 data = OSDynamicCast(OSData, obj);
862 if (!data)
865 *len = data->getLength();
868 memcpy((void *) value, data->getBytesNoCopy(), vlen);
881 OSData *data;
894 data = OSData::withBytes((void *) value, len);
895 if (!data)
898 ret = gIOOptionsEntry->setProperty(sym, data);
899 data->release();
932 OSData * data;
975 data = OSDynamicCast( OSData, entry->getProperty( "system-id" ) );
976 if ( data && data->getLength( ) == 16 )
984 SHA1Update( &context, data->getBytesNoCopy( ), data->getLength( ) );
1003 data = OSDynamicCast( OSData, entry->getProperty( "platform-uuid" ) );
1004 if ( data && data->getLength( ) == sizeof( uuid_t ) )
1006 uuid_unparse( ( uint8_t * ) data->getBytesNoCopy( ), uuid );