/unit/test/unit/applications/lang/ |
H A D | ruby.py | 11 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 D | php.py | 11 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 D | node.py | 13 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 D | perl.py | 8 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 D | go.py | 11 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 D | java.py | 14 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 D | python.py | 13 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 D | nxt_ruby.c | 24 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 D | nxt_ruby.h | 25 VALUE script; member
|
/unit/test/unit/applications/ |
H A D | tls.py | 94 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 D | unit.example-ruby-config | 6 "script": "/usr/share/doc/unit-ruby/examples/ruby-app.ru"
|
H A D | unit.example-perl-config | 7 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
|
H A D | unit.example.config | 26 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
|
/unit/pkg/deb/debian.module/ |
H A D | unit.example-ruby-config | 6 "script": "/usr/share/doc/unit-ruby/examples/ruby-app.ru"
|
H A D | unit.example-perl-config | 7 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
|
/unit/src/ |
H A D | nxt_application.h | 68 char *script; member 75 nxt_str_t script; member
|
H A D | nxt_main_process.c | 250 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 D | unit.example.config | 26 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
|
/unit/test/ |
H A D | test_access_log.py | 11 def load(self, script): argument 12 super().load(script)
|
/unit/src/perl/ |
H A D | nxt_perl_psgi.c | 59 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 D | README.md | 74 Suppose you saved a PHP script as `/www/helloworld/index.php`:
|
H A D | CHANGES | 14 fastcgi_finish_request() was called in the OPcache preloading script.
|