Lines Matching defs:file
5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
24 * A section of a {@code .dex} file. Each section consists of a list
31 /** {@code non-null;} file that this instance is part of */
32 private final DexFile file;
38 /** {@code >= -1;} offset from the start of the file to this part, or
61 * Constructs an instance. The file offset is initially unknown.
65 * @param file {@code non-null;} file that this instance is part of
69 public Section(String name, DexFile file, int alignment) {
70 if (file == null) {
71 throw new NullPointerException("file == null");
77 this.file = file;
84 * Gets the file that this instance is part of.
86 * @return {@code non-null;} the file
89 return file;
102 * Gets the offset from the start of the file to this part. This
105 * @return {@code >= 0;} the file offset
116 * Sets the file offset. It is only valid to call this method once
120 * file where this for this instance
172 * Returns the absolute file offset, given an offset from the
174 * once this instance has been assigned a file offset (via {@link
178 * @return {@code >= 0;} the corresponding absolute file offset
193 * Returns the absolute file offset of the given item which must
195 * once this instance has been assigned a file offset (via {@link
202 * @return {@code >= 0;} the item's absolute file offset
270 * {@code out} and verifying that either the assigned file
272 * file offset was not previously assigned, in which case it gets