Home
last modified time | relevance | path

Searched full:curl (Results 1 – 25 of 66) sorted by relevance

123

/freebsd-src/crypto/openssl/apps/
H A Dtsget.in14 use WWW::Curl::Easy;
39 # Initialise a new Curl object.
43 # Create Curl object.
44 my $curl = WWW::Curl::Easy::new();
47 $curl->setopt(CURLOPT_VERBOSE, 1) if $options{d};
48 $curl->setopt(CURLOPT_FAILONERROR, 1);
49 $curl->setopt(CURLOPT_USERAGENT,
53 $curl->setopt(CURLOPT_UPLOAD, 1);
54 $curl->setopt(CURLOPT_CUSTOMREQUEST, "POST");
55 $curl->setopt(CURLOPT_HTTPHEADER,
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/Debuginfod/
H A DHTTPClient.cpp22 #include <curl/curl.h>
65 curl_easy_setopt(Curl, CURLOPT_TIMEOUT_MS, Timeout.count()); in setTimeout()
68 /// CurlHTTPRequest and the curl{Header,Write}Function are implementation
69 /// details used to work with Curl. Curl makes callbacks with a single
94 if (Curl) in HTTPClient()
96 Curl = curl_easy_init(); in HTTPClient()
97 assert(Curl && "Curl could not be initialized"); in HTTPClient()
99 curl_easy_setopt(Curl, CURLOPT_WRITEFUNCTION, curlWriteFunction); in HTTPClient()
101 curl_easy_setopt(Curl, CURLOPT_ACCEPT_ENCODING, ""); in HTTPClient()
104 HTTPClient::~HTTPClient() { curl_easy_cleanup(Curl); } in ~HTTPClient()
[all …]
/freebsd-src/contrib/wpa/src/utils/
H A Dhttp_curl.c10 #include <curl/curl.h>
45 CURL *curl; member
73 if (ctx->curl) { in clear_curl()
74 curl_easy_cleanup(ctx->curl); in clear_curl()
75 ctx->curl = NULL; in clear_curl()
125 static int curl_cb_debug(CURL *curl, curl_infotype info, char *buf, size_t len, in curl_cb_debug()
1293 static CURLcode curl_cb_ssl(CURL *cur
124 curl_cb_debug(CURL * curl,curl_infotype info,char * buf,size_t len,void * userdata) curl_cb_debug() argument
1314 curl_cb_ssl(CURL * curl,void * sslctx,void * parm) curl_cb_ssl() argument
1353 CURL *curl; setup_curl_post() local
1619 CURL *curl; http_download_file() local
1690 CURL *curl; http_post() local
[all...]
/freebsd-src/release/scripts/
H A Datlas-upload.sh78 …BOXRESULT=$(/usr/local/bin/curl -s "${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}?access_token…
86 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/boxes -X POST -d "box[name]=${BOX}" -d "access_t…
87 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX} -X PUT -d "box[is_private…
88 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX} -X PUT -d "box[descriptio…
94 …VERSIONRESULT=$(/usr/local/bin/curl -s "${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/version/…
102 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/versions -X POST -d "vers…
103 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/version/${VERSION} -X PUT…
104 …VERSIONRESULT=$(/usr/local/bin/curl -s "${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/version/…
115 …PROVIDERRESULT=$(/usr/local/bin/curl -s "${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/version…
123 …/usr/local/bin/curl -s ${ATLAS_UPLOAD_URL}/api/v1/box/${USERNAME}/${BOX}/version/${VERSION}/provid…
[all …]
/freebsd-src/sys/contrib/openzfs/config/
H A Duser-libfetch.m411 dnl # libcurl development packages include curl-config(1) – we want:
42 if curl-config --protocols 2>/dev/null | grep -q HTTPS &&
43 test "$(printf "%u" "0x$(curl-config --vernum)")" -ge "$(printf "%u" "0x071000")"; then
46 if test "$(curl-config --built-shared)" = "yes"; then
52 LIBFETCH_LIBS="$(curl-config --libs)"
56 CCFLAGS="$CCFLAGS $(curl-config --cflags)"
/freebsd-src/sys/contrib/openzfs/cmd/zed/zed.d/
H A Dzed-functions.sh309 # Requires awk, curl, and sed executables to be installed in the standard PATH.
347 zed_check_cmd "awk" "curl" "sed" || return 1
369 msg_out="$(curl -u "${ZED_PUSHBULLET_ACCESS_TOKEN}:" -X POST "${url}" \
373 zed_log_err "curl exit=${rv}"
392 # Requires awk, curl, and sed executables to be installed in the standard PATH.
428 zed_check_cmd "awk" "curl" "sed" || return 1
444 msg_out="$(curl -X POST "${url}" \
448 zed_log_err "curl exit=${rv}"
467 # Requires curl and sed executables to be installed in the standard PATH.
501 zed_check_cmd "curl" "sed" || return 1
[all …]
/freebsd-src/release/
H A DMakefile.vagrant53 .if !exists(/usr/local/bin/curl)
54 . if !exists(${PORTSDIR}/ftp/curl/Makefile)
58 env ASSUME_ALWAYS_YES=yes pkg install -y curl
60 env UNAME_r=${UNAME_r} make -C ${PORTSDIR}/ftp/curl \
/freebsd-src/contrib/unbound/contrib/ios/
H A Dinstall_tools.sh9 #brew install curl perl 1>/dev/null
10 HOMEBREW_NO_AUTO_UPDATE=1 brew install curl perl 1>/dev/null
H A Dinstall_openssl.sh4 if ! curl -L -k -s -o openssl-1.1.1d.tar.gz https://www.openssl.org/source/openssl-1.1.1d.tar.gz;
H A Dinstall_expat.sh4 if ! curl -L -k -s -o expat-2.2.9.tar.gz https://github.com/libexpat/libexpat/releases/download/R_2…
/freebsd-src/contrib/elftoolchain/
H A D.cirrus.yml16 binutils bison bmake curl flex g++ gcc git
20 - curl -O http://tetworks.opengroup.org/downloads/38/software/Sources/3.8/tet3.8-src.tar.gz
/freebsd-src/contrib/unbound/contrib/android/
H A Dinstall_ndk.sh19 if ! curl -L -k -s -o "$HOME/android-sdk.zip" https://dl.google.com/android/repository/commandlinet…
26 if ! curl -L -k -s -o "$HOME/android-ndk.zip" https://dl.google.com/android/repository/android-ndk-…
H A Dinstall_tools.sh6 sudo apt-get -qq install --no-install-recommends curl tar zip unzip perl openjdk-8-jdk autoconf aut…
H A Dinstall_openssl.sh4 if ! curl -L -k -s -o openssl-1.1.1d.tar.gz https://www.openssl.org/source/openssl-1.1.1d.tar.gz;
H A Dinstall_expat.sh4 if ! curl -L -k -s -o expat-2.2.9.tar.gz https://github.com/libexpat/libexpat/releases/download/R_2…
/freebsd-src/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c37 #include <curl/curl.h>
580 CURL *curl = curl_easy_init(); in get_key_material_https() local
581 if (curl == NULL) { in get_key_material_https()
629 (void) curl_easy_setopt(curl, CURLOPT_URL, uri); in get_key_material_https()
630 (void) curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); in get_key_material_https()
631 (void) curl_easy_setopt(curl, CURLOPT_TIMEOUT_MS, 30000L); in get_key_material_https()
632 (void) curl_easy_setopt(curl, CURLOPT_WRITEDATA, key); in get_key_material_https()
633 (void) curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, errbuf); in get_key_material_https()
635 (void) curl_easy_setopt(curl, CURLOPT_CAINFO, cainfo); in get_key_material_https()
637 (void) curl_easy_setopt(curl, CURLOPT_CAPATH, capath); in get_key_material_https()
[all …]
/freebsd-src/usr.bin/calendar/
H A Dsunpos.c371 double curL, prevL; in calculatesunlongitude30() local
390 0.0, 0.0, &curL, &dec); in calculatesunlongitude30()
391 if (curL < 180 && prevL > 180) { in calculatesunlongitude30()
395 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL); in calculatesunlongitude30()
400 if (curL > i && prevL < i) { in calculatesunlongitude30()
405 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL); in calculatesunlongitude30()
412 prevL = curL; in calculatesunlongitude30()
/freebsd-src/contrib/libcbor/.circleci/
H A Dconfig.yml168 - run: sudo apt install apt-transport-https curl gnupg
169 - run: curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
184 … - run: bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
/freebsd-src/crypto/openssl/doc/man1/
H A Dtsget.pod79 Switches on verbose mode for the underlying perl module L<WWW::Curl::Easy>.
186 =for openssl foreign manual WWW::Curl::Easy
190 L<WWW::Curl::Easy>,
/freebsd-src/sys/contrib/openzfs/.github/workflows/
H A Dbuild-dependencies.txt
/freebsd-src/contrib/libfido2/.github/workflows/
H A Dbsd_builds.yml27 sudo apt install -q -y curl jq
/freebsd-src/contrib/libevent/sample/
H A Dhostcheck.c12 * are also available at http://curl.haxx.se/docs/copyright.html.
24 from cURL. The contents of the COPYING file mentioned above are:
/freebsd-src/contrib/ntp/sntp/libevent/sample/
H A Dhostcheck.c12 * are also available at http://curl.haxx.se/docs/copyright.html.
24 from cURL. The contents of the COPYING file mentioned above are:
H A Dhostcheck.h14 * are also available at http://curl.haxx.se/docs/copyright.html.
/freebsd-src/contrib/unbound/contrib/
H A Ddrop2rpz3 # usage: curl --silent https://www.spamhaus.org/drop/drop.txt | $0 > /path/to/spamhaus-drop.rpz.loc…

123