Home
last modified time | relevance | path

Searched refs:pidBuf (Results 1 – 3 of 3) sorted by relevance

/developtools/hdc/src/common/
Dbase.cpp813 char pidBuf[BUF_SIZE_TINY] = ""; in ProgramMutex() local
824 if (snprintf_s(pidBuf, sizeof(pidBuf), sizeof(pidBuf) - 1, "%d", pid) < 0) { in ProgramMutex()
876 uv_buf_t wbf = uv_buf_init(pidBuf, strlen(pidBuf)); in ProgramMutex()
886 WRITE_LOG(LOG_DEBUG, "Write mutext to %s, pid:%s", bufPath, pidBuf); in ProgramMutex()
/developtools/hdc/src/host/
Dclient.cpp61 char pidBuf[BUF_SIZE_TINY] = ""; in GetLastPID() local
68 Base::ReadBinFile(path.c_str(), reinterpret_cast<void **>(&pidBuf), BUF_SIZE_TINY); in GetLastPID()
69 int pid = atoi(pidBuf); // pid maybe 0 in GetLastPID()
/developtools/profiler/device/plugins/native_hook/src/
Dhook_client.cpp76 char pidBuf[11] = {0}; /* 11: 32 bits to the maximum length of a string */ in ConvertPid() local
79 … if ((*str >= '0') && (*str <= '9') && (static_cast<unsigned long>(count) < sizeof(pidBuf) - 1)) { in ConvertPid()
80 pidBuf[count] = *str; in ConvertPid()
91 return atoi(pidBuf); in ConvertPid()