Home
last modified time | relevance | path

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

/foundation/multimodalinput/input/service/module_loader/src/
H A Dwatchdog_task.cpp62 std::string procCmdlineContent = GetFirstLine(procCmdlinePath); in GetProcessNameFromProcCmdline() local
63 if (procCmdlineContent.empty()) { in GetProcessNameFromProcCmdline()
66 auto pos = procCmdlineContent.find('\0'); in GetProcessNameFromProcCmdline()
68 procCmdlineContent = procCmdlineContent.substr(0, pos); in GetProcessNameFromProcCmdline()
70 pos = procCmdlineContent.rfind('/'); in GetProcessNameFromProcCmdline()
72 return procCmdlineContent.substr(pos + 1); in GetProcessNameFromProcCmdline()
74 return procCmdlineContent; in GetProcessNameFromProcCmdline()

Completed in 1 milliseconds