Searched refs:entry (Results 1 - 25 of 30) sorted by relevance

12

/dalvik/dx/src/com/android/multidex/
H A DArchivePathElement.java44 ZipEntry entry = archive.getEntry(path);
45 if (entry == null) {
47 } else if (entry.isDirectory()) {
50 return archive.getInputStream(entry);
H A DClassReferenceListBuilder.java66 ZipEntry entry = entries.nextElement();
67 String name = entry.getName();
76 ZipEntry entry = entries.nextElement();
77 String name = entry.getName();
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DDebugInfoEncoder.java256 // Combined advance PC + position entry
286 LocalList.Entry entry = locals.get(curLocalIdx++);
287 int reg = entry.getRegister();
290 if (entry == prevEntry) {
299 // At this point we have a new entry one way or another.
300 lastEntryForReg[reg] = entry;
302 if (entry.isStart()) {
303 if ((prevEntry != null) && entry.matches(prevEntry)) {
316 emitLocalRestart(entry);
318 emitLocalStart(entry);
611 emitLocalRestart(LocalList.Entry entry) argument
682 emitLocalStart(LocalList.Entry entry) argument
716 emitLocalStartExtended(LocalList.Entry entry) argument
745 emitLocalEnd(LocalList.Entry entry) argument
772 emitPosition(PositionList.Entry entry) argument
[all...]
H A DCatchStructs.java128 * First add a map entry for each unique list. The tree structure
165 CatchHandlerList.Entry entry = list.get(i);
167 typeIds.indexOf(entry.getExceptionType()));
168 out.writeUnsignedLeb128(entry.getHandler());
249 CatchTable.Entry entry = table.get(i);
250 CatchHandlerList handlers = entry.getHandlers();
251 String s1 = subPrefix + "try " + Hex.u2or4(entry.getStart())
252 + ".." + Hex.u2or4(entry.getEnd());
H A DDebugInfoDecoder.java127 * An entry in the resulting postions table
143 * An entry in the resulting locals table
253 // Start off with implicit 'this' entry
467 for (PositionEntry entry : decodedEntries) {
472 if (entry.line == ple.getPosition().getLine()
473 && entry.address == ple.getAddress()) {
480 throw new RuntimeException ("Could not match position entry: "
481 + entry.address + ", " + entry.line);
501 LocalEntry entry
[all...]
H A DMixedItemSection.java254 for (Map.Entry<String, OffsettedItem> entry : index.entrySet()) {
255 String label = entry.getKey();
256 OffsettedItem item = entry.getValue();
/dalvik/dx/src/com/android/dx/dex/file/
H A DDebugInfoEncoder.java264 // Combined advance PC + position entry
294 LocalList.Entry entry = locals.get(curLocalIdx++);
295 int reg = entry.getRegister();
298 if (entry == prevEntry) {
307 // At this point we have a new entry one way or another.
308 lastEntryForReg[reg] = entry;
310 if (entry.isStart()) {
311 if ((prevEntry != null) && entry.matches(prevEntry)) {
324 emitLocalRestart(entry);
326 emitLocalStart(entry);
619 emitLocalRestart(LocalList.Entry entry) argument
690 emitLocalStart(LocalList.Entry entry) argument
724 emitLocalStartExtended(LocalList.Entry entry) argument
753 emitLocalEnd(LocalList.Entry entry) argument
780 emitPosition(PositionList.Entry entry) argument
[all...]
H A DMemberIdsSection.java79 for (Map.Entry<String, AtomicInteger> entry : membersByPackage.entrySet()) {
80 formatter.format("%n%6d %s", entry.getValue().get(), entry.getKey());
H A DCatchStructs.java125 * First add a map entry for each unique list. The tree structure
162 CatchHandlerList.Entry entry = list.get(i);
164 typeIds.indexOf(entry.getExceptionType()));
165 out.writeUleb128(entry.getHandler());
246 CatchTable.Entry entry = table.get(i);
247 CatchHandlerList handlers = entry.getHandlers();
248 String s1 = subPrefix + "try " + Hex.u2or4(entry.getStart())
249 + ".." + Hex.u2or4(entry.getEnd());
H A DDebugInfoDecoder.java138 * An entry in the resulting postions table
154 * An entry in the resulting locals table
263 // Start off with implicit 'this' entry
471 for (PositionEntry entry : decodedEntries) {
476 if (entry.line == ple.getPosition().getLine()
477 && entry.address == ple.getAddress()) {
484 throw new RuntimeException ("Could not match position entry: "
485 + entry.address + ", " + entry.line);
505 LocalEntry entry
[all...]
H A DMixedItemSection.java253 for (Map.Entry<String, OffsettedItem> entry : index.entrySet()) {
254 String label = entry.getKey();
255 OffsettedItem item = entry.getValue();
/dalvik/libdex/
H A DZipArchive.h68 * Find an entry in the Zip archive, by name. Returns NULL if the entry
77 * Uncompress and write an entry to a file descriptor.
82 ZipEntry* entry, int fd) {
83 return ExtractEntryToFile(handle, entry, fd);
81 dexZipExtractEntryToFile(ZipArchiveHandle handle, ZipEntry* entry, int fd) argument
H A DCmdUtils.cpp44 ZipEntry entry; local
67 if (dexZipFindEntry(archive, kFileToExtract, &entry) != 0) {
76 if (dexZipExtractEntryToFile(archive, &entry, fd) != 0) {
/dalvik/dexgen/src/com/android/dexgen/util/
H A DDexJarMaker.java85 JarEntry entry = new JarEntry(DEX_FILE_NAME_IN_JAR);
86 entry.setTime(source.lastModified());
87 target.putNextEntry(entry);
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DCatchHandlerList.java75 Entry entry = get(i);
86 sb.append(entry.getExceptionType().toHuman());
90 sb.append(Hex.u2or4(entry.getHandler()));
115 * Sets the entry at the given index.
126 * Sets the entry at the given index.
129 * @param entry {@code non-null;} the entry to set at {@code n}
131 public void set(int n, Entry entry) { argument
132 set0(n, entry);
H A DLocalList.java31 * List of local variables. Each local variable entry indicates a
64 * Sets the entry at the given index.
67 * @param entry {@code non-null;} the entry to set at {@code n}
69 public void set(int n, Entry entry) { argument
70 set0(n, entry);
89 * Disposition of a local entry.
186 * @param other {@code non-null;} entry to compare to
295 * @param other {@code non-null;} another entry
754 Entry entry;
[all...]
H A DCatchTable.java23 * Table of catch entries. Each entry includes a range of code
54 * Sets the entry at the given index.
57 * @param entry {@code non-null;} the entry to set at {@code n}
59 public void set(int n, Entry entry) { argument
60 set0(n, entry);
H A DPositionList.java136 * Sets the entry at the given index.
139 * @param entry {@code non-null;} the entry to set at {@code n}
141 public void set(int n, Entry entry) { argument
142 set0(n, entry);
149 /** {@code >= 0;} address of this entry */
158 * @param address {@code >= 0;} address of this entry
H A DStdCatchBuilder.java168 * so we need to finish off the last entry and start a new
169 * one. Note: We only emit an entry if it has associated handlers.
172 CatchTable.Entry entry =
175 resultList.add(entry);
184 // Emit an entry for the range that was left hanging.
185 CatchTable.Entry entry =
188 resultList.add(entry);
/dalvik/dx/src/com/android/dx/dex/code/
H A DCatchHandlerList.java75 Entry entry = get(i);
86 sb.append(entry.getExceptionType().toHuman());
90 sb.append(Hex.u2or4(entry.getHandler()));
115 * Sets the entry at the given index.
126 * Sets the entry at the given index.
129 * @param entry {@code non-null;} the entry to set at {@code n}
131 public void set(int n, Entry entry) { argument
132 set0(n, entry);
H A DLocalList.java30 * List of local variables. Each local variable entry indicates a
63 * Sets the entry at the given index.
66 * @param entry {@code non-null;} the entry to set at {@code n}
68 public void set(int n, Entry entry) { argument
69 set0(n, entry);
88 * Disposition of a local entry.
185 * @param other {@code non-null;} entry to compare to
294 * @param other {@code non-null;} another entry
750 Entry entry;
[all...]
H A DCatchTable.java22 * Table of catch entries. Each entry includes a range of code
53 * Sets the entry at the given index.
56 * @param entry {@code non-null;} the entry to set at {@code n}
58 public void set(int n, Entry entry) { argument
59 set0(n, entry);
H A DPositionList.java136 * Sets the entry at the given index.
139 * @param entry {@code non-null;} the entry to set at {@code n}
141 public void set(int n, Entry entry) { argument
142 set0(n, entry);
149 /** {@code >= 0;} address of this entry */
158 * @param address {@code >= 0;} address of this entry
H A DStdCatchBuilder.java167 * so we need to finish off the last entry and start a new
168 * one. Note: We only emit an entry if it has associated handlers.
171 CatchTable.Entry entry =
174 resultList.add(entry);
183 // Emit an entry for the range that was left hanging.
184 CatchTable.Entry entry =
187 resultList.add(entry);
/dalvik/tools/dexdeps/src/com/android/dexdeps/
H A DMain.java139 ZipEntry entry = zipFile.getEntry(CLASSES_DEX);
140 if (entry == null) {
147 InputStream zis = zipFile.getInputStream(entry);

Completed in 292 milliseconds

12