Lines Matching refs:dst
39 static void __IOHIDValueConvertByteToWord(const UInt8 * src, uint32_t * dst, uint32_t bytesToCopy, Boolean signExtend);
40 static void __IOHIDValueConvertWordToByte(const uint32_t * src, UInt8 * dst, uint32_t bytesToCopy);
41 static void __IOHIDValueConvertByteToLongWord(const UInt8 * src, uint64_t * dst, uint64_t bytesToCopy, Boolean signExtend);
42 static void __IOHIDValueConvertLongWordToByte(const uint64_t * src, UInt8 * dst, uint64_t bytesToCopy);
346 void __IOHIDValueConvertByteToWord(const UInt8 * src, uint32_t * dst, uint32_t length, Boolean signExtend)
348 bcopy(src, dst, length);
358 if (wordBitsProcessed && (dst[lastOffset] & (1<<(wordBitsProcessed-1))))
359 dst[lastOffset] |= ~(BIT_MASK(wordBitsProcessed));
363 void __IOHIDValueConvertWordToByte(const uint32_t * src, UInt8 * dst, uint32_t bytesToCopy)
365 bcopy(src, dst, bytesToCopy);
368 void __IOHIDValueConvertByteToLongWord(const UInt8 * src, uint64_t * dst, uint64_t length, Boolean signExtend)
370 bcopy(src, dst, length);
380 if (longWordBitsProcessed && (dst[lastOffset] & (1<<(longWordBitsProcessed-1))))
381 dst[lastOffset] |= ~(BIT_MASK(longWordBitsProcessed));
385 void __IOHIDValueConvertLongWordToByte(const uint64_t * src, UInt8 * dst, uint64_t bytesToCopy)
387 bcopy(src, dst, bytesToCopy);