Home
last modified time | relevance | path

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

12

/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_sprintf.h15 NXT_EXPORT u_char *nxt_cdecl nxt_sprintf(u_char *buf, u_char *end,
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_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()
H A Dnxt_clone.c46 p = nxt_sprintf(path, end, "/proc/%d/setgroups", child_pid); in nxt_clone_credential_setgroups()
94 p = nxt_sprintf(buf, end, "/proc/%d/%s", pid, mapfile); in nxt_clone_credential_map_write()
160 p = nxt_sprintf(p, end, "%d %d %d", map->map[i].container, in nxt_clone_credential_map_set()
184 p = nxt_sprintf(mapinfo, end, "%d %d 1", in nxt_clone_credential_map_set()
H A Dnxt_sockaddr.c249 p = nxt_sprintf(start, end, "%ud.%ud.%ud.%ud", in nxt_sockaddr_text()
295 p = nxt_sprintf(start, end, "unix:@%*s", length - 1, p + 1); in nxt_sockaddr_text()
298 p = nxt_sprintf(start, end, "unix:%s", p); in nxt_sockaddr_text()
303 p = nxt_sprintf(start, end, "unix:%s", p); in nxt_sockaddr_text()
319 p = nxt_sprintf(p, end, ":%d", ntohs(port)); in nxt_sockaddr_text()
505 p = nxt_sprintf(p, end, "%uxd", (addr[i] << 8) + addr[i + 1]); in nxt_inet6_ntop()
513 p = nxt_sprintf(p, end, "%ud.%ud.%ud.%ud", in nxt_inet6_ntop()
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_log.c89 p = nxt_sprintf(p, end, (log->ident != 0) ? "[%V] *%D " : "[%V] ", in nxt_log_handler()
H A Dnxt_polarssl.c113 p = nxt_sprintf(p, end, " (%d: ", err); in nxt_polarssl_log_error()
H A Dnxt_http_variables.c137 p = nxt_sprintf(str->start, str->start + NXT_TIME_T_LEN, "%T.%03M", in nxt_http_var_request_time()
265 return nxt_sprintf(buf, buf + size, format, in nxt_http_log_date()
331 str->length = nxt_sprintf(str->start, str->start + NXT_OFF_T_LEN, "%O", in nxt_http_var_body_bytes_sent()
350 str->length = nxt_sprintf(str->start, str->start + 3, "%03d", r->status) in nxt_http_var_status()
H A Dnxt_main_process.c726 p = nxt_sprintf(title, end, "unit: main v" NXT_VERSION " [%s", in nxt_main_process_title()
730 p = nxt_sprintf(p, end, " %s", nxt_process_argv[i]); in nxt_main_process_title()
1104 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1112 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1124 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1171 ls->end = nxt_sprintf(ls->start, ls->end, "bind(\\\"%*s\\\") failed %E", in nxt_main_listening_socket()
1188 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1492 n = nxt_sprintf(ver, ver + NXT_INT_T_LEN, "%d", NXT_VERNUM) - ver; in nxt_main_port_conf_store_handler()
H A Dnxt_external.c121 p = nxt_sprintf(buf, end, in nxt_external_start()
H A Dnxt_var.c412 nxt_sprintf(error, error + NXT_MAX_ERROR_STR, in nxt_var_test()
422 nxt_sprintf(error, error + NXT_MAX_ERROR_STR, in nxt_var_test()
H A Dnxt_credential.c77 p = nxt_sprintf(p, end, "%d%c", uc->gids[i], in nxt_credential_get()
H A Dnxt_tstr.c161 nxt_sprintf(error, error + NXT_MAX_ERROR_STR, in nxt_tstr_test()
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_listen_socket.c382 return nxt_sprintf(pos, end, " while creating listening socket on %*s", in nxt_listen_socket_log_handler()
H A Dnxt_js.c192 nxt_sprintf(error, error + NXT_MAX_ERROR_STR, "\"%V\"%Z", &err); in nxt_js_test()
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_sprintf.c59 nxt_sprintf(u_char *buf, u_char *end, const char *fmt, ...) in nxt_sprintf() function
H A Dnxt_http.h304 return nxt_sprintf(buf, buf + NXT_HTTP_DATE_LEN, in nxt_http_date()
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()
/unit/src/test/
H A Dnxt_sprintf_test.c35 p = nxt_sprintf(buf, end, fmt, n); in nxt_sprintf_test_double()
H A Dnxt_utf8_file_name_test.c138 p = nxt_sprintf(buf, buf + 32, "%04uXD; C; %04uXD;%n", uc, lc); in nxt_utf8_file_name_test()
/unit/auto/
H A Dsources35 src/nxt_sprintf.c \

12