Home
last modified time | relevance | path

Searched refs:hash_env (Results 1 – 2 of 2) sorted by relevance

/unit/src/perl/
H A Dnxt_perl_psgi.c597 HV *hash_env; in nxt_perl_psgi_env_create() local
606 hash_env = newHV(); in nxt_perl_psgi_env_create()
607 if (nxt_slow_path(hash_env == NULL)) { in nxt_perl_psgi_env_create()
683 RC(nxt_perl_psgi_add_sptr(my_perl, hash_env, in nxt_perl_psgi_env_create()
705 return newRV_noinc((SV *) hash_env); in nxt_perl_psgi_env_create()
709 SvREFCNT_dec(hash_env); in nxt_perl_psgi_env_create()
716 nxt_perl_psgi_add_sptr(PerlInterpreter *my_perl, HV *hash_env, in nxt_perl_psgi_add_sptr() argument
725 nxt_perl_psgi_add_str(PerlInterpreter *my_perl, HV *hash_env, in nxt_perl_psgi_add_str() argument
730 ha = hv_store(hash_env, name, (I32) name_len, in nxt_perl_psgi_add_str()
741 nxt_perl_psgi_add_value(PerlInterpreter *my_perl, HV *hash_env, in nxt_perl_psgi_add_value() argument
[all …]
/unit/src/ruby/
H A Dnxt_ruby.c59 nxt_inline void nxt_ruby_add_sptr(VALUE hash_env, VALUE name,
580 VALUE hash_env, version; in nxt_ruby_rack_env_create() local
590 hash_env = rb_hash_new(); in nxt_ruby_rack_env_create()
592 rb_hash_aset(hash_env, rb_str_new2("SERVER_SOFTWARE"), in nxt_ruby_rack_env_create()
605 rb_hash_aset(hash_env, rb_str_new2("rack.multithread"), in nxt_ruby_rack_env_create()
613 rctx->env = hash_env; in nxt_ruby_rack_env_create()
617 return hash_env; in nxt_ruby_rack_env_create()
790 rb_hash_aset(hash_env, nxt_rb_rack_url_scheme_str, in nxt_ruby_read_request()
811 nxt_ruby_add_sptr(hash_env, nxt_rb_content_type_str, in nxt_ruby_read_request()
820 nxt_ruby_add_sptr(VALUE hash_env, VALUE name, in nxt_ruby_add_sptr() argument
[all …]