Lines Matching refs:writer
1769 ZipWriter writer(file); in TEST_F() local
1771 writer.StartEntry("classes.dex", ZipWriter::kCompress); in TEST_F()
1774 ASSERT_GE(writer.WriteBytes(&bytes[0], length), 0); in TEST_F()
1775 writer.FinishEntry(); in TEST_F()
1776 writer.StartEntry("classes2.dex", ZipWriter::kCompress); in TEST_F()
1778 ASSERT_GE(writer.WriteBytes(dex->Begin(), dex->Size()), 0); in TEST_F()
1779 writer.FinishEntry(); in TEST_F()
1780 writer.Finish(); in TEST_F()
1905 ZipWriter writer(file); in TEST_F() local
1909 ASSERT_GE(writer.WriteBytes(&bytes[0], file->GetLength()), 0); in TEST_F()
1912 writer.StartEntry(VdexFile::kVdexNameInDmFile, ZipWriter::kCompress); in TEST_F()
1914 writer.FinishEntry(); in TEST_F()
1915 writer.Finish(); in TEST_F()
2034 ZipWriter writer(file); in TEST_F() local
2035 writer.StartEntry("classes.dex", ZipWriter::kAlign32); in TEST_F()
2045 ASSERT_GE(writer.WriteBytes(&header, sizeof(header)), 0); in TEST_F()
2046 writer.FinishEntry(); in TEST_F()
2047 writer.Finish(); in TEST_F()
2076 ZipWriter writer(file); in TEST_F() local
2077 writer.StartEntry("classes.dex", ZipWriter::kCompress); in TEST_F()
2078 ASSERT_GE(writer.WriteBytes(&header, sizeof(header)), 0); in TEST_F()
2079 writer.FinishEntry(); in TEST_F()
2080 writer.Finish(); in TEST_F()