Home
last modified time | relevance | path

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

/redis-3.2.3/deps/hiredis/
H A Dsds.c684 char *start, *end, *sp, *ep; in sdstrim() local
687 sp = start = s; in sdstrim()
689 while(sp <= end && strchr(cset, *sp)) sp++; in sdstrim()
690 while(ep > sp && strchr(cset, *ep)) ep--; in sdstrim()
691 len = (sp > ep) ? 0 : ((ep-sp)+1); in sdstrim()
692 if (s != sp) memmove(s, sp, len); in sdstrim()
/redis-3.2.3/src/
H A Dsds.c684 char *start, *end, *sp, *ep; in sdstrim() local
687 sp = start = s; in sdstrim()
689 while(sp <= end && strchr(cset, *sp)) sp++; in sdstrim()
690 while(ep > sp && strchr(cset, *ep)) ep--; in sdstrim()
691 len = (sp > ep) ? 0 : ((ep-sp)+1); in sdstrim()
692 if (s != sp) memmove(s, sp, len); in sdstrim()
H A Ddebug.c680 void logStackContent(void **sp) { in logStackContent() argument
683 unsigned long addr = (unsigned long) sp+i; in logStackContent()
684 unsigned long val = (unsigned long) sp[i]; in logStackContent()
H A Dserver.c1215 struct saveparam *sp = server.saveparams+j; in serverCron() local
1221 if (server.dirty >= sp->changes && in serverCron()
1222 server.unixtime-server.lastsave > sp->seconds && in serverCron()
1228 sp->changes, (int)sp->seconds); in serverCron()