func 222 core/conf.c CONF_INFO(100, conf.batt_volts_max, CONF_FUNC_PTR, func:get_vbatt_max), func 223 core/conf.c CONF_INFO(101, conf.batt_volts_min, CONF_FUNC_PTR, func:get_vbatt_min), func 1066 core/conf.c *((int*)ci[i].var) = ci[i].func(); func 204 core/gui_user_menu.c static void set_user_menu_extern(int menu, int var, char sym, short type, int* func) func 211 core/gui_user_menu.c user_submenu_items[menu].value = func; func 12 include/callfunc.h unsigned __attribute__((long_call)) call_func_ptr(void *func, const unsigned *args, unsigned n_args); func 565 include/conf.h long (*func)(void); func 63 lib/lua/lapi.c Closure *func = curr_func(L); func 64 lib/lua/lapi.c sethvalue(L, &L->env, func->c.env); func 69 lib/lua/lapi.c Closure *func = curr_func(L); func 71 lib/lua/lapi.c return (idx <= func->c.nupvalues) func 72 lib/lua/lapi.c ? &func->c.upvalue[idx-1] func 83 lib/lua/lapi.c Closure *func = curr_func(L); func 84 lib/lua/lapi.c return func->c.env; func 213 lib/lua/lapi.c Closure *func = curr_func(L); func 215 lib/lua/lapi.c func->c.env = hvalue(L->top - 1); func 216 lib/lua/lapi.c luaC_barrier(L, func, L->top - 1); func 777 lib/lua/lapi.c StkId func; func 781 lib/lua/lapi.c func = L->top - (nargs+1); func 782 lib/lua/lapi.c luaD_call(L, func, nresults); func 793 lib/lua/lapi.c StkId func; func 800 lib/lua/lapi.c luaD_call(L, c->func, c->nresults); func 808 lib/lua/lapi.c ptrdiff_t func; func 813 lib/lua/lapi.c func = 0; func 817 lib/lua/lapi.c func = savestack(L, o); func 819 lib/lua/lapi.c c.func = L->top - (nargs+1); /* function to be called */ func 821 lib/lua/lapi.c status = luaD_pcall(L, f_call, &c, savestack(L, c.func), func); func 832 lib/lua/lapi.c lua_CFunction func; func 841 lib/lua/lapi.c cl->c.f = c->func; func 850 lib/lua/lapi.c LUA_API int lua_cpcall (lua_State *L, lua_CFunction func, void *ud) { func 854 lib/lua/lapi.c c.func = func; func 264 lib/lua/lauxlib.c lua_pushcclosure(L, l->func, nup); func 37 lib/lua/lauxlib.h lua_CFunction func; func 504 lib/lua/lcode.c int func; func 507 lib/lua/lcode.c func = fs->freereg; func 509 lib/lua/lcode.c luaK_codeABC(fs, OP_SELF, func, e->u.s.info, luaK_exp2RK(fs, key)); func 511 lib/lua/lcode.c e->u.s.info = func; func 260 lib/lua/ldblib.c lua_Hook func; func 264 lib/lua/ldblib.c func = NULL; mask = 0; count = 0; /* turn off hooks */ func 270 lib/lua/ldblib.c func = hookf; mask = makemask(smask, count); func 277 lib/lua/ldblib.c lua_sethook(L1, func, mask, count); /* set hooks */ func 56 lib/lua/ldebug.c LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count) { func 57 lib/lua/ldebug.c if (func == NULL || mask == 0) { /* turn off hooks? */ func 59 lib/lua/ldebug.c func = NULL; func 61 lib/lua/ldebug.c L->hook = func; func 118 lib/lua/ldebug.c StkId limit = (ci == L->ci) ? L->top : (ci+1)->func; func 238 lib/lua/ldebug.c StkId func = L->top - 1; func 239 lib/lua/ldebug.c luai_apicheck(L, ttisfunction(func)); func 241 lib/lua/ldebug.c f = clvalue(func); func 246 lib/lua/ldebug.c lua_assert(ttisfunction(ci->func)); func 247 lib/lua/ldebug.c f = clvalue(ci->func); func 135 lib/lua/ldo.c ci->func = (ci->func - oldstack) + L->stack; func 244 lib/lua/ldo.c static StkId tryfuncTM (lua_State *L, StkId func) { func 245 lib/lua/ldo.c const TValue *tm = luaT_gettmbyobj(L, func, TM_CALL); func 247 lib/lua/ldo.c ptrdiff_t funcr = savestack(L, func); func 249 lib/lua/ldo.c luaG_typeerror(L, func, "call"); func 251 lib/lua/ldo.c for (p = L->top; p > func; p--) setobjs2s(L, p, p-1); func 253 lib/lua/ldo.c func = restorestack(L, funcr); /* previous call may change stack */ func 254 lib/lua/ldo.c setobj2s(L, func, tm); /* tag method is the new function to be called */ func 255 lib/lua/ldo.c return func; func 265 lib/lua/ldo.c LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults) { func 268 lib/lua/ldo.c if (!ttisfunction(func)) /* `func' is not a function? */ func 269 lib/lua/ldo.c func = tryfuncTM(L, func); /* check the `function' tag method */ func 270 lib/lua/ldo.c funcr = savestack(L, func); func 271 lib/lua/ldo.c cl = &clvalue(func)->l; func 278 lib/lua/ldo.c func = restorestack(L, funcr); func 280 lib/lua/ldo.c base = func + 1; func 285 lib/lua/ldo.c int nargs = cast_int(L->top - func) - 1; func 287 lib/lua/ldo.c func = restorestack(L, funcr); /* previous call may change the stack */ func 290 lib/lua/ldo.c ci->func = func; func 312 lib/lua/ldo.c ci->func = restorestack(L, funcr); func 313 lib/lua/ldo.c L->base = ci->base = ci->func + 1; func 350 lib/lua/ldo.c res = ci->func; /* res == final position of 1st result */ func 370 lib/lua/ldo.c LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults) { func 377 lib/lua/ldo.c if (luaD_precall(L, func, nResults) == PCRLUA) /* is a Lua function? */ func 456 lib/lua/ldo.c LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, func 464 lib/lua/ldo.c status = luaD_rawrunprotected(L, func, u); func 42 lib/lua/ldo.h LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); func 43 lib/lua/ldo.h LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); func 44 lib/lua/ldo.h LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, func 30 lib/lua/lfunc.h LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, func 34 lib/lua/linit.c for (; lib->func; lib++) { func 35 lib/lua/linit.c lua_pushcfunction(L, lib->func); func 310 lib/lua/lparser.c static void pushclosure (LexState *ls, FuncState *func, expdesc *v) { func 318 lib/lua/lparser.c f->p[fs->np++] = func->f; func 319 lib/lua/lparser.c luaC_objbarrier(ls->L, f, func->f); func 321 lib/lua/lparser.c for (i=0; i<func->f->nups; i++) { func 322 lib/lua/lparser.c OpCode o = (func->upvalues[i].k == VLOCAL) ? OP_MOVE : OP_GETUPVAL; func 323 lib/lua/lparser.c luaK_codeABC(fs, o, 0, func->upvalues[i].info, 0); func 54 lib/lua/lstate.c L1->ci->func = L1->top; func 50 lib/lua/lstate.h StkId func; /* function index in the stack */ func 59 lib/lua/lstate.h #define curr_func(L) (clvalue(L->ci->func)) func 60 lib/lua/lstate.h #define ci_func(ci) (clvalue((ci)->func)) func 62 lib/lua/lstate.h #define isLua(ci) (ttisfunction((ci)->func) && f_isLua(ci)) func 203 lib/lua/lua.h LUA_API int (lua_cpcall) (lua_State *L, lua_CFunction func, void *ud); func 340 lib/lua/lua.h LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count); func 401 lib/lua/lvm.c cl = &clvalue(L->ci->func)->l; func 633 lib/lua/lvm.c StkId func = ci->func; func 634 lib/lua/lvm.c StkId pfunc = (ci+1)->func; /* previous function index */ func 636 lib/lua/lvm.c L->base = ci->base = ci->func + ((ci+1)->base - pfunc); func 638 lib/lua/lvm.c setobjs2s(L, func+aux, pfunc+aux); func 639 lib/lua/lvm.c ci->top = L->top = func+aux; /* correct top */ func 640 lib/lua/lvm.c lua_assert(L->top == L->base + clvalue(func)->l.p->maxstacksize); func 763 lib/lua/lvm.c int n = cast_int(ci->base - ci->func) - cl->p->numparams - 1; func 1760 lib/ubasic/ubasic.c static void get_short_var_statement(int token, short (*func)(void)) func 1766 lib/ubasic/ubasic.c ubasic_set_variable(var, func()); func 1771 lib/ubasic/ubasic.c static void get_int_var_statement(int token, int (*func)(void)) func 1777 lib/ubasic/ubasic.c ubasic_set_variable(var, func()); func 1796 lib/ubasic/ubasic.c static void one_int_param_function(int token, void (*func)(int)) func 1799 lib/ubasic/ubasic.c func(expr()); func 1804 lib/ubasic/ubasic.c static void one_short_param_function(int token, void (*func)(short)) func 1807 lib/ubasic/ubasic.c func(expr()); func 487 modules/luascript.c void* func = lua_touserdata( L, lua_upvalueindex(1) ); func 488 modules/luascript.c ((void(*)(long))func)( lua_get_key_arg( L, 1 ) ); func 3079 modules/luascript.c lua_pushcfunction( L, r->func ); func 277 modules/module_load.c static int module_do_action(int fd, flat_hdr* mod, uint32_t offset, uint32_t segment_size, int (*func)(flat_hdr*, void*, uint32_t)) func 286 modules/module_load.c return func(mod, (uint32_t*)buf_load, segment_size >> 2); func 243 modules/user_menu_edit.c static void add_extern_to_user_menu(const char* fname, char* title, char sym, short type, int* func) func 267 modules/user_menu_edit.c items[i].value = func; func 1069 tools/code_gen.c int run_op(char *name, void (*func)()) func 1073 tools/code_gen.c func(); func 640 tools/finsig_dryos.c int search_saved_sig(firmware *fw, char *sig, int (*func)(firmware*, int, int), int v, int ofst, int len) func 648 tools/finsig_dryos.c int rv = func(fw, k, v); func 602 tools/finsig_vxworks.c int search_saved_sig(firmware *fw, char *sig, int (*func)(firmware*, int, int), int v, int ofst, int len) func 610 tools/finsig_vxworks.c int rv = func(fw, k, v); func 881 tools/firmware_load.c int search_fw(firmware *fw, int (*func)(firmware*, int, uint32_t, uint32_t), uint32_t v1, uint32_t v2, int len) func 889 tools/firmware_load.c int rv = func(fw,k,v1,v2); func 903 tools/firmware_load.c int search_fw_bytes(firmware *fw, int (*func)(firmware*, int)) func 911 tools/firmware_load.c if (func(fw,k)) func 175 tools/firmware_load.h int search_fw(firmware *fw, int (*func)(firmware*, int, uint32_t, uint32_t), uint32_t v1, uint32_t v2, int len); func 176 tools/firmware_load.h int search_fw_bytes(firmware *fw, int (*func)(firmware*, int)); func 2145 tools/firmware_load_ng.c int fw_search_bytes(firmware *fw, search_bytes_fn func) func 2153 tools/firmware_load_ng.c if (func(fw,k)) func 691 tools/firmware_load_ng.h int fw_search_bytes(firmware *fw, search_bytes_fn func); func 415 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int ExportToEventProcedure_FW(const char *name, int (*func)()); func 418 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int RegisterEventProcedure(const char *name, int (*func)(), int (*func2)()); func 420 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int RegisterEventProcedure_FW(const char *name, int (*func)()); func 421 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int RegisterEventProcedure_alt1(const char *name, int (*func)()); func 422 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int RegisterEventProcedure_alt2(const char *name, int (*func)()); func 125 tools/ghidra_scripts/datatypes/fw_types.h int (*func)(); func 128 tools/packfi2/deflate.c compress_func func; func 422 tools/packfi2/deflate.c compress_func func; func 436 tools/packfi2/deflate.c func = configuration_table[s->level].func; func 438 tools/packfi2/deflate.c if (func != configuration_table[level].func && strm->total_in != 0) { func 790 tools/packfi2/deflate.c bstate = (*(configuration_table[s->level].func))(s, flush);