Home
last modified time | relevance | path

Searched refs:entryName (Results 1 – 25 of 52) sorted by relevance

123

/external/brotli/java/org/brotli/wrapper/dec/
DDecoderTest.java48 final String entryName; field in DecoderTest.DecoderTestCase
49 DecoderTestCase(String entryName) { in DecoderTestCase() argument
50 super("DecoderTest." + entryName); in DecoderTestCase()
51 this.entryName = entryName; in DecoderTestCase()
56 DecoderTest.run(entryName); in runTest()
60 private static void run(String entryName) throws Throwable { in run() argument
64 compressed = BundleHelper.readEntry(bundle, entryName); in run()
69 throw new RuntimeException("Can't read bundle entry: " + entryName); in run()
75 assertEquals(BundleHelper.getExpectedFingerprint(entryName), crc); in run()
DBrotliInputStreamTest.java48 final String entryName; field in BrotliInputStreamTest.StreamTestCase
49 StreamTestCase(String entryName) { in StreamTestCase() argument
50 super("BrotliInputStreamTest." + entryName); in StreamTestCase()
51 this.entryName = entryName; in StreamTestCase()
56 BrotliInputStreamTest.run(entryName); in runTest()
60 private static void run(String entryName) throws Throwable { in run() argument
64 compressed = BundleHelper.readEntry(bundle, entryName); in run()
69 throw new RuntimeException("Can't read bundle entry: " + entryName); in run()
80 assertEquals(BundleHelper.getExpectedFingerprint(entryName), crc); in run()
DBrotliDecoderChannelTest.java50 final String entryName; field in BrotliDecoderChannelTest.ChannelTestCase
51 ChannelTestCase(String entryName) { in ChannelTestCase() argument
52 super("BrotliDecoderChannelTest." + entryName); in ChannelTestCase()
53 this.entryName = entryName; in ChannelTestCase()
58 BrotliDecoderChannelTest.run(entryName); in runTest()
62 private static void run(String entryName) throws Throwable { in run() argument
66 compressed = BundleHelper.readEntry(bundle, entryName); in run()
71 throw new RuntimeException("Can't read bundle entry: " + entryName); in run()
82 assertEquals(BundleHelper.getExpectedFingerprint(entryName), crc); in run()
/external/brotli/java/org/brotli/wrapper/enc/
DEncoderTest.java42 final String entryName; field in EncoderTest.EncoderTestCase
43 EncoderTestCase(String entryName) { in EncoderTestCase() argument
44 super("EncoderTest." + entryName); in EncoderTestCase()
45 this.entryName = entryName; in EncoderTestCase()
50 EncoderTest.run(entryName); in runTest()
54 private static void run(String entryName) throws Throwable { in run() argument
58 original = BundleHelper.readEntry(bundle, entryName); in run()
63 throw new RuntimeException("Can't read bundle entry: " + entryName); in run()
DBrotliOutputStreamTest.java55 final String entryName; field in BrotliOutputStreamTest.StreamTestCase
57 StreamTestCase(String entryName, TestMode mode) { in StreamTestCase() argument
58 super("BrotliOutputStreamTest." + entryName + "." + mode.name()); in StreamTestCase()
59 this.entryName = entryName; in StreamTestCase()
65 BrotliOutputStreamTest.run(entryName, mode); in runTest()
69 private static void run(String entryName, TestMode mode) throws Throwable { in run() argument
73 original = BundleHelper.readEntry(bundle, entryName); in run()
78 throw new RuntimeException("Can't read bundle entry: " + entryName); in run()
DBrotliEncoderChannelTest.java56 final String entryName; field in BrotliEncoderChannelTest.ChannleTestCase
58 ChannleTestCase(String entryName, TestMode mode) { in ChannleTestCase() argument
59 super("BrotliEncoderChannelTest." + entryName + "." + mode.name()); in ChannleTestCase()
60 this.entryName = entryName; in ChannleTestCase()
66 BrotliEncoderChannelTest.run(entryName, mode); in runTest()
70 private static void run(String entryName, TestMode mode) throws Throwable { in run() argument
74 original = BundleHelper.readEntry(bundle, entryName); in run()
79 throw new RuntimeException("Can't read bundle entry: " + entryName); in run()
/external/vogar/src/vogar/target/
DClassPathScanner.java143 for (String entryName : entryNames) { in find()
144 if (entryName.startsWith(pathPrefix)) { in find()
145 if (entryName.endsWith(DOT_CLASS)) { in find()
148 int index = entryName.indexOf('/', prefixLength); in find()
150 String p = entryName.substring(0, index).replace('/', '.'); in find()
152 } else if (isToplevelClass(entryName)) { in find()
153 classNames.add(getClassName(entryName).replace('/', '.')); in find()
167 String entryName = e.nextElement().getName(); in getJarEntries() local
168 if (!entryName.endsWith(DOT_CLASS)) { in getJarEntries()
172 entryNames.add(entryName); in getJarEntries()
[all …]
/external/brotli/java/org/brotli/integration/
DBundleHelper.java51 public static byte[] readEntry(InputStream input, String entryName) throws IOException { in readEntry() argument
56 if (entry.getName().equals(entryName)) { in readEntry()
108 public static long getExpectedFingerprint(String entryName) { in getExpectedFingerprint() argument
109 int dotIndex = entryName.indexOf('.'); in getExpectedFingerprint()
110 String entryCrcString = (dotIndex == -1) ? entryName : entryName.substring(0, dotIndex); in getExpectedFingerprint()
DBundleChecker.java60 String entryName = ""; in run() local
74 entryName = entry.getName(); in run()
75 long entryCrc = BundleHelper.getExpectedFingerprint(entryName); in run()
86 entryName = ""; in run()
92 throw new RuntimeException(entryName, ex); in run()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DZipDexContainer.java112 @Nullable @Override public ZipDexFile getEntry(@Nonnull String entryName) throws IOException { in getEntry() argument
115 ZipEntry entry = zipFile.getEntry(entryName); in getEntry()
148 private final String entryName; field in ZipDexContainer.ZipDexFile
150 … protected ZipDexFile(@Nonnull Opcodes opcodes, @Nonnull byte[] buf, @Nonnull String entryName) { in ZipDexFile() argument
152 this.entryName = entryName; in ZipDexFile()
156 return entryName; in getEntryName()
DOatFile.java210 return dexEntry.entryName;
217 @Nullable @Override public OatDexFile getEntry(@Nonnull String entryName) throws IOException {
222 if (entry.entryName.equals(entryName)) {
554 public final String entryName;
559 public DexEntry(String entryName, byte[] buf, int dexOffset) {
560 this.entryName = entryName;
566 return new OatDexFile(buf, dexOffset, entryName);
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/examples/
DArchiver.java47 ArchiveEntry create(File f, String entryName) throws IOException; in create() argument
137 public ArchiveEntry create(File f, String entryName) throws IOException { in create()
138 return target.createArchiveEntry(f, entryName); in create()
167 public ArchiveEntry create(File f, String entryName) throws IOException { in create()
168 return target.createArchiveEntry(f, entryName); in create()
210 String entryName = prefix + f.getName() + (f.isDirectory() ? "/" : ""); in create() local
211 consumer.accept(f, creator.create(f, entryName)); in create()
213 create(entryName, f, creator, consumer); in create()
/external/objenesis/tck/src/main/java/org/objenesis/tck/search/
DClassEnumerator.java68 String entryName = entry.getName(); in processJarfile() local
70 …if(entryName.endsWith(".class") && entryName.startsWith(relPath) && entryName.length() > (relPath.… in processJarfile()
71 className = entryName.replace('/', '.').replace('\\', '.').replace(".class", ""); in processJarfile()
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DBug62456849TestDataGenerator.java60 String entryName = entry.getName(); in main() local
62 entryName.endsWith(".class") in main()
65 writeToZipFile(outZip, entryName, content); in main()
70 private static void writeToZipFile(ZipOutputStream outZip, String entryName, byte[] content) in writeToZipFile() argument
72 ZipEntry result = new ZipEntry(entryName); in writeToZipFile()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveOutputStream.java357 final String entryName = entry.getName(); in putArchiveEntry() local
358 … final boolean paxHeaderContainsPath = handleLongName(entry, entryName, paxHeaders, "path", in putArchiveEntry()
373 && !ASCII.canEncode(entryName)) { in putArchiveEntry()
374 paxHeaders.put("path", entryName); in putArchiveEntry()
385 writePaxHeaders(entry, entryName, paxHeaders); in putArchiveEntry()
398 currName = entryName; in putArchiveEntry()
464 final String entryName, in writePaxHeaders() argument
466 String name = "./PaxHeaders.X/" + stripTo7Bits(entryName); in writePaxHeaders()
546 public ArchiveEntry createArchiveEntry(final File inputFile, final String entryName) in createArchiveEntry() argument
551 return new TarArchiveEntry(inputFile, entryName); in createArchiveEntry()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DDexFileFactory.java441 private final String entryName; field in DexFileFactory.SingletonMultiDexContainer
444 … public SingletonMultiDexContainer(@Nonnull String entryName, @Nonnull DexBackedDexFile dexFile) { in SingletonMultiDexContainer() argument
445 this.entryName = entryName; in SingletonMultiDexContainer()
450 return ImmutableList.of(entryName); in getDexEntryNames()
453 …@Nullable @Override public DexBackedDexFile getEntry(@Nonnull String entryName) throws IOException… in getEntry() argument
454 if (entryName.equals(this.entryName)) { in getEntry()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DExplodeSupportTest.java39 …private void testArchiveWithImplodeCompression(final String filename, final String entryName) thro… in testArchiveWithImplodeCompression() argument
42 assertEquals("entry name", entryName, entry.getName()); in testArchiveWithImplodeCompression()
71 …private void testZipStreamWithImplodeCompression(final String filename, final String entryName) th… in testZipStreamWithImplodeCompression() argument
74 assertEquals("entry name", entryName, entry.getName()); in testZipStreamWithImplodeCompression()
/external/icu/icu4c/source/common/
Ducmndata.cpp72 const char *entryName; member
189 if(0==strcmpAfterPrefix(s, toc[0].entryName, &startPrefixLength)) { in pointerTOCPrefixBinarySearch()
194 if(0==strcmpAfterPrefix(s, toc[limit].entryName, &limitPrefixLength)) { in pointerTOCPrefixBinarySearch()
200 int32_t cmp=strcmpAfterPrefix(s, toc[i].entryName, &prefixLength); in pointerTOCPrefixBinarySearch()
289 fprintf(stderr, "\tx%d: %s\n", number, toc->entry[number].entryName); in pointerTOCLookupFn()
296 fprintf(stderr, "%s: Found.\n", toc->entry[number].entryName); in pointerTOCLookupFn()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/instr/
DInstrumenter.java215 final String entryName = entry.getName(); in instrumentZip() local
216 if (signatureRemover.removeEntry(entryName)) { in instrumentZip()
220 zipout.putNextEntry(new ZipEntry(entryName)); in instrumentZip()
221 if (!signatureRemover.filterEntry(entryName, zipin, zipout)) { in instrumentZip()
222 count += instrumentAll(zipin, zipout, name + "@" + entryName); in instrumentZip()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DCompatibilityTest.java185 String entryName = entry.getName(); in getJarList() local
187 if (entryName.startsWith(prefix) && entryName.endsWith(".dat")) { in getJarList()
188 FileHolder holder = new FileHolder(entryName, in getJarList()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCompatibilityTest.java182 String entryName = entry.getName(); in getJarList() local
184 if (entryName.startsWith(prefix) && entryName.endsWith(".dat")) { in getJarList()
185 FileHolder holder = new FileHolder(entryName, in getJarList()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveEntry.java313 public CpioArchiveEntry(final File inputFile, final String entryName) { in CpioArchiveEntry() argument
314 this(FORMAT_NEW, inputFile, entryName); in CpioArchiveEntry()
339 final String entryName) { in CpioArchiveEntry() argument
340 this(format, entryName, inputFile.isFile() ? inputFile.length() : 0); in CpioArchiveEntry()
/external/python/cpython2/Lib/idlelib/
DconfigSectionNameDialog.py48 entryName = Entry(self.frameMain, textvariable=self.name, width=30)
49 entryName.focus_set()
51 entryName.pack(padx=5, pady=5)
/external/icu/icu4c/source/tools/toolutil/
Dpkg_genc.cpp59 getOutFilename(const char *inFilename, const char *destdir, char *outFilename, char *entryName, con…
591 getOutFilename(const char *inFilename, const char *destdir, char *outFilename, char *entryName, con… in getOutFilename() argument
611 uprv_strcpy(entryName, inFilename); in getOutFilename()
624 *outFilename++=*entryName++='_'; in getOutFilename()
628 *outFilename++=*entryName++=*inFilename++; in getOutFilename()
633 *outFilename++=*entryName++='_'; in getOutFilename()
638 *outFilename++=*entryName++=*inFilename++; in getOutFilename()
641 *entryName=0; in getOutFilename()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/
DArArchiveEntry.java114 public ArArchiveEntry(final File inputFile, final String entryName) { in ArArchiveEntry() argument
116 this(entryName, inputFile.isFile() ? inputFile.length() : 0, in ArArchiveEntry()

123