Searched refs:s_buf (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/lib9p/sbuf/ |
H A D | sbuf.c | 47 s->s_buf = calloc(1, SBUF_INITIAL_SIZE + 1); in sbuf_new_auto() 48 s->s_capacity = s->s_buf != NULL ? SBUF_INITIAL_SIZE : 0; in sbuf_new_auto() 61 s->s_buf = realloc(s->s_buf, (size_t)s->s_capacity); in sbuf_cat() 63 if (s->s_buf == NULL) in sbuf_cat() 66 strcpy(s->s_buf + s->s_size, str); in sbuf_cat() 97 s->s_buf = realloc(s->s_buf, (size_t)s->s_capacity); in sbuf_vprintf() 99 if (s->s_buf == NULL) in sbuf_vprintf() 102 req = vsnprintf(s->s_buf + s->s_size, req + 1, fmt, args); in sbuf_vprintf() 111 return (s->s_buf); in sbuf_data() 117 if (s->s_buf != NULL) in sbuf_finish() [all …]
|
H A D | sbuf.h | 39 char *s_buf; member
|
/freebsd/sys/kern/ |
H A D | subr_sbuf.c | 109 KASSERT(s->s_buf != NULL, in _assert_sbuf_integrity() 177 memcpy(newbuf, s->s_buf, s->s_size); in sbuf_extend() 179 SBFREE(s->s_buf); in sbuf_extend() 182 s->s_buf = newbuf; in sbuf_extend() 225 s->s_buf = buf; in sbuf_new() 235 if (s->s_buf == NULL) { in sbuf_new() 238 s->s_buf = SBMALLOC(s->s_size, SBUF_MALLOCFLAG(s)); in sbuf_new() 239 if (s->s_buf == NULL) in sbuf_new() 245 if (s != NULL && s->s_buf == NULL) { in sbuf_new() 275 *error = uiomove(s->s_buf, uio->uio_resid, uio); in sbuf_uionew() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zio_compress.h | 187 void *s_buf = abd_borrow_buf_copy(src, s_len); \ 189 size_t c_len = name##_buf(s_buf, d_buf, s_len, d_len, n); \ 190 abd_return_buf(src, s_buf, s_len); \ 198 void *s_buf = abd_borrow_buf_copy(src, s_len); \ 200 int err = name##_buf(s_buf, d_buf, s_len, d_len, n); \ 201 abd_return_buf(src, s_buf, s_len); \ 209 void *s_buf = abd_borrow_buf_copy(src, s_len); \ 211 int err = name##_buf(s_buf, d_buf, s_len, d_len, n); \ 212 abd_return_buf(src, s_buf, s_len); \
|
/freebsd/sys/sys/ |
H A D | sbuf.h | 43 char *s_buf; /* storage buffer */ member
|
/freebsd/sys/gdb/ |
H A D | netgdb.c | 168 c = netgdb_rxsb.s_buf[netgdb_rx_off]; in netgdb_dbg_getc()
|
/freebsd/contrib/file/src/ |
H A D | readcdf.c | 202 s = info[i].pi_str.s_buf; in cdf_file_property_info() 203 e = info[i].pi_str.s_buf + len; in cdf_file_property_info()
|
H A D | cdf.h | 179 const char *s_buf; member
|
H A D | cdf.c | 1108 inp[i].pi_str.s_buf = CAST(const char *, in cdf_read_property_info() 1115 left, (int)l, inp[i].pi_str.s_buf)); in cdf_read_property_info() 1519 info[i].pi_str.s_len, info[i].pi_str.s_buf); in cdf_dump_property_info() 1525 (void)fputc(info[i].pi_str.s_buf[j << 1], stderr); in cdf_dump_property_info()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 3970 u8 *r_buf, *s_buf; in crypto_ec_key_sign_r_s() local 3994 s_buf = wpabuf_put(buf, prime_len); in crypto_ec_key_sign_r_s() 3997 crypto_bignum_to_bin((const struct crypto_bignum *) s, s_buf, in crypto_ec_key_sign_r_s()
|