Home
last modified time | relevance | path

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

/developtools/hdc/src/common/
Dfile.cpp71 string errStr; in SetMasterParameters() local
127 …if (!Base::CheckDirectoryOrPath(context->localPath.c_str(), true, true, errStr, mode) && (mode & S… in SetMasterParameters()
249 string errStr; in SlaveCheck() local
262 if (!CheckLocalPath(ctxNow.localPath, stat.optionalName, errStr)) { in SlaveCheck()
263 LogMsg(MSG_FAIL, "%s", errStr.c_str()); in SlaveCheck()
267 if (!CheckFilename(ctxNow.localPath, stat.optionalName, errStr)) { in SlaveCheck()
268 LogMsg(MSG_FAIL, "%s", errStr.c_str()); in SlaveCheck()
Dtransfer.cpp463 bool HdcTransferBase::CheckLocalPath(string &localPath, string &optName, string &errStr) in CheckLocalPath() argument
502 if (!Base::TryCreateDirectory(makedirPath, errStr)) { in CheckLocalPath()
511 errStr = "Not a directory, path:"; in CheckLocalPath()
512 errStr += localPath.c_str(); in CheckLocalPath()
518 bool HdcTransferBase::CheckFilename(string &localPath, string &optName, string &errStr) in CheckFilename() argument
547 if (!Base::TryCreateDirectory(localPath, errStr)) { in CheckFilename()
587 string errStr; in SmartSlavePath() local
593 if (Base::CheckDirectoryOrPath(localPath.c_str(), true, false, errStr, mode)) { in SmartSlavePath()
594 WRITE_LOG(LOG_DEBUG, "%s", errStr.c_str()); in SmartSlavePath()
Dtransfer.h113 bool CheckLocalPath(string &localPath, string &optName, string &errStr);
114 bool CheckFilename(string &localPath, string &optName, string &errStr);
Dbase.cpp1261 …bool CheckDirectoryOrPath(const char *localPath, bool pathOrDir, bool readWrite, string &errStr, m… in CheckDirectoryOrPath() argument
1272 BuildErrorString(localPath, "lstat", buf, errStr); in CheckDirectoryOrPath()
1287 BuildErrorString(localPath, op, buf, errStr); in CheckDirectoryOrPath()
1295 errStr = "Not support "; in CheckDirectoryOrPath()
1296 errStr += type; in CheckDirectoryOrPath()
1297 errStr += ": "; in CheckDirectoryOrPath()
1298 errStr += localPath; in CheckDirectoryOrPath()
1301 errStr = "Not support dir: "; in CheckDirectoryOrPath()
1302 errStr += localPath; in CheckDirectoryOrPath()
Dbase.h76 …bool CheckDirectoryOrPath(const char *localPath, bool pathOrDir, bool readWrite, string &errStr, m…
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/base/
DBaseProfilerUtils.ets59 let errStr: String = err;
60 if (errStr.indexOf('denied') > 0) {