Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 36) sorted by relevance

12

/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dltm.c59 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm() argument
61 lua_assert(event <= TM_EQ); in luaT_gettm()
63 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
70 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { in luaT_gettmbyobj() argument
82 return (mt ? luaH_getshortstr(mt, G(L)->tmname[event]) : luaO_nilobject); in luaT_gettmbyobj()
125 StkId res, TMS event) { in luaT_callbinTM() argument
126 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ in luaT_callbinTM()
128 tm = luaT_gettmbyobj(L, p2, event); /* try second operand */ in luaT_callbinTM()
136 StkId res, TMS event) { in luaT_trybinTM() argument
137 if (!luaT_callbinTM(L, p1, p2, res, event)) { in luaT_trybinTM()
[all …]
Dltm.h60 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
62 TMS event);
68 StkId res, TMS event);
70 StkId res, TMS event);
72 const TValue *p2, TMS event);
Dlauxlib.c772 LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *event) { in luaL_getmetafield() argument
777 lua_pushstring(L, event); in luaL_getmetafield()
788 LUALIB_API int luaL_callmeta (lua_State *L, int obj, const char *event) { in luaL_callmeta() argument
790 if (luaL_getmetafield(L, obj, event) == LUA_TNIL) /* no metafield? */ in luaL_callmeta()
Dldo.h41 LUAI_FUNC void luaD_hook (lua_State *L, int event, int line);
Dldo.c253 void luaD_hook (lua_State *L, int event, int line) { in luaD_hook() argument
260 ar.event = event; in luaD_hook()
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/eventloop/
DREADME.rst8 A few examples on how an event loop can be implemented with Duktape, mainly
9 illlustrating how the Duktape interface works (not how event loops should be
24 1. Using a C eventloop which calls into Javascript. All the event loop state
28 2. Using an Ecmascript eventloop which never returns. All the event loop state
36 The event loop API provided by both examples is the same, and includes:
42 In addition there are a few synchronous API bindings which are not event loop
52 This is **not** a production quality event loop. This is on purpose, to
55 * A production quality event loop would track its internal state (active
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/eventloop/
DREADME.rst8 A few examples on how an event loop can be implemented with Duktape, mainly
9 illlustrating how the Duktape interface works (not how event loops should be
24 1. Using a C eventloop which calls into Javascript. All the event loop state
28 2. Using an Ecmascript eventloop which never returns. All the event loop state
36 The event loop API provided by both examples is the same, and includes:
42 In addition there are a few synchronous API bindings which are not event loop
52 This is **not** a production quality event loop. This is on purpose, to
55 * A production quality event loop would track its internal state (active
/civetweb-2.7.6/src/third_party/lua-5.1.5/test/
Dtrace-calls.lua6 local function hook(event)
11 if event=="call" then
17 if event=="call" then
24 io.write(event," ",t.name or "(Lua)"," <",t.linedefined,":",t.short_src,">")
26 io.write(event," ",t.name or "(C)"," [",t.what,"] ")
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dltm.c50 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm() argument
52 lua_assert(event <= TM_EQ); in luaT_gettm()
54 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
61 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { in luaT_gettmbyobj() argument
73 return (mt ? luaH_getstr(mt, G(L)->tmname[event]) : luaO_nilobject); in luaT_gettmbyobj()
Dlvm.c166 StkId res, TMS event) { in call_binTM() argument
167 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ in call_binTM()
169 tm = luaT_gettmbyobj(L, p2, event); /* try second operand */ in call_binTM()
177 TMS event) { in get_compTM() argument
178 const TValue *tm1 = fasttm(L, mt1, event); in get_compTM()
182 tm2 = fasttm(L, mt2, event); in get_compTM()
191 TMS event) { in call_orderTM() argument
192 const TValue *tm1 = luaT_gettmbyobj(L, p1, event); in call_orderTM()
195 tm2 = luaT_gettmbyobj(L, p2, event); in call_orderTM()
Dltm.h49 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
51 TMS event);
Dlauxlib.c203 LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *event) { in luaL_getmetafield() argument
206 lua_pushstring(L, event); in luaL_getmetafield()
219 LUALIB_API int luaL_callmeta (lua_State *L, int obj, const char *event) { in luaL_callmeta() argument
221 if (!luaL_getmetafield(L, obj, event)) /* no metafield? */ in luaL_callmeta()
Dldo.c181 void luaD_callhook (lua_State *L, int event, int line) { in luaD_callhook() argument
187 ar.event = event; in luaD_callhook()
189 if (event == LUA_HOOKTAILRET) in luaD_callhook()
Dldo.h41 LUAI_FUNC void luaD_callhook (lua_State *L, int event, int line);
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dltm.c52 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { in luaT_gettm() argument
54 lua_assert(event <= TM_EQ); in luaT_gettm()
56 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
63 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { in luaT_gettmbyobj() argument
75 return (mt ? luaH_getstr(mt, G(L)->tmname[event]) : luaO_nilobject); in luaT_gettmbyobj()
Dltm.h52 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
54 TMS event);
Dlvm.c176 StkId res, TMS event) { in call_binTM() argument
177 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ in call_binTM()
179 tm = luaT_gettmbyobj(L, p2, event); /* try second operand */ in call_binTM()
187 TMS event) { in get_equalTM() argument
188 const TValue *tm1 = fasttm(L, mt1, event); in get_equalTM()
192 tm2 = fasttm(L, mt2, event); in get_equalTM()
201 TMS event) { in call_orderTM() argument
202 if (!call_binTM(L, p1, p2, L->top, event)) in call_orderTM()
Dlauxlib.c699 LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *event) { in luaL_getmetafield() argument
702 lua_pushstring(L, event); in luaL_getmetafield()
715 LUALIB_API int luaL_callmeta (lua_State *L, int obj, const char *event) { in luaL_callmeta() argument
717 if (!luaL_getmetafield(L, obj, event)) /* no metafield? */ in luaL_callmeta()
Dldo.h31 LUAI_FUNC void luaD_hook (lua_State *L, int event, int line);
Dldo.c217 void luaD_hook (lua_State *L, int event, int line) { in luaD_hook() argument
224 ar.event = event; in luaD_hook()
/civetweb-2.7.6/examples/_obsolete/docroot/
Djquery.js17 …rn false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}…
19 …&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i]…
49event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.fra… class in c
50event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventList…
51event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.spli…
52 …[e]}}else for(var B=0;B<r.length;B++){u=r[B];if(i||k.test(u.namespace)){c.event.remove(a,n,u.handl…
53 …ve=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.…
54event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e…
57 …pecial:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origTyp…
58 "events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove…
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/debugger/static/
Dwebui.js559 $('#source-code').dblclick(function (event) { argument
560 var target = event.target;
771 $('#eval-input').keypress(function (event) { argument
772 if (event.keyCode == 13) {
/civetweb-2.7.6/src/third_party/duktape-1.5.2/debugger/static/
Dwebui.js559 $('#source-code').dblclick(function (event) { argument
560 var target = event.target;
771 $('#eval-input').keypress(function (event) { argument
772 if (event.keyCode == 13) {
/civetweb-2.7.6/test/ajax/
Djquery.js2event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J…
/civetweb-2.7.6/src/
Dmod_lua.inl1927 if (ar->event == LUA_HOOKCALL) {
1929 } else if (ar->event == LUA_HOOKRET) {
1932 } else if (ar->event == LUA_HOOKTAILRET) {
1936 } else if (ar->event == LUA_HOOKTAILCALL) {
1939 } else if (ar->event == LUA_HOOKLINE) {
1941 } else if (ar->event == LUA_HOOKCOUNT) {
1944 printf("unknown (%i)\n", ar->event);

12