Lines Matching refs:len
39 sshbuf_dump_data(const void *s, size_t len, FILE *f)
44 for (i = 0; i < len; i += 16) {
47 if (j < len)
54 if (j < len) {
68 fprintf(f, "buffer %p len = %zu\n", buf, sshbuf_len(buf));
75 size_t i, j, len = sshbuf_len(buf);
80 if (len == 0)
82 if (SIZE_MAX / 2 <= len || (ret = malloc(len * 2 + 1)) == NULL)
84 for (i = j = 0; i < len; i++) {
95 size_t len = sshbuf_len(buf), plen;
100 if (len == 0)
102 plen = ((len + 2) / 3) * 4 + 1;
103 if (SIZE_MAX / 2 <= len || (ret = malloc(plen)) == NULL)
105 if ((r = b64_ntop(p, len, ret, plen)) == -1) {