Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/
H A Dhttp_file_source.cpp223 HTTPRequest *baton = nullptr; in checkMultiInfo() local
224 curl::easy_getinfo(message->easy_handle, CURLINFO_PRIVATE, (char *)&baton); in checkMultiInfo()
225 assert(baton); in checkMultiInfo()
226 baton->handleResult(message->data.result); in checkMultiInfo()
390 auto baton = reinterpret_cast<HTTPRequest *>(userp); in headerCallback() local
392 if (!baton->response) { in headerCallback()
393 baton->response = std::make_unique<Response>(); in headerCallback()
402 baton->response->modified = Timestamp{ Seconds(curl::getdate(value.c_str(), nullptr)) }; in headerCallback()
404 baton->response->etag = std::string(buffer + begin, length - begin - 2); // remove \r\n in headerCallback()
408 baton->response->expires = cc.toTimePoint(); in headerCallback()
[all …]