Searched refs:fileStat (Results 1 – 6 of 6) sorted by relevance
28 const fileStat = fs.statSync(filePath)29 if (fileStat.isFile()) {33 if (fileStat.isDirectory()) {
28 const fileStat = fs.statSync(filePath);29 if (fileStat.isFile()) {33 if (fileStat.isDirectory()) {
83 struct stat fileStat; in PerfFileReader() local85 if (fstat(fileno(fp), &fileStat) != -1 and fileStat.st_size > 0) { in PerfFileReader()86 fileSize_ = fileStat.st_size; in PerfFileReader()
309 struct stat fileStat; in ReadFileToString() local310 if (fstat(fd.Get(), &fileStat) != -1 && fileStat.st_size > 0) { in ReadFileToString()311 fileData.reserve(fileStat.st_size); in ReadFileToString()
259 struct stat fileStat; in ReadFileToString() local260 if (fstat(fd.Get(), &fileStat) != -1 && fileStat.st_size > 0) { in ReadFileToString()261 fileData.reserve(fileStat.st_size); in ReadFileToString()
261 const fileStat: fs.Stats = fs.statSync(inputFile); constant262 if (fileStat.isFile()) {