| /developtools/hdc/src/test/ |
| D | ut_mod.cpp | 139 string localFile = Base::StringFormat("%s/file.local", UT_TMP_PATH.c_str()); in TestFileCommand() 140 string remoteFile = Base::StringFormat("%s/file.remote", UT_TMP_PATH.c_str()); in TestFileCommand() 143 string cmd = Base::StringFormat("find /usr > %s", localFile.c_str()); in TestFileCommand() 276 string localFile = Base::StringFormat("%s/forward.result", UT_TMP_PATH.c_str()); in TestForwardCommand() 290 string localFile = Base::StringFormat("%s/app.hap", UT_TMP_PATH.c_str()); in TestAppCommand() 291 …string cmd = Base::StringFormat("id --help > %s", localFile.c_str()); // I know it is a invalid h… in TestAppCommand()
|
| D | ut_command.cpp | 83 … bufString = Base::StringFormat("file send %s/file.local %s/file.remote", UT_TMP_PATH.c_str(), in TestTaskCommand() 105 bufString = Base::StringFormat("install %s/app.hap", UT_TMP_PATH.c_str()); in TestTaskCommand()
|
| D | ut_runtime.cpp | 214 string utFile = Base::StringFormat("%s/%s", UT_TMP_PATH.c_str(), file.c_str()); in ResetUtTmpFile()
|
| /developtools/hdc/src/daemon/ |
| D | system_depend.cpp | 43 string stringBuf = Base::StringFormat("param set %s %s", key, value); in SetDevItem() 59 string sFailString = Base::StringFormat("Get parameter \"%s\" fail", key); in GetDevItem()
|
| D | daemon_app.cpp | 130 doBuf = Base::StringFormat("bm install %s -p %s", options, package.c_str()); in PackageShell() 133 doBuf = Base::StringFormat("bm install %s %s", options, package.c_str()); in PackageShell() 140 doBuf = Base::StringFormat("bm uninstall %s -n %s", options, package.c_str()); in PackageShell() 143 doBuf = Base::StringFormat("bm uninstall %s %s", options, package.c_str()); in PackageShell()
|
| D | daemon_tcp.cpp | 62 string sendBuf = Base::StringFormat("%s-%d", HANDSHAKE_MESSAGE.c_str(), tcpListenPort); in TransmitConfig()
|
| /developtools/profiler/device/base/include/ |
| D | logging.h | 134 static inline std::string StringFormat(const char* fmt, ...) __attribute__((format(printf, 1, 2))); 136 static inline std::string StringFormat(const char* fmt, ...) in StringFormat() function 180 …HiLogPrint(type, level, LOG_DOMAIN, LOG_TAG, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS_… 183 …HiLogPrint(type, level, LOG_DOMAIN, LOG_TAG, "%s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str…
|
| /developtools/hdc/src/common/ |
| D | base.h | 101 const string StringFormat(const char * const formater, ...); 102 const string StringFormat(const char * const formater, va_list &vaArgs);
|
| D | base.cpp | 56 debugInfo = StringFormat("%s:%d", tmpString.c_str(), line); in GetLogDebugFunctionName() 62 … threadIdString = StringFormat("[%x]", std::hash<std::thread::id> {}(std::this_thread::get_id())); in GetLogDebugFunctionName() 92 msTimeSurplus = StringFormat(".%03llu", sSinceUnix0Rest); in GetLogLevelAndTime() 98 timeString = StringFormat("%s%s", buffer, msTimeSurplus.c_str()); in GetLogLevelAndTime() 168 string last = StringFormat("%s.%d", path, 0); in RollLogFile() 250 … string logBuf = StringFormat("[%s][%s]%s%s %s%s", logLevelString.c_str(), timeString.c_str(), in PrintLogEx() 1299 const string StringFormat(const char * const formater, ...) in StringFormat() function 1303 string ret = StringFormat(formater, vaArgs); in StringFormat() 1308 const string StringFormat(const char * const formater, va_list &vaArgs) in StringFormat() function 1327 string ver = StringFormat("%x.%x.%x%c", major, minor, version, a + fix); in GetVersion()
|
| D | task.cpp | 75 string log = Base::StringFormat(msg, vaArgs); in LogMsg()
|
| D | transfer.cpp | 617 localPath = Base::StringFormat("%s%c%s", localPath.c_str(), Base::GetPathSep(), optName); in SmartSlavePath()
|
| D | session.cpp | 1256 string log = Base::StringFormat(msg, vaArgs); in LogMsg()
|
| /developtools/hdc/src/host/ |
| D | main.cpp | 126 outCommand += Base::StringFormat("\"%s\"", utf8Path.c_str()); in AppendCwdWhenTransfer() 149 string packageCmd = Base::StringFormat("\"%s\"", argv[i]); in SplitOptionAndCommand() 154 outOption += Base::StringFormat("\"%s\"", argv[i]); in SplitOptionAndCommand()
|
| D | server.cpp | 259 …out = Base::StringFormat("%s\t\t%s\t%s\t%s\n", hdi->connectKey.c_str(), sConn.c_str(), sStatus.c_s… in BuildDaemonVisableLine() 263 out = Base::StringFormat("%s\n", hdi->connectKey.c_str()); in BuildDaemonVisableLine() 633 buf = Base::StringFormat("'%s'\t%s\n", hfi->taskString.c_str(), in BuildForwardVisableLine() 636 buf = Base::StringFormat("%s\n", hfi->taskString.c_str()); in BuildForwardVisableLine()
|
| D | host_usb.cpp | 225 …string szTmpKey = Base::StringFormat("%d-%d", libusb_get_bus_number(dev), libusb_get_device_addres… in WatchUsbNodeChange() 326 di.usbMountPoint = Base::StringFormat("%d-%d", hUSB->busId, hUSB->devId); in UpdateUSBDaemonInfo()
|
| D | ext_client.cpp | 298 … std::string remove = Base::StringFormat("%s %s \"%s\" ", argv[i], argv[i + 1], argv[i + 2]); in RemoveRemoteCwd()
|
| D | client.cpp | 67 … string path = Base::StringFormat("%s%c.%s.pid", bufPath, Base::GetPathSep(), SERVER_NAME.c_str()); in GetLastPID()
|
| D | server_for_client.cpp | 178 string log = logInfo + Base::StringFormat(msg, vaArgs); in EchoClient()
|