Home
last modified time | relevance | path

Searched refs:utos (Results 1 – 15 of 15) sorted by relevance

/third_party/nghttp2/src/
Dutil.h426 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()
Dutil.cc1290 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()
Dshrpx.cc416 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 …]
Dutil_test.cc261 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()
Dh2load_quic.cc403 path += util::utos(worker->id); in quic_init()
405 path += util::utos(id); in quic_init()
Dh2load.cc1038 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()
Dshrpx_api_downstream_connection.cc139 p = util::utos(p, http_status); in send_reply()
Dnghttp.cc230 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()
Dshrpx_log.cc435 return std::make_pair(util::utos(d_first, n), d_last); in copy()
929 signalstr += util::utos(sig); in log_chld()
Dshrpx_https_upstream.cc288 p = util::utos(p, u.port); in rewrite_request_host_path_from_uri()
1082 util::utos(std::begin(intbuf), html.size())}); in error_reply()
DHttpServer.cc1953 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()
Dshrpx_worker.cc741 auto service = util::utos(faddr.port); in create_quic_server_socket()
Dhttp2.cc1666 p = util::utos(p, u.port); in construct_push_component()
Dshrpx_config.cc4467 << (addr.host_unix ? "" : ":" + util::utos(addr.port)) in configure_downstream_group()
4639 auto service = util::utos(port); in resolve_hostname()
Dshrpx_http2_session.cc699 req += util::utos(addr_->port); in downstream_connect_proxy()