Home
last modified time | relevance | path

Searched refs:obuf (Results 1 – 13 of 13) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dredis-benchmark.c86 sds obuf; member
130 sdsfree(c->obuf); in freeClient()
278 if (sdslen(c->obuf) > c->written) { in writeHandler()
339 c->obuf = sdsempty(); in createClient()
347 c->obuf = sdscatlen(c->obuf, buf, len); in createClient()
357 c->obuf = sdscatprintf(c->obuf,"*2\r\n$6\r\nSELECT\r\n$%d\r\n%s\r\n", in createClient()
361 c->prefixlen = sdslen(c->obuf); in createClient()
364 c->obuf = sdscatlen(c->obuf, in createClient()
369 c->obuf = sdscatlen(c->obuf,cmd,len); in createClient()
385 c->randptr[j] = c->obuf + (from->randptr[j]-from->obuf); in createClient()
[all …]
H A Dredis-cli.c6047 char ibuf[1024*16], obuf[1024*16]; /* Input and output buffers */ in pipeMode() local
6125 ssize_t nwritten = write(fd,obuf+obuf_pos,obuf_len); in pipeMode()
6143 ssize_t nread = read(STDIN_FILENO,obuf,sizeof(obuf)); in pipeMode()
6161 memcpy(obuf,echo,sizeof(echo)-1); in pipeMode()
/f-stack/tools/compat/
H A Dlinkaddr.c126 static char obuf[64]; in link_ntoa() local
127 char *out = obuf; in link_ntoa()
134 bcopy(sdl->sdl_data, obuf, sdl->sdl_nlen); in link_ntoa()
154 return (obuf); in link_ntoa()
/f-stack/dpdk/app/test/
H A Dtest_ipsec.c465 if (ut_params->obuf[i]) { in ut_teardown()
469 ut_params->obuf[i] = NULL; in ut_teardown()
1159 if (ut_params->obuf[j]) { in test_ipsec_dump_buffers()
1226 ut_params->obuf[j]->pkt_len, in crypto_inb_burst_null_null_check()
1325 ut_params->obuf[j]->pkt_len, in crypto_outb_burst_null_null_check()
1434 ut_params->obuf[j]->data_len, in inline_inb_burst_null_null_check()
1437 ut_params->obuf[j]->pkt_len, in inline_inb_burst_null_null_check()
1619 ut_params->obuf[j]->data_len, in inline_outb_burst_null_null_check()
1622 ut_params->obuf[j]->pkt_len, in inline_outb_burst_null_null_check()
1895 ut_params->obuf[j]->pkt_len, in replay_inb_null_null_check()
[all …]
H A Dtest_cryptodev_blockcipher.c76 struct rte_mbuf *obuf = NULL; in test_blockcipher_one_case() local
218 if (!obuf) { in test_blockcipher_one_case()
225 memset(obuf->buf_addr, dst_pattern, obuf->buf_len); in test_blockcipher_one_case()
255 ibuf = obuf; in test_blockcipher_one_case()
256 obuf = tmp_buf; in test_blockcipher_one_case()
259 rte_pktmbuf_reset(obuf); in test_blockcipher_one_case()
280 memset(obuf->buf_addr, dst_pattern, obuf->buf_len); in test_blockcipher_one_case()
296 sym_op->m_dst = obuf; in test_blockcipher_one_case()
297 iobuf = obuf; in test_blockcipher_one_case()
732 if (obuf) in test_blockcipher_one_case()
[all …]
H A Dtest_cryptodev.c966 ut_params->obuf = 0; in ut_teardown()
3225 if (ut_params->obuf) in test_kasumi_encryption()
3325 if (ut_params->obuf) in test_kasumi_encryption_sgl()
3413 if (ut_params->obuf) in test_kasumi_encryption_oop()
3506 if (ut_params->obuf) in test_kasumi_encryption_oop_sgl()
3591 if (ut_params->obuf) in test_kasumi_decryption_oop()
3683 if (ut_params->obuf) in test_kasumi_decryption()
3775 if (ut_params->obuf) in test_snow3g_encryption()
3862 if (ut_params->obuf) in test_snow3g_encryption_oop()
7565 ut_params->obuf ? ut_params->obuf : in create_aead_operation()
[all …]
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dhiredis.c601 c->obuf = sdsempty(); in redisContextInit()
621 if (c->obuf != NULL) in redisFree()
622 sdsfree(c->obuf); in redisFree()
651 sdsfree(c->obuf); in redisReconnect()
654 c->obuf = sdsempty(); in redisReconnect()
838 if (sdslen(c->obuf) > 0) { in redisBufferWrite()
839 nwritten = write(c->fd,c->obuf,sdslen(c->obuf)); in redisBufferWrite()
849 sdsfree(c->obuf); in redisBufferWrite()
850 c->obuf = sdsempty(); in redisBufferWrite()
910 newbuf = sdscatlen(c->obuf,cmd,len); in __redisAppendCommand()
[all …]
H A Dhiredis.h145 char *obuf; /* Write buffer */ member
H A Dasync.c421 if (c->flags & REDIS_DISCONNECTING && sdslen(c->obuf) == 0 in redisProcessCallbacks()
/f-stack/freebsd/opencrypto/
H A Dcryptodev.c338 char *obuf; member
766 cod->obuf = malloc(len, M_XDATA, M_WAITOK); in cod_alloc()
775 free(cod->obuf, M_XDATA); in cod_free()
884 if (cod->obuf != NULL) in cryptodev_op()
917 if (cod->obuf) in cryptodev_op()
982 error = copyout(cod->obuf != NULL ? cod->obuf : in cryptodev_op()
992 error = copyout((cod->obuf != NULL ? cod->obuf : cod->buf) + in cryptodev_op()
1066 if (caead->op == COP_ENCRYPT && cod->obuf != NULL) in cryptodev_aead()
1099 if (cod->obuf != NULL) in cryptodev_aead()
1175 error = copyout(cod->obuf != NULL ? cod->obuf : in cryptodev_aead()
[all …]
/f-stack/freebsd/kern/
H A Dsubr_terminal.c419 char obuf[128]; in termtty_outwakeup() local
423 while ((olen = ttydisc_getc(tp, obuf, sizeof obuf)) > 0) { in termtty_outwakeup()
427 teken_input(&tm->tm_emulator, obuf, olen); in termtty_outwakeup()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_private.h488 struct obj_idx obuf[8]; /* table references storage */ member
H A Dip_fw_sockopt.c2844 if (ci->object_opcodes <= (sizeof(ci->obuf)/sizeof(ci->obuf[0]))) { in rewrite_rule_uidx()
2846 pidx_first = ci->obuf; in rewrite_rule_uidx()
2881 if (pidx_first != ci->obuf) in rewrite_rule_uidx()