• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/asm/

Lines Matching refs:index

54      * The start index of each constant pool item in {@link #b b}, plus one.
77 * Start index of the class header information (access, name...) in
109 int index = off + 10;
111 items[i] = index + 1;
112 int tag = b[index];
129 size = 3 + readUnsignedShort(index + 1);
140 index += size;
144 header = index;
158 int index = items[i];
159 int tag = b[index - 1];
166 nameType = items[readUnsignedShort(index + 2)];
168 readClass(index, buf),
174 item.set(readInt(index));
178 item.set(Float.intBitsToFloat(readInt(index)));
183 readUTF8(index, buf),
184 readUTF8(index + 2, buf),
189 item.set(readLong(index));
194 item.set(Double.longBitsToDouble(readLong(index)));
201 index = items[i];
202 s = strings[i] = readUTF(index + 2,
203 readUnsignedShort(index),
213 item.set(tag, readUTF8(index, buf), null, null);
226 classWriter.index = ll;
1098 typeTable[--k] = readUnsignedShort(w + 8); // index
1109 int index = readUnsignedShort(w + 8);
1114 && typeTable[a + 1] == index)
1126 index);
1213 * including the value name constant pool index</i>).
1373 * @param off index of the first byte of the attribute's content in
1381 * @param codeOff index of the first byte of code's attribute content in
1412 * Returns the start index of the constant pool item in {@link #b b}, plus
1416 * @param item the index a constant pool item.
1417 * @return the start index of the constant pool item in {@link #b b}, plus
1429 * @param index the start index of the value to be read in {@link #b b}.
1432 public int readByte(final int index) {
1433 return b[index] & 0xFF;
1441 * @param index the start index of the value to be read in {@link #b b}.
1444 public int readUnsignedShort(final int index) {
1446 return ((b[index] & 0xFF) << 8) | (b[index + 1] & 0xFF);
1454 * @param index the start index of the value to be read in {@link #b b}.
1457 public short readShort(final int index) {
1459 return (short) (((b[index] & 0xFF) << 8) | (b[index + 1] & 0xFF));
1467 * @param index the start index of the value to be read in {@link #b b}.
1470 public int readInt(final int index) {
1472 return ((b[index] & 0xFF) << 24) | ((b[index + 1] & 0xFF) << 16)
1473 | ((b[index + 2] & 0xFF) << 8) | (b[index + 3] & 0xFF);
1481 * @param index the start index of the value to be read in {@link #b b}.
1484 public long readLong(final int index) {
1485 long l1 = readInt(index);
1486 long l0 = readInt(index + 4) & 0xFFFFFFFFL;
1495 * @param index the start index of an unsigned short value in {@link #b b},
1496 * whose value is the index of an UTF8 constant pool item.
1501 public String readUTF8(int index, final char[] buf) {
1502 int item = readUnsignedShort(index);
1507 index = items[item];
1508 return strings[item] = readUTF(index + 2, readUnsignedShort(index), buf);
1514 * @param index start offset of the UTF8 string to be read.
1520 private String readUTF(int index, int utfLen, char[] buf) {
1521 int endIndex = index + utfLen;
1525 while (index < endIndex) {
1526 c = b[index++] & 0xFF;
1542 d = b[index++];
1547 d = b[index++];
1548 e = b[index++];
1562 * @param index the start index of an unsigned short value in {@link #b b},
1563 * whose value is the index of a class constant pool item.
1568 public String readClass(final int index, final char[] buf) {
1569 // computes the start index of the CONSTANT_Class item in b
1572 return readUTF8(items[readUnsignedShort(index)], buf);
1580 * @param item the index of a constant pool item.
1588 int index = items[item];
1589 switch (b[index - 1]) {
1591 return new Integer(readInt(index));
1593 return new Float(Float.intBitsToFloat(readInt(index)));
1595 return new Long(readLong(index));
1597 return new Double(Double.longBitsToDouble(readLong(index)));
1599 String s = readUTF8(index, buf);
1603 return readUTF8(index, buf);