Home
last modified time | relevance | path

Searched refs:out_buf (Results 1 – 9 of 9) sorted by relevance

/f-stack/dpdk/lib/librte_telemetry/
H A Dtelemetry.c168 char out_buf[MAX_OUTPUT_LEN]; in output_json() local
178 used = snprintf(out_buf, sizeof(out_buf), "{\"%.*s\":null}", in output_json()
182 used = snprintf(out_buf, sizeof(out_buf), "{\"%.*s\":\"%.*s\"}", in output_json()
187 prefix_used = snprintf(out_buf, sizeof(out_buf), "{\"%.*s\":", in output_json()
228 used += strlcat(out_buf + used, "}", sizeof(out_buf) - used); in output_json()
234 prefix_used = snprintf(out_buf, sizeof(out_buf), "{\"%.*s\":", in output_json()
267 used += strlcat(out_buf + used, "}", sizeof(out_buf) - used); in output_json()
270 if (write(s, out_buf, used) < 0) in output_json()
281 char out_buf[MAX_CMD_LEN + 10]; in perform_command() local
282 int used = snprintf(out_buf, sizeof(out_buf), "{\"%.*s\":null}", in perform_command()
[all …]
H A Dtelemetry_legacy.c127 char out_buf[100000]; in send_error_response() local
144 int used = snprintf(out_buf, sizeof(out_buf), "{\"status_code\": " in send_error_response()
146 if (write(s, out_buf, used) < 0) { in send_error_response()
156 char out_buf[100000]; in perform_command() local
159 ret = fn("", param, out_buf, sizeof(out_buf)); in perform_command()
167 if (write(s, out_buf, used) < 0) in perform_command()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dhkdf.c27 uint_t km_len, uint8_t *out_buf) in hkdf_sha512_extract() argument
36 crypto_mac(&key, key_material, km_len, out_buf, SHA512_DIGEST_LENGTH); in hkdf_sha512_extract()
43 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() argument
68 bcopy(T, out_buf + pos, in hkdf_sha512_expand()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_gunzip_filter_module.c30 ngx_buf_t *out_buf; member
386 ctx->out_buf = ctx->free->buf; in ngx_http_gunzip_filter_get_buf()
389 ctx->out_buf->flush = 0; in ngx_http_gunzip_filter_get_buf()
394 if (ctx->out_buf == NULL) { in ngx_http_gunzip_filter_get_buf()
399 ctx->out_buf->recycled = 1; in ngx_http_gunzip_filter_get_buf()
407 ctx->zstream.next_out = ctx->out_buf->pos; in ngx_http_gunzip_filter_get_buf()
454 ctx->out_buf->last = ctx->zstream.next_out; in ngx_http_gunzip_filter_inflate()
465 cl->buf = ctx->out_buf; in ngx_http_gunzip_filter_inflate()
486 b = ctx->out_buf; in ngx_http_gunzip_filter_inflate()
541 b = ctx->out_buf; in ngx_http_gunzip_filter_inflate()
[all …]
H A Dngx_http_gzip_filter_module.c44 ngx_buf_t *out_buf; member
776 ctx->out_buf = cl->buf; in ngx_http_gzip_filter_get_buf()
784 if (ctx->out_buf == NULL) { in ngx_http_gzip_filter_get_buf()
789 ctx->out_buf->recycled = 1; in ngx_http_gzip_filter_get_buf()
797 ctx->zstream.next_out = ctx->out_buf->pos; in ngx_http_gzip_filter_get_buf()
855 cl->buf = ctx->out_buf; in ngx_http_gzip_filter_deflate()
876 b = ctx->out_buf; in ngx_http_gzip_filter_deflate()
919 cl->buf = ctx->out_buf; in ngx_http_gzip_filter_deflate()
958 cl->buf = ctx->out_buf; in ngx_http_gzip_filter_deflate_end()
965 ctx->out_buf->last += 8; in ngx_http_gzip_filter_deflate_end()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dhkdf.c26 uint_t km_len, uint8_t *out_buf) in hkdf_sha512_extract() argument
53 output_cd.cd_raw.iov_base = (char *)out_buf; in hkdf_sha512_extract()
65 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() argument
137 bcopy(T, out_buf + pos, in hkdf_sha512_expand()
/f-stack/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_nsp.c282 const void *in_buf, unsigned int in_size, void *out_buf, in nfp_nsp_command_buf() argument
330 if (out_buf && out_size && out_size > in_size) { in nfp_nsp_command_buf()
331 memset(out_buf, 0, out_size - in_size); in nfp_nsp_command_buf()
332 err = nfp_cpp_write(cpp, cpp_id, cpp_buf + in_size, out_buf, in nfp_nsp_command_buf()
342 if (out_buf && out_size) { in nfp_nsp_command_buf()
343 err = nfp_cpp_read(cpp, cpp_id, cpp_buf, out_buf, out_size); in nfp_nsp_command_buf()
/f-stack/dpdk/drivers/bus/pci/windows/
H A Dpci_netuio.c15 void *in_buf, DWORD in_buf_size, void *out_buf, DWORD out_buf_size) in send_ioctl() argument
21 out_buf, out_buf_size, &bytes_ret, NULL); in send_ioctl()
/f-stack/freebsd/arm/freescale/vybrid/
H A Dvf_spi.c207 spi_txrx(struct spi_softc *sc, uint8_t *out_buf, in spi_txrx() argument
218 wreg = out_buf[i]; in spi_txrx()