Searched refs:easyHandle_ (Results 1 - 6 of 6) sorted by relevance
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/download/ |
H A D | http_curl_client.cpp | 53 easyHandle_ = curl_easy_init(); in Open() 54 FALSE_RETURN_V(easyHandle_ != nullptr, Status::ERROR_NULL_POINTER); in Open() 63 curl_easy_setopt(easyHandle_, CURLOPT_TIMEOUT, 1); in Close() 64 if (easyHandle_) { in Close() 65 curl_easy_cleanup(easyHandle_); in Close() 66 easyHandle_ = nullptr; in Close() 73 if (easyHandle_) { in Deinit() 74 curl_easy_cleanup(easyHandle_); in Deinit() 75 easyHandle_ = nullptr; in Deinit() 83 curl_easy_setopt(easyHandle_, CURLOPT_UR in InitCurlEnvironment() [all...] |
H A D | http_curl_client.h | 51 CURL* easyHandle_ {nullptr};
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/network_client/ |
H A D | http_curl_client.cpp | 227 if (easyHandle_ == nullptr) { in Open() 229 easyHandle_ = curl_easy_init(); in Open() 231 FALSE_RETURN_V(easyHandle_ != nullptr, Status::ERROR_NULL_POINTER); in Open() 247 if (easyHandle_) { in Close() 248 curl_easy_setopt(easyHandle_, CURLOPT_TIMEOUT_MS, 1); in Close() 256 if (easyHandle_) { in Close() 257 curl_easy_cleanup(easyHandle_); in Close() 258 easyHandle_ = nullptr; in Close() 272 if (easyHandle_) { in Deinit() 273 curl_easy_setopt(easyHandle_, CURLOPT_TIMEOUT_M in Deinit() [all...] |
H A D | http_curl_client.h | 81 CURL* easyHandle_ {nullptr};
|
/foundation/multimedia/av_session/frameworks/native/ohavsession/src/ |
H A D | OHAVMetadataBuilder.cpp | 125 CURL *easyHandle_ = curl_easy_init(); in CurlSetRequestOptions() local 126 if (easyHandle_) { in CurlSetRequestOptions() 128 curl_easy_setopt(easyHandle_, CURLOPT_URL, uri.c_str()); in CurlSetRequestOptions() 129 curl_easy_setopt(easyHandle_, CURLOPT_CONNECTTIMEOUT, OHAVMetadataBuilder::TIME_OUT_SECOND); in CurlSetRequestOptions() 130 curl_easy_setopt(easyHandle_, CURLOPT_SSL_VERIFYPEER, 0L); in CurlSetRequestOptions() 131 curl_easy_setopt(easyHandle_, CURLOPT_SSL_VERIFYHOST, 0L); in CurlSetRequestOptions() 132 curl_easy_setopt(easyHandle_, CURLOPT_CAINFO, "/etc/ssl/certs/" "cacert.pem"); in CurlSetRequestOptions() 133 curl_easy_setopt(easyHandle_, CURLOPT_HTTPGET, 1L); in CurlSetRequestOptions() 134 curl_easy_setopt(easyHandle_, CURLOPT_WRITEFUNCTION, OHAVMetadataBuilder::WriteCallback); in CurlSetRequestOptions() 135 curl_easy_setopt(easyHandle_, CURLOPT_WRITEDAT in CurlSetRequestOptions() [all...] |
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_utils.cpp | 56 CURL *easyHandle_ = curl_easy_init(); in CurlSetRequestOptions() local 57 if (easyHandle_) { in CurlSetRequestOptions() 59 curl_easy_setopt(easyHandle_, CURLOPT_URL, uri.c_str()); in CurlSetRequestOptions() 60 curl_easy_setopt(easyHandle_, CURLOPT_CONNECTTIMEOUT, NapiUtils::TIME_OUT_SECOND); in CurlSetRequestOptions() 61 curl_easy_setopt(easyHandle_, CURLOPT_SSL_VERIFYPEER, 0L); in CurlSetRequestOptions() 62 curl_easy_setopt(easyHandle_, CURLOPT_SSL_VERIFYHOST, 0L); in CurlSetRequestOptions() 63 curl_easy_setopt(easyHandle_, CURLOPT_CAINFO, "/etc/ssl/certs/" "cacert.pem"); in CurlSetRequestOptions() 64 curl_easy_setopt(easyHandle_, CURLOPT_HTTPGET, 1L); in CurlSetRequestOptions() 65 curl_easy_setopt(easyHandle_, CURLOPT_WRITEFUNCTION, WriteCallback); in CurlSetRequestOptions() 66 curl_easy_setopt(easyHandle_, CURLOPT_WRITEDAT in CurlSetRequestOptions() [all...] |
Completed in 5 milliseconds