Lines Matching refs:src_len
177 size_t src_len, /* source buffer length */ in appenddata() argument
182 if(!src_len) in appenddata()
185 need_alloc = src_len + *dst_len + 1; in appenddata()
188 if(src_buf[src_len - 1] == '\r') in appenddata()
189 src_len--; in appenddata()
191 if(src_buf[src_len - 1] == '\n') in appenddata()
192 src_len--; in appenddata()
207 memcpy(*dst_buf + *dst_len, src_buf, src_len); in appenddata()
208 *dst_len += src_len; in appenddata()
219 size_t src_len = 0; in decodedata() local
225 error = Curl_base64_decode(*buf, &buf64, &src_len); in decodedata()
229 if(!src_len) { in decodedata()
242 memcpy(*buf, buf64, src_len); in decodedata()
243 *len = src_len; in decodedata()
244 *(*buf + src_len) = '\0'; in decodedata()