Lines Matching defs:L
186 #define lua_newuserdata0(L, sz) lua_newuserdata((L),(sz)) argument
188 #define lua_newuserdata0(L, sz) lua_newuserdatauv((L),(sz),0) argument
192 #define lua_getfield_and_type(L,idx,k) \ argument
194 #define lua_getglobal_and_type(L,name) \ argument
197 #define lua_getfield_and_type(L,idx,k) \ argument
199 #define lua_getglobal_and_type(L,name) \ argument
205 lua_tointegerx (lua_State * const L, int idx, int *isnum) in lua_tointegerx()
216 static void lua_pushglobaltable(lua_State *L) { /* (-0, +1, -) */ in lua_pushglobaltable()
221 static void magnet_setfenv_mainfn(lua_State *L, int funcIndex) { /* (-1, 0, -) */ in magnet_setfenv_mainfn()
248 #define luaL_setfuncs(L, l, nup) luaL_register((L), NULL, (l)) argument
257 static int magnet_pairs(lua_State *L) { in magnet_pairs()
285 static int magnet_readdir_iter(lua_State *L) { in magnet_readdir_iter()
308 static int magnet_readdir_gc(lua_State *L) { in magnet_readdir_gc()
315 static void magnet_readdir_metatable(lua_State * const L) { in magnet_readdir_metatable()
324 static int magnet_readdir(lua_State *L) { in magnet_readdir()
340 static int magnet_newindex_readonly(lua_State *L) { in magnet_newindex_readonly()
345 static void magnet_push_buffer(lua_State *L, const buffer *b) { in magnet_push_buffer()
365 static int magnet_array_next(lua_State *L) { in magnet_array_next()
395 static int magnet_array_pairs(lua_State *L, array *a) { in magnet_array_pairs()
409 static request_st * magnet_get_request(lua_State *L) { in magnet_get_request()
420 static void magnet_set_request(lua_State *L, request_st * const r) { in magnet_set_request()
432 static buffer * magnet_tmpbuf_acquire(lua_State *L) in magnet_tmpbuf_acquire()
460 static const_buffer magnet_checkconstbuffer(lua_State *L, int idx) { in magnet_checkconstbuffer()
471 static const buffer* magnet_checkbuffer(lua_State *L, int idx, buffer *b) { in magnet_checkbuffer()
482 static int magnet_return_upvalue2(lua_State *L) { in magnet_return_upvalue2()
489 static int magnet_stat_field(lua_State *L) { in magnet_stat_field()
680 static int magnet_stat_pairs_noimpl_iter(lua_State *L) { in magnet_stat_pairs_noimpl_iter()
690 static int magnet_stat_pairs_noimpl(lua_State *L) { in magnet_stat_pairs_noimpl()
696 static void magnet_stat_metatable(lua_State *L) { in magnet_stat_metatable()
710 static int magnet_stat(lua_State *L) { in magnet_stat()
736 static int magnet_time(lua_State *L) { in magnet_time()
742 static int magnet_hrtime(lua_State *L) { in magnet_hrtime()
752 static int magnet_rand(lua_State *L) { in magnet_rand()
758 static int magnet_md_once(lua_State *L) { in magnet_md_once()
818 static int magnet_hmac_once(lua_State *L) { in magnet_hmac_once()
881 static int magnet_digest_eq(lua_State *L) { in magnet_digest_eq()
900 static int magnet_secret_eq(lua_State *L) { in magnet_secret_eq()
912 static int magnet_b64dec(lua_State *L, base64_charset dict) { in magnet_b64dec()
931 static int magnet_b64enc(lua_State *L, base64_charset dict) { in magnet_b64enc()
948 static int magnet_b64urldec(lua_State *L) { in magnet_b64urldec()
952 static int magnet_b64urlenc(lua_State *L) { in magnet_b64urlenc()
956 static int magnet_b64stddec(lua_State *L) { in magnet_b64stddec()
960 static int magnet_b64stdenc(lua_State *L) { in magnet_b64stdenc()
964 static int magnet_hexdec(lua_State *L) { in magnet_hexdec()
983 static int magnet_hexenc(lua_State *L) { in magnet_hexenc()
1000 static int magnet_quoteddec(lua_State *L) { in magnet_quoteddec()
1029 static int magnet_quotedenc(lua_State *L) { in magnet_quotedenc()
1140 static int magnet_bsdec(lua_State *L) { in magnet_bsdec()
1164 static int magnet_bsenc(lua_State *L, const int esc_json) { in magnet_bsenc()
1184 static int magnet_bsenc_default(lua_State *L) { in magnet_bsenc_default()
1188 static int magnet_bsenc_json(lua_State *L) { in magnet_bsenc_json()
1192 static int magnet_xmlenc(lua_State *L) { in magnet_xmlenc()
1229 static int magnet_urldec(lua_State *L) { in magnet_urldec()
1250 static int magnet_urlenc(lua_State *L) { in magnet_urlenc()
1279 static int magnet_urldec_query(lua_State *L) { in magnet_urldec_query()
1355 static int magnet_urlenc_query(lua_State *L) { in magnet_urlenc_query()
1383 static int magnet_urlenc_normalize(lua_State *L) { in magnet_urlenc_normalize()
1422 static int magnet_fspath_simplify(lua_State *L) { in magnet_fspath_simplify()
1455 static const char * magnet_push_quoted_string_range (lua_State *L, const char *b, const char *s) { in magnet_push_quoted_string_range()
1474 static const char * magnet_push_quoted_string(lua_State *L, const char *s) { in magnet_push_quoted_string()
1478 static const char * magnet_cookie_param_push_token(lua_State *L, const char *s) { in magnet_cookie_param_push_token()
1487 static int magnet_cookie_tokens(lua_State *L) { in magnet_cookie_tokens()
1520 static const char * magnet_push_token(lua_State *L, const char *s) { in magnet_push_token()
1529 static int magnet_header_tokens(lua_State *L) { in magnet_header_tokens()
1564 static int magnet_reqhdr_get(lua_State *L) { in magnet_reqhdr_get()
1573 static int magnet_reqhdr_set(lua_State *L) { in magnet_reqhdr_set()
1636 static int magnet_reqhdr_pairs(lua_State *L) { in magnet_reqhdr_pairs()
1641 static int magnet_resphdr_get(lua_State *L) { in magnet_resphdr_get()
1652 static int magnet_resphdr_set_kv(lua_State *L, request_st * const r) { in magnet_resphdr_set_kv()
1700 static int magnet_resphdr_set(lua_State *L) { in magnet_resphdr_set()
1707 static int magnet_resphdr_pairs(lua_State *L) { in magnet_resphdr_pairs()
1712 static int magnet_plugin_stats_get(lua_State *L) { in magnet_plugin_stats_get()
1718 static int magnet_plugin_stats_set(lua_State *L) { in magnet_plugin_stats_set()
1724 static int magnet_plugin_stats_pairs(lua_State *L) { in magnet_plugin_stats_pairs()
1730 magnet_req_item_get (lua_State *L) in magnet_req_item_get()
1793 magnet_req_item_set (lua_State *L) in magnet_req_item_set()
2020 static int magnet_env_get(lua_State *L) { in magnet_env_get()
2031 magnet_env_set_raddr_by_id (lua_State *L, request_st * const r, const int id, in magnet_env_set_raddr_by_id()
2080 static int magnet_env_set(lua_State *L) { in magnet_env_set()
2141 static int magnet_env_next(lua_State *L) { in magnet_env_next()
2162 static int magnet_env_pairs(lua_State *L) { in magnet_env_pairs()
2170 static int magnet_envvar_get(lua_State *L) { in magnet_envvar_get()
2178 static int magnet_envvar_set(lua_State *L) { in magnet_envvar_set()
2191 static int magnet_envvar_pairs(lua_State *L) { in magnet_envvar_pairs()
2197 static int magnet_respbody_add(lua_State *L) { in magnet_respbody_add()
2276 static int magnet_respbody(lua_State *L) { in magnet_respbody()
2342 static int magnet_reqbody_add(lua_State *L) { in magnet_reqbody_add()
2387 static int magnet_reqbody(lua_State *L) { in magnet_reqbody()
2483 static int magnet_lighty_result_get(lua_State *L) { in magnet_lighty_result_get()
2502 static int magnet_lighty_result_set(lua_State *L) { in magnet_lighty_result_set()
2512 static void magnet_copy_response_header(lua_State * const L, request_st * const r) { in magnet_copy_response_header()
2529 static void magnet_attach_content(lua_State * const L, request_st * const r) { in magnet_attach_content()
2613 static void magnet_mainenv_metatable(lua_State * const L) { in magnet_mainenv_metatable()
2623 magnet_request_userdata_method (lua_State * const L, request_st ** const rr, const char *meta) in magnet_request_userdata_method()
2637 magnet_request_table (lua_State * const L, request_st ** const rr) in magnet_request_table()
2677 magnet_request_iter (lua_State *L) in magnet_request_iter()
2725 magnet_irequests (lua_State *L) in magnet_irequests()
2754 magnet_server_stats_get (lua_State *L) in magnet_server_stats_get()
2790 magnet_req_header_metatable (lua_State * const L) in magnet_req_header_metatable()
2807 magnet_req_attr_metatable (lua_State * const L) in magnet_req_attr_metatable()
2824 magnet_req_item_metatable (lua_State * const L) in magnet_req_item_metatable()
2839 magnet_req_env_metatable (lua_State * const L) in magnet_req_env_metatable()
2856 magnet_resp_header_metatable (lua_State * const L) in magnet_resp_header_metatable()
2873 magnet_resp_body_metatable (lua_State * const L) in magnet_resp_body_metatable()
2888 magnet_req_body_metatable (lua_State * const L) in magnet_req_body_metatable()
2902 static int magnet_atpanic(lua_State *L) { in magnet_atpanic()
2911 static int magnet_print(lua_State *L) { in magnet_print()
2920 magnet_plugin_stats_table (lua_State * const L) in magnet_plugin_stats_table()
2937 magnet_server_stats_table (lua_State * const L) in magnet_server_stats_table()
2952 magnet_server_table (lua_State * const L) in magnet_server_table()
2971 magnet_script_setup_global_state (lua_State * const L) in magnet_script_setup_global_state()
3001 magnet_init_lighty_table (lua_State * const L, request_st **rr, in magnet_init_lighty_table()
3119 static void magnet_clear_table(lua_State * const L, int ndx) { in magnet_clear_table()
3133 static int magnet_traceback(lua_State *L) { in magnet_traceback()
3155 lua_State * const L = sc->L; in magnet_script_setup() local
3205 lua_State * const L = sc->L; in magnet_attract() local