/aosp12/system/update_engine/payload_generator/ |
H A D | ext2_filesystem.cc | 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() 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() 212 file.file_stat.st_mtime = it_inode.i_mtime; in GetFiles() [all …]
|
H A D | filesystem_interface.h | 48 File() { memset(&file_stat, 0, sizeof(file_stat)); } in File() 52 struct stat file_stat; member
|
H A D | deflate_utils.cc | 79 if (file.file_stat.st_ino != 0 && in IsRegularFile() 80 (file.file_stat.st_mode & S_IFMT) == S_IFREG) { in IsRegularFile()
|
H A D | ext2_filesystem_unittest.cc | 93 EXPECT_EQ(2U, map_files["/"].file_stat.st_ino); in TEST_F()
|
/aosp12/system/core/bootstat/ |
H A D | boot_event_record_store.cpp | 43 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()
|
/aosp12/frameworks/compile/libbcc/lib/ |
H A D | FileBase.cpp | 100 struct stat fd_stat, file_stat; in checkFileIntegrity() local 114 if (::stat(mName.c_str(), &file_stat) == 0) { in checkFileIntegrity() 122 return ((fd_stat.st_dev == file_stat.st_dev) && in checkFileIntegrity() 123 (fd_stat.st_ino == file_stat.st_ino)); in checkFileIntegrity()
|
/aosp12/hardware/nxp/secure_element/pn8x/libese-spi/p73/utils/ |
H A D | ese_config.cpp | 39 struct stat file_stat; in findConfigPath() local 40 if (stat(path.c_str(), &file_stat) != 0) continue; in findConfigPath() 41 if (S_ISREG(file_stat.st_mode)) return path; in findConfigPath()
|
/aosp12/hardware/nxp/secure_element/snxxx/libese-spi/p73/utils/ |
H A D | ese_config.cpp | 39 struct stat file_stat; in findConfigPath() local 40 if (stat(path.c_str(), &file_stat) != 0) continue; in findConfigPath() 41 if (S_ISREG(file_stat.st_mode)) return path; in findConfigPath()
|
/aosp12/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
H A D | ese_config.cc | 41 struct stat file_stat; in findConfigPath() local 42 if (stat(path.c_str(), &file_stat) != 0) continue; in findConfigPath() 43 if (S_ISREG(file_stat.st_mode)) return path; in findConfigPath()
|
/aosp12/system/nfc/src/adaptation/ |
H A D | nfc_config.cc | 37 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()
|
/aosp12/frameworks/compile/mclinker/lib/Support/ |
H A D | FileHandle.cpp | 67 struct ::stat file_stat; in get_size() local 68 if (-1 == ::fstat(pHandler, &file_stat)) { in get_size() 72 pSize = file_stat.st_size; in get_size()
|
/aosp12/bionic/linker/ |
H A D | linker_main.cpp | 198 struct stat file_stat; member 210 stat("/init", &result.file_stat); in get_executable_info() 224 if (TEMP_FAILURE_RETRY(stat("/proc/self/exe", &result.file_stat)) != 0) { in get_executable_info() 284 if (TEMP_FAILURE_RETRY(fstat(fd.get(), &result.file_stat)) == -1) { in load_executable() 289 if (!elf_reader.Read(result.path.c_str(), fd.get(), file_offset, result.file_stat.st_size)) { in load_executable() 366 exe_info.path.c_str(), &exe_info.file_stat, in linker_main()
|
H A D | linker_main.h | 53 const struct stat* file_stat, off64_t file_offset,
|
H A D | linker.cpp | 279 const struct stat* file_stat, off64_t file_offset, in soinfo_alloc() argument 287 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(ns, name, file_stat, in soinfo_alloc() 1075 const struct stat& file_stat, in find_loaded_library_by_inode() argument 1079 if (file_stat.st_dev == 0 || file_stat.st_ino == 0) { in find_loaded_library_by_inode() 1085 return si->get_st_ino() == file_stat.st_ino && in find_loaded_library_by_inode() 1086 si->get_st_dev() == file_stat.st_dev && in find_loaded_library_by_inode() 1151 struct stat file_stat; in load_library() local 1152 if (TEMP_FAILURE_RETRY(fstat(task->get_fd(), &file_stat)) != 0) { in load_library() 1156 if (file_offset >= file_stat.st_size) { in load_library() 1158 name, file_offset, file_stat.st_size); in load_library() [all …]
|
H A D | linker_soinfo.cpp | 215 const struct stat* file_stat, off64_t file_offset, in soinfo() argument 226 if (file_stat != nullptr) { in soinfo() 227 this->st_dev_ = file_stat->st_dev; in soinfo() 228 this->st_ino_ = file_stat->st_ino; in soinfo()
|
H A D | linker_phdr.cpp | 1005 struct stat file_stat; in phdr_table_map_gnu_relro() local 1006 if (TEMP_FAILURE_RETRY(fstat(fd, &file_stat)) != 0) { in phdr_table_map_gnu_relro() 1009 off_t file_size = file_stat.st_size; in phdr_table_map_gnu_relro()
|
H A D | linker_soinfo.h | 246 soinfo(android_namespace_t* ns, const char* name, const struct stat* file_stat,
|
/aosp12/hardware/knowles/athletico/sound_trigger_hal/tests/ |
H A D | oslo_data_injection_test.c | 188 struct stat file_stat; in main() local 248 if (stat(file_path, &file_stat) == -1) { in main() 253 file_size = file_stat.st_size; in main()
|
/aosp12/hardware/st/nfc/1.0/adaptation/ |
H A D | config.cpp | 150 struct stat file_stat; in findConfigFile() local 151 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFile()
|
/aosp12/hardware/st/nfc/st21nfc/adaptation/ |
H A D | config.cpp | 152 struct stat file_stat; in findConfigFile() local 153 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFile()
|
/aosp12/hardware/samsung/nfc/halimpl/src/ |
H A D | config.cpp | 243 struct stat file_stat; in findConfigFilePathFromTransportConfigPaths() local 244 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFilePathFromTransportConfigPaths()
|
/aosp12/hardware/nxp/nfc/pn8x/halimpl/utils/ |
H A D | phNxpConfig.cpp | 222 struct stat file_stat; in findConfigFilePathFromTransportConfigPaths() local 223 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFilePathFromTransportConfigPaths()
|
/aosp12/hardware/nxp/nfc/snxxx/halimpl/utils/ |
H A D | phNxpConfig.cc | 241 struct stat file_stat; in findConfigFilePathFromTransportConfigPaths() local 242 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFilePathFromTransportConfigPaths()
|
/aosp12/frameworks/native/cmds/installd/ |
H A D | dexopt.cpp | 1388 struct stat file_stat; in is_file_public() local 1389 if (stat(filename.c_str(), &file_stat) == 0) { in is_file_public() 1390 return (file_stat.st_mode & S_IROTH) != 0; in is_file_public() 2276 struct stat file_stat; in delete_odex() local 2277 if (stat(path, &file_stat) != 0) { in delete_odex() 2291 return static_cast<int64_t>(file_stat.st_size); in delete_odex()
|
/aosp12/frameworks/native/cmds/installd/tests/ |
H A D | installd_dexopt_test.cpp | 560 struct stat file_stat; in GetSize() local 561 if (stat(path.c_str(), &file_stat) == 0) { in GetSize() 562 return static_cast<int64_t>(file_stat.st_size); in GetSize()
|