Home
last modified time | relevance | path

Searched refs:errStr (Results 1 - 6 of 6) sorted by relevance

/developtools/hdc/src/common/
H A Dfile.cpp80 string errStr; in SetMasterParameters() local
136 if (!Base::CheckDirectoryOrPath(context->localPath.c_str(), true, true, errStr, mode) && (mode & S_IFDIR)) { in SetMasterParameters()
258 string errStr; in SlaveCheck() local
270 if (!CheckLocalPath(ctxNow.localPath, stat.optionalName, errStr)) { in SlaveCheck()
271 LogMsg(MSG_FAIL, "%s", errStr.c_str()); in SlaveCheck()
275 if (!CheckFilename(ctxNow.localPath, stat.optionalName, errStr)) { in SlaveCheck()
276 LogMsg(MSG_FAIL, "%s", errStr.c_str()); in SlaveCheck()
H A Dtransfer.cpp527 bool HdcTransferBase::CheckLocalPath(string &localPath, string &optName, string &errStr) in CheckLocalPath() argument
566 if (!Base::TryCreateDirectory(makedirPath, errStr)) { in CheckLocalPath()
575 errStr = "Not a directory, path:"; in CheckLocalPath()
576 errStr += localPath.c_str(); in CheckLocalPath()
582 bool HdcTransferBase::CheckFilename(string &localPath, string &optName, string &errStr) in CheckFilename() argument
611 if (!Base::TryCreateDirectory(localPath, errStr)) { in CheckFilename()
651 string errStr; in SmartSlavePath() local
657 if (Base::CheckDirectoryOrPath(localPath.c_str(), true, false, errStr, mode)) { in SmartSlavePath()
658 WRITE_LOG(LOG_DEBUG, "%s", errStr.c_str()); in SmartSlavePath()
H A Dtransfer.h131 bool CheckLocalPath(string &localPath, string &optName, string &errStr);
132 bool CheckFilename(string &localPath, string &optName, string &errStr);
H A Dbase.cpp1659 bool CheckDirectoryOrPath(const char *localPath, bool pathOrDir, bool readWrite, string &errStr, mode_t &fm) in CheckDirectoryOrPath() argument
1670 BuildErrorString(localPath, "lstat", buf, errStr); in CheckDirectoryOrPath()
1685 BuildErrorString(localPath, op, buf, errStr); in CheckDirectoryOrPath()
1693 errStr = "Not support "; in CheckDirectoryOrPath()
1694 errStr += type; in CheckDirectoryOrPath()
1695 errStr += ": "; in CheckDirectoryOrPath()
1696 errStr += localPath; in CheckDirectoryOrPath()
1699 errStr = "Not support dir: "; in CheckDirectoryOrPath()
1700 errStr += localPath; in CheckDirectoryOrPath()
H A Dbase.h102 bool CheckDirectoryOrPath(const char *localPath, bool pathOrDir, bool readWrite, string &errStr, mode_t &fm);
/developtools/hapsigner/hapsigntool_cpp/profile/src/
H A Dprofile_verify.cpp285 std::string errStr = "invalid json object, parse provision failed, json: " + appProvision; in ParseProfile() local
286 PrintErrorNumberMsg("PROVISION_INVALID_ERROR", PROVISION_INVALID_ERROR, errStr.c_str()); in ParseProfile()

Completed in 9 milliseconds