/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | ZipArchiveInputStreamTest.java | 21 import static org.apache.commons.compress.AbstractTestCase.getFile; 52 in = new ZipArchiveInputStream(new FileInputStream(getFile("test-winzip.zip"))); in winzipBackSlashWorkaround() 72 zf = new ZipFile(getFile("COMPRESS-189.zip")); in properUseOfInflater() 115 in = new ZipArchiveInputStream(new FileInputStream(getFile("COMPRESS-219.zip"))); in shouldReadNestedZip() 137 …final ZipArchiveInputStream in = new ZipArchiveInputStream(new FileInputStream(getFile("SHRUNK.ZIP… in testUnshrinkEntry() 143 FileInputStream original = new FileInputStream(getFile("test1.xml")); in testUnshrinkEntry() 154 original = new FileInputStream(getFile("test2.xml")); in testUnshrinkEntry() 171 …try (ZipArchiveInputStream in = new ZipArchiveInputStream(new FileInputStream(getFile("COMPRESS-26… in testReadingOfFirstStoredEntry() 186 …try (ZipArchiveInputStream in = new ZipArchiveInputStream(new FileInputStream(getFile("COMPRESS-35… in testMessageWithCorruptFileName() 201 …try (ZipArchiveInputStream in = new ZipArchiveInputStream(new FileInputStream(getFile("bzip2-zip.z… in testUnzipBZip2CompressedEntry() [all …]
|
D | ZipFileTest.java | 21 import static org.apache.commons.compress.AbstractTestCase.getFile; 89 try (FileInputStream fis = new FileInputStream(getFile("ordertest.zip"))) { in testCDOrderInMemory() 203 final File archive = getFile("test-winzip.zip"); in testWinzipBackSlashWorkaround() 216 final File archive = getFile("COMPRESS-208.zip"); in testSkipsPK00Prefix() 244 final File archive = getFile("COMPRESS-214_unix_symlinks.zip"); in testUnixSymlinkSampleFile() 267 final File archive = getFile("COMPRESS-227.zip"); in testDuplicateEntry() 287 final File archive = getFile("COMPRESS-228.zip"); in testExcessDataInZip64ExtraField() 297 zf = new ZipFile(getFile("SHRUNK.ZIP")); in testUnshrinking() 299 FileInputStream original = new FileInputStream(getFile("test1.xml")); in testUnshrinking() 307 original = new FileInputStream(getFile("test2.xml")); in testUnshrinking() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz4/ |
D | FramedLZ4CompressorInputStreamTest.java | 44 final File input = getFile("bla.tar.lz4"); in testMatches() 55 …try (InputStream a = new FramedLZ4CompressorInputStream(new FileInputStream(getFile("bla.tar.lz4")… in readBlaLz4() 56 FileInputStream e = new FileInputStream(getFile("bla.tar"))) { in readBlaLz4() 67 new FileInputStream(getFile("bla.tar.lz4"))); in readBlaLz4ViaFactory() 68 FileInputStream e = new FileInputStream(getFile("bla.tar"))) { in readBlaLz4ViaFactory() 78 ….createCompressorInputStream(new BufferedInputStream(new FileInputStream(getFile("bla.tar.lz4")))); in readBlaLz4ViaFactoryAutoDetection() 79 FileInputStream e = new FileInputStream(getFile("bla.tar"))) { in readBlaLz4ViaFactoryAutoDetection() 88 …try (InputStream a = new FramedLZ4CompressorInputStream(new FileInputStream(getFile("bla.tar.lz4")… in readBlaLz4WithDecompressConcatenated() 89 FileInputStream e = new FileInputStream(getFile("bla.tar"))) { in readBlaLz4WithDecompressConcatenated() 130 new FileInputStream(getFile("bla.tar.lz4")), in readBlaLz4ViaFactoryWithDecompressConcatenated() [all …]
|
D | BlockLZ4CompressorInputStreamTest.java | 34 …try (InputStream a = new BlockLZ4CompressorInputStream(new FileInputStream(getFile("bla.tar.block_… in readBlaLz4() 35 FileInputStream e = new FileInputStream(getFile("bla.tar"))) { in readBlaLz4() 44 final File input = getFile("bla.tar.block_lz4"); in singleByteReadConsistentlyReturnsMinusOneAtEof() 57 final File input = getFile("bla.tar.block_lz4"); in multiByteReadConsistentlyReturnsMinusOneAtEof()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/ |
D | SevenZFileTest.java | 50 SevenZFile archive = new SevenZFile(getFile("COMPRESS-320/Copy.7z")); in testRandomlySkippingEntries() 78 archive = new SevenZFile(getFile("COMPRESS-320/" + fileName)); in testRandomlySkippingEntries() 109 try (SevenZFile archive = new SevenZFile(getFile("7z-empty-mhc-off.7z"))) { in testAllEmptyFilesArchive() 126 test7zUnarchive(getFile("bla.7z"), SevenZMethod.LZMA); in test7zUnarchive() 131 test7zUnarchive(getFile("bla.deflate.7z"), SevenZMethod.DEFLATE); in test7zDeflateUnarchive() 136 test7zUnarchive(getFile("bla.deflate64.7z"), SevenZMethod.DEFLATE64); in test7zDeflate64Unarchive() 142 test7zUnarchive(getFile("bla.encrypted.7z"), SevenZMethod.LZMA, // stack LZMA + AES in test7zDecryptUnarchive() 150 test7zUnarchive(getFile("bla.encrypted.7z"), SevenZMethod.LZMA, // stack LZMA + AES in test7zDecryptUnarchiveUsingCharArrayPassword() 162 new SevenZFile(getFile("bla.encrypted.7z")).close(); in testEncryptedArchiveRequiresPassword() 180 try (SevenZFile sevenZFile = new SevenZFile(getFile("COMPRESS-256.7z"))) { in testCompressedHeaderWithNonDefaultDictionarySize() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/snappy/ |
D | FramedSnappyCompressorInputStreamTest.java | 43 final File input = getFile("bla.tar.sz"); in testMatches() 59 try (FileInputStream isSz = new FileInputStream(getFile("lorem-ipsum.txt.sz"))) { in testLoremIpsum() 71 try (FileInputStream isGz = new FileInputStream(getFile("lorem-ipsum.txt.gz"))) { in testLoremIpsum() 96 try (FileInputStream isSz = new FileInputStream(getFile("mixed.txt.sz"))) { in testRemainingChunkTypes() 115 try (FileInputStream isSz = new FileInputStream(getFile("mixed.txt.sz"))) { in testAvailable() 154 try (ZipFile zip = new ZipFile(getFile("testNumbersNew.numbers"))) { in readIWAFile() 178 try (InputStream is = new FileInputStream(getFile("COMPRESS-358.iwa")); in readIWAFileWithBiggerOffset() 185 FileInputStream e = new FileInputStream(getFile("COMPRESS-358.uncompressed"))) { in readIWAFileWithBiggerOffset() 194 final File input = getFile("bla.tar.sz"); in singleByteReadConsistentlyReturnsMinusOneAtEof() 207 final File input = getFile("bla.tar.sz"); in multiByteReadConsistentlyReturnsMinusOneAtEof()
|
/external/clang/unittests/Basic/ |
D | FileManagerTest.cpp | 141 const FileEntry *file = manager.getFile("/tmp/test"); in TEST_F() 150 file = manager.getFile(FileName); in TEST_F() 165 const FileEntry *file = manager.getFile("virtual/dir/bar.h"); in TEST_F() 185 const FileEntry *fileFoo = manager.getFile("foo.cpp"); in TEST_F() 186 const FileEntry *fileBar = manager.getFile("bar.cpp"); in TEST_F() 204 const FileEntry *file = manager.getFile("xyz.txt"); in TEST_F() 221 EXPECT_EQ(manager.getFile("abc/foo.cpp"), manager.getFile("abc/bar.cpp")); in TEST_F() 237 EXPECT_EQ(manager.getFile("abc/foo.cpp"), manager.getFile("abc/bar.cpp")); in TEST_F()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/brotli/ |
D | BrotliCompressorInputStreamTest.java | 45 final File input = getFile("brotli.testdata.compressed"); in testBrotliDecode() 46 final File expected = getFile("brotli.testdata.uncompressed"); in testBrotliDecode() 93 final File input = getFile("brotli.testdata.compressed"); in availableShouldReturnZero() 104 final File input = getFile("brotli.testdata.compressed"); in shouldBeAbleToSkipAByte() 115 final File input = getFile("brotli.testdata.compressed"); in singleByteReadWorksAsExpected() 127 final File input = getFile("brotli.testdata.compressed"); in singleByteReadConsistentlyReturnsMinusOneAtEof() 140 final File input = getFile("brotli.testdata.compressed"); in multiByteReadConsistentlyReturnsMinusOneAtEof() 154 final File input = getFile("bla.tar.br"); in testBrotliUnarchive()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/zstandard/ |
D | ZstdCompressorInputStreamTest.java | 47 final File input = getFile("zstandard.testdata.zst"); in testZstdDecode() 48 final File expected = getFile("zstandard.testdata"); in testZstdDecode() 94 final File input = getFile("zstandard.testdata.zst"); in shouldBeAbleToSkipAByte() 106 final File input = getFile("zstandard.testdata.zst"); in singleByteReadWorksAsExpected() 108 final File original = getFile("zstandard.testdata"); in singleByteReadWorksAsExpected() 128 final File input = getFile("zstandard.testdata.zst"); in singleByteReadConsistentlyReturnsMinusOneAtEof() 141 final File input = getFile("zstandard.testdata.zst"); in multiByteReadConsistentlyReturnsMinusOneAtEof() 155 final File input = getFile("bla.tar.zst"); in testZstandardUnarchive()
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_emit_gm107.cpp | 322 if (ref.getFile() == FILE_IMMEDIATE) { in longIMMD() 545 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitBRA() 570 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitCAL() 595 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitPCNT() 617 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitPBK() 639 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitPRET() 661 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) { in emitSSY() 699 if (insn->src(0).getFile() != FILE_IMMEDIATE) { in emitMOV() 700 switch (insn->src(0).getFile()) { in emitMOV() 702 if (insn->def(0).getFile() == FILE_PREDICATE) { in emitMOV() [all …]
|
D | nv50_ir_target_gm107.cpp | 170 if (insn->def(0).getFile() != FILE_PREDICATE && in isBarrierRequired() 171 insn->src(0).getFile() != FILE_PREDICATE) in isBarrierRequired() 242 if (insn->op == OP_CVT && (insn->def(0).getFile() == FILE_PREDICATE || in getLatency() 243 insn->src(0).getFile() == FILE_PREDICATE)) in getLatency() 293 if (insn->def(0).getFile() != FILE_PREDICATE && in getReadLatency() 294 insn->src(0).getFile() != FILE_PREDICATE) in getReadLatency() 301 switch (insn->src(0).getFile()) { in getReadLatency()
|
D | nv50_ir_emit_gk110.cpp | 203 …code[pos / 32] |= (def.get() && def.getFile() != FILE_FLAGS ? DDATA(def).id : GK110_GPR_ZERO) << (… in defId() 380 switch (i->src(s).getFile()) { in emitForm_L() 404 switch (i->src(0).getFile()) { in emitForm_C() 424 const bool imm = i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE; in emitForm_21() 427 if (i->srcExists(2) && i->src(2).getFile() == FILE_MEMORY_CONST) in emitForm_21() 443 switch (i->src(s).getFile()) { in emitForm_21() 456 assert(s == 2 && i->src(s).getFile() == FILE_PREDICATE); in emitForm_21() 636 if (i->src(1).getFile() == FILE_IMMEDIATE) { in emitIMUL() 785 if (i->src(2).getFile() == FILE_IMMEDIATE) { in emitSHLADD() 805 switch (i->src(2).getFile()) { in emitSHLADD() [all …]
|
D | nv50_ir_emit_nvc0.cpp | 201 code[pos / 32] |= (def.get() && def.getFile() != FILE_FLAGS ? DDATA(def).id : 63) << (pos % 32); in defId() 294 switch (src.getFile()) { in setAddressByFile() 303 assert(src.getFile() == FILE_MEMORY_CONST); in setAddressByFile() 383 assert(d < 0 || (i->defExists(d) && i->def(d).getFile() == FILE_PREDICATE)); in setPDSTL() 427 assert(s == 2 && i->src(s).getFile() == FILE_PREDICATE); in emitForm_A() 446 switch (i->src(0).getFile()) { in emitForm_B() 497 if (i->src(s).getFile() == FILE_IMMEDIATE) { in emitForm_S() 501 if (i->src(s).getFile() == FILE_GPR) { in emitForm_S() 510 if (src.getFile() == FILE_MEMORY_CONST) { in emitShortSrc2() 522 assert(src.getFile() == FILE_GPR); in emitShortSrc2() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/ |
D | GZipTestCase.java | 46 final File input = getFile("test1.xml"); in testGzipCreation() 58 final File input = getFile("bla.tgz"); in testGzipUnarchive() 78 final File input = getFile("multiple.gz"); in testConcatenatedStreamsReadFirstOnly() 90 final File input = getFile("multiple.gz"); in testConcatenatedStreamsReadFully() 110 in = new FileInputStream(getFile("bla.tgz")); in testCorruptedInput() 145 try (FileInputStream fis = new FileInputStream(getFile("test3.xml"))) { in testInteroperabilityWithGzipCompressorInputStream() 171 try (FileInputStream fis = new FileInputStream(getFile("test3.xml"))) { in testInteroperabilityWithGZIPInputStream() 214 try (FileInputStream fis = new FileInputStream(getFile("test3.xml"))) { in testExtraFlags() 267 …mpressorOutputStream(bout, parameters); FileInputStream fis = new FileInputStream(getFile("test3" + in testMetadataRoundTrip() 285 final File input = getFile("bla.tgz"); in singleByteReadConsistentlyReturnsMinusOneAtEof() [all …]
|
D | Pack200TestCase.java | 69 final File input = getFile("bla.pack"); in jarUnarchiveAll() 109 final File file1 = getFile("test1.xml"); in jarArchiveCreation() 110 final File file2 = getFile("test2.xml"); in jarArchiveCreation() 141 try (InputStream is = new FileInputStream(getFile("bla.pack"))) { in testGoodSignature() 150 try (InputStream is = new FileInputStream(getFile("bla.jar"))) { in testBadSignature() 159 try (InputStream is = new FileInputStream(getFile("bla.pack"))) { in testShortSignature() 170 … try (InputStream is = new Pack200CompressorInputStream(new FileInputStream(getFile("bla.jar")), in testInputStreamMethods() 213 final File input = getFile("bla.pack"); in singleByteReadConsistentlyReturnsMinusOneAtEof() 233 final File input = getFile("bla.pack"); in multiByteReadConsistentlyReturnsMinusOneAtEof()
|
D | BZip2TestCase.java | 39 final File input = getFile("test.txt"); in testBzipCreation() 67 final File input = getFile("bla.txt.bz2"); in testBzip2Unarchive() 79 final File input = getFile("multiple.bz2"); in testConcatenatedStreamsReadFirstOnly() 91 final File input = getFile("multiple.bz2"); in testConcatenatedStreamsReadFully() 104 final File input = getFile("COMPRESS-131.bz2"); in testCOMPRESS131()
|
D | LZMATestCase.java | 39 final File input = getFile("test1.xml"); in lzmaRoundtrip() 61 final File input = getFile("bla.tar.lzma"); in testLZMAUnarchive() 71 final File input = getFile("bla.tar.lzma"); in testLZMAUnarchiveWithAutodetection() 82 final File input = getFile("bla.tar.lzma"); in singleByteReadConsistentlyReturnsMinusOneAtEof() 95 final File input = getFile("bla.tar.lzma"); in multiByteReadConsistentlyReturnsMinusOneAtEof()
|
D | XZTestCase.java | 41 final File input = getFile("test1.xml"); in testXZCreation() 53 final File input = getFile("bla.tar.xz"); in testXZUnarchive() 73 final File input = getFile("multiple.xz"); in testConcatenatedStreamsReadFirstOnly() 85 final File input = getFile("multiple.xz"); in testConcatenatedStreamsReadFully()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ |
D | DumpTestCase.java | 40 unarchiveAll(getFile("bla.dump")); in testDumpUnarchiveAll() 45 unarchiveAll(getFile("bla.z.dump")); in testCompressedDumpUnarchiveAll() 84 archiveDetection(getFile("bla.dump")); in testArchiveDetection() 89 archiveDetection(getFile("bla.z.dump")); in testCompressedArchiveDetection() 103 checkDumpArchive(getFile("bla.dump")); in testCheckArchive() 108 checkDumpArchive(getFile("bla.z.dump")); in testCheckCompressedArchive()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/deflate/ |
D | DeflateCompressorInputStreamTest.java | 35 final File input = AbstractTestCase.getFile("bla.tar.deflatez"); in availableShouldReturnNonZero() 46 final File input = AbstractTestCase.getFile("bla.tar.deflatez"); in shouldBeAbleToSkipAByte() 57 final File input = AbstractTestCase.getFile("bla.tar.deflatez"); in singleByteReadWorksAsExpected() 69 final File input = AbstractTestCase.getFile("bla.tar.deflatez"); in singleByteReadConsistentlyReturnsMinusOneAtEof() 82 final File input = AbstractTestCase.getFile("bla.tar.deflatez"); in multiByteReadConsistentlyReturnsMinusOneAtEof()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/cpio/ |
D | CpioArchiveInputStreamTest.java | 40 …final CpioArchiveInputStream in = new CpioArchiveInputStream(new FileInputStream(getFile("bla.cpio… in testCpioUnarchive() 58 new CpioArchiveInputStream(new FileInputStream(getFile("redline.cpio"))); in testCpioUnarchiveCreatedByRedlineRpm() 74 new CpioArchiveInputStream(new FileInputStream(getFile("COMPRESS-459.cpio")), "UTF-8"); in testCpioUnarchiveMultibyteCharName() 89 try (FileInputStream in = new FileInputStream(getFile("bla.cpio")); in singleByteReadConsistentlyReturnsMinusOneAtEof() 101 try (FileInputStream in = new FileInputStream(getFile("bla.cpio")); in multiByteReadConsistentlyReturnsMinusOneAtEof()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/changes/ |
D | ChangeSetTestCase.java | 85 in = new FileInputStream(getFile("test.txt")); in testAddChangeTwice() 86 in2 = new FileInputStream(getFile("test2.xml")); in testAddChangeTwice() 120 in = new FileInputStream(getFile("test.txt")); in testAddChangeTwiceWithoutReplace() 121 in2 = new FileInputStream(getFile("test2.xml")); in testAddChangeTwiceWithoutReplace() 387 testtxt = getFile("test.txt"); in testDeletePlusAddSame() 457 final File file1 = getFile("test.txt"); in testChangeSetResults() 521 final File file1 = getFile("test.txt"); in testDeletePlusAdd() 565 final File file1 = getFile("test.txt"); in testDeleteFromAndAddToZip() 611 final File file1 = getFile("test.txt"); in testDeleteFromAndAddToZipUsingZipFilePerform() 658 final File file1 = getFile("test.txt"); in testAddDeleteAdd() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ar/ |
D | ArArchiveInputStreamTest.java | 45 try (final FileInputStream fis = new FileInputStream(getFile(archive)); in checkLongNameEntry() 65 try (FileInputStream in = new FileInputStream(getFile("bla.ar")); in singleByteReadConsistentlyReturnsMinusOneAtEof() 77 try (FileInputStream in = new FileInputStream(getFile("bla.ar")); in multiByteReadConsistentlyReturnsMinusOneAtEof() 88 try (FileInputStream in = new FileInputStream(getFile("bla.ar")); in cantReadWithoutOpeningAnEntry() 96 try (FileInputStream in = new FileInputStream(getFile("bla.ar")); in cantReadAfterClose()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/arj/ |
D | ArjArchiveInputStreamTest.java | 43 …final ArjArchiveInputStream in = new ArjArchiveInputStream(new FileInputStream(getFile("bla.arj"))… in testArjUnarchive() 61 …final ArjArchiveInputStream in = new ArjArchiveInputStream(new FileInputStream(getFile("bla.arj"))… in testReadingOfAttributesDosVersion() 75 …final ArjArchiveInputStream in = new ArjArchiveInputStream(new FileInputStream(getFile("bla.unix.a… in testReadingOfAttributesUnixVersion() 89 try (FileInputStream in = new FileInputStream(getFile("bla.arj")); in singleByteReadConsistentlyReturnsMinusOneAtEof() 101 try (FileInputStream in = new FileInputStream(getFile("bla.arj")); in multiByteReadConsistentlyReturnsMinusOneAtEof()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/dump/ |
D | DumpArchiveInputStreamTest.java | 36 try (FileInputStream is = new FileInputStream(getFile("bla.zip"))) { in testNotADumpArchive() 47 try (FileInputStream is = new FileInputStream(getFile("zip64support.tar.bz2"))) { in testNotADumpArchiveButBigEnough() 75 try (FileInputStream in = new FileInputStream(getFile("bla.dump")); in singleByteReadConsistentlyReturnsMinusOneAtEof() 87 try (FileInputStream in = new FileInputStream(getFile("bla.dump")); in multiByteReadConsistentlyReturnsMinusOneAtEof()
|