Lines Matching defs:context
51 // update transferconfig to main context
260 void HdcDaemonApp::WhenTransferFinish(CtxFile *context)
262 if (context->lastErrno > 0) {
265 uv_strerror_r(static_cast<int>(-context->lastErrno), buf, bufSize);
266 WRITE_LOG(LOG_DEBUG, "HdcDaemonApp WhenTransferFinish with errno:%d", context->lastErrno);
268 context->indexIO, context->fileSize, buf);
272 Sideload(context->localPath.c_str());
274 string dir = Tar2Dir(context->localPath.c_str());
276 PackageShell(true, context->transferConfig.options.c_str(), dir.c_str());
278 PackageShell(true, context->transferConfig.options.c_str(), context->localPath.c_str());