Home
last modified time | relevance | path

Searched refs:script (Results 1 – 22 of 22) sorted by relevance

/unit/test/unit/applications/lang/
H A Druby.py11 def prepare_env(self, script): argument
13 option.test_dir + '/ruby/' + script,
14 option.temp_dir + '/ruby/' + script,
17 public_dir(option.temp_dir + '/ruby/' + script)
19 def load(self, script, name='config.ru', **kwargs): argument
20 self.prepare_env(script)
22 script_path = option.temp_dir + '/ruby/' + script
39 "listeners": {"*:7080": {"pass": "applications/" + script}},
40 "applications": {script: app},
H A Dphp.py11 def load(self, script, index='index.php', **kwargs): argument
12 script_path = option.test_dir + '/php/' + script
20 if not os.path.exists(rootfs + '/app/php/' + script):
21 shutil.copytree(script_path, rootfs + '/app/php/' + script)
23 script_path = '/app/php/' + script
44 "listeners": {"*:7080": {"pass": "applications/" + script}},
45 "applications": {script: app},
H A Dnode.py13 def prepare_env(self, script): argument
16 option.test_dir + '/node/' + script, option.temp_dir + '/node'
27 def load(self, script, name='app.js', **kwargs): argument
28 self.prepare_env(script)
46 "*:7080": {"pass": "applications/" + quote(script, '')}
49 script: {
H A Dperl.py8 def load(self, script, name='psgi.pl', **kwargs): argument
9 script_path = option.test_dir + '/perl/' + script
13 "listeners": {"*:7080": {"pass": "applications/" + script}},
15 script: {
H A Dgo.py11 def prepare_env(script, name='app', static=False): argument
27 option.test_dir + '/go/' + script + '/' + name + '.go', temp_dir
75 def load(self, script, name='app', **kwargs): argument
78 wdir = option.test_dir + "/go/" + script
86 TestApplicationGo.prepare_env(script, name, static=static_build)
89 "listeners": {"*:7080": {"pass": "applications/" + script}},
91 script: {
H A Djava.py14 def prepare_env(self, script): argument
18 script_path = option.test_dir + '/java/' + script + '/'
93 def load(self, script, **kwargs): argument
94 self.prepare_env(script)
98 "listeners": {"*:7080": {"pass": "applications/" + script}},
100 script: {
106 + script
H A Dpython.py13 def load(self, script, name=None, module=None, **kwargs): argument
15 name = script
20 if script[0] == '/':
21 script_path = script
23 script_path = option.test_dir + '/python/' + script
/unit/src/ruby/
H A Dnxt_ruby.c24 nxt_str_t *script; member
286 script = nxt_ruby_script_basename(&c->script); in nxt_ruby_start()
289 ruby_ctx.script = script; in nxt_ruby_start()
297 rack_init.script = &c->script; in nxt_ruby_start()
434 p = script->start + script->length; in nxt_ruby_script_basename()
447 len = script->length - (last - script->start); in nxt_ruby_script_basename()
450 last = script->start; in nxt_ruby_script_basename()
451 len = script->length; in nxt_ruby_script_basename()
565 script = rb_str_new((const char *) rack_init->script->start, in nxt_ruby_rack_parse_script()
570 rb_str_free(script); in nxt_ruby_rack_parse_script()
[all …]
H A Dnxt_ruby.h25 VALUE script; member
/unit/test/unit/applications/
H A Dtls.py94 def load(self, script, name=None): argument
96 name = script
98 script_path = option.test_dir + '/python/' + script
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.example-ruby-config6 "script": "/usr/share/doc/unit-ruby/examples/ruby-app.ru"
H A Dunit.example-perl-config7 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
H A Dunit.example.config26 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
/unit/pkg/deb/debian.module/
H A Dunit.example-ruby-config6 "script": "/usr/share/doc/unit-ruby/examples/ruby-app.ru"
H A Dunit.example-perl-config7 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
/unit/src/
H A Dnxt_application.h68 char *script; member
75 nxt_str_t script; member
H A Dnxt_main_process.c250 offsetof(nxt_common_app_conf_t, u.perl.script),
271 offsetof(nxt_common_app_conf_t, u.ruby.script),
/unit/pkg/deb/debian/
H A Dunit.example.config26 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
/unit/test/
H A Dtest_access_log.py11 def load(self, script): argument
12 super().load(script)
/unit/src/perl/
H A Dnxt_perl_psgi.c59 static int nxt_perl_psgi_ctx_init(const char *script,
72 static char *nxt_perl_psgi_module_create(const char *script);
404 nxt_perl_psgi_module_create(const char *script) in nxt_perl_psgi_module_create() argument
426 length = strlen(script); in nxt_perl_psgi_module_create()
431 "for Perl script file %s", script); in nxt_perl_psgi_module_create()
437 p = nxt_cpymem(p, script, length); in nxt_perl_psgi_module_create()
484 nxt_perl_psgi_ctx_init(const char *script, nxt_perl_psgi_ctx_t *pctx) in nxt_perl_psgi_ctx_init() argument
532 sv_setsv(get_sv("0", 0), newSVpv(script, 0)); in nxt_perl_psgi_ctx_init()
534 run_module = nxt_perl_psgi_module_create(script); in nxt_perl_psgi_ctx_init()
567 script, SvPV_nolen(ERRSV)); in nxt_perl_psgi_ctx_init()
[all …]
/unit/
H A DREADME.md74 Suppose you saved a PHP script as `/www/helloworld/index.php`:
H A DCHANGES14 fastcgi_finish_request() was called in the OPcache preloading script.