HomeSort by relevance Sort by last modified time
    Searched refs:DataEntry (Results 1 - 25 of 37) sorted by null

1 2

  /external/proguard/src/proguard/io/
DataEntryFilter.java 33 * @param dataEntry the data entry to filter.
37 public boolean accepts(DataEntry dataEntry);
DataEntry.java 31 public interface DataEntry
61 public DataEntry getParent();
DataEntryReader.java 37 public void read(DataEntry dataEntry) throws IOException;
DataEntryWriter.java 37 * @param dataEntry the data entry for which the directory is to be created.
40 public boolean createDirectory(DataEntry dataEntry) throws IOException;
47 * @param dataEntry the data entry for which the output stream is to be created.
51 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException;
58 * @param dataEntry the data entry for which the output stream is to be created.
65 public OutputStream getOutputStream(DataEntry dataEntry,
DataEntryDirectoryFilter.java 36 public boolean accepts(DataEntry dataEntry)
38 return dataEntry != null && dataEntry.isDirectory();
RenamedDataEntry.java 26 * This DataEntry wraps another data entry, returning a different name instead
31 public class RenamedDataEntry implements DataEntry
33 private final DataEntry dataEntry;
37 public RenamedDataEntry(DataEntry dataEntry,
40 this.dataEntry = dataEntry;
45 // Implementations for DataEntry.
55 return dataEntry.isDirectory()
    [all...]
ParentDataEntryWriter.java 50 public boolean createDirectory(DataEntry dataEntry) throws IOException
52 return getOutputStream(dataEntry) != null;
56 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException
58 return getOutputStream(dataEntry, null);
62 public OutputStream getOutputStream(DataEntry dataEntry,
65 return dataEntryWriter.getOutputStream(dataEntry.getParent(),
DataEntryParentFilter.java 47 public boolean accepts(DataEntry dataEntry)
49 return dataEntry != null && dataEntryFilter.accepts(dataEntry.getParent());
ZipDataEntry.java 29 * This <code>DataEntry</code> represents a ZIP entry.
33 public class ZipDataEntry implements DataEntry
35 private final DataEntry parent;
40 public ZipDataEntry(DataEntry parent,
50 // Implementations for DataEntry.
86 public DataEntry getParent()
CascadingDataEntryWriter.java 56 public boolean createDirectory(DataEntry dataEntry) throws IOException
60 return dataEntryWriter1.createDirectory(dataEntry) ||
61 dataEntryWriter2.createDirectory(dataEntry);
65 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException
67 return getOutputStream(dataEntry, null);
71 public OutputStream getOutputStream(DataEntry dataEntry,
76 dataEntryWriter1.getOutputStream(dataEntry, finisher)
    [all...]
DataEntryClassWriter.java 32 * given DataEntry, modified to have the correct name.
41 private final DataEntry templateDataEntry;
46 * DataEntryWriter, based on the given template DataEntry.
49 DataEntry templateDataEntry)
62 DataEntry actualDataEntry =
DataEntryNameFilter.java 50 public boolean accepts(DataEntry dataEntry)
52 return dataEntry != null && stringMatcher.matches(dataEntry.getName());
FileDataEntry.java 28 * This <code>DataEntry</code> represents a file.
32 public class FileDataEntry implements DataEntry
47 // Implementations for DataEntry.
84 public DataEntry getParent()
DirectoryWriter.java 58 public boolean createDirectory(DataEntry dataEntry) throws IOException
67 File directory = getFile(dataEntry);
78 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException
80 return getOutputStream(dataEntry, null);
84 public OutputStream getOutputStream(DataEntry dataEntry,
87 File file = getFile(dataEntry);
134 private File getFile(DataEntry dataEntry
    [all...]
JarReader.java 48 public void read(DataEntry dataEntry) throws IOException
50 ZipInputStream zipInputStream = new ZipInputStream(dataEntry.getInputStream());
65 dataEntryReader.read(new ZipDataEntry(dataEntry,
72 dataEntry.closeInputStream();
DataEntryObfuscator.java 63 public void read(DataEntry dataEntry) throws IOException
66 dataEntryReader.read(renamedDataEntry(dataEntry));
73 private DataEntry renamedDataEntry(DataEntry dataEntry)
75 String dataEntryName = dataEntry.getName();
107 return new RenamedDataEntry(dataEntry, newDataEntryName);
112 return dataEntry;
137 return new RenamedDataEntry(dataEntry, newDataEntryName)
    [all...]
FilteredDataEntryWriter.java 77 public boolean createDirectory(DataEntry dataEntry) throws IOException
80 DataEntryWriter dataEntryWriter = dataEntryFilter.accepts(dataEntry) ?
86 dataEntryWriter.createDirectory(dataEntry);
90 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException
92 return getOutputStream(dataEntry, null);
96 public OutputStream getOutputStream(DataEntry dataEntry,
100 DataEntryWriter dataEntryWriter = dataEntryFilter.accepts(dataEntry)
    [all...]
JarWriter.java 46 private DataEntry currentDataEntry;
76 public boolean createDirectory(DataEntry dataEntry) throws IOException
79 if (!prepareEntry(dataEntry))
88 String name = dataEntry.getName() + ClassConstants.INTERNAL_PACKAGE_SEPARATOR;
109 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException
111 return getOutputStream(dataEntry, null);
115 public OutputStream getOutputStream(DataEntry dataEntry,
    [all...]
FilteredDataEntryReader.java 78 public void read(DataEntry dataEntry)
81 DataEntryReader dataEntryReader = dataEntryFilter.accepts(dataEntry) ?
87 dataEntryReader.read(dataEntry);
ClassRewriter.java 51 public void read(DataEntry dataEntry) throws IOException
53 String inputName = dataEntry.getName();
64 dataEntry = new RenamedDataEntry(dataEntry, newClassName + ClassConstants.CLASS_FILE_EXTENSION);
68 OutputStream outputStream = dataEntryWriter.getOutputStream(dataEntry);
ClassReader.java 71 public void read(DataEntry dataEntry) throws IOException
76 InputStream inputStream = dataEntry.getInputStream();
98 if (!dataEntry.getName().replace(File.pathSeparatorChar, ClassConstants.INTERNAL_PACKAGE_SEPARATOR).equals(className+ClassConstants.CLASS_FILE_EXTENSION) &&
102 "Warning: class [" + dataEntry.getName() + "] unexpectedly contains class [" + ClassUtil.externalClassName(className) + "]");
108 dataEntry.closeInputStream();
112 throw (IOException)new IOException("Can't process class ["+dataEntry.getName()+"] ("+ex.getMessage()+")").initCause(ex);
  /external/chromium_org/third_party/skia/include/ports/
SkFontMgr_indirect.h 63 struct DataEntry {
68 DataEntry() { }
71 DataEntry(DataEntry& that)
81 ~DataEntry() {
93 mutable SkTArray<DataEntry> fDataCache;
  /external/skia/include/ports/
SkFontMgr_indirect.h 63 struct DataEntry {
68 DataEntry() { }
71 DataEntry(DataEntry& that)
81 ~DataEntry() {
93 mutable SkTArray<DataEntry> fDataCache;
  /external/chromium_org/third_party/WebKit/Tools/TestResultServer/model/
datastorefile.py 47 class DataEntry(db.Model):
76 # If it is emtpy, create new DataEntry.
101 get_futures = [DataEntry.get_async(k) for k in keys]
106 delete_futures.append(DataEntry.delete_async(result.key()))
140 chunk.entry_future = DataEntry.get_async(chunk.reused_key)
142 chunk.data_entry = DataEntry()
151 data_entry = DataEntry()
182 data_futures = [(k, DataEntry.get_async(k)) for k in self._convert_blob_keys(self.data_keys)]
datastorefile_test.py 81 nchunks = datastorefile.DataEntry.all().count()
88 nchunks = datastorefile.DataEntry.all().count()
94 nchunks = datastorefile.DataEntry.all().count()
99 nchunks = datastorefile.DataEntry.all().count()

Completed in 1152 milliseconds

1 2