Lines Matching defs:src_size
54 * src; must be at least of size (src_size * 2)
56 * @src_size: number of bytes to convert
58 void ecryptfs_to_hex(char *dst, char *src, size_t src_size)
62 for (x = 0; x < src_size; x++)
69 * size (src_size / 2)
1961 * @src_size: Size of the source in bytes
1964 unsigned char *src, size_t src_size)
1971 if (src_size == 0) {
1975 num_blocks = (src_size / 3);
1976 if ((src_size % 3) == 0) {
1977 memcpy(last_block, (&src[src_size - 3]), 3);
1981 switch (src_size % 3) {
1983 last_block[0] = src[src_size - 1];
1987 last_block[0] = src[src_size - 2];
1988 last_block[1] = src[src_size - 1];
2025 * @src_size: The size of the encoded set of octets to decode.
2029 const unsigned char *src, size_t src_size)
2042 (*dst_size) = (((src_size + 1) * 3) / 4);
2045 while (src_byte_offset < src_size) {