Home | History | Annotate | Download | only in core

Lines Matching refs:src

27     /** Write the src array into a packed format. The packing process may end
29 @param src Input array of 16bit values
30 @param count Number of entries in src[]
35 static size_t Pack16(const uint16_t src[], int count, uint8_t dst[]);
37 /** Write the src array into a packed format. The packing process may end
39 @param src Input array of 8bit values
40 @param count Number of entries in src[]
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
49 @param src Input data to unpack, previously created by Pack16.
50 @param srcSize Number of bytes of src to unpack
51 @param dst Buffer (allocated by caller) to expand the src[] into.
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
58 @param src Input data to unpack, previously created by Pack8.
59 @param srcSize Number of bytes of src to unpack
60 @param dst Buffer (allocated by caller) to expand the src[] into.
63 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
65 /** Unpack the data from src[], skip the first dstSkip bytes, then write
66 dstWrite bytes into dst[]. The src[] data was written by a previous
68 @param src Input data to unpack, previously created by Pack8.
69 @param dst Buffer (allocated by caller) to expand the src[] into.
70 @param dstSkip Number of bytes of unpacked src to skip before writing
72 @param dstWrite Number of bytes of unpacked src to write into dst (after
76 const uint8_t src[]);