Home
last modified time | relevance | path

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

12

/unit/auto/
H A Dclang38 #define set(dummy, args...) sprintf(args)
/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/src/nodejs/unit-http/
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]);
H A Dnxt_napi.h488 napi_value args[2] = { arg1, arg2 }; in make_callback() local
490 return make_callback(ctx, val, func, 2, args); in make_callback()
498 napi_value args[3] = { arg1, arg2, arg3 }; in make_callback() local
500 return make_callback(ctx, val, func, 3, args); in make_callback()
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);
/unit/src/
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_conf_validation.c1329 va_list args; in nxt_conf_vldt_error() local
1332 va_start(args, fmt); in nxt_conf_vldt_error()
1333 end = nxt_vsprintf(error, error + NXT_MAX_ERROR_STR, fmt, args); in nxt_conf_vldt_error()
1334 va_end(args); in nxt_conf_vldt_error()
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_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_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_h1proto.c654 r->args = &h1p->parser.args; in nxt_h1p_header_process()
H A Dnxt_h1proto_websocket.c15 uint8_t args; member
582 va_list args; in hxt_h1p_send_ws_error() local
588 if (nxt_slow_path(err->args)) { in hxt_h1p_send_ws_error()
589 va_start(args, err); in hxt_h1p_send_ws_error()
591 args); in hxt_h1p_send_ws_error()
592 va_end(args); in hxt_h1p_send_ws_error()
H A Dnxt_http.h151 nxt_str_t *args; member
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_http_parse.h46 nxt_str_t args; member
H A Dnxt_http_request.c859 nxt_array_t *args; in nxt_http_arguments_parse() local
866 args = nxt_array_create(r->mem_pool, 2, sizeof(nxt_http_name_value_t)); in nxt_http_arguments_parse()
867 if (nxt_slow_path(args == NULL)) { in nxt_http_arguments_parse()
875 dst_start = nxt_mp_nget(r->mem_pool, r->args->length); in nxt_http_arguments_parse()
882 start = r->args->start; in nxt_http_arguments_parse()
883 end = start + r->args->length; in nxt_http_arguments_parse()
900 nv = nxt_http_argument(args, name, name_length, hash, dst_start, in nxt_http_arguments_parse()
945 nv = nxt_http_argument(args, name, name_length, hash, dst_start, dst); in nxt_http_arguments_parse()
951 r->arguments = args; in nxt_http_arguments_parse()
953 return args; in nxt_http_arguments_parse()
H A Dnxt_http_static.c616 if (r->args->length > 0) { in nxt_http_static_send_ready()
617 length += 1 + r->args->length; in nxt_http_static_send_ready()
637 if (r->args->length > 0) { in nxt_http_static_send_ready()
639 nxt_memcpy(p, r->args->start, r->args->length); in nxt_http_static_send_ready()
H A Dnxt_http_variables.c400 nxt_array_t *args; in nxt_http_var_arg() local
412 args = nxt_http_arguments_parse(r); in nxt_http_var_arg()
413 if (nxt_slow_path(args == NULL)) { in nxt_http_var_arg()
417 start = args->elts; in nxt_http_var_arg()
418 nv = start + args->nelts - 1; in nxt_http_var_arg()
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_openssl.c1630 va_list args; local
1640 va_start(args, fmt);
1641 p = nxt_vsprintf(msg, end, fmt, args);
1642 va_end(args);
1739 va_list args; local
1744 va_start(args, fmt);
1745 p = nxt_vsprintf(msg, end, fmt, args);
1746 va_end(args);
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_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_router.c5287 req->query_length = (uint32_t) r->args->length; in nxt_router_prepare_msg()
5288 if (r->args->start != NULL) { in nxt_router_prepare_msg()
5290 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()
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_sprintf.h18 const char *fmt, va_list args);

12