/unit/src/ |
H A D | nxt_router.c | 5497 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 D | nxt_sprintf.c | 62 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 D | nxt_sprintf.h | 18 const char *fmt, va_list args);
|
/unit/src/perl/ |
H A D | nxt_perl_psgi_layer.c | 24 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 D | nxt_python_asgi.c | 48 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 D | nxt_python_wsgi.c | 89 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 D | nxt_ruby_stream_io.c | 15 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 D | nxt_clone_test.c | 391 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 D | nxt_http_parse_test.c | 14 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 D | nxt_rt_wasmtime.c | 35 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 D | conftest.py | 575 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 D | test_forwarded_header.py | 47 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 D | test_proxy.py | 97 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 D | test_proxy_chunked.py | 103 def get_http10(*args, **kwargs): argument 104 return client.get(*args, http_10=True, **kwargs)
|
H A D | test_routing.py | 1184 def check_args(args, query): argument 1185 route_match({"arguments": args})
|
H A D | test_upstreams_rr.py | 218 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 D | app.go | 13 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 D | go.py | 34 args = [ 46 args = [ 69 args, env=env, cwd=temp_dir, stderr=subprocess.STDOUT
|
/unit/test/unit/applications/ |
H A D | websockets.py | 188 def frame_write(self, sock, *args, **kwargs): argument 191 frame = self.frame_to_send(*args, **kwargs)
|
/unit/test/unit/ |
H A D | control.py | 8 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 D | log.py | 12 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 D | unitc | 184 …PARAMS=$((ps -wwo args=COMMAND -p $PID || ps $PID) 2> /dev/null | grep unit | tr '[]' ^ | cut -f2 …
|