Searched refs:bufPath (Results 1 - 3 of 3) sorted by relevance
/developtools/hdc/hdc_rust/src/cffi/ |
H A D | utils.cpp | 61 char bufPath[BUF_SIZE_DEFAULT] = ""; in ProgramMutex() local 66 if (snprintf_s(bufPath, sizeof(bufPath), sizeof(bufPath) - 1, "%s%c.%s.pid", in ProgramMutex() 77 FILE *fp = fopen(bufPath, "a+"); in ProgramMutex() 120 char bufPath[BUF_SIZE_DEFAULT] = ""; in ProgramMutex() local 125 if (snprintf_s(bufPath, sizeof(bufPath), sizeof(bufPath) - 1, "%s%c.%s.pid", in ProgramMutex() 136 int fd = open(bufPath, O_RDW in ProgramMutex() [all...] |
/developtools/hdc/src/common/ |
H A D | base.cpp | 1339 char bufPath[BUF_SIZE_DEFAULT] = ""; in ProgramMutex() local 1347 if (snprintf_s(bufPath, sizeof(bufPath), sizeof(bufPath) - 1, "%s%c.%s.pid", buf, Base::GetPathSep(), procname) in ProgramMutex() 1358 int fd = uv_fs_open(nullptr, &req, bufPath, O_RDWR | O_CREAT, 0666, nullptr); // 0666:permission in ProgramMutex() 1363 WRITE_LOG(LOG_DEBUG, "Open mutex file %s failed!!! %s", bufPath, buffer); in ProgramMutex() 1400 WRITE_LOG(LOG_DEBUG, "File \"%s\" locked. proc already exit!!!\n", bufPath); in ProgramMutex() 1412 WRITE_LOG(LOG_FATAL, "ftruncate file %s failed!!! %s", bufPath, buffer); in ProgramMutex() 1422 WRITE_LOG(LOG_FATAL, "write file %s failed!!! %s", bufPath, buffer); in ProgramMutex() 1425 WRITE_LOG(LOG_DEBUG, "Write mutext to %s, pid:%s", bufPath, pidBu in ProgramMutex() [all...] |
/developtools/hdc/src/host/ |
H A 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()
|
Completed in 5 milliseconds