Home
last modified time | relevance | path

Searched refs:URL_MAX (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/sample/
H A Dhttp-connect.c18 #define URL_MAX 4096 macro
34 static char* uri_path(struct evhttp_uri *uri, char buffer[URL_MAX]) in uri_path() argument
38 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX)); in uri_path()
45 VERIFY(evhttp_uri_join(path, buffer, URL_MAX)); in uri_path()
48 static char* uri_hostport(struct evhttp_uri *uri, char buffer[URL_MAX]) in uri_hostport() argument
50 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX)); in uri_hostport()
53 evutil_snprintf(buffer, URL_MAX, "%s:%d", in uri_hostport()
77 char buffer[URL_MAX]; in connect_cb()
91 char hostport[URL_MAX]; in main()
/freebsd/contrib/libevent/sample/
H A Dhttp-connect.c18 #define URL_MAX 4096 macro
34 static char* uri_path(struct evhttp_uri *uri, char buffer[URL_MAX]) in uri_path() argument
38 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX)); in uri_path()
45 VERIFY(evhttp_uri_join(path, buffer, URL_MAX)); in uri_path()
48 static char* uri_hostport(struct evhttp_uri *uri, char buffer[URL_MAX]) in uri_hostport() argument
50 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX)); in uri_hostport()
53 evutil_snprintf(buffer, URL_MAX, "%s:%d", in uri_hostport()
77 char buffer[URL_MAX]; in connect_cb()
91 char hostport[URL_MAX]; in main()
/freebsd/usr.sbin/bsdconfig/share/media/
H A Dhttp.subr48 URL_MAX=261261
186 if [ ${#url} -gt ${URL_MAX:-261261} ]; then
188 ${#url} ${URL_MAX:-261261}