Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 4 of 4) sorted by relevance

/redis-3.2.3/deps/lua/src/
H A Dlstrlib.c272 case '[': return matchbracketclass(c, p, ep-1); in singlematch()
308 const char *res = match(ms, (s+i), ep+1); in max_expand()
319 const char *res = match(ms, s, ep+1); in min_expand()
322 else if (s<ms->src_end && singlematch(uchar(*s), p, ep)) in min_expand()
385 const char *ep; char previous; in match() local
392 if (matchbracketclass(uchar(previous), p, ep-1) || in match()
417 switch (*ep) { in match()
420 if (m && ((res=match(ms, s+1, ep+1)) != NULL)) in match()
425 return max_expand(ms, s, p, ep); in match()
428 return (m ? max_expand(ms, s+1, p, ep) : NULL); in match()
[all …]
/redis-3.2.3/deps/hiredis/
H A Dsds.c684 char *start, *end, *sp, *ep; in sdstrim() local
688 ep = end = s+sdslen(s)-1; in sdstrim()
690 while(ep > sp && strchr(cset, *ep)) ep--; in sdstrim()
691 len = (sp > ep) ? 0 : ((ep-sp)+1); in sdstrim()
/redis-3.2.3/src/
H A Dsds.c684 char *start, *end, *sp, *ep; in sdstrim() local
688 ep = end = s+sdslen(s)-1; in sdstrim()
690 while(ep > sp && strchr(cset, *ep)) ep--; in sdstrim()
691 len = (sp > ep) ? 0 : ((ep-sp)+1); in sdstrim()
H A Dserver.c3362 struct evictionPoolEntry *ep; in evictionPoolAlloc() local
3365 ep = zmalloc(sizeof(*ep)*MAXMEMORY_EVICTION_POOL_SIZE); in evictionPoolAlloc()
3367 ep[j].idle = 0; in evictionPoolAlloc()
3368 ep[j].key = NULL; in evictionPoolAlloc()
3370 return ep; in evictionPoolAlloc()