/external/proguard/src/proguard/io/ |
D | JarWriter.java | 75 public boolean createDirectory(DataEntry dataEntry) throws IOException in createDirectory() argument 78 if (!prepareEntry(dataEntry)) in createDirectory() 87 String name = dataEntry.getName() + ClassConstants.PACKAGE_SEPARATOR; in createDirectory() 108 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException in getOutputStream() argument 110 return getOutputStream(dataEntry, null); in getOutputStream() 114 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() argument 118 if (!prepareEntry(dataEntry)) in getOutputStream() 124 if (!dataEntry.equals(currentDataEntry)) in getOutputStream() 130 String name = dataEntry.getName(); in getOutputStream() 138 throw new IOException("Duplicate zip entry ["+dataEntry+"]"); in getOutputStream() [all …]
|
D | RenamedDataEntry.java | 33 private final DataEntry dataEntry; field in RenamedDataEntry 37 public RenamedDataEntry(DataEntry dataEntry, in RenamedDataEntry() argument 40 this.dataEntry = dataEntry; in RenamedDataEntry() 55 return dataEntry.isDirectory(); in isDirectory() 61 return dataEntry.getInputStream(); in getInputStream() 67 dataEntry.closeInputStream(); in closeInputStream() 73 return dataEntry.getParent(); in getParent() 81 return name + " == " + dataEntry; in toString()
|
D | CascadingDataEntryWriter.java | 56 public boolean createDirectory(DataEntry dataEntry) throws IOException in createDirectory() argument 60 return dataEntryWriter1.createDirectory(dataEntry) || in createDirectory() 61 dataEntryWriter2.createDirectory(dataEntry); in createDirectory() 65 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException in getOutputStream() argument 67 return getOutputStream(dataEntry, null); in getOutputStream() 71 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() argument 76 dataEntryWriter1.getOutputStream(dataEntry, finisher); in getOutputStream() 82 dataEntryWriter2.getOutputStream(dataEntry, finisher); in getOutputStream()
|
D | DataEntryObfuscator.java | 63 public void read(DataEntry dataEntry) throws IOException in read() argument 66 dataEntryReader.read(renamedDataEntry(dataEntry)); in read() 73 private DataEntry renamedDataEntry(DataEntry dataEntry) in renamedDataEntry() argument 75 String dataEntryName = dataEntry.getName(); in renamedDataEntry() 107 return new RenamedDataEntry(dataEntry, newDataEntryName); in renamedDataEntry() 112 return dataEntry; in renamedDataEntry() 137 return new RenamedDataEntry(dataEntry, newDataEntryName); in renamedDataEntry() 142 return dataEntry; in renamedDataEntry() 148 return dataEntry; in renamedDataEntry()
|
D | FilteredDataEntryWriter.java | 77 public boolean createDirectory(DataEntry dataEntry) throws IOException in createDirectory() argument 80 DataEntryWriter dataEntryWriter = dataEntryFilter.accepts(dataEntry) ? in createDirectory() 86 dataEntryWriter.createDirectory(dataEntry); in createDirectory() 90 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException in getOutputStream() argument 92 return getOutputStream(dataEntry, null); in getOutputStream() 96 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() argument 100 DataEntryWriter dataEntryWriter = dataEntryFilter.accepts(dataEntry) ? in getOutputStream() 106 dataEntryWriter.getOutputStream(dataEntry, finisher) : in getOutputStream()
|
D | DirectoryWriter.java | 58 public boolean createDirectory(DataEntry dataEntry) throws IOException in createDirectory() argument 67 File directory = getFile(dataEntry); in createDirectory() 78 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException in getOutputStream() argument 80 return getOutputStream(dataEntry, null); in getOutputStream() 84 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() argument 87 File file = getFile(dataEntry); in getOutputStream() 134 private File getFile(DataEntry dataEntry) in getFile() argument 140 dataEntry.getName().replace(ClassConstants.PACKAGE_SEPARATOR, in getFile()
|
D | ParentDataEntryWriter.java | 50 public boolean createDirectory(DataEntry dataEntry) throws IOException in createDirectory() argument 52 return getOutputStream(dataEntry) != null; in createDirectory() 56 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException in getOutputStream() argument 58 return getOutputStream(dataEntry, null); in getOutputStream() 62 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() argument 65 return dataEntryWriter.getOutputStream(dataEntry.getParent(), in getOutputStream()
|
D | DataEntryRenamer.java | 76 public void read(DataEntry dataEntry) throws IOException in read() argument 78 String name = dataEntry.getName(); in read() 81 if (dataEntry.isDirectory() && in read() 91 if (dataEntry.isDirectory() && in read() 97 renamedDataEntryReader.read(new RenamedDataEntry(dataEntry, newName)); in read() 101 missingDataEntryReader.read(dataEntry); in read()
|
D | ClassReader.java | 71 public void read(DataEntry dataEntry) throws IOException in read() argument 76 InputStream inputStream = dataEntry.getInputStream(); in read() 98 …if (!dataEntry.getName().replace(File.pathSeparatorChar, ClassConstants.PACKAGE_SEPARATOR).equals(… in read() 102 …"Warning: class [" + dataEntry.getName() + "] unexpectedly contains class [" + ClassUtil.externalC… in read() 108 dataEntry.closeInputStream(); in read() 112 …throw (IOException)new IOException("Can't process class ["+dataEntry.getName()+"] ("+ex.getMessage… in read()
|
D | ClassRewriter.java | 51 public void read(DataEntry dataEntry) throws IOException in read() argument 53 String inputName = dataEntry.getName(); in read() 64 … dataEntry = new RenamedDataEntry(dataEntry, newClassName + ClassConstants.CLASS_FILE_EXTENSION); in read() 68 OutputStream outputStream = dataEntryWriter.getOutputStream(dataEntry); in read()
|
D | DataEntryCopier.java | 51 public void read(DataEntry dataEntry) throws IOException in read() argument 55 if (dataEntry.isDirectory()) in read() 57 dataEntryWriter.createDirectory(dataEntry); in read() 62 OutputStream outputStream = dataEntryWriter.getOutputStream(dataEntry); in read() 65 InputStream inputStream = dataEntry.getInputStream(); in read() 75 dataEntry.closeInputStream(); in read() 82 …System.err.println("Warning: can't write resource [" + dataEntry.getName() + "] (" + ex.getMessage… in read() 86 …throw (IOException)new IOException("Can't write resource ["+dataEntry.getName()+"] ("+ex.getMessag… in read()
|
D | JarReader.java | 48 public void read(DataEntry dataEntry) throws IOException in read() argument 50 ZipInputStream zipInputStream = new ZipInputStream(dataEntry.getInputStream()); in read() 65 dataEntryReader.read(new ZipDataEntry(dataEntry, in read() 72 dataEntry.closeInputStream(); in read()
|
D | DataEntryDirectoryFilter.java | 34 public boolean accepts(DataEntry dataEntry) in accepts() argument 36 return dataEntry != null && dataEntry.isDirectory(); in accepts()
|
D | DataEntryParentFilter.java | 47 public boolean accepts(DataEntry dataEntry) in accepts() argument 49 return dataEntry != null && dataEntryFilter.accepts(dataEntry.getParent()); in accepts()
|
D | DataEntryNameFilter.java | 50 public boolean accepts(DataEntry dataEntry) in accepts() argument 52 return dataEntry != null && stringMatcher.matches(dataEntry.getName()); in accepts()
|
D | DataEntryWriter.java | 40 public boolean createDirectory(DataEntry dataEntry) throws IOException; in createDirectory() argument 51 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException; in getOutputStream() argument 65 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() argument
|
D | FilteredDataEntryReader.java | 78 public void read(DataEntry dataEntry) in read() argument 81 DataEntryReader dataEntryReader = dataEntryFilter.accepts(dataEntry) ? in read() 87 dataEntryReader.read(dataEntry); in read()
|
D | DataEntryFilter.java | 37 public boolean accepts(DataEntry dataEntry); in accepts() argument
|
D | DataEntryReader.java | 37 public void read(DataEntry dataEntry) throws IOException; in read() argument
|
/external/icu/icu4c/source/common/ |
D | uresbund.cpp | 1110 UResourceDataEntry *dataEntry = mainRes->fData; in init_resb_result() local 1125 r = dataEntry->fData.rootRes; in init_resb_result() 1128 r = res_findResource(&(dataEntry->fData), r, &myPath, &temp); in init_resb_result() 1130 …resB = init_resb_result(&(dataEntry->fData), r, temp, -1, dataEntry, result, noAlias+1, resB, stat… in init_resb_result() 1134 dataEntry = result->fData; in init_resb_result() 1140 dataEntry = dataEntry->fParent; in init_resb_result() 1143 } while(r == RES_BOGUS && dataEntry != NULL); in init_resb_result() 1856 UResourceDataEntry *dataEntry = resB->fData; in ures_getByKeyWithFallback() local 1861 … while(res == RES_BOGUS && dataEntry->fParent != NULL) { /* Otherwise, we'll look in parents */ in ures_getByKeyWithFallback() 1862 dataEntry = dataEntry->fParent; in ures_getByKeyWithFallback() [all …]
|