Home
last modified time | relevance | path

Searched refs:string2ll (Results 1 – 9 of 9) sorted by relevance

/redis-3.2.3/src/
H A Dutil.c403 if (!string2ll(s,slen,&llval)) in string2l()
598 assert(string2ll(buf,strlen(buf),&v) == 0); in test_string2ll()
602 assert(string2ll(buf,strlen(buf),&v) == 0); in test_string2ll()
606 assert(string2ll(buf,strlen(buf),&v) == 0); in test_string2ll()
610 assert(string2ll(buf,strlen(buf),&v) == 0); in test_string2ll()
613 assert(string2ll(buf,strlen(buf),&v) == 1); in test_string2ll()
617 assert(string2ll(buf,strlen(buf),&v) == 1); in test_string2ll()
621 assert(string2ll(buf,strlen(buf),&v) == 1); in test_string2ll()
625 assert(string2ll(buf,strlen(buf),&v) == 1); in test_string2ll()
629 assert(string2ll(buf,strlen(buf),&v) == 1); in test_string2ll()
[all …]
H A Dutil.h42 int string2ll(const char *s, size_t slen, long long *value);
H A Dobject.c356 return string2ll(o->ptr,sdslen(o->ptr),llval) ? C_OK : C_ERR; in isObjectRepresentableAsLongLong()
625 if (string2ll(o->ptr,sdslen(o->ptr),&value) == 0) return C_ERR; in getLongLongFromObject()
H A Dscripting.c144 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()
1987 string2ll(reply+1,p-reply-1,&bulklen); in ldbRedisProtocolToHuman_Bulk()
2009 string2ll(reply+1,p-reply-1,&mbulklen); in ldbRedisProtocolToHuman_MultiBulk()
H A Dbitops.c414 if (string2ll(p+usehash,plen-usehash,&loffset) == 0) { in getBitOffsetFromArgument()
454 if ((string2ll(p+1,strlen(p+1),&llbits)) == 0 || in getBitfieldTypeFromArgument()
H A Dnetworking.c1148 ok = string2ll(c->querybuf+1,newline-(c->querybuf+1),&ll); in processMultibulkBuffer()
1195 ok = string2ll(c->querybuf+pos+1,newline-(c->querybuf+pos+1),&ll); in processMultibulkBuffer()
H A Dziplist.c332 if (string2ll((char*)entry,entrylen,&value)) { in zipTryEncoding()
H A Dt_zset.c1808 if (string2ll(val->ele->ptr,sdslen(val->ele->ptr),&val->ell)) in zuiLongLongFromValue()
1814 if (string2ll((char*)val->estr,val->elen,&val->ell)) in zuiLongLongFromValue()
/redis-3.2.3/
H A D00-RELEASENOTES156 getLongLongFromObject: use string2ll() instead of strict_strtoll().