Home
last modified time | relevance | path

Searched refs:evutil_snprintf (Results 1 – 20 of 20) sorted by relevance

/external/libevent/test/
Dtinytest_local.h12 #define snprintf evutil_snprintf
Dregress_util.c395 r = evutil_snprintf(buf, sizeof(buf), "%d %d", 50, 100); in test_evutil_snprintf()
399 r = evutil_snprintf(buf, sizeof(buf), "longish %d", 1234567890); in test_evutil_snprintf()
403 r = evutil_snprintf(buf, sizeof(buf), EV_U64_FMT, EV_U64_ARG(u64)); in test_evutil_snprintf()
407 r = evutil_snprintf(buf, sizeof(buf), EV_I64_FMT, EV_I64_ARG(i64)); in test_evutil_snprintf()
411 r = evutil_snprintf(buf, sizeof(buf), EV_SIZE_FMT" "EV_SSIZE_FMT, in test_evutil_snprintf()
604 evutil_snprintf(buf, sizeof(buf), in test_evutil_log()
610 evutil_snprintf(buf, sizeof(buf), in test_evutil_log()
619 evutil_snprintf(buf, sizeof(buf), in test_evutil_log()
624 evutil_snprintf(buf, sizeof(buf), in test_evutil_log()
Dregress_dns.c557 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_search_test_impl()
665 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_search_cancel_test()
742 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_retry_test_impl()
842 evutil_snprintf(buf1, sizeof(buf1), "127.0.0.1:%d", (int)portnum1); in dns_reissue_test_impl()
843 evutil_snprintf(buf2, sizeof(buf2), "127.0.0.1:%d", (int)portnum2); in dns_reissue_test_impl()
922 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_inflight_test_impl()
981 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_disable_when_inactive_no_ns_test()
1311 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)dns_port); in test_bufferevent_connect_hostname()
1617 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", dns_port); in test_getaddrinfo_async()
2139 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_client_fail_requests_test()
[all …]
Dregress_http.c190 evutil_snprintf(strport, sizeof(strport), "%d", port); in http_connect()
1204 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); in http_connection_async_test()
1484 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); in http_cancel_test()
3858 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); in http_connection_retry_conn_address_test_impl()
4396 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); in http_ipv6_for_domain_test_impl()
Dregress.c2611 evutil_snprintf(b, sizeof(b), "%s=%s",k,v); in setenv()
2623 evutil_snprintf(b, sizeof(b), "%s=",k); in unsetenv()
2634 evutil_snprintf(buf, buflen, "EVENT_NO%s", mname); in methodname_to_envvar()
Dregress_buffer.c1667 evutil_snprintf(format, sizeof(format), "%%%u.%us", j, j); in test_evbuffer_iterative()
/external/libevent/
Devutil.c1777 evutil_snprintf(msg, len, "winsock error 0x%08x", errcode); in evutil_socket_error_to_string()
1851 evutil_snprintf(char *buf, size_t buflen, const char *format, ...) in evutil_snprintf() function
1898 r = evutil_snprintf(dst, len, "%d.%d.%d.%d", in evutil_inet_ntop()
1923 evutil_snprintf(buf, sizeof(buf), "::%d.%d.%d.%d", in evutil_inet_ntop()
1927 evutil_snprintf(buf, sizeof(buf), "::%x:%d.%d.%d.%d", words[5], in evutil_inet_ntop()
1965 evutil_snprintf(cp, in evutil_inet_ntop()
2210 evutil_snprintf(out, outlen, "%s:%d", b, port); in evutil_format_sockaddr_port_()
2218 evutil_snprintf(out, outlen, "[%s]:%d", b, port); in evutil_format_sockaddr_port_()
2223 evutil_snprintf(out, outlen, "<addr with socktype %d>", in evutil_format_sockaddr_port_()
Dlog.c203 evutil_snprintf(buf + len, sizeof(buf) - len, ": %s", errstr); in event_logv_()
Devutil_time.c176 return evutil_snprintf( in evutil_date_rfc1123()
Dbufferevent_sock.c511 evutil_snprintf(portbuf, sizeof(portbuf), "%d", port); in bufferevent_socket_connect_hostname()
Dhttp.c135 evutil_snprintf(tmpserv, sizeof(tmpserv), in fake_getnameinfo()
457 evutil_snprintf(size, sizeof(size), EV_SIZE_FMT, in evhttp_make_header_request()
516 evutil_snprintf(len, sizeof(len), EV_SIZE_FMT, in evhttp_maybe_add_content_length_header()
4433 evutil_snprintf(strport, sizeof(strport), "%d", port); in make_addrinfo()
Devdns.c919 evutil_snprintf(msg, sizeof(msg), "Bad response %d (%s)", in reply_handle()
1876 evutil_snprintf(buf, sizeof(buf), "%d.%d.%d.%d.in-addr.arpa", in evdns_server_request_add_ptr_reply()
2994 evutil_snprintf(buf, sizeof(buf), "%d.%d.%d.%d.in-addr.arpa", in evdns_base_resolve_reverse()
3652 evutil_snprintf(path_out, len_out, "%s%s", path, hostfile); in evdns_get_default_hosts_filename()
Devent.c555 evutil_snprintf(environment, sizeof(environment), "EVENT_NO%s", name); in event_is_method_disabled()
DChangeLog-2.0292 o Always use evutil_snprintf, even if OS provides it (d1b2d11 Sebastian Hahn)
DChangeLog1640 o Always use evutil_snprintf, even if OS provides it (d1b2d11 Sebastian Hahn)
/external/libevent/sample/
Dhttp-connect.c110 evutil_snprintf(buffer, URL_MAX, "%s:%d", in main()
Dhttp-server.c230 evutil_snprintf(whole_path, len, "%s/%s", docroot, decoded_path); in send_document_cb()
433 evutil_snprintf(uri_root, sizeof(uri_root), in display_listen_sock()
Ddns-example.c50 evutil_snprintf(buf, sizeof(buf), "%d.%d.%d.%d", in debug_ntoa()
Dhttps-client.c464 evutil_snprintf(buf, sizeof(buf)-1, "%lu", (unsigned long)bytes); in main()
/external/libevent/include/event2/
Dutil.h597 int evutil_snprintf(char *buf, size_t buflen, const char *format, ...)