Home
last modified time | relevance | path

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

/external/libevent/test/
Dregress_util.c391 r = evutil_snprintf(buf, sizeof(buf), "%d %d", 50, 100); in test_evutil_snprintf()
395 r = evutil_snprintf(buf, sizeof(buf), "longish %d", 1234567890); in test_evutil_snprintf()
399 r = evutil_snprintf(buf, sizeof(buf), EV_U64_FMT, EV_U64_ARG(u64)); in test_evutil_snprintf()
403 r = evutil_snprintf(buf, sizeof(buf), EV_I64_FMT, EV_I64_ARG(i64)); in test_evutil_snprintf()
407 r = evutil_snprintf(buf, sizeof(buf), EV_SIZE_FMT" "EV_SSIZE_FMT, in test_evutil_snprintf()
600 evutil_snprintf(buf, sizeof(buf), in test_evutil_log()
606 evutil_snprintf(buf, sizeof(buf), in test_evutil_log()
615 evutil_snprintf(buf, sizeof(buf), in test_evutil_log()
620 evutil_snprintf(buf, sizeof(buf), in test_evutil_log()
Dtinytest_local.h12 #define snprintf evutil_snprintf
Dregress_dns.c550 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_search_test_impl()
666 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_search_cancel_test()
743 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_retry_test_impl()
843 evutil_snprintf(buf1, sizeof(buf1), "127.0.0.1:%d", (int)portnum1); in dns_reissue_test_impl()
844 evutil_snprintf(buf2, sizeof(buf2), "127.0.0.1:%d", (int)portnum2); in dns_reissue_test_impl()
923 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_inflight_test_impl()
982 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_disable_when_inactive_no_ns_test()
1230 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)dns_port); in test_bufferevent_connect_hostname()
1526 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", dns_port); in test_getaddrinfo_async()
2048 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); in dns_client_fail_requests_test()
[all …]
Dregress_http.c181 evutil_snprintf(strport, sizeof(strport), "%d", port); in http_connect()
1160 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); in http_connection_async_test()
1440 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); in http_cancel_test()
3790 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); in http_connection_retry_conn_address_test_impl()
4333 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); in http_ipv6_for_domain_test_impl()
Dregress.c2587 evutil_snprintf(b, sizeof(b), "%s=%s",k,v); in setenv()
2599 evutil_snprintf(b, sizeof(b), "%s=",k); in unsetenv()
2610 evutil_snprintf(buf, buflen, "EVENT_NO%s", mname); in methodname_to_envvar()
Dregress_buffer.c1507 evutil_snprintf(format, sizeof(format), "%%%u.%us", j, j); in test_evbuffer_iterative()
/external/libevent/sample/
Dhttp-server.c207 evutil_snprintf(whole_path, len, "%s/%s", docroot, decoded_path); in send_document_cb()
407 evutil_snprintf(uri_root, sizeof(uri_root), in main()
Dhttp-connect.c106 evutil_snprintf(buffer, URL_MAX, "%s:%d", in main()
Ddns-example.c50 evutil_snprintf(buf, sizeof(buf), "%d.%d.%d.%d", in debug_ntoa()
Dhttps-client.c456 evutil_snprintf(buf, sizeof(buf)-1, "%lu", (unsigned long)bytes); in main()
/external/libevent/
Devutil.c1751 evutil_snprintf(msg, len, "winsock error 0x%08x", errcode); in evutil_socket_error_to_string()
1825 evutil_snprintf(char *buf, size_t buflen, const char *format, ...) in evutil_snprintf() function
1872 r = evutil_snprintf(dst, len, "%d.%d.%d.%d", in evutil_inet_ntop()
1897 evutil_snprintf(buf, sizeof(buf), "::%d.%d.%d.%d", in evutil_inet_ntop()
1901 evutil_snprintf(buf, sizeof(buf), "::%x:%d.%d.%d.%d", words[5], in evutil_inet_ntop()
1939 evutil_snprintf(cp, in evutil_inet_ntop()
2184 evutil_snprintf(out, outlen, "%s:%d", b, port); in evutil_format_sockaddr_port_()
2192 evutil_snprintf(out, outlen, "[%s]:%d", b, port); in evutil_format_sockaddr_port_()
2197 evutil_snprintf(out, outlen, "<addr with socktype %d>", in evutil_format_sockaddr_port_()
Dlog.c212 evutil_snprintf(buf + len, sizeof(buf) - len, ": %s", errstr); in event_logv_()
Devutil_time.c173 return evutil_snprintf( in evutil_date_rfc1123()
Dbufferevent_sock.c518 evutil_snprintf(portbuf, sizeof(portbuf), "%d", port); in bufferevent_socket_connect_hostname()
Dhttp.c128 evutil_snprintf(tmpserv, sizeof(tmpserv), in fake_getnameinfo()
449 evutil_snprintf(size, sizeof(size), EV_SIZE_FMT, in evhttp_make_header_request()
508 evutil_snprintf(len, sizeof(len), EV_SIZE_FMT, in evhttp_maybe_add_content_length_header()
4370 evutil_snprintf(strport, sizeof(strport), "%d", port); in make_addrinfo()
Devdns.c902 evutil_snprintf(msg, sizeof(msg), "Bad response %d (%s)", in reply_handle()
1860 evutil_snprintf(buf, sizeof(buf), "%d.%d.%d.%d.in-addr.arpa", in evdns_server_request_add_ptr_reply()
2960 evutil_snprintf(buf, sizeof(buf), "%d.%d.%d.%d.in-addr.arpa", in evdns_base_resolve_reverse()
3602 evutil_snprintf(path_out, len_out, "%s%s", path, hostfile); in evdns_get_default_hosts_filename()
Devent.c515 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)
DChangeLog1408 o Always use evutil_snprintf, even if OS provides it (d1b2d11 Sebastian Hahn)
/external/libevent/include/event2/
Dutil.h583 int evutil_snprintf(char *buf, size_t buflen, const char *format, ...)