Searched refs:utos (Results 1 – 15 of 15) sorted by relevance
/third_party/nghttp2/src/ |
D | util.h | 426 template <typename T> std::string utos(T n) { in utos() function 442 template <typename T, typename OutputIt> OutputIt utos(OutputIt dst, T n) { in utos() function 462 p = util::utos(p, n); in make_string_ref_uint() 480 return utos(n); in utos_unit() 482 return utos(n) + u; in utos_unit() 500 return utos(n); in utos_funit() 790 auto serv = utos(port); in make_hostport()
|
D | util.cc | 1290 return utos(static_cast<int64_t>(t * 1000)) + "ms"; in duration_str() 1294 return utos(v) + "s"; in duration_str() 1298 return utos(v) + "m"; in duration_str() 1301 return utos(v) + "h"; in duration_str() 1315 return utos(t) + unit; in format_duration() 1329 return utos(static_cast<int64_t>(t)) + unit; in format_duration() 1336 auto f = utos(m % 100); in dtos() 1337 return utos(m / 100) + "." + (f.size() == 1 ? "0" : "") + f; in dtos()
|
D | shrpx.cc | 416 auto content = util::utos(config->pid) + '\n'; in save_pid() 556 s += util::utos(i + 1); in exec_binary() 560 s += util::utos(addr.fd); in exec_binary() 565 s += util::utos(addr.fd); in exec_binary() 574 ipc_fd_str += util::utos(config->pid); in exec_binary() 582 s += util::utos(i + 1); in exec_binary() 584 s += util::utos(wp->quic_ipc_fd); in exec_binary() 821 auto service = util::utos(faddr.port); in create_tcp_server_socket() 1059 name += util::utos(i); in get_inherited_addr_from_env() 1082 name += util::utos(i); in get_inherited_addr_from_env() [all …]
|
D | util_test.cc | 261 CU_ASSERT(("0" == StringRef{buf, util::utos(buf, 0)})); in test_util_utos() 262 CU_ASSERT(("123" == StringRef{buf, util::utos(buf, 123)})); in test_util_utos() 264 StringRef{buf, util::utos(buf, 18446744073709551615ULL)})); in test_util_utos()
|
D | h2load_quic.cc | 403 path += util::utos(worker->id); in quic_init() 405 path += util::utos(id); in quic_init()
|
D | h2load.cc | 1038 p = util::utos(p, start.count()); in on_stream_close() 1041 p = util::utos(p, req_stat->status); in on_stream_close() 1047 p = util::utos(p, delta.count()); in on_stream_close() 1859 getaddrinfo(resolve_host.c_str(), util::utos(port).c_str(), &hints, &res); in resolve_host() 3010 config.host + ":" + util::utos(config.port)); in main() 3039 content_length_str = util::utos(config.data_length); in main()
|
D | shrpx_api_downstream_connection.cc | 139 p = util::utos(p, http_status); in send_reply()
|
D | nghttp.cc | 230 base_uri += util::utos(port); in init_html_parser() 466 build_headers.emplace_back("continuation-test-" + util::utos(i + 1), in submit_request() 476 util::utos(req->data_length)); in submit_request() 653 rv = getaddrinfo(host.c_str(), util::utos(port).c_str(), &hints, &addrs); in resolve_host() 1671 json_string(util::utos(req->stream_id).c_str())); in output_har()
|
D | shrpx_log.cc | 435 return std::make_pair(util::utos(d_first, n), d_last); in copy() 929 signalstr += util::utos(sig); in log_chld()
|
D | shrpx_https_upstream.cc | 288 p = util::utos(p, u.port); in rewrite_request_host_path_from_uri() 1082 util::utos(std::begin(intbuf), html.size())}); in error_reply()
|
D | HttpServer.cc | 1953 body += util::utos(port); in make_status_body() 1976 return FileEntry(util::utos(status), nwrite, 0, fd, nullptr, {}); in make_status_body() 2027 auto service = util::utos(config->port); in start_listen()
|
D | shrpx_worker.cc | 741 auto service = util::utos(faddr.port); in create_quic_server_socket()
|
D | http2.cc | 1666 p = util::utos(p, u.port); in construct_push_component()
|
D | shrpx_config.cc | 4467 << (addr.host_unix ? "" : ":" + util::utos(addr.port)) in configure_downstream_group() 4639 auto service = util::utos(port); in resolve_hostname()
|
D | shrpx_http2_session.cc | 699 req += util::utos(addr_->port); in downstream_connect_proxy()
|