| /redis-3.2.3/src/ |
| H A D | setproctitle.c | 56 char *base, *end; member 150 char *base, *end, *nul, *tmp; in spt_init() local 153 if (!(base = argv[0])) in spt_init() 156 nul = &base[strlen(base)]; in spt_init() 201 SPT.base = base; in spt_init() 222 if (!SPT.base) in setproctitle() 237 memset(SPT.base, 0, SPT.end - SPT.base); in setproctitle() 240 memset(SPT.base, 0, spt_min(sizeof buf, SPT.end - SPT.base)); in setproctitle() 243 len = spt_min(len, spt_min(sizeof buf, SPT.end - SPT.base) - 1); in setproctitle() 244 memcpy(SPT.base, buf, len); in setproctitle() [all …]
|
| H A D | quicklist.c | 1077 quicklistIter *base = quicklistGetIterator(quicklist, direction); in quicklistGetIteratorAtIdx() local 1078 base->zi = NULL; in quicklistGetIteratorAtIdx() 1079 base->current = entry.node; in quicklistGetIteratorAtIdx() 1080 base->offset = entry.offset; in quicklistGetIteratorAtIdx() 1081 return base; in quicklistGetIteratorAtIdx()
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | ldo.c | 83 L->base = L->ci->base; in resetstack() 134 ci->base = (ci->base - oldstack) + L->stack; in correctstack() 137 L->base = (L->base - oldstack) + L->stack; in correctstack() 212 StkId base, fixed; in adjust_varargs() local 240 return base; in adjust_varargs() 275 StkId st, base; in luaD_precall() local 291 L->base = ci->base = base; in luaD_precall() 313 L->base = ci->base = ci->func + 1; in luaD_precall() 352 L->base = (ci - 1)->base; /* restore base */ in luaD_poscall() 403 L->base = L->ci->base; in resume() [all …]
|
| H A D | lvm.c | 284 StkId top = L->base + last + 1; in luaV_concat() 347 #define RA(i) (base+GETARG_A(i)) 361 #define Protect(x) { L->savedpc = pc; {x;}; base = L->base; } 379 StkId base; in luaV_execute() local 386 base = L->base; in luaV_execute() 399 base = L->base; in luaV_execute() 403 lua_assert(base == L->base && L->base == L->ci->base); in luaV_execute() 538 setobjs2s(L, RA(i), base+b); in luaV_execute() 599 base = L->base; in luaV_execute() 620 L->base = ci->base = ci->func + ((ci+1)->base - pfunc); in luaV_execute() [all …]
|
| H A D | lstate.c | 56 L1->base = L1->ci->base = L1->top; in stack_init() 207 L->base = L->top = L->ci->base; in lua_close()
|
| H A D | lparser.c | 233 if (!base) in singlevaraux() 612 int base, nparams; in funcargs() local 643 base = f->u.s.info; /* base register for call */ in funcargs() 649 nparams = fs->freereg - (base+1); in funcargs() 651 init_exp(f, VCALL, luaK_codeABC(fs, OP_CALL, base, nparams+1, 2)); in funcargs() 1060 endfor = (isnum) ? luaK_codeAsBx(fs, OP_FORLOOP, base, NO_JUMP) : in forbody() 1061 luaK_codeABC(fs, OP_TFORLOOP, base, 0, nvars); in forbody() 1070 int base = fs->freereg; in fornum() local 1085 forbody(ls, base, line, 1, 1); in fornum() 1095 int base = fs->freereg; in forlist() local [all …]
|
| H A D | lua.c | 98 int base = lua_gettop(L) - narg; /* function index */ in docall() local 100 lua_insert(L, base); /* put it under chunk and args */ in docall() 102 status = lua_pcall(L, narg, (clear ? 0 : LUA_MULTRET), base); in docall() 104 lua_remove(L, base); /* remove traceback function */ in docall()
|
| H A D | lapi.c | 41 #define api_checknelems(L, n) api_check(L, (n) <= (L->top - L->base)) 51 TValue *o = L->base + (idx - 1); in index2adr() 52 api_check(L, idx <= L->ci->top - L->base); in index2adr() 57 api_check(L, idx != 0 && -idx <= L->top - L->base); in index2adr() 98 if (size > LUAI_MAXCSTACK || (L->top - L->base + size) > LUAI_MAXCSTACK) in lua_checkstack() 160 return cast_int(L->top - L->base); in lua_gettop() 167 api_check(L, idx <= L->stack_last - L->base); in lua_settop() 168 while (L->top < L->base + idx) in lua_settop() 170 L->top = L->base + idx; in lua_settop() 173 api_check(L, -(idx+1) <= (L->top - L->base)); in lua_settop() [all …]
|
| H A D | lbaselib.c | 54 int base = luaL_optint(L, 2, 10); in luaB_tonumber() local 55 if (base == 10) { /* standard conversion */ in luaB_tonumber() 66 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range"); in luaB_tonumber() 67 n = strtoul(s1, &s2, base); in luaB_tonumber()
|
| H A D | lstate.h | 49 StkId base; /* base for this function */ member 104 StkId base; /* base of current function */ member
|
| H A D | ldebug.c | 119 if (limit - ci->base >= n && n > 0) /* is 'n' inside 'ci' stack? */ in findlocal() 132 luaA_pushobject(L, ci->base + (n - 1)); in lua_getlocal() 143 setobjs2s(L, ci->base + (n - 1), L->top - 1); in lua_setlocal() 561 for (p = ci->base; p < ci->top; p++) in isinstack() 571 getobjname(L, L->ci, cast_int(o - L->base), &name) : in luaG_typeerror()
|
| H A D | lcode.h | 73 LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
|
| H A D | lobject.c | 166 luaV_concat(L, n+1, cast_int(L->top - L->base) - 1); in luaO_pushvfstring()
|
| H A D | lcode.c | 819 void luaK_setlist (FuncState *fs, int base, int nelems, int tostore) { in luaK_setlist() argument 824 luaK_codeABC(fs, OP_SETLIST, base, b, c); in luaK_setlist() 826 luaK_codeABC(fs, OP_SETLIST, base, b, 0); in luaK_setlist() 829 fs->freereg = base + 1; /* free registers with list values */ in luaK_setlist()
|
| /redis-3.2.3/deps/jemalloc/src/ |
| H A D | util.c | 30 static char *u2s(uintmax_t x, unsigned base, bool uppercase, char *s, 100 malloc_strtoumax(const char *restrict nptr, char **restrict endptr, int base) in malloc_strtoumax() argument 108 if (base < 0 || base == 1 || base > 36) { in malloc_strtoumax() 114 b = base; in malloc_strtoumax() 215 u2s(uintmax_t x, unsigned base, bool uppercase, char *s, size_t *slen_p) in u2s() argument 221 switch (base) { in u2s() 245 assert(base >= 2 && base <= 36); in u2s() 248 s[i] = digits[x % (uint64_t)base]; in u2s() 249 x /= (uint64_t)base; in u2s()
|
| /redis-3.2.3/deps/hiredis/examples/ |
| H A D | example-libevent.c | 37 struct event_base *base = event_base_new(); in main() local 46 redisLibeventAttach(c,base); in main() 51 event_base_dispatch(base); in main()
|
| /redis-3.2.3/deps/hiredis/adapters/ |
| H A D | libevent.h | 81 static int redisLibeventAttach(redisAsyncContext *ac, struct event_base *base) { in redisLibeventAttach() argument 104 event_base_set(base,&e->rev); in redisLibeventAttach() 105 event_base_set(base,&e->wev); in redisLibeventAttach()
|
| /redis-3.2.3/deps/jemalloc/test/unit/ |
| H A D | util.c | 50 int base; in TEST_BEGIN() member 121 result = malloc_strtoumax(test->input, &remainder, test->base); in TEST_BEGIN() 125 test->expected_errno_name, test->input, test->base); in TEST_BEGIN() 128 test->input, test->base); in TEST_BEGIN() 132 test->input, test->base); in TEST_BEGIN()
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | INSTALL | 31 Set the base directory in which to install. For example: 83 Append <suffix> to the base name of all installed files, such that multiple 202 Specify the base 2 log of the system page size. This option is only useful 207 Specify the comma-separated base 2 logs of the page sizes to support. This 213 Specify the base 2 log of how many size classes to use for each doubling in 242 Specify the base 2 log of the minimum allocation alignment. jemalloc needs 268 Specify the base 2 log of the minimum tiny size class to support. Tiny
|
| H A D | Makefile.in | 82 $(srcroot)src/atomic.c $(srcroot)src/base.c $(srcroot)src/bitmap.c \
|
| /redis-3.2.3/deps/jemalloc/include/jemalloc/internal/ |
| H A D | util.h | 144 char **restrict endptr, int base);
|
| H A D | size_classes.sh | 207 * lg_grp: Lg group base size (no deltas added).
|
| H A D | jemalloc_internal.h.in | 368 #include "jemalloc/internal/base.h" 400 #include "jemalloc/internal/base.h" 480 #include "jemalloc/internal/base.h" 507 #include "jemalloc/internal/base.h" 693 * power of two that is non-zero in the base two representation
|
| /redis-3.2.3/tests/unit/type/ |
| H A D | string.tcl | 132 test {MSET base case} {
|
| /redis-3.2.3/deps/jemalloc/bin/ |
| H A D | jeprof.in | 687 my $base = ReadProfile($main::prog, $main::opt_base); 688 $profile = SubtractProfile($profile, $base->{profile}); 689 $pcs = AddPcs($pcs, $base->{pcs}); 690 $symbol_map = MergeSymbols($symbol_map, $base->{symbols});
|