Home
last modified time | relevance | path

Searched refs:bulklen (Results 1 – 5 of 5) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dnetworking.c123 c->bulklen = -1; in createClient()
1131 c->bulklen = -1; in resetClient()
1332 if (c->bulklen == -1) { in processMultibulkBuffer()
1382 c->bulklen = ll; in processMultibulkBuffer()
1386 if (sdslen(c->querybuf)-c->qb_pos < (size_t)(c->bulklen+2)) { in processMultibulkBuffer()
1394 c->bulklen >= PROTO_MBULK_BIG_ARG && in processMultibulkBuffer()
1395 sdslen(c->querybuf) == (size_t)(c->bulklen+2)) in processMultibulkBuffer()
1401 c->querybuf = sdsnewlen(SDS_NOINIT,c->bulklen+2); in processMultibulkBuffer()
1406 c->qb_pos += c->bulklen+2; in processMultibulkBuffer()
1408 c->bulklen = -1; in processMultibulkBuffer()
[all …]
H A Dscripting.c151 long long bulklen; in redisProtocolToLuaType_Bulk() local
153 string2ll(reply+1,p-reply-1,&bulklen); in redisProtocolToLuaType_Bulk()
154 if (bulklen == -1) { in redisProtocolToLuaType_Bulk()
158 lua_pushlstring(lua,p+2,bulklen); in redisProtocolToLuaType_Bulk()
159 return p+2+bulklen+2; in redisProtocolToLuaType_Bulk()
2052 long long bulklen; in ldbRedisProtocolToHuman_Bulk() local
2054 string2ll(reply+1,p-reply-1,&bulklen); in ldbRedisProtocolToHuman_Bulk()
2055 if (bulklen == -1) { in ldbRedisProtocolToHuman_Bulk()
2059 *o = sdscatrepr(*o,p+2,bulklen); in ldbRedisProtocolToHuman_Bulk()
2060 return p+2+bulklen+2; in ldbRedisProtocolToHuman_Bulk()
H A Dmodule.c2505 long long bulklen; in moduleParseCallReply_BulkString() local
2507 string2ll(proto+1,p-proto-1,&bulklen); in moduleParseCallReply_BulkString()
2508 if (bulklen == -1) { in moduleParseCallReply_BulkString()
2513 reply->len = bulklen; in moduleParseCallReply_BulkString()
2514 reply->protolen = p-proto+2+bulklen+2; in moduleParseCallReply_BulkString()
H A Dserver.h732 long bulklen; /* Length of bulk argument in multi bulk request. */ member
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dhiredis.c206 static size_t bulklen(size_t len) { in bulklen() function
239 totlen += bulklen(sdslen(curarg)); in redisvFormatCommand()
388 totlen += bulklen(sdslen(curarg)); in redisvFormatCommand()
493 totlen += bulklen(len); in redisFormatSdsCommandArgv()
544 totlen += bulklen(len); in redisFormatCommandArgv()