| /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 160 HILOG_DEBUG(type, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str()) 162 HILOG_INFO(type, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str()) 164 HILOG_WARN(type, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str()) 166 HILOG_ERROR(type, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str()) 191 …std::string str = std::string("CHECK_NOTNULL(") + logging::StringFormat(fmt, ##__VA_ARGS__) + … 202 …std::string str = std::string("CHECK_TRUE(") + logging::StringFormat(fmt, ##__VA_ARGS__) + … 220 HILOG_WARN(LOG_CORE, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str()); \
|
| /developtools/hdc/hdc_rust/src/cffi/ |
| D | base.cpp | 18 const std::string StringFormat(const char * const formater, va_list &vaArgs) in StringFormat() function 29 const std::string StringFormat(const char * const formater, ...) in StringFormat() function 33 std::string ret = StringFormat(formater, vaArgs); in StringFormat()
|
| D | usb_util.cpp | 61 const std::string StringFormat(const char * const formater, va_list &vaArgs) in StringFormat() function 72 const std::string StringFormat(const char * const formater, ...) in StringFormat() function 76 std::string ret = StringFormat(formater, vaArgs); in StringFormat() 108 std::string stringBuf = StringFormat("param set %s %s", key, value); in SetDevItem()
|
| D | usb_util.h | 29 const std::string StringFormat(const char * const formater, va_list &vaArgs); 31 const std::string StringFormat(const char * const formater, ...);
|
| D | base.h | 41 const std::string StringFormat(const char * const formater, va_list &vaArgs); 43 const std::string StringFormat(const char * const formater, ...);
|
| D | system_depend.cpp | 36 string stringBuf = StringFormat("param set %s %s", key, value); in SetDevItem() 52 string sFailString = StringFormat("Get parameter \"%s\" fail", key); in GetDevItem()
|
| /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 | 134 doBuf = Base::StringFormat("bm install %s -p %s", options, package.c_str()); in PackageShell() 137 doBuf = Base::StringFormat("bm install %s %s", options, package.c_str()); in PackageShell() 144 doBuf = Base::StringFormat("bm uninstall %s -n %s", options, package.c_str()); in PackageShell() 147 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/hdc/src/common/ |
| D | base.h | 102 const string StringFormat(const char * const formater, ...); 103 const string StringFormat(const char * const formater, va_list &vaArgs);
|
| D | base.cpp | 53 debugInfo = StringFormat("%s:%d", tmpString.c_str(), line); in GetLogDebugFunctionName() 59 … threadIdString = StringFormat("[%x]", std::hash<std::thread::id> {}(std::this_thread::get_id())); in GetLogDebugFunctionName() 89 msTimeSurplus = StringFormat(".%03llu", sSinceUnix0Rest); in GetLogLevelAndTime() 95 timeString = StringFormat("%s%s", buffer, msTimeSurplus.c_str()); in GetLogLevelAndTime() 165 string last = StringFormat("%s.%d", path, 0); in RollLogFile() 247 … string logBuf = StringFormat("[%s][%s]%s%s %s%s", logLevelString.c_str(), timeString.c_str(), in PrintLogEx() 1346 const string StringFormat(const char * const formater, ...) in StringFormat() function 1350 string ret = StringFormat(formater, vaArgs); in StringFormat() 1355 const string StringFormat(const char * const formater, va_list &vaArgs) in StringFormat() function 1374 string ver = StringFormat("%x.%x.%x%c", major, minor, version, a + fix); in GetVersion()
|
| D | task.cpp | 76 string log = Base::StringFormat(msg, vaArgs); in LogMsg()
|
| D | async_cmd.cpp | 114 string sFailString = Base::StringFormat("Get parameter \"%s\" fail", key); in GetDevItem()
|
| D | transfer.cpp | 603 localPath = Base::StringFormat("%s%c%s", localPath.c_str(), Base::GetPathSep(), optName); in SmartSlavePath()
|
| D | session.cpp | 1278 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 | 260 …out = Base::StringFormat("%s\t\t%s\t%s\t%s\n", hdi->connectKey.c_str(), sConn.c_str(), sStatus.c_s… in BuildDaemonVisableLine() 264 out = Base::StringFormat("%s\n", hdi->connectKey.c_str()); in BuildDaemonVisableLine() 619 … buf = Base::StringFormat("%s %s %s\n", hfi->connectKey.c_str(), hfi->taskString.c_str(), in BuildForwardVisableLine() 622 buf = Base::StringFormat("%s\n", hfi->taskString.c_str()); in BuildForwardVisableLine()
|
| D | host_usb.cpp | 231 …string szTmpKey = Base::StringFormat("%d-%d", libusb_get_bus_number(dev), libusb_get_device_addres… in WatchUsbNodeChange() 332 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 | 181 string log = logInfo + Base::StringFormat(msg, vaArgs); in EchoClient()
|