Searched refs:string2ll (Results 1 – 12 of 12) sorted by relevance
| /f-stack/app/redis-5.0.5/src/ |
| H A D | util.c | 432 if (!string2ll(s,slen,&llval)) in string2l() 707 assert(string2ll(buf,strlen(buf),&v) == 0); in test_string2ll() 711 assert(string2ll(buf,strlen(buf),&v) == 0); in test_string2ll() 715 assert(string2ll(buf,strlen(buf),&v) == 0); in test_string2ll() 719 assert(string2ll(buf,strlen(buf),&v) == 0); in test_string2ll() 722 assert(string2ll(buf,strlen(buf),&v) == 1); in test_string2ll() 726 assert(string2ll(buf,strlen(buf),&v) == 1); in test_string2ll() 730 assert(string2ll(buf,strlen(buf),&v) == 1); in test_string2ll() 734 assert(string2ll(buf,strlen(buf),&v) == 1); in test_string2ll() 738 assert(string2ll(buf,strlen(buf),&v) == 1); in test_string2ll() [all …]
|
| H A D | util.h | 48 int string2ll(const char *s, size_t slen, long long *value);
|
| H A D | scripting.c | 144 string2ll(reply+1,p-reply-1,&value); in redisProtocolToLuaType_Int() 153 string2ll(reply+1,p-reply-1,&bulklen); in redisProtocolToLuaType_Bulk() 188 string2ll(reply+1,p-reply-1,&mbulklen); in redisProtocolToLuaType_MultiBulk() 2054 string2ll(reply+1,p-reply-1,&bulklen); in ldbRedisProtocolToHuman_Bulk() 2076 string2ll(reply+1,p-reply-1,&mbulklen); in ldbRedisProtocolToHuman_MultiBulk()
|
| H A D | bitops.c | 421 if (string2ll(p+usehash,plen-usehash,&loffset) == 0) { in getBitOffsetFromArgument() 461 if ((string2ll(p+1,strlen(p+1),&llbits)) == 0 || in getBitfieldTypeFromArgument()
|
| H A D | object.c | 405 return string2ll(s,sdslen(s),llval) ? C_OK : C_ERR; in isSdsRepresentableAsLongLong() 694 if (string2ll(o->ptr,sdslen(o->ptr),&value) == 0) return C_ERR; in getLongLongFromObject()
|
| H A D | t_hash.c | 570 if (string2ll((char*)vstr,vlen,&value) == 0) { in hincrbyCommand()
|
| H A D | module.c | 1006 return string2ll(str->ptr,sdslen(str->ptr),ll) ? REDISMODULE_OK : in RM_StringToLongLong() 2497 string2ll(proto+1,p-proto-1,&reply->val.ll); in moduleParseCallReply_Int() 2507 string2ll(proto+1,p-proto-1,&bulklen); in moduleParseCallReply_BulkString() 2535 string2ll(proto+1,p-proto-1,&arraylen); in moduleParseCallReply_Array()
|
| H A D | networking.c | 1311 ok = string2ll(c->querybuf+1+c->qb_pos,newline-(c->querybuf+1+c->qb_pos),&ll); in processMultibulkBuffer() 1356 ok = string2ll(c->querybuf+c->qb_pos+1,newline-(c->querybuf+c->qb_pos+1),&ll); in processMultibulkBuffer()
|
| H A D | t_stream.c | 114 int retval = string2ll((char*)e,v,&ll); in lpGetInteger() 1079 if (string2ll(s,strlen(s),&ll)) { in string2ull()
|
| H A D | ziplist.c | 484 if (string2ll((char*)entry,entrylen,&value)) { in zipTryEncoding()
|
| H A D | t_zset.c | 2023 if (string2ll(val->ele,sdslen(val->ele),&val->ell)) in zuiLongLongFromValue() 2026 if (string2ll((char*)val->estr,val->elen,&val->ell)) in zuiLongLongFromValue()
|
| /f-stack/app/redis-5.0.5/ |
| H A D | 00-RELEASENOTES | 2023 string2ll(): better commenting. 2031 Restore string2ll() to original version. 2039 string2ll(): remove duplicated check for special case. 2043 string2ll(): test for NULL pointer in all the cases.
|