Searched refs:stat_buf (Results 1 – 5 of 5) sorted by relevance
/system/extras/toolchain-extras/ |
D | profile-clang-extras-test.cpp | 51 struct stat stat_buf; in TEST() local 52 ASSERT_EQ(stat(OPEN_AT_TEST_FNAME, &stat_buf), 0); in TEST() 53 ASSERT_EQ(stat_buf.st_mode & 0777, 0666); in TEST()
|
/system/apex/apexd/ |
D | apexd_utils.h | 229 struct stat stat_buf; in FindFirstExistingDirectory() local 230 if (stat(first_dir.c_str(), &stat_buf) != 0) { in FindFirstExistingDirectory() 232 if (stat(second_dir.c_str(), &stat_buf) != 0) { in FindFirstExistingDirectory() 235 if (!S_ISDIR(stat_buf.st_mode)) { in FindFirstExistingDirectory() 241 if (S_ISDIR(stat_buf.st_mode)) { in FindFirstExistingDirectory() 246 if (stat(second_dir.c_str(), &stat_buf) != 0) { in FindFirstExistingDirectory() 249 if (!S_ISDIR(stat_buf.st_mode)) { in FindFirstExistingDirectory() 259 struct stat stat_buf; in MoveDir() local 260 if (stat(to.c_str(), &stat_buf) != 0) { in MoveDir() 263 if (!S_ISDIR(stat_buf.st_mode)) { in MoveDir()
|
D | apexd.cpp | 3495 struct stat stat_buf; in CollectApexInfoList() local 3496 if (stat(apex.GetPath().c_str(), &stat_buf) == 0) { in CollectApexInfoList() 3497 mtime.emplace(stat_buf.st_mtime); in CollectApexInfoList()
|
/system/libvintf/ |
D | FileSystem.cpp | 68 struct stat stat_buf; in modifiedTime() local 69 if (stat(path.c_str(), &stat_buf) != 0) { in modifiedTime() 76 *mtime = stat_buf.st_mtime; in modifiedTime()
|
/system/libziparchive/ |
D | zip_archive_test.cc | 529 struct stat stat_buf; in TEST() local 530 ASSERT_EQ(0, fstat(tmp_output_file.fd, &stat_buf)); in TEST() 531 ASSERT_EQ(0, stat_buf.st_size); in TEST() 556 struct stat stat_buf; in TEST() local 557 ASSERT_EQ(0, fstat(tmp_output_file.fd, &stat_buf)); in TEST() 558 ASSERT_EQ(kAbUncompressedSize, static_cast<size_t>(stat_buf.st_size)); in TEST()
|