Home
last modified time | relevance | path

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

/redis-3.2.3/deps/jemalloc/test/unit/
H A Dprof_active.c17 assert_b_eq(old, expected, "%s():%d: Unexpected %s value", func, line, in mallctl_bool_get()
23 const char *func, int line) in mallctl_bool_set() argument
30 "%s():%d: Unexpected mallctl failure reading/writing %s", func, in mallctl_bool_set()
32 assert_b_eq(old, old_expected, "%s():%d: Unexpected %s value", func, in mallctl_bool_set()
48 bool prof_active_new, const char *func, int line) in mallctl_prof_active_set_impl() argument
52 prof_active_new, func, line); in mallctl_prof_active_set_impl()
59 const char *func, int line) in mallctl_thread_prof_active_get_impl() argument
63 func, line); in mallctl_thread_prof_active_get_impl()
70 bool thread_prof_active_new, const char *func, int line) in mallctl_thread_prof_active_set_impl() argument
74 thread_prof_active_new, func, line); in mallctl_thread_prof_active_set_impl()
[all …]
H A Dprof_thread_name.c8 mallctl_thread_name_get_impl(const char *thread_name_expected, const char *func, in mallctl_thread_name_get_impl() argument
17 func, line); in mallctl_thread_name_get_impl()
19 "%s():%d: Unexpected thread.prof.name value", func, line); in mallctl_thread_name_get_impl()
25 mallctl_thread_name_set_impl(const char *thread_name, const char *func, in mallctl_thread_name_set_impl() argument
32 func, line); in mallctl_thread_name_set_impl()
33 mallctl_thread_name_get_impl(thread_name, func, line); in mallctl_thread_name_set_impl()
/redis-3.2.3/deps/lua/src/
H A Dldo.c135 ci->func = (ci->func - oldstack) + L->stack; in correctstack()
249 luaG_typeerror(L, func, "call"); in tryfuncTM()
255 return func; in tryfuncTM()
269 func = tryfuncTM(L, func); /* check the `function' tag method */ in luaD_precall()
270 funcr = savestack(L, func); in luaD_precall()
271 cl = &clvalue(func)->l; in luaD_precall()
278 func = restorestack(L, funcr); in luaD_precall()
280 base = func + 1; in luaD_precall()
290 ci->func = func; in luaD_precall()
312 ci->func = restorestack(L, funcr); in luaD_precall()
[all …]
H A Dlapi.c84 return func->c.env; in getcurrenv()
777 StkId func; in lua_call() local
781 func = L->top - (nargs+1); in lua_call()
793 StkId func; member
808 ptrdiff_t func; in lua_pcall() local
813 func = 0; in lua_pcall()
817 func = savestack(L, o); in lua_pcall()
821 status = luaD_pcall(L, f_call, &c, savestack(L, c.func), func); in lua_pcall()
832 lua_CFunction func; member
841 cl->c.f = c->func; in f_Ccall()
[all …]
H A Dldo.h42 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
43 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);
44 LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u,
H A Dlstate.h50 StkId func; /* function index in the stack */ member
59 #define curr_func(L) (clvalue(L->ci->func))
60 #define ci_func(ci) (clvalue((ci)->func))
62 #define isLua(ci) (ttisfunction((ci)->func) && f_isLua(ci))
H A Dlinit.c32 for (; lib->func; lib++) { in luaL_openlibs()
33 lua_pushcfunction(L, lib->func); in luaL_openlibs()
H A Dlua_bit.c99 #define BIT_OP(func, opr) \ argument
100 static int func(lua_State *L) { int i; UBits b = barg(L, 1); \
111 #define BIT_SH(func, fn) \ argument
112 static int func(lua_State *L) { \
H A Dldebug.c56 LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count) { in lua_sethook() argument
57 if (func == NULL || mask == 0) { /* turn off hooks? */ in lua_sethook()
59 func = NULL; in lua_sethook()
61 L->hook = func; in lua_sethook()
118 StkId limit = (ci == L->ci) ? L->top : (ci+1)->func; in findlocal()
238 StkId func = L->top - 1; in lua_getinfo() local
239 luai_apicheck(L, ttisfunction(func)); in lua_getinfo()
241 f = clvalue(func); in lua_getinfo()
246 lua_assert(ttisfunction(ci->func)); in lua_getinfo()
247 f = clvalue(ci->func); in lua_getinfo()
H A Dldblib.c260 lua_Hook func; in db_sethook() local
264 func = NULL; mask = 0; count = 0; /* turn off hooks */ in db_sethook()
270 func = hookf; mask = makemask(smask, count); in db_sethook()
277 lua_sethook(L1, func, mask, count); /* set hooks */ in db_sethook()
H A Dlvm.c385 cl = &clvalue(L->ci->func)->l; in luaV_execute()
617 StkId func = ci->func; in luaV_execute() local
618 StkId pfunc = (ci+1)->func; /* previous function index */ in luaV_execute()
620 L->base = ci->base = ci->func + ((ci+1)->base - pfunc); in luaV_execute()
622 setobjs2s(L, func+aux, pfunc+aux); in luaV_execute()
623 ci->top = L->top = func+aux; /* correct top */ in luaV_execute()
624 lua_assert(L->top == L->base + clvalue(func)->l.p->maxstacksize); in luaV_execute()
747 int n = cast_int(ci->base - ci->func) - cl->p->numparams - 1; in luaV_execute()
H A Dlfunc.h30 LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number,
H A Dlua_cjson.c1308 lua_pushcclosure(l, reg->func, nup); /* closure with those upvalues */ in luaL_setfuncs()
1386 const char *func[] = { "decode", "encode", NULL }; in lua_cjson_safe_new() local
1395 for (i = 0; func[i]; i++) { in lua_cjson_safe_new()
1396 lua_getfield(l, -1, func[i]); in lua_cjson_safe_new()
1398 lua_setfield(l, -2, func[i]); in lua_cjson_safe_new()
H A Dlua.h203 LUA_API int (lua_cpcall) (lua_State *L, lua_CFunction func, void *ud);
340 LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count);
H A Dlparser.c310 static void pushclosure (LexState *ls, FuncState *func, expdesc *v) { in pushclosure() argument
318 f->p[fs->np++] = func->f; in pushclosure()
319 luaC_objbarrier(ls->L, f, func->f); in pushclosure()
321 for (i=0; i<func->f->nups; i++) { in pushclosure()
322 OpCode o = (func->upvalues[i].k == VLOCAL) ? OP_MOVE : OP_GETUPVAL; in pushclosure()
323 luaK_codeABC(fs, o, 0, func->upvalues[i].info, 0); in pushclosure()
H A Dlcode.c504 int func; in luaK_self() local
507 func = fs->freereg; in luaK_self()
509 luaK_codeABC(fs, OP_SELF, func, e->u.s.info, luaK_exp2RK(fs, key)); in luaK_self()
511 e->u.s.info = func; in luaK_self()
H A Dlauxlib.h37 lua_CFunction func; member
H A Dlstate.c54 L1->ci->func = L1->top; in stack_init()
H A Dlauxlib.c264 lua_pushcclosure(L, l->func, nup); in luaI_openlib()
H A Dlua_cmsgpack.c897 lua_pushcfunction(L, cmds[i].func); in luaopen_create()
/redis-3.2.3/deps/jemalloc/test/stress/
H A Dmicrobench.c4 time_func(timedelta_t *timer, uint64_t nwarmup, uint64_t niter, void (*func)(void)) in time_func()
9 func(); in time_func()
12 func(); in time_func()
/redis-3.2.3/deps/jemalloc/bin/
H A Djeprof.in2610 my $func = $symlist->[$j-2];
2617 $func = "$func (inline)";
2623 if ($func =~ m/Callback.*::Run$/) {
2625 $func = "Run#" . ShortIdFor($caller);
2629 push(@result, "$a $func $fileline");
2634 push(@result, "$func $fileline");
2637 if ($func eq '??') {
2640 push(@result, $func);
2931 my $func = '';
2954 my $func = $symbols->{$a}->[0];
[all …]