Home
last modified time | relevance | path

Searched refs:nxt_sprintf (Results 1 – 25 of 34) sorted by path

12

/unit/auto/
H A Dsources35 src/nxt_sprintf.c \
/unit/src/
H A Dnxt_app_log.c60 p = nxt_sprintf(p, end, id, &nxt_log_levels[level], nxt_pid, in nxt_log_time_handler()
63 p = nxt_sprintf(p, end, "[%V] %PI#%PT ", &nxt_log_levels[level], nxt_pid, in nxt_log_time_handler()
68 p = nxt_sprintf(p, end, "*%D ", log->ident); in nxt_log_time_handler()
115 return nxt_sprintf(buf, buf + size, format, in nxt_log_error_time()
135 return nxt_sprintf(buf, buf + size, format, in nxt_log_debug_time()
H A Dnxt_application.c297 p = nxt_sprintf(p, end, "{\"type\": %d, \"version\": \"%V\", " in nxt_discovery_modules()
303 p = nxt_sprintf(p, end, in nxt_discovery_modules()
H A Dnxt_cert.c523 end = nxt_sprintf(buf, buf + sizeof(buf), "RSA (%d bits)", in nxt_cert_details()
531 end = nxt_sprintf(buf, buf + sizeof(buf), "DH (%d bits)", in nxt_cert_details()
H A Dnxt_clone.c32 p = nxt_sprintf(path, end, "/proc/%d/setgroups", child_pid); in nxt_clone_credential_setgroups()
80 p = nxt_sprintf(buf, end, "/proc/%d/%s", pid, mapfile); in nxt_clone_credential_map_write()
146 p = nxt_sprintf(p, end, "%L %L %L", map->map[i].container, in nxt_clone_credential_map_set()
170 p = nxt_sprintf(mapinfo, end, "%d %d 1", in nxt_clone_credential_map_set()
H A Dnxt_conf.c348 end = nxt_sprintf(p, end, "%L", value); in nxt_conf_set_member_integer()
H A Dnxt_controller.c2635 b->mem.free = nxt_sprintf(b->mem.free, b->mem.end, "%uz", in nxt_controller_response()
2661 return nxt_sprintf(buf, buf + size, format, in nxt_controller_date()
H A Dnxt_credential.c77 p = nxt_sprintf(p, end, "%d,", uc->gids[i]); in nxt_credential_get()
H A Dnxt_cyassl.c557 p = nxt_sprintf(p, end, " %E", err); in nxt_cyassl_conn_error()
610 p = nxt_sprintf(p, end, " (SSL:%d ", err); in nxt_cyassl_copy_error()
H A Dnxt_external.c121 p = nxt_sprintf(buf, end, in nxt_external_start()
H A Dnxt_h1proto.c1263 (void) nxt_sprintf(buf, buf + UNKNOWN_STATUS_LENGTH, in nxt_h1p_request_header_send()
1547 header->mem.free = nxt_sprintf(header->mem.free, header->mem.end, in nxt_h1p_chunk_create()
H A Dnxt_http.h312 return nxt_sprintf(buf, buf + NXT_HTTP_DATE_LEN, in nxt_http_date()
H A Dnxt_http_error.c92 out->mem.free = nxt_sprintf(out->mem.pos, out->mem.end, error, in nxt_http_request_send_error_body()
H A Dnxt_http_request.c698 end = nxt_sprintf(p, p + NXT_OFF_T_LEN, "%O", r->resp.content_length_n); in nxt_http_request_header_send()
H A Dnxt_http_static.c549 field->value_length = nxt_sprintf(p, p + length, "\"%xT-%xO\"", in nxt_http_static_send_ready()
H A Dnxt_http_variables.c255 p = nxt_sprintf(str->start, str->start + NXT_TIME_T_LEN, "%T.%03M", in nxt_http_var_request_time()
382 return nxt_sprintf(buf, buf + size, format, in nxt_http_log_date()
421 (void) nxt_sprintf(str->start, str->start + 32, "%08xD%08xD%08xD%08xD", in nxt_http_var_request_id()
446 p = nxt_sprintf(str->start, str->start + NXT_OFF_T_LEN, "%O", bytes); in nxt_http_var_body_bytes_sent()
466 (void) nxt_sprintf(str->start, str->start + 3, "%03d", r->status); in nxt_http_var_status()
576 p = nxt_sprintf(str->start, str->start + NXT_OFF_T_LEN, in nxt_http_var_response_content_length()
H A Dnxt_js.c486 nxt_sprintf(error, error + NXT_MAX_ERROR_STR, "\"%V\"%Z", &err); in nxt_js_error()
H A Dnxt_listen_socket.c392 return nxt_sprintf(pos, end, " while creating listening socket on %*s", in nxt_listen_socket_log_handler()
H A Dnxt_log.c89 p = nxt_sprintf(p, end, (log->ident != 0) ? "[%V] *%D " : "[%V] ", in nxt_log_handler()
H A Dnxt_main_process.c818 p = nxt_sprintf(title, end, "unit: main v" NXT_VERSION " [%s", in nxt_main_process_title()
822 p = nxt_sprintf(p, end, " %s", nxt_process_argv[i]); in nxt_main_process_title()
1200 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1208 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1220 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1267 ls->end = nxt_sprintf(ls->start, ls->end, "bind(\\\"%*s\\\") failed %E", in nxt_main_listening_socket()
1285 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1635 n = nxt_sprintf(ver, ver + NXT_INT_T_LEN, "%d", NXT_VERNUM) - ver; in nxt_main_port_conf_store_handler()
H A Dnxt_openssl.c1645 p = nxt_sprintf(p, end, " %E", err);
1770 p = nxt_sprintf(p, end, " (%d: %s) (OpenSSL: ", ERR_GET_REASON(err), data);
1789 p = nxt_sprintf(p, end, "%s", delimiter);
1798 p = nxt_sprintf(p, end, ":%s", data);
H A Dnxt_pcre2.c63 (void) nxt_sprintf(err->msg, err->msg + ERR_BUF_SIZE, in nxt_regex_compile()
77 (void) nxt_sprintf(err->msg, err->msg + ERR_BUF_SIZE, in nxt_regex_compile()
H A Dnxt_polarssl.c113 p = nxt_sprintf(p, end, " (%d: ", err); in nxt_polarssl_log_error()
H A Dnxt_port_memory.c376 p = nxt_sprintf(name, name + sizeof(name), NXT_SHM_PREFIX "unit.%PI.%uxD", in nxt_shm_open()
H A Dnxt_process_title.c225 p = nxt_sprintf(p, end, " ("); in nxt_process_title()
228 p = nxt_sprintf(p, end, "%s ", nxt_process_argv[i]); in nxt_process_title()

12