Home
last modified time | relevance | path

Searched refs:appName (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/lms/tools/
H A DATVersion.cpp71 bool ATVersion::GetAppVersion(const char *appName, std::string &version) in GetAppVersion() argument
76 if (IsAppRunning(appName, pids)) { in GetAppVersion()
85 version = GetProcessVersion(ATVersion::appSearchPath + appName); in GetAppVersion()
87 version = GetProcessVersion(appName); in GetAppVersion()
111 bool ATVersion::IsAppRunning(const char *appName, std::list<unsigned long> &pids) in IsAppRunning() argument
126 snprintf(status_path, sizeof(status_path), AT_PIDFILE_NAME_FORMAT, appName); in IsAppRunning()
138 snprintf(status_path, sizeof(status_path), AT_DEF_PIDFILE_NAME_FORMAT, appName); in IsAppRunning()
171 if ((1 == ret) && (strncmp(name_str, appName, 15) == 0)) { in IsAppRunning()
H A DATVersion.h57 static bool GetAppVersion(const char *appName, std::string &version);