Home
last modified time | relevance | path

Searched full:env (Results 1 – 25 of 81) sorted by relevance

1234

/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_js_var.c41 duk_tval *value; /* for register-bound and declarative env identifiers */
44 duk_hobject *env; member
249 /* -> [ ... closure template env ] */ in duk_js_push_closure()
259 …duk_get_prop_stridx(ctx, -2, DUK_STRIDX_NAME); /* -> [ ... closure template env funcname ] */ in duk_js_push_closure()
260 …duk_dup(ctx, -4); /* -> [ ... closure template env funcname clo… in duk_js_push_closure()
261 duk_xdef_prop(ctx, -3, DUK_PROPDESC_FLAGS_NONE); /* -> [ ... closure template env ] */ in duk_js_push_closure()
262 /* env[funcname] = closure */ in duk_js_push_closure()
264 /* [ ... closure template env ] */ in duk_js_push_closure()
279 duk_push_hobject(ctx, outer_lex_env); /* -> [ ... closure template env ] */ in duk_js_push_closure()
298 duk_push_hobject(ctx, outer_lex_env); /* -> [ ... closure template env ] */ in duk_js_push_closure()
[all …]
Dduk_js.h69 DUK_INTERNAL duk_bool_t duk_js_hasvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name);
71 DUK_INTERNAL_DECL duk_bool_t duk_js_getvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *…
73 DUK_INTERNAL_DECL void duk_js_putvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name, …
76 DUK_INTERNAL_DECL duk_bool_t duk_js_delvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *…
81 DUK_INTERNAL_DECL void duk_js_close_environment_record(duk_hthread *thr, duk_hobject *env, duk_hobj…
Dduk_hthread_stacks.c433 duk_hobject *env; in duk_hthread_catchstack_unwind() local
462 env = act->lex_env; /* current lex_env of the activation (created for catcher) */ in duk_hthread_catchstack_unwind()
463 DUK_ASSERT(env != NULL); /* must be, since env was created when catcher was created */ in duk_hthread_catchstack_unwind()
464 …act->lex_env = DUK_HOBJECT_GET_PROTOTYPE(thr->heap, env); /* prototype is lex_env before catcher … in duk_hthread_catchstack_unwind()
465 DUK_HOBJECT_DECREF(thr, env); in duk_hthread_catchstack_unwind()
467 /* There is no need to decref anything else than 'env': if 'env' in duk_hthread_catchstack_unwind()
Dduk_js_call.c356 /* Helper for creating the arguments object and adding it to the env record
362 duk_hobject *env, in duk__handle_createargs_for_call() argument
370 DUK_ASSERT(env != NULL); in duk__handle_createargs_for_call()
378 env, in duk__handle_createargs_for_call()
1179 duk_hobject *env; local
1449 * compiler; the compiled function's parent env will contain
1476 env = duk_create_activation_environment_record(thr, func, act->idx_bottom);
1477 DUK_ASSERT(env != NULL);
1482 duk__handle_createargs_for_call(thr, func, env, num_stack_args);
1487 act->lex_env = env;
[all …]
Dduk_api_bytecode.c578 duk_dup(ctx, -2); /* -> [ func funcname env funcname ] */ in duk__load_func()
579 duk_dup(ctx, idx_base); /* -> [ func funcname env funcname func ] */ in duk__load_func()
580 duk_xdef_prop(ctx, -3, DUK_PROPDESC_FLAGS_NONE); /* -> [ func funcname env ] */ in duk__load_func()
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_js_var.c41 duk_tval *value; /* for register-bound and declarative env identifiers */
44 duk_hobject *env; member
249 /* -> [ ... closure template env ] */ in duk_js_push_closure()
259 …duk_get_prop_stridx(ctx, -2, DUK_STRIDX_NAME); /* -> [ ... closure template env funcname ] */ in duk_js_push_closure()
260 …duk_dup(ctx, -4); /* -> [ ... closure template env funcname clo… in duk_js_push_closure()
261 duk_xdef_prop(ctx, -3, DUK_PROPDESC_FLAGS_NONE); /* -> [ ... closure template env ] */ in duk_js_push_closure()
262 /* env[funcname] = closure */ in duk_js_push_closure()
264 /* [ ... closure template env ] */ in duk_js_push_closure()
279 duk_push_hobject(ctx, outer_lex_env); /* -> [ ... closure template env ] */ in duk_js_push_closure()
298 duk_push_hobject(ctx, outer_lex_env); /* -> [ ... closure template env ] */ in duk_js_push_closure()
[all …]
Dduk_js.h69 DUK_INTERNAL duk_bool_t duk_js_hasvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name);
71 DUK_INTERNAL_DECL duk_bool_t duk_js_getvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *…
73 DUK_INTERNAL_DECL void duk_js_putvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *name, …
76 DUK_INTERNAL_DECL duk_bool_t duk_js_delvar_envrec(duk_hthread *thr, duk_hobject *env, duk_hstring *…
81 DUK_INTERNAL_DECL void duk_js_close_environment_record(duk_hthread *thr, duk_hobject *env, duk_hobj…
Dduk_hthread_stacks.c433 duk_hobject *env; in duk_hthread_catchstack_unwind() local
462 env = act->lex_env; /* current lex_env of the activation (created for catcher) */ in duk_hthread_catchstack_unwind()
463 DUK_ASSERT(env != NULL); /* must be, since env was created when catcher was created */ in duk_hthread_catchstack_unwind()
464 …act->lex_env = DUK_HOBJECT_GET_PROTOTYPE(thr->heap, env); /* prototype is lex_env before catcher … in duk_hthread_catchstack_unwind()
465 DUK_HOBJECT_DECREF(thr, env); in duk_hthread_catchstack_unwind()
467 /* There is no need to decref anything else than 'env': if 'env' in duk_hthread_catchstack_unwind()
Dduk_js_call.c356 /* Helper for creating the arguments object and adding it to the env record
362 duk_hobject *env, in duk__handle_createargs_for_call() argument
370 DUK_ASSERT(env != NULL); in duk__handle_createargs_for_call()
378 env, in duk__handle_createargs_for_call()
1177 duk_hobject *env; local
1447 * compiler; the compiled function's parent env will contain
1474 env = duk_create_activation_environment_record(thr, func, act->idx_bottom);
1475 DUK_ASSERT(env != NULL);
1480 duk__handle_createargs_for_call(thr, func, env, num_stack_args);
1485 act->lex_env = env;
[all …]
Dduk_api_bytecode.c578 duk_dup(ctx, -2); /* -> [ func funcname env funcname ] */ in duk__load_func()
579 duk_dup(ctx, idx_base); /* -> [ func funcname env funcname func ] */ in duk__load_func()
580 duk_xdef_prop(ctx, -3, DUK_PROPDESC_FLAGS_NONE); /* -> [ func funcname env ] */ in duk__load_func()
/civetweb-2.7.6/
D.travis.yml177 env:
211 env:
246 env:
280 env:
314 env:
340 env:
365 env:
391 env:
430 env:
458 env:
[all …]
/civetweb-2.7.6/test/
Dtest.pl1 #!/usr/bin/env perl
188 o("POST /env.cgi HTTP/1.0\r\nContent-Length: $len\r\n\r\n$x",
242 write_file($path, read_file($root . $dir_separator . 'env.cgi'));
359 o("GET /env.cgi HTTP/1.0\n\r\n", 'HTTP/1.1 200 OK', 'GET CGI file');
364 o("GET /env.cgi?var=HELLO HTTP/1.0\n\n", 'QUERY_STRING=var=HELLO',
366 o("POST /env.cgi HTTP/1.0\r\nContent-Length: 9\r\n\r\nvar=HELLO",
368 o("POST /env.cgi HTTP/1.0\r\nContent-Length: 9\r\n\r\nvar=HELLO",
370 o("GET /env.cgi HTTP/1.0\nMy-HdR: abc\n\r\n",
371 'HTTP_MY_HDR=abc', 'HTTP_* env');
372 o("GET /env.cgi HTTP/1.0\n\r\nSOME_TRAILING_DATA_HERE",
[all …]
Denv.cgi1 #!/usr/bin/env perl
12 foreach my $key (sort keys %ENV) {
13 print "$key=$ENV{$key}\n";
Dbad2.cgi1 #!/usr/bin/env perl
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dlbaselib.c247 if (envidx != 0) { /* 'env' parameter? */ in load_aux()
250 lua_pop(L, 1); /* remove 'env' if not used by previous call */ in load_aux()
265 int env = (!lua_isnone(L, 3) ? 3 : 0); /* 'env' index or 0 if no 'env' */ in luaB_loadfile() local
267 return load_aux(L, status, env); in luaB_loadfile()
314 int env = (!lua_isnone(L, 4) ? 4 : 0); /* 'env' index or 0 if no 'env' */ in luaB_load() local
325 return load_aux(L, status, env); in luaB_load()
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dlbaselib.c272 if (envidx != 0) { /* 'env' parameter? */ in load_aux()
275 lua_pop(L, 1); /* remove 'env' if not used by previous call */ in load_aux()
290 int env = (!lua_isnone(L, 3) ? 3 : 0); /* 'env' index or 0 if no 'env' */ in luaB_loadfile() local
292 return load_aux(L, status, env); in luaB_loadfile()
339 int env = (!lua_isnone(L, 4) ? 4 : 0); /* 'env' index or 0 if no 'env' */ in luaB_load() local
350 return load_aux(L, status, env); in luaB_load()
/civetweb-2.7.6/examples/_obsolete/upload/
Dupload.c36 const char * env = getenv("TEMP"); in begin_request_handler() local
37 if (!env) env = getenv("TMP"); in begin_request_handler()
38 if (env) tempPath = env; in begin_request_handler()
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dlapi.c64 sethvalue(L, &L->env, func->c.env); in index2adr()
65 return &L->env; in index2adr()
84 return func->c.env; in getcurrenv()
215 func->c.env = hvalue(L->top - 1); in lua_replace()
623 sethvalue(L, L->top, clvalue(o)->c.env); in lua_getfenv()
626 sethvalue(L, L->top, uvalue(o)->env); in lua_getfenv()
744 clvalue(o)->c.env = hvalue(L->top - 1); in lua_setfenv()
747 uvalue(o)->env = hvalue(L->top - 1); in lua_setfenv()
Dlfunc.c27 c->c.env = e; in luaF_newCclosure()
37 c->l.env = e; in luaF_newLclosure()
Dlobject.h220 struct Table *env; member
293 struct Table *env
/civetweb-2.7.6/conan/
Dbuild.py1 #!/usr/bin/env python
30 The upload server address could be customized by env var
/civetweb-2.7.6/src/
Dcivetweb.c10742 static void addenv(struct cgi_environment *env,
10747 * pointer into the vars array. Assumes env != NULL and fmt != NULL. */
10749 addenv(struct cgi_environment *env, const char *fmt, ...) argument
10756 if ((env->varlen - env->varused) < 2) {
10757 mg_cry_internal(env->conn,
10765 space = (env->buflen - env->bufused);
10771 n = env->buflen + CGI_ENVIRONMENT_SIZE;
10772 added = (char *)mg_realloc_ctx(env->buf, n, env->conn->phys_ctx);
10776 env->conn,
10783 env->buf = added;
[all …]
/civetweb-2.7.6/test/dir with spaces/
Dhello.cgi1 #!/usr/bin/env perl
/civetweb-2.7.6/ci/travis/
Dlua_env.sh1 #!/usr/bin/env bash
Drun_ci_tests.sh1 #!/usr/bin/env bash

1234