Home
last modified time | relevance | path

Searched refs:nxt_sprintf (Results 1 – 25 of 31) 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_sockaddr.c253 p = nxt_sprintf(start, end, "%ud.%ud.%ud.%ud", in nxt_sockaddr_text()
302 p = nxt_sprintf(start, end, "unix:%s", p); in nxt_sockaddr_text()
307 p = nxt_sprintf(start, end, "unix:%s", p); in nxt_sockaddr_text()
323 p = nxt_sprintf(p, end, ":%d", ntohs(port)); in nxt_sockaddr_text()
447 p = nxt_sprintf(buf, end, "%ud.%ud.%ud.%ud:%d", in nxt_sockaddr_ntop()
451 p = nxt_sprintf(buf, end, "%ud.%ud.%ud.%ud", in nxt_sockaddr_ntop()
469 p = nxt_sprintf(p, end, "]:%d", in nxt_sockaddr_ntop()
490 p = nxt_sprintf(buf, end, "unix:\\0%*s", length, p + 1); in nxt_sockaddr_ntop()
493 p = nxt_sprintf(buf, end, "unix:%s", p); in nxt_sockaddr_ntop()
585 p = nxt_sprintf(p, end, "%uxd", (addr[i] << 8) + addr[i + 1]); in nxt_inet6_ntop()
[all …]
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_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_main_process.c738 p = nxt_sprintf(title, end, "unit: main v" NXT_VERSION " [%s", in nxt_main_process_title()
742 p = nxt_sprintf(p, end, " %s", nxt_process_argv[i]); in nxt_main_process_title()
1116 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()
1136 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1183 ls->end = nxt_sprintf(ls->start, ls->end, "bind(\\\"%*s\\\") failed %E", in nxt_main_listening_socket()
1198 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1502 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.c306 nxt_sprintf(error, error + NXT_MAX_ERROR_STR, in nxt_var_test()
316 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_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_openssl.c1645 p = nxt_sprintf(p, end, " %E", err);
1770 p = nxt_sprintf(p, end, " (%d: %s) (OpenSSL: ", ERR_GET_REASON(err), data);
1785 p = nxt_sprintf(p, end, "%s", delimiter);
1794 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.h301 return nxt_sprintf(buf, buf + NXT_HTTP_DATE_LEN, in nxt_http_date()
H A Dnxt_application.c290 p = nxt_sprintf(p, end, "{\"type\": %d, \"version\": \"%V\", " in nxt_discovery_modules()
296 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_runtime.c1103 end = nxt_sprintf(buf, buf + sizeof(buf), "unknown option \"%s\", " in nxt_runtime_conf_read_cmd()
1379 length = nxt_sprintf(pid, pid + sizeof(pid), "%PI%n", nxt_pid) - pid; in nxt_runtime_pid_file_create()
H A Dnxt_port_memory.c376 p = nxt_sprintf(name, name + sizeof(name), NXT_SHM_PREFIX "unit.%PI.%uxD", in nxt_shm_open()
/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