• Home
  • Raw
  • Download

Lines Matching refs:dent

146   struct dirent* dent;  in FunctionCallBegin()  local
147 while ((dent = readdir(srcdir)) != NULL) { in FunctionCallBegin()
149 if (strcmp(dent->d_name, ".") == 0 || strcmp(dent->d_name, "..") == 0) { in FunctionCallBegin()
152 if (fstatat(dirfd(srcdir), dent->d_name, &st, 0) < 0) { in FunctionCallBegin()
153 LOG(ERROR) << "Error " << dent->d_name; in FunctionCallBegin()
157 LOG(DEBUG) << "dir " << dent->d_name; in FunctionCallBegin()
158 strcpy(product, dent->d_name); in FunctionCallBegin()
184 while ((dent = readdir(srcdir)) != NULL) { in FunctionCallBegin()
186 if (strcmp(dent->d_name, ".") == 0 || strcmp(dent->d_name, "..") == 0) { in FunctionCallBegin()
189 if (fstatat(dirfd(srcdir), dent->d_name, &st, 0) < 0) { in FunctionCallBegin()
190 LOG(ERROR) << "Error " << dent->d_name; in FunctionCallBegin()
194 LOG(DEBUG) << "module_basepath " << string(dent->d_name); in FunctionCallBegin()
195 if (string(dent->d_name) == target) { in FunctionCallBegin()
223 LOG(DEBUG) << "file = " << dent->d_name; in ReadGcdaFile()
286 struct dirent* dent; in ScanAllGcdaFiles() local
287 while ((dent = readdir(srcdir)) != NULL) { in ScanAllGcdaFiles()
289 LOG(DEBUG) << "readdir(" << basepath << ") for " << dent->d_name; in ScanAllGcdaFiles()
292 if (strcmp(dent->d_name, ".") == 0 || strcmp(dent->d_name, "..") == 0) { in ScanAllGcdaFiles()
295 if (fstatat(dirfd(srcdir), dent->d_name, &st, 0) < 0) { in ScanAllGcdaFiles()
296 LOG(ERROR) << "error " << dent->d_name; in ScanAllGcdaFiles()
300 ScanAllGcdaFiles(basepath + "/" + dent->d_name, msg); in ScanAllGcdaFiles()
302 ReadGcdaFile(basepath, dent->d_name, msg); in ScanAllGcdaFiles()
326 struct dirent* dent; in FunctionCallEnd() local
327 while ((dent = readdir(srcdir)) != NULL) { in FunctionCallEnd()
328 LOG(DEBUG) << "readdir(" << srcdir << ") for " << dent->d_name; in FunctionCallEnd()
331 if (strcmp(dent->d_name, ".") == 0 || strcmp(dent->d_name, "..") == 0) { in FunctionCallEnd()
334 if (fstatat(dirfd(srcdir), dent->d_name, &st, 0) < 0) { in FunctionCallEnd()
335 LOG(ERROR) << "error " << dent->d_name; in FunctionCallEnd()
339 ReadGcdaFile(gcov_output_basepath_, dent->d_name, msg)) { in FunctionCallEnd()