Searched refs:fileStat (Results 1 – 4 of 4) sorted by relevance
43 struct stat fileStat; in createWithContentsOfFile() local52 if (fstat(fileno(file), &fileStat)) { in createWithContentsOfFile()58 result->m_buffer.resize(fileStat.st_size); in createWithContentsOfFile()59 if (result->m_buffer.size() != static_cast<unsigned>(fileStat.st_size)) { in createWithContentsOfFile()64 fread(result->m_buffer.data(), 1, fileStat.st_size, file); in createWithContentsOfFile()
48 struct stat fileStat; in createWithContentsOfFile() local49 if (fstat(fd, &fileStat)) { in createWithContentsOfFile()54 size_t bytesToRead = fileStat.st_size; in createWithContentsOfFile()55 if (bytesToRead != fileStat.st_size) { in createWithContentsOfFile()
122 struct _stat64 fileStat; in extractResumeData() local123 if (_fstat64(_fileno(bundle), &fileStat)) in extractResumeData()127 fpos_t footerMagicNumberPosition = fileStat.st_size - 4; in extractResumeData()147 fpos_t footerLengthPosition = fileStat.st_size - 8; in extractResumeData()162 fpos_t footerStartPosition = fileStat.st_size - 8 - footerLength; in extractResumeData()
186 my $fileStat = substr($stat, 0, 1);188 if ($fileStat eq "A" || $fileStat eq "R") {192 return "modification" if ($fileStat eq "M" || $propertyStat eq "M");193 return "deletion" if ($fileStat eq "D");