Lines Matching refs:bytes
116 OSData::initWithBytes(const void *bytes, unsigned int inLength) in initWithBytes() argument
118 if ((inLength && !bytes) || !initWithCapacity(inLength)) { in initWithBytes()
122 if (bytes != data) { in initWithBytes()
123 bcopy(bytes, data, inLength); in initWithBytes()
131 OSData::initWithBytesNoCopy(void *bytes, unsigned int inLength) in initWithBytesNoCopy() argument
139 data = bytes; in initWithBytesNoCopy()
176 OSData::withBytes(const void *bytes, unsigned int inLength) in withBytes() argument
180 if (me && !me->initWithBytes(bytes, inLength)) { in withBytes()
187 OSData::withBytesNoCopy(void *bytes, unsigned int inLength) in withBytesNoCopy() argument
191 if (me && !me->initWithBytesNoCopy(bytes, inLength)) { in withBytesNoCopy()
334 OSData::appendBytes(const void *bytes, unsigned int inLength) in appendBytes() argument
354 if (bytes) { in appendBytes()
355 bcopy(bytes, &((unsigned char *)data)[length], inLength); in appendBytes()