Home
last modified time | relevance | path

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

123

/external/brotli/java/org/brotli/wrapper/dec/
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()
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()
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/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/immutable/
DImmutableMultiDexContainer.java66 public ImmutableDexEntry getEntry(@Nonnull String entryName) { in getEntry() argument
67 return entries.get(entryName); in getEntry()
72 private final String entryName; field in ImmutableMultiDexContainer.ImmutableDexEntry
75 protected ImmutableDexEntry(String entryName, ImmutableDexFile dexFile) { in ImmutableDexEntry() argument
76 this.entryName = entryName; in ImmutableDexEntry()
83 return entryName; in getEntryName()
/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.java107 @Nullable @Override public ZipDexFile getEntry(@Nonnull String entryName) throws IOException { in getEntry() argument
110 ZipEntry entry = zipFile.getEntry(entryName); in getEntry()
143 private final String entryName; field in ZipDexContainer.ZipDexFile
145 … protected ZipDexFile(@Nullable Opcodes opcodes, @Nonnull byte[] buf, @Nonnull String entryName) { in ZipDexFile() argument
147 this.entryName = entryName; in ZipDexFile()
151 return entryName; in getEntryName()
DOatFile.java206 return dexEntry.entryName;
213 @Nullable @Override public OatDexFile getEntry(@Nonnull String entryName) throws IOException {
218 if (entry.entryName.equals(entryName)) {
560 public final String entryName;
565 public DexEntry(String entryName, byte[] buf, int dexOffset) {
566 this.entryName = entryName;
572 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/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 final ZipEntry newEntry = new ZipEntry(entryName); in instrumentZip()
225 count += filterOrInstrument(zipin, zipout, name, entryName); in instrumentZip()
231 count += filterOrInstrument(zipin, buffer, name, entryName); in instrumentZip()
249 final String name, final String entryName) throws IOException { in filterOrInstrument() argument
250 if (signatureRemover.filterEntry(entryName, in, out)) { in filterOrInstrument()
253 return instrumentAll(in, out, name + "@" + entryName); in filterOrInstrument()
/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/nullaway/jar-infer/jar-infer-lib/src/main/java/com/uber/nullaway/jarinfer/
DBytecodeAnnotator.java223 String entryName = jarEntry.getName(); in copyAndAnnotateJarEntry() local
224 if (entryName.endsWith(".class")) { in copyAndAnnotateJarEntry()
227 } else if (entryName.equals("META-INF/MANIFEST.MF")) { in copyAndAnnotateJarEntry()
244 } else if (entryName.startsWith("META-INF/") in copyAndAnnotateJarEntry()
245 && (entryName.endsWith(".DSA") in copyAndAnnotateJarEntry()
246 || entryName.endsWith(".RSA") in copyAndAnnotateJarEntry()
247 || entryName.endsWith(".SF"))) { in copyAndAnnotateJarEntry()
/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/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/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/
DDexFileFactory.java459 private final String entryName; field in DexFileFactory.SingletonMultiDexContainer
462 … public SingletonMultiDexContainer(@Nonnull String entryName, @Nonnull DexBackedDexFile dexFile) { in SingletonMultiDexContainer() argument
463 this.entryName = entryName; in SingletonMultiDexContainer()
468 return ImmutableList.of(entryName); in getDexEntryNames()
471 @Nullable @Override public DexEntry<DexBackedDexFile> getEntry(@Nonnull String entryName) { in getEntry() argument
472 if (entryName.equals(this.entryName)) { in getEntry()
477 return entryName; in getEntry()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/
DOatFile.java211 return dexEntry.entryName;
220 public OatDexEntry getEntry(@Nonnull String entryName) throws IOException {
224 if (entry != null && entry.getEntryName().equals(entryName)) {
571 public final String entryName;
575 public OatDexEntry(String entryName, byte[] buf, int dexOffset) {
576 this.entryName = entryName;
590 … "Could not locate the embedded dex file %s. Is the vdex file missing?", entryName);
593 … "The embedded dex file %s does not appear to be a valid dex file.", entryName);
603 return entryName;
/external/auto/value/src/main/java/com/google/auto/value/processor/
DTemplateVars.java189 String entryName = resourceUrlString.substring(bang + 1); in inputStreamFromJar() local
190 if (entryName.startsWith("/")) { in inputStreamFromJar()
191 entryName = entryName.substring(1); in inputStreamFromJar()
195 JarEntry entry = jar.getJarEntry(entryName); in inputStreamFromJar()
/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/cronet/third_party/icu/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()

123