/external/libevent/test/ |
D | regress_util.c | 391 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()
|
D | tinytest_local.h | 12 #define snprintf evutil_snprintf
|
D | regress_dns.c | 550 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 …]
|
D | regress_http.c | 181 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()
|
D | regress.c | 2587 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()
|
D | regress_buffer.c | 1507 evutil_snprintf(format, sizeof(format), "%%%u.%us", j, j); in test_evbuffer_iterative()
|
/external/libevent/sample/ |
D | http-server.c | 207 evutil_snprintf(whole_path, len, "%s/%s", docroot, decoded_path); in send_document_cb() 407 evutil_snprintf(uri_root, sizeof(uri_root), in main()
|
D | http-connect.c | 106 evutil_snprintf(buffer, URL_MAX, "%s:%d", in main()
|
D | dns-example.c | 50 evutil_snprintf(buf, sizeof(buf), "%d.%d.%d.%d", in debug_ntoa()
|
D | https-client.c | 456 evutil_snprintf(buf, sizeof(buf)-1, "%lu", (unsigned long)bytes); in main()
|
/external/libevent/ |
D | evutil.c | 1751 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_()
|
D | log.c | 212 evutil_snprintf(buf + len, sizeof(buf) - len, ": %s", errstr); in event_logv_()
|
D | evutil_time.c | 173 return evutil_snprintf( in evutil_date_rfc1123()
|
D | bufferevent_sock.c | 518 evutil_snprintf(portbuf, sizeof(portbuf), "%d", port); in bufferevent_socket_connect_hostname()
|
D | http.c | 128 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()
|
D | evdns.c | 902 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()
|
D | event.c | 515 evutil_snprintf(environment, sizeof(environment), "EVENT_NO%s", name); in event_is_method_disabled()
|
D | ChangeLog-2.0 | 292 o Always use evutil_snprintf, even if OS provides it (d1b2d11 Sebastian Hahn)
|
D | ChangeLog | 1408 o Always use evutil_snprintf, even if OS provides it (d1b2d11 Sebastian Hahn)
|
/external/libevent/include/event2/ |
D | util.h | 583 int evutil_snprintf(char *buf, size_t buflen, const char *format, ...)
|