Home
last modified time | relevance | path

Searched refs:stat_buf (Results 1 – 2 of 2) sorted by relevance

/system/iorap/src/inode2filename/
Dsearch_directories.cc124 const struct stat& stat_buf) { in FindAndRemoveInodeInList()
126 << "stat_buf{st_dev=" << stat_buf.st_dev << ",st_ino=" << stat_buf.st_ino << "}"; in FindAndRemoveInodeInList()
132 if (inode.inode != stat_buf.st_ino) { in FindAndRemoveInodeInList()
141 if (inode_dev != stat_buf.st_dev) { in FindAndRemoveInodeInList()
144 << ", expected dev: " << stat_buf.st_dev in FindAndRemoveInodeInList()
154 DCHECK(found->second.inode == stat_buf.st_ino); in FindAndRemoveInodeInList()
752 VisitValueOrLogError(maybe_stat, [&](const struct stat& stat_buf) { in SearchDirectoriesForMatchingInodes() argument
754 std::optional<Inode> inode = inodes->FindAndRemoveInodeInList(inode_list, stat_buf); in SearchDirectoriesForMatchingInodes()
/system/core/libziparchive/
Dzip_archive_test.cc314 struct stat stat_buf; in TEST() local
315 ASSERT_EQ(0, fstat(tmp_output_file.fd, &stat_buf)); in TEST()
316 ASSERT_EQ(0, stat_buf.st_size); in TEST()
343 struct stat stat_buf; in TEST() local
344 ASSERT_EQ(0, fstat(tmp_output_file.fd, &stat_buf)); in TEST()
345 ASSERT_EQ(kAbUncompressedSize, static_cast<size_t>(stat_buf.st_size)); in TEST()