Lines Matching full:script
387 /* This reader is called multiple times, to fetch the full Lua script */
407 /* Forth/Final call: tell Lua we got the entire script */
428 /* This reader is called multiple times, to fetch the full Lua script */
525 /* Forward all data inside the Lua script tag */
635 /* Assume the script does not support keep_alive. The script may change
671 /* execute script code */
703 /* Distinguish between <? script ?> (is_var == 0)
829 const char *script[LSP_INCLUDE_MAX_DEPTH + 1]; member
901 include_history->script[include_history->depth]);
1650 char *script; member
1764 const char *script; member
1787 fake_connection(&fc, ctx), err, arg->state, arg->script, "timer");
1796 fake_connection(&fc, ctx), err, arg->state, arg->script, "timer");
1870 arg->script = ws->script;
2191 reg_string(L, "lua_type", "script");
2349 /* Assume the script does not support keep_alive. The script may change this
2353 /* Execute a plain Lua script. */
2416 "Error: Cannot open script file %s",
2450 "Error: Cannot open script\nFile %s can not be mapped",
2484 "Error: Cannot execute script\nlua_newstate failed");
2499 /* Store script name and increment depth */
2501 include_history->script[include_history->depth] = path;
2570 lua_websocket_new(const char *script, struct mg_connection *conn) argument
2583 if (0 == strcmp(script, (*shared_websock_list)->ws.script)) {
2604 ws->script = mg_strdup_ctx(script, conn->phys_ctx);
2605 if (!ws->script) {
2610 "Cannot create shared websocket script, OOM");
2622 script,
2624 err = luaL_loadfile(ws->state, script);
2626 lua_cry(conn, err, ws->state, script, "load");
2630 lua_cry(conn, err, ws->state, script, "init");
2650 lua_cry(conn, err, ws->state, script, "open handler");
2702 lua_cry(conn, err, ws->state, ws->script, "data handler");
2733 lua_cry(conn, err, ws->state, ws->script, "ready handler");
2769 lua_cry(conn, err, ws->state, ws->script, "close handler");
2827 /* The script file is loaded, now call it */
2834 /* Error when executing the script */
2859 /* Script executed */