Searched refs:bufpos (Results 1 – 8 of 8) sorted by relevance
84 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()
82 uint8_t bufpos; member
113 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 …]
581 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()
662 c->bufpos = 0; in createFakeClient()826 serverAssert(fakeClient->bufpos == 0 && in loadAppendOnlyFile()
2185 c->bufpos = 0; in replicationCacheMaster()
2817 sds proto = sdsnewlen(c->buf,c->bufpos); in RM_Call()2818 c->bufpos = 0; in RM_Call()
770 int bufpos; member