Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 41) sorted by relevance

12

/unit/src/
H A Dnxt_file_name.c25 va_list args; in nxt_file_name_create() local
31 va_start(args, format); in nxt_file_name_create()
54 v = va_arg(args, nxt_str_t *); in nxt_file_name_create()
63 p = va_arg(args, u_char *); in nxt_file_name_create()
75 length += va_arg(args, u_int); in nxt_file_name_create()
106 va_end(args); in nxt_file_name_create()
122 va_start(args, format); in nxt_file_name_create()
143 v = va_arg(args, nxt_str_t *); in nxt_file_name_create()
152 p = va_arg(args, u_char *); in nxt_file_name_create()
163 length += va_arg(args, u_int); in nxt_file_name_create()
[all …]
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()
169 length = va_arg(args, size_t); in nxt_vsprintf()
248 err = va_arg(args, nxt_err_t); in nxt_vsprintf()
348 i64 = va_arg(args, int64_t); in nxt_vsprintf()
375 f = va_arg(args, double); in nxt_vsprintf()
[all …]
H A Dnxt_log.c73 va_list args; in nxt_log_handler() local
92 va_start(args, fmt); in nxt_log_handler()
93 p = nxt_vsprintf(p, end, fmt, args); in nxt_log_handler()
94 va_end(args); in nxt_log_handler()
H A Dnxt_http_parse.c256 args = NULL; in nxt_http_parse_request_line()
285 args = p + 1; in nxt_http_parse_request_line()
457 rp->args.length = rp->target_end - args; in nxt_http_parse_request_line()
458 rp->args.start = args; in nxt_http_parse_request_line()
884 args = NULL; in nxt_http_parse_complex_target()
911 args = p; in nxt_http_parse_complex_target()
942 args = p; in nxt_http_parse_complex_target()
1127 args: in nxt_http_parse_complex_target()
1135 if (args != NULL) { in nxt_http_parse_complex_target()
1136 rp->args.length = p - args; in nxt_http_parse_complex_target()
[all …]
H A Dnxt_polarssl.c104 va_list args; in nxt_polarssl_log_error() local
109 va_start(args, fmt); in nxt_polarssl_log_error()
110 p = nxt_vsprintf(msg, end, fmt, args); in nxt_polarssl_log_error()
111 va_end(args); in nxt_polarssl_log_error()
H A Dnxt_app_log.c26 va_list args; in nxt_log_time_handler() local
71 va_start(args, fmt); in nxt_log_time_handler()
72 p = nxt_vsprintf(p, end, fmt, args); in nxt_log_time_handler()
73 va_end(args); in nxt_log_time_handler()
H A Dnxt_process_title.c193 va_list args; in nxt_process_title() local
203 va_start(args, fmt); in nxt_process_title()
204 p = nxt_vsprintf(start, end, fmt, args); in nxt_process_title()
205 va_end(args); in nxt_process_title()
H A Dnxt_sprintf.h18 const char *fmt, va_list args);
H A Dnxt_cyassl.c539 va_list args; in nxt_cyassl_conn_error() local
552 va_start(args, fmt); in nxt_cyassl_conn_error()
553 p = nxt_vsprintf(msg, end, fmt, args); in nxt_cyassl_conn_error()
554 va_end(args); in nxt_cyassl_conn_error()
589 va_list args; in nxt_cyassl_log_error() local
596 va_start(args, fmt); in nxt_cyassl_log_error()
597 p = nxt_vsprintf(msg, end, fmt, args); in nxt_cyassl_log_error()
598 va_end(args); in nxt_cyassl_log_error()
H A Dnxt_gnutls.c684 va_list args; in nxt_gnutls_conn_log_error() local
692 va_start(args, fmt); in nxt_gnutls_conn_log_error()
693 p = nxt_vsprintf(msg, msg + sizeof(msg), fmt, args); in nxt_gnutls_conn_log_error()
694 va_end(args); in nxt_gnutls_conn_log_error()
733 va_list args; in nxt_gnutls_log_error() local
736 va_start(args, fmt); in nxt_gnutls_log_error()
737 p = nxt_vsprintf(msg, msg + sizeof(msg), fmt, args); in nxt_gnutls_log_error()
738 va_end(args); in nxt_gnutls_log_error()
H A Dnxt_http_variables.c367 nxt_array_t *args; in nxt_http_var_arg() local
379 args = nxt_http_arguments_parse(r); in nxt_http_var_arg()
380 if (nxt_slow_path(args == NULL)) { in nxt_http_var_arg()
384 start = args->elts; in nxt_http_var_arg()
385 nv = start + args->nelts - 1; in nxt_http_var_arg()
/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
/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/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.py36 args = [
48 args = [
67 print("\n$ GOPATH=" + env['GOPATH'] + " " + " ".join(args))
70 process = subprocess.run(args, env=env, cwd=temp_dir)
/unit/src/nodejs/unit-http/
H A Dutils.js65 var args = entry[1].slice();
66 var formatString = args[0];
69 args.splice(0, 1, formatString, date, uniqueID);
70 logFunction.apply(global, args);
H A Dhttp_server.js444 Server.prototype.listen = function (...args) { argument
447 if (typeof args[args.length - 1] === 'function') {
448 this.once('listening', args[args.length - 1]);
/unit/src/python/
H A Dnxt_python_wsgi.c84 PyObject *args);
87 PyObject *args);
336 args = PyTuple_New(2); in nxt_python_request_handler()
337 if (nxt_slow_path(args == NULL)) { in nxt_python_request_handler()
346 PyTuple_SET_ITEM(args, 0, environ); in nxt_python_request_handler()
354 Py_DECREF(args); in nxt_python_request_handler()
883 n = PyTuple_GET_SIZE(args); in nxt_py_start_resp()
889 string = PyTuple_GET_ITEM(args, 0); in nxt_py_start_resp()
944 string = PyTuple_GET_ITEM(args, 0); in nxt_py_start_resp()
1124 n = PyTuple_GET_SIZE(args); in nxt_py_input_read()
[all …]
/unit/go/
H A Dunit.go87 func nxt_go_warn(format string, args ...interface{}) {
88 str := fmt.Sprintf("[go] " + format, args...)
93 func nxt_go_alert(format string, args ...interface{}) {
94 str := fmt.Sprintf("[go] " + format, args...)
/unit/test/
H A Dtest_forwarded_header.py37 def get_addr(self, *args, **kwargs): argument
38 return self.get_fwd(*args, **kwargs)['Remote-Addr']
40 def get_scheme(self, *args, **kwargs): argument
41 return self.get_fwd(*args, **kwargs)['Url-Scheme']
H A Dtest_proxy.py56 def get_http10(self, *args, **kwargs): argument
57 return self.get(*args, http_10=True, **kwargs)
59 def post_http10(self, *args, **kwargs): argument
60 return self.post(*args, http_10=True, **kwargs)
H A Dtest_proxy_chunked.py84 def get_http10(self, *args, **kwargs): argument
85 return self.get(*args, http_10=True, **kwargs)
/unit/src/test/
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()
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()
/unit/auto/
H A Dclang38 #define set(dummy, args...) sprintf(args)

12