Home
last modified time | relevance | path

Searched refs:strLine (Results 1 - 4 of 4) sorted by relevance

/base/sensors/sensor/test/unittest/common/src/
H A Dsystem_info.cpp69 std::string strLine; in GetTaskPidFile() local
70 if (!std::getline(filePath, strLine)) { in GetTaskPidFile()
75 if (strLine.empty()) { in GetTaskPidFile()
79 if ((strLine.find(process_name)) == std::string::npos) { in GetTaskPidFile()
83 while (std::getline(filePath, strLine)) { in GetTaskPidFile()
84 if ((strLine.find("Pid")) != std::string::npos) { in GetTaskPidFile()
85 if (::sscanf_s(strLine.c_str(), "%*s%d", &pid, sizeof(pid)) != 1) { in GetTaskPidFile()
109 std::string strLine; in GetProcOccupy() local
110 if (!std::getline(file, strLine)) { in GetProcOccupy()
115 if (strLine in GetProcOccupy()
154 std::string strLine; GetSystemCpuStatInfo() local
[all...]
/base/security/device_auth/test/unittest/tdd_framework/tdd_helper/memory_monitor/src/
H A Dmemory_monitor.cpp75 char strLine[MALLOC_MAX_LINE_STR_LEN]; in HcMonitorMalloc() local
76 if (sprintf_s(strLine, MALLOC_MAX_LINE_STR_LEN, "%d", nLine) <= 0) { in HcMonitorMalloc()
82 mb.str += strLine; in HcMonitorMalloc()
/base/hiviewdfx/hidumper/services/native/include/
H A Ddump_manager_cpu_service.h71 void AddStrLineToDumpInfo(const std::string& strLine);
/base/hiviewdfx/hidumper/services/native/src/
H A Ddump_manager_cpu_service.cpp314 void DumpManagerCpuService::AddStrLineToDumpInfo(const std::string &strLine) in AddStrLineToDumpInfo() argument
317 vec.push_back(strLine); in AddStrLineToDumpInfo()

Completed in 2 milliseconds