Lines Matching refs:writer
1793 ZipWriter writer(file); in TEST_F() local
1795 writer.StartEntry("classes.dex", ZipWriter::kCompress); in TEST_F()
1798 ASSERT_GE(writer.WriteBytes(&bytes[0], length), 0); in TEST_F()
1799 writer.FinishEntry(); in TEST_F()
1800 writer.StartEntry("classes2.dex", ZipWriter::kCompress); in TEST_F()
1802 ASSERT_GE(writer.WriteBytes(dex->Begin(), dex->Size()), 0); in TEST_F()
1803 writer.FinishEntry(); in TEST_F()
1804 writer.Finish(); in TEST_F()
1931 ZipWriter writer(file); in TEST_F() local
1935 ASSERT_GE(writer.WriteBytes(&bytes[0], file->GetLength()), 0); in TEST_F()
1938 writer.StartEntry(VdexFile::kVdexNameInDmFile, ZipWriter::kCompress); in TEST_F()
1940 writer.FinishEntry(); in TEST_F()
1941 writer.Finish(); in TEST_F()
2060 ZipWriter writer(file); in TEST_F() local
2061 writer.StartEntry("classes.dex", ZipWriter::kAlign32); in TEST_F()
2071 ASSERT_GE(writer.WriteBytes(&header, sizeof(header)), 0); in TEST_F()
2072 writer.FinishEntry(); in TEST_F()
2073 writer.Finish(); in TEST_F()
2102 ZipWriter writer(file); in TEST_F() local
2103 writer.StartEntry("classes.dex", ZipWriter::kCompress); in TEST_F()
2104 ASSERT_GE(writer.WriteBytes(&header, sizeof(header)), 0); in TEST_F()
2105 writer.FinishEntry(); in TEST_F()
2106 writer.Finish(); in TEST_F()