Home
last modified time | relevance | path

Searched refs:nxt_sprintf (Results 1 – 25 of 32) sorted by last modified time

12

/unit/src/
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_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_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_var.c426 nxt_sprintf(error, error + NXT_MAX_ERROR_STR, in nxt_var_test()
436 nxt_sprintf(error, error + NXT_MAX_ERROR_STR, in nxt_var_test()
H A Dnxt_router.c2679 out->mem.free = nxt_sprintf(out->mem.free, out->mem.end, in nxt_router_listen_socket_error()
H A Dnxt_http_static.c544 field->value_length = nxt_sprintf(p, p + length, "\"%xT-%xO\"", in nxt_http_static_send_ready()
H A Dnxt_http_request.c671 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_variables.c232 return nxt_sprintf(buf, buf + size, format, in nxt_http_log_date()
298 str->length = nxt_sprintf(str->start, str->start + NXT_OFF_T_LEN, "%O", in nxt_http_var_body_bytes_sent()
317 str->length = nxt_sprintf(str->start, str->start + 3, "%03d", r->status) in nxt_http_var_status()
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.h301 return nxt_sprintf(buf, buf + NXT_HTTP_DATE_LEN, in nxt_http_date()
H A Dnxt_controller.c2112 b->mem.free = nxt_sprintf(b->mem.free, b->mem.end, "%uz", in nxt_controller_response()
2138 return nxt_sprintf(buf, buf + size, format, in nxt_controller_date()
H A Dnxt_conf.c323 end = nxt_sprintf(p, end, "%L", value); in nxt_conf_set_member_integer()
H A Dnxt_h1proto.c1253 (void) nxt_sprintf(buf, buf + UNKNOWN_STATUS_LENGTH, in nxt_h1p_request_header_send()
1537 header->mem.free = nxt_sprintf(header->mem.free, header->mem.end, in nxt_h1p_chunk_create()
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_sprintf.c59 nxt_sprintf(u_char *buf, u_char *end, const char *fmt, ...) in nxt_sprintf() function
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_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_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_external.c121 p = nxt_sprintf(buf, end, in nxt_external_start()
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_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_log.c89 p = nxt_sprintf(p, end, (log->ident != 0) ? "[%V] *%D " : "[%V] ", in nxt_log_handler()
/unit/auto/
H A Dsources35 src/nxt_sprintf.c \
/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()

12