Searched refs:file_stat (Results 1 – 9 of 9) sorted by relevance
202 memset(&file.file_stat, 0, sizeof(file.file_stat)); in GetFiles()203 file.file_stat.st_ino = it_ino; in GetFiles()204 file.file_stat.st_mode = it_inode.i_mode; in GetFiles()205 file.file_stat.st_nlink = it_inode.i_links_count; in GetFiles()206 file.file_stat.st_uid = it_inode.i_uid; in GetFiles()207 file.file_stat.st_gid = it_inode.i_gid; in GetFiles()208 file.file_stat.st_size = it_inode.i_size; in GetFiles()209 file.file_stat.st_blksize = filsys_->blocksize; in GetFiles()210 file.file_stat.st_blocks = it_inode.i_blocks; in GetFiles()211 file.file_stat.st_atime = it_inode.i_atime; in GetFiles()[all …]
50 File() { memset(&file_stat, 0, sizeof(file_stat)); } in File()54 struct stat file_stat = {}; member
79 if (file.file_stat.st_ino != 0 && in IsRegularFile()80 (file.file_stat.st_mode & S_IFMT) == S_IFREG) { in IsRegularFile()360 if (file.file_stat.st_size > 0 && in PreprocessPartitionFiles()361 static_cast<size_t>(file.file_stat.st_size) < data.size()) { in PreprocessPartitionFiles()362 data.resize(file.file_stat.st_size); in PreprocessPartitionFiles()
243 file.file_stat.st_size = uncompressed_size; in GetFiles()244 file.file_stat.st_ino = inode.nid; in GetFiles()
120 static_cast<size_t>(delta_generator.file_stat.st_size)) in TEST_F()
93 EXPECT_EQ(2U, map_files["/"].file_stat.st_ino); in TEST_F()
43 struct stat file_stat; in ParseRecordEventTime() local44 if (stat(path.c_str(), &file_stat) == -1) { in ParseRecordEventTime()49 *uptime = file_stat.st_mtime; in ParseRecordEventTime()79 struct stat file_stat; in AddBootEventWithValue() local80 if (stat(record_path.c_str(), &file_stat) == -1) { in AddBootEventWithValue()88 struct utimbuf times = {/* actime */ file_stat.st_atime, /* modtime */ value}; in AddBootEventWithValue()
37 struct stat file_stat; in searchConfigPath() local38 if (stat(path.c_str(), &file_stat) != 0) continue; in searchConfigPath()39 if (S_ISREG(file_stat.st_mode)) return path; in searchConfigPath()
110 static_cast<size_t>(delta_generator.file_stat.st_size)); in TEST_F()111 decompressed_blob.resize(delta_generator.file_stat.st_size); in TEST_F()