Searched refs:localFile (Results 1 – 2 of 2) sorted by relevance
| /developtools/integration_verification/tools/fotff/utils/ |
| D | ssh.go | 113 …(verb Direct, addr string, user string, passwd string, remoteFile string, localFile string) error { 134 os.RemoveAll(localFile) 135 os.MkdirAll(filepath.Dir(localFile), 0755) 136 if dst, err = os.Create(localFile); err != nil { 142 if src, err = os.Open(localFile); err != nil { 153 logrus.Infof("%sing %s at %s %s %s...", verb, remoteFile, addr, prep, localFile) 157 logrus.Errorf("%s %s at %s %s %s err: %v", verb, remoteFile, addr, prep, localFile, err) 162 …e, size: %d cost: %.2fs speed: %.2fMB/s", verb, remoteFile, addr, prep, localFile, n, cost, float6…
|
| /developtools/hdc/src/test/ |
| D | ut_mod.cpp | 139 string localFile = Base::StringFormat("%s/file.local", UT_TMP_PATH.c_str()); in TestFileCommand() local 143 string cmd = Base::StringFormat("find /usr > %s", localFile.c_str()); in TestFileCommand() 146 …if ((sizeLocal = Base::ReadBinFile(localFile.c_str(), reinterpret_cast<void **>(&bufLocal), 0)) < … in TestFileCommand() 276 string localFile = Base::StringFormat("%s/forward.result", UT_TMP_PATH.c_str()); in TestForwardCommand() local 277 …if ((sizeResult = Base::ReadBinFile(localFile.c_str(), reinterpret_cast<void **>(buf), sizeof(buf)… in TestForwardCommand() 290 string localFile = Base::StringFormat("%s/app.hap", UT_TMP_PATH.c_str()); in TestAppCommand() local 291 …string cmd = Base::StringFormat("id --help > %s", localFile.c_str()); // I know it is a invalid h… in TestAppCommand()
|