Home
last modified time | relevance | path

Searched refs:file_stat (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/payload_generator/
Dext2_filesystem.cc194 memset(&file.file_stat, 0, sizeof(file.file_stat)); in GetFiles()
195 file.file_stat.st_ino = it_ino; in GetFiles()
196 file.file_stat.st_mode = it_inode.i_mode; in GetFiles()
197 file.file_stat.st_nlink = it_inode.i_links_count; in GetFiles()
198 file.file_stat.st_uid = it_inode.i_uid; in GetFiles()
199 file.file_stat.st_gid = it_inode.i_gid; in GetFiles()
200 file.file_stat.st_size = it_inode.i_size; in GetFiles()
201 file.file_stat.st_blksize = filsys_->blocksize; in GetFiles()
202 file.file_stat.st_blocks = it_inode.i_blocks; in GetFiles()
203 file.file_stat.st_atime = it_inode.i_atime; in GetFiles()
[all …]
Dfilesystem_interface.h48 memset(&file_stat, 0, sizeof(file_stat)); in File()
53 struct stat file_stat; member
Dext2_filesystem_unittest.cc93 EXPECT_EQ(2U, map_files["/"].file_stat.st_ino); in TEST_F()
/system/core/bootstat/
Dboot_event_record_store.cpp41 struct stat file_stat; in ParseRecordEventTime() local
42 if (stat(path.c_str(), &file_stat) == -1) { in ParseRecordEventTime()
47 *uptime = file_stat.st_mtime; in ParseRecordEventTime()
104 struct stat file_stat; in AddBootEventWithValue() local
105 if (stat(record_path.c_str(), &file_stat) == -1) { in AddBootEventWithValue()
113 struct utimbuf times = {/* actime */ file_stat.st_atime, /* modtime */ value}; in AddBootEventWithValue()