Home
last modified time | relevance | path

Searched refs:st (Results 1 – 6 of 6) sorted by relevance

/bootable/recovery/applypatch/
Dfreecache.cpp105 struct stat st; in FindExpendableFiles() local
106 if (stat(path.c_str(), &st) == 0 && S_ISREG(st.st_mode)) { in FindExpendableFiles()
181 struct stat st; in RemoveFilesInDirectory() local
182 if (stat(dirname.c_str(), &st) == -1) { in RemoveFilesInDirectory()
186 if (!S_ISDIR(st.st_mode)) { in RemoveFilesInDirectory()
Dimgdiff.cpp360 struct stat st; in MakePatch() local
361 if (fstat(patch_fd, &st) != 0) { in MakePatch()
366 size_t sz = static_cast<size_t>(st.st_size); in MakePatch()
629 struct stat st; in ReadFile() local
630 if (fstat(fd, &st) != 0) { in ReadFile()
635 size_t sz = static_cast<size_t>(st.st_size); in ReadFile()
1498 struct stat st; in imgdiff() local
1499 if (fstat(fd, &st) != 0) { in imgdiff()
1504 size_t bonus_size = st.st_size; in imgdiff()
/bootable/recovery/install/
Dadb_install.cpp102 struct stat st; in AdbInstallPackageHandler() local
103 if (stat(FUSE_SIDELOAD_HOST_PATHNAME, &st) != 0) { in AdbInstallPackageHandler()
122 struct stat st; in AdbInstallPackageHandler() local
123 stat(FUSE_SIDELOAD_HOST_EXIT_PATHNAME, &st); in AdbInstallPackageHandler()
/bootable/recovery/tests/unit/
Dapplypatch_test.cpp170 struct stat st; in FindFilesInDir() local
171 if (stat(path.c_str(), &st) == 0 && S_ISREG(st.st_mode)) { in FindFilesInDir()
/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp919 struct stat st; in TEST() local
921 ASSERT_EQ(0, stat(path.c_str(), &st)); in TEST()
922 ASSERT_EQ(std::to_string(st.st_size) + " " + tgt_file_ranges[i], in TEST()
/bootable/recovery/tests/testdata/
Drecovery_body3661 @���I�r�m@z[+��`��f��!���K@�C J7��s�s+@�I�R�׻ Ȗ�S@�P���� �& st�T�+��`d���/�F:=k���…
4236 �����hE��<d�"UE F`��b�st� ]}����hj��x�]�ъ>(j14��O�W2�ɴ���'����(��fˈ�1#U��GF��x� ��$�"
5253 �����F�zM�ͤ|���Jcm�A��$st�;��e5V NG⨄E�>�w5��%E��B������?Vb��M�j�$�Պu!���t��$����j�/&$…