Home | History | Annotate | Download | only in core

Lines Matching refs:src

34     /** Write the src array into a packed format. The packing process may end
36 @param src Input array of 16bit values
37 @param count Number of entries in src[]
42 static size_t Pack16(const uint16_t src[], int count, uint8_t dst[]);
44 /** Write the src array into a packed format. The packing process may end
46 @param src Input array of 8bit values
47 @param count Number of entries in src[]
52 static size_t Pack8(const uint8_t src[], int count, uint8_t dst[]);
54 /** Unpack the data in src[], and expand it into dst[]. The src[] data was
56 @param src Input data to unpack, previously created by Pack16.
57 @param srcSize Number of bytes of src to unpack
58 @param dst Buffer (allocated by caller) to expand the src[] into.
61 static int Unpack16(const uint8_t src[], size_t srcSize, uint16_t dst[]);
63 /** Unpack the data in src[], and expand it into dst[]. The src[] data was
65 @param src Input data to unpack, previously created by Pack8.
66 @param srcSize Number of bytes of src to unpack
67 @param dst Buffer (allocated by caller) to expand the src[] into.
70 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
72 /** Unpack the data from src[], skip the first dstSkip bytes, then write
73 dstWrite bytes into dst[]. The src[] data was written by a previous
75 @param src Input data to unpack, previously created by Pack8.
76 @param dst Buffer (allocated by caller) to expand the src[] into.
77 @param dstSkip Number of bytes of unpacked src to skip before writing
79 @param dstWrite Number of bytes of unpacked src to write into dst (after
83 const uint8_t src[]);