Lines Matching refs:readonly
49 int readonly; /* Refers to external, const data */ member
59 (!buf->readonly && buf->d != buf->cd) || in sshbuf_check_sanity()
80 if (buf->off == 0 || buf->readonly || buf->refcount > 1) in sshbuf_maybe_pack()
100 ret->readonly = 0; in sshbuf_new()
119 ret->readonly = 1; in sshbuf_from()
188 if (!buf->readonly) { in sshbuf_free()
200 if (buf->readonly || buf->refcount > 1) { in sshbuf_reset()
254 if (buf->readonly || buf->refcount > 1) in sshbuf_set_max_size()
291 if (sshbuf_check_sanity(buf) != 0 || buf->readonly || buf->refcount > 1) in sshbuf_avail()
307 if (sshbuf_check_sanity(buf) != 0 || buf->readonly || buf->refcount > 1) in sshbuf_mutable_ptr()
319 if (buf->readonly || buf->refcount > 1) in sshbuf_check_reserve()