Home
last modified time | relevance | path

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

12

/external/brotli/java/org/brotli/wrapper/dec/
DDecoderTest.java53 final String entryName; field in DecoderTest.DecoderTestCase
54 DecoderTestCase(String entryName) { in DecoderTestCase() argument
55 super("DecoderTest." + entryName); in DecoderTestCase()
56 this.entryName = entryName; in DecoderTestCase()
61 DecoderTest.run(entryName); in runTest()
65 private static void run(String entryName) throws Throwable { in run() argument
69 compressed = BundleHelper.readEntry(bundle, entryName); in run()
74 throw new RuntimeException("Can't read bundle entry: " + entryName); in run()
80 assertEquals(BundleHelper.getExpectedFingerprint(entryName), crc); in run()
DBrotliInputStreamTest.java53 final String entryName; field in BrotliInputStreamTest.StreamTestCase
54 StreamTestCase(String entryName) { in StreamTestCase() argument
55 super("BrotliInputStreamTest." + entryName); in StreamTestCase()
56 this.entryName = entryName; in StreamTestCase()
61 BrotliInputStreamTest.run(entryName); in runTest()
65 private static void run(String entryName) throws Throwable { in run() argument
69 compressed = BundleHelper.readEntry(bundle, entryName); in run()
74 throw new RuntimeException("Can't read bundle entry: " + entryName); in run()
85 assertEquals(BundleHelper.getExpectedFingerprint(entryName), crc); in run()
DBrotliDecoderChannelTest.java55 final String entryName; field in BrotliDecoderChannelTest.ChannelTestCase
56 ChannelTestCase(String entryName) { in ChannelTestCase() argument
57 super("BrotliDecoderChannelTest." + entryName); in ChannelTestCase()
58 this.entryName = entryName; in ChannelTestCase()
63 BrotliDecoderChannelTest.run(entryName); in runTest()
67 private static void run(String entryName) throws Throwable { in run() argument
71 compressed = BundleHelper.readEntry(bundle, entryName); in run()
76 throw new RuntimeException("Can't read bundle entry: " + entryName); in run()
87 assertEquals(BundleHelper.getExpectedFingerprint(entryName), crc); in run()
/external/brotli/java/org/brotli/wrapper/enc/
DEncoderTest.java48 final String entryName; field in EncoderTest.EncoderTestCase
49 EncoderTestCase(String entryName) { in EncoderTestCase() argument
50 super("EncoderTest." + entryName); in EncoderTestCase()
51 this.entryName = entryName; in EncoderTestCase()
56 EncoderTest.run(entryName); in runTest()
60 private static void run(String entryName) throws Throwable { in run() argument
64 original = BundleHelper.readEntry(bundle, entryName); in run()
69 throw new RuntimeException("Can't read bundle entry: " + entryName); in run()
DBrotliOutputStreamTest.java60 final String entryName; field in BrotliOutputStreamTest.StreamTestCase
62 StreamTestCase(String entryName, TestMode mode) { in StreamTestCase() argument
63 super("BrotliOutputStreamTest." + entryName + "." + mode.name()); in StreamTestCase()
64 this.entryName = entryName; in StreamTestCase()
70 BrotliOutputStreamTest.run(entryName, mode); in runTest()
74 private static void run(String entryName, TestMode mode) throws Throwable { in run() argument
78 original = BundleHelper.readEntry(bundle, entryName); in run()
83 throw new RuntimeException("Can't read bundle entry: " + entryName); in run()
DBrotliEncoderChannelTest.java60 final String entryName; field in BrotliEncoderChannelTest.ChannleTestCase
62 ChannleTestCase(String entryName, TestMode mode) { in ChannleTestCase() argument
63 super("BrotliEncoderChannelTest." + entryName + "." + mode.name()); in ChannleTestCase()
64 this.entryName = entryName; in ChannleTestCase()
70 BrotliEncoderChannelTest.run(entryName, mode); in runTest()
74 private static void run(String entryName, TestMode mode) throws Throwable { in run() argument
78 original = BundleHelper.readEntry(bundle, entryName); in run()
83 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/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/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/icu/icu4c/source/common/
Ducmndata.cpp72 const char *entryName; member
185 if(0==strcmpAfterPrefix(s, toc[0].entryName, &startPrefixLength)) { in pointerTOCPrefixBinarySearch()
190 if(0==strcmpAfterPrefix(s, toc[limit].entryName, &limitPrefixLength)) { in pointerTOCPrefixBinarySearch()
196 int32_t cmp=strcmpAfterPrefix(s, toc[i].entryName, &prefixLength); in pointerTOCPrefixBinarySearch()
285 fprintf(stderr, "\tx%d: %s\n", number, toc->entry[number].entryName); in pointerTOCLookupFn()
292 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/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/smali/dexlib2/src/test/java/org/jf/dexlib2/
DDexEntryFinderTest.java216 …@Nullable @Override public DexBackedDexFile getEntry(@Nonnull String entryName) throws IOException… in getEntry() argument
217 if (entries.containsKey(entryName)) { in getEntry()
218 DexBackedDexFile entry = entries.get(entryName); in getEntry()
/external/icu/icu4c/source/tools/icuswap/
Dicuswap.cpp489 char *entryName; in udata_swapPackage() local
492 entryName=(char *)inBytes+ds->readUInt32(inEntries[i].nameOffset); in udata_swapPackage()
494 if(0==uprv_memcmp(entryName, inPkgName, inPkgNameLength)) { in udata_swapPackage()
495 uprv_memcpy(entryName, outPkgName, inPkgNameLength); in udata_swapPackage()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationLoader.java93 private static final UResourceBundle findWithFallback(UResourceBundle table, String entryName) { in findWithFallback() argument
94 return ((ICUResourceBundle)table).findWithFallback(entryName); in findWithFallback()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationLoader.java91 private static final UResourceBundle findWithFallback(UResourceBundle table, String entryName) { in findWithFallback() argument
92 return ((ICUResourceBundle)table).findWithFallback(entryName); in findWithFallback()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/
DMultiDexContainer.java56 @Nullable T getEntry(@Nonnull String entryName) throws IOException; in getEntry() argument

12