Home
last modified time | relevance | path

Searched refs:sdsnewlen (Results 1 – 22 of 22) sorted by relevance

/redis-3.2.3/src/
H A Dnotify.c108 chan = sdsnewlen("__keyspace@",11); in notifyKeyspaceEvent()
120 chan = sdsnewlen("__keyevent@",11); in notifyKeyspaceEvent()
H A Dsds.c81 sds sdsnewlen(const void *init, size_t initlen) { in sdsnewlen() function
140 return sdsnewlen("",0); in sdsempty()
146 return sdsnewlen(init, initlen); in sdsnew()
151 return sdsnewlen(s, sdslen(s)); in sdsdup()
497 return sdsnewlen(buf,len); in sdsfromlonglong()
820 tokens[elements] = sdsnewlen(s+start,j-start); in sdssplitlen()
828 tokens[elements] = sdsnewlen(s+start,len-start); in sdssplitlen()
1114 x = sdsnewlen("foo",2); in sdsTest()
1225 x = sdsnewlen("\a\n\0foo\r",7); in sdsTest()
H A Dslowlog.c69 sds s = sdsnewlen(argv[j]->ptr, SLOWLOG_ENTRY_MAX_STRING); in slowlogCreateEntry()
H A Dsds.h217 sds sdsnewlen(const void *init, size_t initlen);
H A Dhyperloglog.c581 dense = sdsnewlen(NULL,HLL_DENSE_SIZE); in hllSparseToDense()
1102 s = sdsnewlen(NULL,sparselen); in createHLLObject()
1353 sds bitcounters = sdsnewlen(NULL,HLL_DENSE_SIZE); in pfselftestCommand()
H A Dscripting.c566 reply = sdsnewlen(c->buf,c->bufpos); in luaRedisGenericCommand()
1174 sdsnewlen(funcname+2,40),body); in luaCreateFunction()
1447 sha = sdsnewlen(funcname+2,40); in scriptCommand()
1799 argv[argc++] = sdsnewlen(p,slen); in ldbReplParseCommand()
H A Dbitops.c476 o = createObject(OBJ_STRING,sdsnewlen(NULL, byte+1)); in lookupStringForBitCommand()
651 res = (unsigned char*) sdsnewlen(NULL,maxlen); in bitopCommand()
H A Dredis-cli.c414 tmp = sdsnewlen(buf,startpos); in completionCallback()
456 sds newhint = sdsnewlen(" ",1); in hintsCallback()
1215 argv[0] = sdsnewlen(line,elen-1); in cliSplitArgs()
1216 argv[1] = sdsnewlen(line+elen,len-elen); in cliSplitArgs()
H A Dcluster.c529 oldname = sdsnewlen(myself->name, CLUSTER_NAMELEN); in clusterReset()
832 nodename = sdsnewlen(n->name, CLUSTER_NAMELEN); in freeClusterNode()
848 sdsnewlen(node->name,CLUSTER_NAMELEN), node); in clusterAddNode()
894 sds s = sdsnewlen(name, CLUSTER_NAMELEN); in clusterLookupNode()
909 sds s = sdsnewlen(node->name, CLUSTER_NAMELEN); in clusterRenameNode()
1100 sds id = sdsnewlen(node->name,CLUSTER_NAMELEN); in clusterBlacklistAddNode()
1117 sds id = sdsnewlen(nodeid,CLUSTER_NAMELEN); in clusterBlacklistExists()
H A Dnetworking.c1072 aux = sdsnewlen(c->querybuf,querylen); in processInlineBuffer()
1237 c->querybuf = sdsnewlen(NULL,c->bulklen+2); in processMultibulkBuffer()
1474 sds o = sdsnewlen(NULL,200*listLength(server.clients)); in getAllClientsInfoString()
H A Dt_string.c209 o = createObject(OBJ_STRING,sdsnewlen(NULL, offset+sdslen(value))); in setrangeCommand()
H A Dobject.c54 return createObject(OBJ_STRING,sdsnewlen(ptr,len)); in createRawStringObject()
H A Dziplist.c1723 listAddNodeHead(ref,sdsnewlen(buf, buflen)); in ziplistTest()
1725 listAddNodeTail(ref,sdsnewlen(buf, buflen)); in ziplistTest()
H A Dgeo.c256 sdsnewlen(vstr,vlen); in geoGetPointsInRange()
H A Ddebug.c485 sds errstr = sdsnewlen("-",1); in debugCommand()
H A Daof.c676 argsds = sdsnewlen(NULL,len); in loadAppendOnlyFile()
H A Drdb.c317 if ((val = sdsnewlen(NULL,len)) == NULL) goto err; in rdbLoadLzfStringObject()
H A Dreplication.c352 addReplySds(c,sdsnewlen(server.repl_backlog + j, thislen)); in addReplyReplicationBacklog()
H A Dsentinel.c2010 ri->runid = sdsnewlen(l+7,40); in sentinelRefreshInstanceInfo()
2015 ri->runid = sdsnewlen(l+7,40); in sentinelRefreshInstanceInfo()
/redis-3.2.3/deps/hiredis/
H A Dsds.c81 sds sdsnewlen(const void *init, size_t initlen) { in sdsnewlen() function
140 return sdsnewlen("",0); in sdsempty()
146 return sdsnewlen(init, initlen); in sdsnew()
151 return sdsnewlen(s, sdslen(s)); in sdsdup()
497 return sdsnewlen(buf,len); in sdsfromlonglong()
820 tokens[elements] = sdsnewlen(s+start,j-start); in sdssplitlen()
828 tokens[elements] = sdsnewlen(s+start,len-start); in sdssplitlen()
1114 x = sdsnewlen("foo",2); in sdsTest()
1225 x = sdsnewlen("\a\n\0foo\r",7); in sdsTest()
H A Dasync.c376 sname = sdsnewlen(reply->element[1]->str,reply->element[1]->len); in __redisGetSubscribeCallback()
600 sname = sdsnewlen(astr,alen); in __redisAsyncCommand()
H A Dsds.h217 sds sdsnewlen(const void *init, size_t initlen);