Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dext2_filesystem.cc202 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 …]
Dfilesystem_interface.h48 File() { memset(&file_stat, 0, sizeof(file_stat)); } in File()
52 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.cpp43 struct stat file_stat; in ParseRecordEventTime() local
44 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() local
80 if (stat(record_path.c_str(), &file_stat) == -1) { in AddBootEventWithValue()
88 struct utimbuf times = {/* actime */ file_stat.st_atime, /* modtime */ value}; in AddBootEventWithValue()
/system/nfc/src/adaptation/
Dnfc_config.cc38 struct stat file_stat; in findConfigPath() local
39 if (stat(path.c_str(), &file_stat) != 0) continue; in findConfigPath()
40 if (S_ISREG(file_stat.st_mode)) return path; in findConfigPath()