Home
last modified time | relevance | path

Searched refs:file_stat (Results 1 – 9 of 9) 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.h50 File() { memset(&file_stat, 0, sizeof(file_stat)); } in File()
54 struct stat file_stat = {}; member
Ddeflate_utils.cc79 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()
Derofs_filesystem.cc243 file.file_stat.st_size = uncompressed_size; in GetFiles()
244 file.file_stat.st_ino = inode.nid; in GetFiles()
Derofs_filesystem_unittest.cc120 static_cast<size_t>(delta_generator.file_stat.st_size)) in TEST_F()
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.cc37 struct stat file_stat; in searchConfigPath() local
38 if (stat(path.c_str(), &file_stat) != 0) continue; in searchConfigPath()
39 if (S_ISREG(file_stat.st_mode)) return path; in searchConfigPath()
/system/update_engine/lz4diff/
Dlz4diff_compress_unittest.cc110 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()