Home
last modified time | relevance | path

Searched refs:args (Results 26 – 47 of 47) sorted by path

12

/unit/src/
H A Dnxt_router.c5497 req->query_length = (uint32_t) r->args->length; in nxt_router_prepare_msg()
5498 if (r->args->start != NULL) { in nxt_router_prepare_msg()
5500 r->args->start - r->target.start); in nxt_router_prepare_msg()
H A Dnxt_sprintf.c62 va_list args; in nxt_sprintf() local
64 va_start(args, fmt); in nxt_sprintf()
65 p = nxt_vsprintf(buf, end, fmt, args); in nxt_sprintf()
66 va_end(args); in nxt_sprintf()
143 v = va_arg(args, nxt_str_t *); in nxt_vsprintf()
156 p = va_arg(args, const u_char *); in nxt_vsprintf()
170 length = va_arg(args, size_t); in nxt_vsprintf()
254 err = va_arg(args, nxt_err_t); in nxt_vsprintf()
354 i64 = va_arg(args, int64_t); in nxt_vsprintf()
381 f = va_arg(args, double); in nxt_vsprintf()
[all …]
H A Dnxt_sprintf.h18 const char *fmt, va_list args);
/unit/src/perl/
H A Dnxt_perl_psgi_layer.c24 PerlIO *f, int narg, SV **args);
129 PerlIO *f, int narg, SV **args) in nxt_perl_psgi_layer_stream_open() argument
133 arg = (narg > 0) ? *args : PerlIOArg; in nxt_perl_psgi_layer_stream_open()
/unit/src/python/
H A Dnxt_python_asgi.c48 static PyObject *nxt_py_asgi_port_read(PyObject *self, PyObject *args);
1157 nxt_py_asgi_port_read(PyObject *self, PyObject *args) in nxt_py_asgi_port_read() argument
1166 n = PyTuple_GET_SIZE(args); in nxt_py_asgi_port_read()
1176 arg0 = PyTuple_GET_ITEM(args, 0); in nxt_py_asgi_port_read()
1184 arg1 = PyTuple_GET_ITEM(args, 1); in nxt_py_asgi_port_read()
H A Dnxt_python_wsgi.c89 PyObject *args);
92 PyObject *args);
346 args = PyTuple_New(2); in nxt_python_request_handler()
347 if (nxt_slow_path(args == NULL)) { in nxt_python_request_handler()
356 PyTuple_SET_ITEM(args, 0, environ); in nxt_python_request_handler()
363 Py_DECREF(args); in nxt_python_request_handler()
951 n = PyTuple_GET_SIZE(args); in nxt_py_start_resp()
957 string = PyTuple_GET_ITEM(args, 0); in nxt_py_start_resp()
1012 string = PyTuple_GET_ITEM(args, 0); in nxt_py_start_resp()
1192 n = PyTuple_GET_SIZE(args); in nxt_py_input_read()
[all …]
/unit/src/ruby/
H A Dnxt_ruby_stream_io.c15 static VALUE nxt_ruby_stream_io_read(VALUE obj, VALUE args);
17 static VALUE nxt_ruby_stream_io_puts(VALUE obj, VALUE args);
149 nxt_ruby_stream_io_read(VALUE obj, VALUE args) in nxt_ruby_stream_io_read() argument
159 if (RARRAY_LEN(args) > 0 && TYPE(RARRAY_PTR(args)[0]) == T_FIXNUM) { in nxt_ruby_stream_io_read()
160 u_size = NUM2LONG(RARRAY_PTR(args)[0]); in nxt_ruby_stream_io_read()
183 if (RARRAY_LEN(args) > 1 && TYPE(RARRAY_PTR(args)[1]) == T_STRING) { in nxt_ruby_stream_io_read()
185 rb_str_set_len(RARRAY_PTR(args)[1], 0); in nxt_ruby_stream_io_read()
203 nxt_ruby_stream_io_puts(VALUE obj, VALUE args) in nxt_ruby_stream_io_puts() argument
207 if (RARRAY_LEN(args) != 1) { in nxt_ruby_stream_io_puts()
220 nxt_ruby_stream_io_write(VALUE obj, VALUE args) in nxt_ruby_stream_io_write() argument
[all …]
/unit/src/test/
H A Dnxt_clone_test.c391 va_list args; in nxt_clone_test_log_handler() local
402 va_start(args, fmt); in nxt_clone_test_log_handler()
403 p = nxt_vsprintf(p, end, fmt, args); in nxt_clone_test_log_handler()
404 va_end(args); in nxt_clone_test_log_handler()
H A Dnxt_http_parse_test.c14 nxt_str_t args; member
746 if (rp->args.start != test->args.start in nxt_http_parse_test_request_line()
747 && !nxt_strstr_eq(&rp->args, &test->args)) in nxt_http_parse_test_request_line()
752 request, &rp->args, &test->args); in nxt_http_parse_test_request_line()
/unit/src/wasm/
H A Dnxt_rt_wasmtime.c35 va_list args; in nxt_wasmtime_err_msg() local
39 va_start(args, fmt); in nxt_wasmtime_err_msg()
40 vfprintf(stderr, fmt, args); in nxt_wasmtime_err_msg()
41 va_end(args); in nxt_wasmtime_err_msg()
112 ctx->status = args[0].of.i32; in nxt_wasm_set_resp_status()
144 wasmtime_val_t args[1] = { }; in nxt_wasmtime_execute_request() local
150 args[i].kind = WASMTIME_I32; in nxt_wasmtime_execute_request()
151 args[i++].of.i32 = ctx->baddr_off; in nxt_wasmtime_execute_request()
310 args[i].kind = WASMTIME_I32; in nxt_wasmtime_init_memory()
417 args[i].kind = WASMTIME_I32; in nxt_wasmtime_destroy()
[all …]
/unit/test/
H A Dconftest.py575 def run_process(target, *args): argument
578 process = Process(target=target, args=args)
637 def _findall(*args, **kwargs): argument
638 return Log.findall(*args, **kwargs)
706 def _wait_for_record(*args, **kwargs): argument
707 return Log.wait_for_record(*args, **kwargs)
H A Dtest_forwarded_header.py47 def get_addr(*args, **kwargs): argument
48 return get_fwd(*args, **kwargs)['Remote-Addr']
51 def get_scheme(*args, **kwargs): argument
52 return get_fwd(*args, **kwargs)['Url-Scheme']
H A Dtest_proxy.py97 def get_http10(*args, **kwargs): argument
98 return client.get(*args, http_10=True, **kwargs)
101 def post_http10(*args, **kwargs): argument
102 return client.post(*args, http_10=True, **kwargs)
H A Dtest_proxy_chunked.py103 def get_http10(*args, **kwargs): argument
104 return client.get(*args, http_10=True, **kwargs)
H A Dtest_routing.py1184 def check_args(args, query): argument
1185 route_match({"arguments": args})
H A Dtest_upstreams_rr.py218 def sum_resps(*args): argument
219 sum_r = [0] * len(args[0])
220 for arg in args:
/unit/test/go/command_line_arguments/
H A Dapp.go13 args := strings.Join(os.Args[1:], ",")
16 w.Header().Add("Content-Length", fmt.Sprintf("%v", len(args)))
17 io.WriteString(w, args)
/unit/test/unit/applications/lang/
H A Dgo.py34 args = [
46 args = [
69 args, env=env, cwd=temp_dir, stderr=subprocess.STDOUT
/unit/test/unit/applications/
H A Dwebsockets.py188 def frame_write(self, sock, *args, **kwargs): argument
191 frame = self.frame_to_send(*args, **kwargs)
/unit/test/unit/
H A Dcontrol.py8 def args_wrapper(self, *args): argument
14 url = args[0] if len(args) == 1 else url_default
17 conf = args[0]
22 url = args[1] if len(args) == 2 else url_default
50 args = {
57 args['body'] = conf
59 return args
H A Dlog.py12 def inner_function(*args, **kwargs): argument
14 func(*args, **kwargs)
16 Log.print_log(*args, **kwargs)
88 def read(*args, **kwargs): argument
89 with Log.open(*args, **kwargs) as file:
/unit/tools/
H A Dunitc184 …PARAMS=$((ps -wwo args=COMMAND -p $PID || ps $PID) 2> /dev/null | grep unit | tr '[]' ^ | cut -f2 …

12