Searched refs:pathStat (Results 1 – 2 of 2) sorted by relevance
103 struct stat pathStat; in IsMock() local104 int32_t ret = stat(path.c_str(), &pathStat); in IsMock()108 if (S_ISREG(pathStat.st_mode)) { in IsMock()111 if (!S_ISDIR(pathStat.st_mode)) { in IsMock()
523 struct stat pathStat = { 0 }; in ServiceStart() local525 if (stat(service->pathArgs.argv[0], &pathStat) != 0) { in ServiceStart()