Home
last modified time | relevance | path

Searched refs:ll2string (Results 1 – 18 of 18) sorted by relevance

/redis-3.2.3/src/
H A Dutil.c277 int ll2string(char* dst, size_t dstlen, long long svalue) { in ll2string() function
443 len = ll2string(buf,len,(long long)value); in d2string()
702 sz = ll2string(buf, sizeof buf, v); in test_ll2string()
707 sz = ll2string(buf, sizeof buf, v); in test_ll2string()
712 sz = ll2string(buf, sizeof buf, v); in test_ll2string()
717 sz = ll2string(buf, sizeof buf, v); in test_ll2string()
722 sz = ll2string(buf, sizeof buf, v); in test_ll2string()
727 sz = ll2string(buf, sizeof buf, v); in test_ll2string()
732 sz = ll2string(buf, sizeof buf, v); in test_ll2string()
H A Dnotify.c109 len = ll2string(buf,sizeof(buf),dbid); in notifyKeyspaceEvent()
121 if (len == -1) len = ll2string(buf,sizeof(buf),dbid); in notifyKeyspaceEvent()
H A Dutil.h41 int ll2string(char *s, size_t len, long long value);
H A Drio.c318 clen = 1+ll2string(cbuf+1,sizeof(cbuf)-1,count); in rioWriteBulkCount()
340 llen = ll2string(lbuf,sizeof(lbuf),l); in rioWriteBulkLongLong()
H A Dobject.c452 ll2string(buf,32,(long)o->ptr); in getDecodedObject()
481 alen = ll2string(bufa,sizeof(bufa),(long) a->ptr); in compareStringObjectsWithFlags()
488 blen = ll2string(bufb,sizeof(bufb),(long) b->ptr); in compareStringObjectsWithFlags()
H A Dquicklist.c553 sz = ll2string(longstr, sizeof(longstr), longval); in quicklistAppendValuesFromZiplist()
1297 sz = ll2string(longstr, sizeof(longstr), longval); in quicklistRotate()
2247 int sz = ll2string(num, sizeof(num), nums[i]); in quicklistTest()
2411 int sz = ll2string(num, sizeof(num), nums[i]); in quicklistTest()
2438 int sz = ll2string(num, sizeof(num), nums[i]); in quicklistTest()
2470 int sz = ll2string(num, sizeof(num), nums[i]); in quicklistTest()
2515 int sz = ll2string(num, sizeof(num), nums[i]); in quicklistTest()
2544 int sz = ll2string(num, sizeof(num), nums[i]); in quicklistTest()
2565 int sz = ll2string(num, sizeof(num), nums[i]); in quicklistTest()
H A Drdb.c227 int len = ll2string(buf,sizeof(buf),val); in rdbLoadIntegerObject()
248 ll2string(buf,32,value); in rdbTryIntegerEncoding()
384 enclen = ll2string((char*)buf,32,value); in rdbSaveLongLongAsStringObject()
496 ll2string((char*)buf+1,sizeof(buf)-1,(long long)val); in rdbSaveDoubleValue()
738 int vlen = ll2string(buf,sizeof(buf),val); in rdbSaveAuxFieldStrInt()
H A Dreplication.c164 len = ll2string(llstr,sizeof(llstr),(long)o->ptr); in feedReplicationBacklogWithObject()
196 dictid_len = ll2string(llstr,sizeof(llstr),dictid); in replicationFeedSlaves()
225 len = ll2string(aux+1,sizeof(aux)-1,argc); in replicationFeedSlaves()
237 len = ll2string(aux+1,sizeof(aux)-1,objlen); in replicationFeedSlaves()
H A Dbitops.c507 if (len) *len = ll2string(llbuf,LONG_STR_SIZE,(long)o->ptr); in getObjectReadOnlyString()
576 if (byte < (size_t)ll2string(llbuf,sizeof(llbuf),(long)o->ptr)) in getbitCommand()
H A Dnetworking.c350 len = ll2string(buf,sizeof(buf),(long)obj->ptr); in addReply()
510 len = ll2string(buf+1,sizeof(buf)-1,ll); in addReplyLongLongWithPrefix()
594 len = ll2string(buf,64,ll); in addReplyBulkLongLong()
H A Dt_string.c259 strlen = ll2string(llbuf,sizeof(llbuf),(long)o->ptr); in getrangeCommand()
H A Daof.c455 len = 1+ll2string(buf+1,sizeof(buf)-1,argc); in catAppendOnlyGenericCommand()
463 len = 1+ll2string(buf+1,sizeof(buf)-1,sdslen(o->ptr)); in catAppendOnlyGenericCommand()
H A Dserver.c379 ll2string(buf,sizeof(buf),getpid()); in serverLogFromHandler()
382 ll2string(buf,sizeof(buf),time(NULL)); in serverLogFromHandler()
522 len = ll2string(buf,32,(long)o->ptr); in dictEncObjHash()
1415 dictid_len = ll2string(dictid_str,sizeof(dictid_str),j); in createSharedObjects()
H A Dsentinel.c918 ll2string(fromport,sizeof(fromport),from->port); in sentinelCallClientReconfScript()
919 ll2string(toport,sizeof(toport),to->port); in sentinelCallClientReconfScript()
3581 ll2string(port,sizeof(port),master->addr->port); in sentinelAskMasterStateToOtherSentinels()
3743 ll2string(portstr,sizeof(portstr),port); in sentinelSendSlaveOf()
H A Dt_zset.c685 vlen = ll2string((char*)vbuf,sizeof(vbuf),vlong); in zzlCompareElements()
1840 val->elen = ll2string((char*)val->_buf,sizeof(val->_buf),(long)val->ele->ptr); in zuiBufferFromValue()
1849 val->elen = ll2string((char*)val->_buf,sizeof(val->_buf),val->ell); in zuiBufferFromValue()
H A Ddebug.c196 ll2string(buf,sizeof(buf),vll); in computeDatasetDigest()
H A Ddb.c622 len = ll2string(buf,sizeof(buf),(long)kobj->ptr); in scanGenericCommand()
H A Dconfig.c1036 ll2string(buf,sizeof(buf),_var); \