Lines Matching refs:dst

18         returns the worst-case size needed for the dst[] buffer.
23 returns the worst-case size needed for the dst[] buffer.
28 up writing more bytes than it read, so dst[] must be large enough.
31 @param dst Buffer (allocated by caller) to write the packed data
33 @return the number of bytes written to dst[]
35 static size_t Pack16(const uint16_t src[], int count, uint8_t dst[]);
38 up writing more bytes than it read, so dst[] must be large enough.
41 @param dst Buffer (allocated by caller) to write the packed data
43 @return the number of bytes written to dst[]
45 static size_t Pack8(const uint8_t src[], int count, uint8_t dst[]);
47 /** Unpack the data in src[], and expand it into dst[]. The src[] data was
51 @param dst Buffer (allocated by caller) to expand the src[] into.
52 @return the number of dst elements (not bytes) written into dst.
54 static int Unpack16(const uint8_t src[], size_t srcSize, uint16_t dst[]);
56 /** Unpack the data in src[], and expand it into dst[]. The src[] data was
60 @param dst Buffer (allocated by caller) to expand the src[] into.
61 @return the number of bytes written into dst.
63 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
66 dstWrite bytes into dst[]. The src[] data was written by a previous
67 call to Pack8. Return the number of bytes actually writtten into dst[]
69 @param dst Buffer (allocated by caller) to expand the src[] into.
71 into dst
72 @param dstWrite Number of bytes of unpacked src to write into dst (after
75 static void Unpack8(uint8_t dst[], size_t dstSkip, size_t dstWrite,