Lines Matching refs:section
129 Section section = getSection(type); in readMap() local
133 if ((section.size != 0 && section.size != size) in readMap()
134 || (section.off != -1 && section.off != offset)) { in readMap()
138 section.size = size; in readMap()
139 section.off = offset; in readMap()
141 if (previous != null && previous.off > section.off) { in readMap()
142 throw new DexException("Map is unsorted at " + previous + ", " + section); in readMap()
145 previous = section; in readMap()
153 Section section = sections[i]; in computeSizesFromOffsets() local
154 if (section.off == -1) { in computeSizesFromOffsets()
157 if (section.off > end) { in computeSizesFromOffsets()
158 throw new DexException("Map is unsorted at " + section); in computeSizesFromOffsets()
160 section.byteCount = end - section.off; in computeSizesFromOffsets()
161 end = section.off; in computeSizesFromOffsets()
166 for (Section section : sections) { in getSection()
167 if (section.type == type) { in getSection()
168 return section; in getSection()
202 for (Section section : sections) { in writeMap()
203 if (section.exists()) { in writeMap()
209 for (Section section : sections) { in writeMap()
210 if (section.exists()) { in writeMap()
211 out.writeShort(section.type); in writeMap()
213 out.writeInt(section.size); in writeMap()
214 out.writeInt(section.off); in writeMap()
234 public int compareTo(Section section) { in compareTo() argument
235 if (off != section.off) { in compareTo()
236 return off < section.off ? -1 : 1; in compareTo()