Lines Matching refs:pidStr
172 std::string pidStr = std::to_string(getprocpid());
173 int ret = strcpy_s(g_pid, PID_BUF_SIZE, pidStr.c_str());
175 HILOG_ERROR(LOG_CORE, "pid[%{public}s] strcpy_s fail ret: %{public}d.", pidStr.c_str(), ret);
184 HILOG_INFO(LOG_CORE, "pid[%{public}s] first get g_tagsProperty: %{public}s", pidStr.c_str(),
190 std::string pidStr = std::to_string(getprocpid());
191 int ret = strcpy_s(g_pid, PID_BUF_SIZE, pidStr.c_str());
193 HILOG_ERROR(LOG_CORE, "pid[%{public}s] strcpy_s fail ret: %{public}d.", pidStr.c_str(), ret);
448 std::string pidStr = std::string(g_pid);
449 std::string pidFixStr = std::string(PID_STR_MAX - pidStr.length(), ' ');
450 g_appTracePrefix += "-" + pidStr + pidFixStr + " (" + pidFixStr + pidStr + ")";
469 std::string pidStr = std::string(g_pid);
471 std::string pidFixStr = std::string(PID_STR_MAX - pidStr.length(), ' ');
472 g_appTracePrefix += "-" + tidStr + tidFixStr + " (" + pidFixStr + pidStr + ")";