Home
last modified time | relevance | path

Searched refs:bufpos (Results 1 – 8 of 8) sorted by relevance

/f-stack/dpdk/lib/librte_cmdline/
H A Dcmdline_vt100.c84 if (vt->bufpos >= CMDLINE_VT100_BUF_SIZE) { in vt100_parser()
86 vt->bufpos = 0; in vt100_parser()
89 vt->buf[vt->bufpos++] = c; in vt100_parser()
90 size = vt->bufpos; in vt100_parser()
98 vt->bufpos = 0; in vt100_parser()
108 vt->bufpos = 0; in vt100_parser()
116 vt->bufpos = 0; in vt100_parser()
123 vt->bufpos = 0; in vt100_parser()
H A Dcmdline_vt100.h82 uint8_t bufpos; member
/f-stack/app/redis-5.0.5/src/
H A Dnetworking.c113 c->bufpos = 0; in createClient()
251 memcpy(c->buf+c->bufpos,s,len); in _addReplyToBuffer()
252 c->bufpos+=len; in _addReplyToBuffer()
637 addReplyString(dst,src->buf, src->bufpos); in AddReplyFromClient()
642 src->bufpos = 0; in AddReplyFromClient()
652 memcpy(dst->buf,src->buf,src->bufpos); in copyClientOutputBuffer()
653 dst->bufpos = src->bufpos; in copyClientOutputBuffer()
660 return c->bufpos || listLength(c->reply); in clientHasPendingReplies()
985 if (c->bufpos > 0) { in writeToClient()
994 c->bufpos = 0; in writeToClient()
[all …]
H A Dscripting.c581 if (listLength(c->reply) == 0 && c->bufpos < PROTO_REPLY_CHUNK_BYTES) { in luaRedisGenericCommand()
585 c->buf[c->bufpos] = '\0'; in luaRedisGenericCommand()
587 c->bufpos = 0; in luaRedisGenericCommand()
589 reply = sdsnewlen(c->buf,c->bufpos); in luaRedisGenericCommand()
590 c->bufpos = 0; in luaRedisGenericCommand()
H A Daof.c662 c->bufpos = 0; in createFakeClient()
826 serverAssert(fakeClient->bufpos == 0 && in loadAppendOnlyFile()
H A Dreplication.c2185 c->bufpos = 0; in replicationCacheMaster()
H A Dmodule.c2817 sds proto = sdsnewlen(c->buf,c->bufpos); in RM_Call()
2818 c->bufpos = 0; in RM_Call()
H A Dserver.h770 int bufpos; member