Searched refs:bufPath (Results 1 – 2 of 2) sorted by relevance
| /developtools/hdc/src/common/ |
| D | base.cpp | 856 char bufPath[BUF_SIZE_DEFAULT] = ""; in ProgramMutex() local 864 …if (snprintf_s(bufPath, sizeof(bufPath), sizeof(bufPath) - 1, "%s%c.%s.pid", buf, Base::GetPathSep… in ProgramMutex() 875 … int fd = uv_fs_open(nullptr, &req, bufPath, O_RDWR | O_CREAT, 0666, nullptr); // 0666:permission in ProgramMutex() 880 WRITE_LOG(LOG_FATAL, "Open mutex file %s failed!!! %s", bufPath, buffer); in ProgramMutex() 906 WRITE_LOG(LOG_DEBUG, "File \"%s\" locked. proc already exit!!!\n", bufPath); in ProgramMutex() 918 WRITE_LOG(LOG_FATAL, "ftruncate file %s failed!!! %s", bufPath, buffer); in ProgramMutex() 928 WRITE_LOG(LOG_FATAL, "write file %s failed!!! %s", bufPath, buffer); in ProgramMutex() 931 WRITE_LOG(LOG_DEBUG, "Write mutext to %s, pid:%s", bufPath, pidBuf); in ProgramMutex()
|
| /developtools/hdc/src/host/ |
| D | client.cpp | 59 char bufPath[BUF_SIZE_MEDIUM] = ""; in GetLastPID() local 63 if (uv_os_tmpdir(bufPath, &size) < 0) { in GetLastPID() 67 … string path = Base::StringFormat("%s%c.%s.pid", bufPath, Base::GetPathSep(), SERVER_NAME.c_str()); in GetLastPID()
|