Home
last modified time | relevance | path

Searched refs:plen (Results 1 – 6 of 6) sorted by relevance

/redis-3.2.3/deps/linenoise/
H A Dlinenoise.c144 size_t plen; /* Prompt length. */ member
478 if (hintsCallback && plen+l->len < l->cols) { in refreshShowHints()
504 size_t plen = strlen(l->prompt); in refreshSingleLine() local
511 while((plen+pos) >= l->cols) { in refreshSingleLine()
516 while (plen+len > l->cols) { in refreshSingleLine()
528 refreshShowHints(&ab,l,plen); in refreshSingleLine()
545 int plen = strlen(l->prompt); in refreshMultiLine() local
583 refreshShowHints(&ab,l,plen); in refreshMultiLine()
589 (l->pos+plen) % l->cols == 0) in refreshMultiLine()
611 col = (plen+(int)l->pos) % (int)l->cols; in refreshMultiLine()
[all …]
/redis-3.2.3/src/
H A Dutil.c336 size_t plen = 0; in string2ll() local
340 if (plen == slen) in string2ll()
351 p++; plen++; in string2ll()
354 if (plen == slen) in string2ll()
361 p++; plen++; in string2ll()
369 while (plen < slen && p[0] >= '0' && p[0] <= '9') { in string2ll()
378 p++; plen++; in string2ll()
382 if (plen < slen) in string2ll()
H A Dutil.h36 int stringmatchlen(const char *p, int plen, const char *s, int slen, int nocase);
H A Dscripting.c1783 char *plen = p+1; /* Multi bulk len pointer. */ in ldbReplParseCommand() local
1786 *argcp = atoi(plen); in ldbReplParseCommand()
1794 plen = p+1; /* Bulk string len pointer. */ in ldbReplParseCommand()
1797 int slen = atoi(plen); /* Length of this arg. */ in ldbReplParseCommand()
H A Dbitops.c408 size_t plen = sdslen(p); in getBitOffsetFromArgument() local
414 if (string2ll(p+usehash,plen-usehash,&loffset) == 0) { in getBitOffsetFromArgument()
H A Ddb.c407 int plen = sdslen(pattern), allkeys; in keysCommand() local
417 if (allkeys || stringmatchlen(pattern,plen,key,sdslen(key),0)) { in keysCommand()