Lines Matching refs:offset
135 * Returns the offset corresponding to this label. This offset is computed
140 * @return the offset corresponding to this label.
145 throw new IllegalStateException("Label offset position has not been resolved yet");
152 * position of the label is known, the offset is computed and written
153 * directly. Otherwise, a null offset is written and a new forward reference
191 * yet. For backward references, the offset of the reference can be, and
195 * position will be used to compute the offset of this forward
197 * @param referencePosition the position where the offset for this forward
230 * small to store the offset. In such a case the corresponding jump
232 * opcodes) using an unsigned two bytes offset. These pseudo
251 int offset;
253 offset = position - source;
254 if (offset < Short.MIN_VALUE || offset > Short.MAX_VALUE) {
259 * jump instruction opcodes, except that the 2 bytes offset
274 data[reference++] = (byte) (offset >>> 8);
275 data[reference] = (byte) offset;
277 offset = position + source + 1;
278 data[reference++] = (byte) (offset >>> 24);
279 data[reference++] = (byte) (offset >>> 16);
280 data[reference++] = (byte) (offset >>> 8);
281 data[reference] = (byte) offset;