Lines Matching refs:buf
109 return buf[pos++] & 0xFF;
617 char[] buf = new char[maxChars];
655 System.arraycopy(suffixChars[i], 0, buf, prefix, suffix);
657 cpMap[i] = ConstantPool.getUtf8Entry(new String(buf, 0, prefix+suffix));
767 byte[] buf = new byte[1<<16];
783 int nr = buf.length;
785 nr = file_bits.getInputStream().read(buf, 0, nr);
787 file.addBytes(buf, 0, nr);
1589 ByteArrayOutputStream buf = new ByteArrayOutputStream();
1612 buf.reset();
1624 }, buf);
1626 j.set(a.addContent(buf.toByteArray(), fixups));
1790 byte[] buf = new byte[1<<12];
1798 if (i + 10 > buf.length) buf = realloc(buf);
1799 buf[i] = (byte)bc;
1803 buf[++i] = (byte)bc;
1870 // Transfer from buf to a more permanent place:
1871 c.bytes = realloc(buf, i);
1891 byte[] buf = new byte[1<<12];
1914 int pc = 0; // fill pointer in buf; actual bytecode PC
1923 if (pc + 10 > buf.length) buf = realloc(buf);
1928 buf[pc++] = (byte) bc;
1937 while ((pc + 30 + caseCount*8) > buf.length)
1938 buf = realloc(buf);
1939 buf[pc++] = (byte) bc;
1941 Arrays.fill(buf, pc, pc+30, (byte)0);
1943 Instruction.at(buf, curPC);
1960 buf[pc++] = (byte) bc;
1965 Instruction.setShort(buf, pc, local); pc += 2;
1966 Instruction.setShort(buf, pc, delta); pc += 2;
1969 buf[pc++] = (byte)local;
1970 buf[pc++] = (byte)delta;
1977 buf[pc++] = (byte) bc;
1978 Instruction.setShort(buf, pc, val); pc += 2;
1985 buf[pc++] = (byte) bc;
1986 buf[pc++] = (byte) val;
2003 buf[pc+0] = buf[pc+1] = 0;
2012 while ((pc + size) > buf.length)
2013 buf = realloc(buf);
2015 buf[pc++] = (byte) bc_escbyte.getByte();
2033 buf[pc++] = (byte) origBC;
2038 buf[pc+0] = buf[pc+1] = 0;
2064 buf[pc++] = (byte) _aload_0;
2069 buf[pc++] = (byte) origBC;
2071 buf[pc+0] = buf[pc+1] = 0;
2077 buf[pc++] = (byte) bc;
2082 //Instruction.at(buf, curPC).setBranchLabel(getLabel(bc_label, code, curPC));
2083 while (pc < nextPC) buf[pc++] = 0;
2122 buf[pc++] = (byte) origBC;
2130 buf[pc+0] = buf[pc+1] = 0;
2135 buf[pc++] = (byte) val;
2138 buf[pc++] = (byte)( 1 + argSize );
2139 buf[pc++] = 0;
2145 buf[pc++] = (byte) bc;
2148 Instruction.setShort(buf, pc, local);
2152 Instruction.setShort(buf, pc, iVal);
2156 Instruction.setByte(buf, pc, local);
2160 Instruction.setByte(buf, pc, iVal);
2172 buf[pc++] = (byte) bc;
2178 code.setBytes(realloc(buf, pc));