Searched refs:buf (Results 26 - 50 of 1249) sorted by relevance

1234567891011>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DByteArrayDataSource.java42 private final byte[] buf; field in class:ByteArrayDataSource
46 public ByteArrayDataSource(byte[] buf, String contentType) { argument
47 this(buf,0,buf.length,contentType);
49 public ByteArrayDataSource(byte[] buf, int length, String contentType) { argument
50 this(buf,0,length,contentType);
52 public ByteArrayDataSource(byte[] buf, int start, int length, String contentType) { argument
53 this.buf = buf;
66 return new ByteArrayInputStream(buf,star
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/
H A DBytecodeJmp.java38 StringBuffer buf = new StringBuffer();
39 buf.append(getJavaBytecodeName());
40 buf.append(spaces);
41 buf.append(Integer.toString(getTargetBCI()));
42 return buf.toString();
H A DBytecodeGetPut.java54 StringBuffer buf = new StringBuffer();
55 buf.append(getJavaBytecodeName());
56 buf.append(spaces);
57 buf.append('#');
58 buf.append(Integer.toString(indexForFieldOrMethod()));
59 buf.append(" [Field ");
62 buf.append(sigBuf.toString().replace('/', '.'));
63 buf.append(spaces);
64 buf.append(name().asString());
65 buf
[all...]
H A DBytecodeWithKlass.java49 StringBuffer buf = new StringBuffer();
50 buf.append(getJavaBytecodeName());
51 buf.append(spaces);
52 buf.append('#');
53 buf.append(Integer.toString(index()));
54 buf.append(spaces);
55 buf.append("[Class ");
56 buf.append(getClassName().asString().replace('/', '.'));
57 buf.append(']');
59 buf
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/
H A DType.java187 private final char[] buf; field in class:Type
190 * The offset of the internal name of this Java type in {@link #buf buf}.
218 * @param buf a buffer containing the descriptor of the previous type.
222 private Type(final int sort, final char[] buf, final int off, final int len) argument
225 this.buf = buf;
247 char[] buf = internalName.toCharArray();
248 return new Type(buf[0] == '[' ? ARRAY : OBJECT, buf,
367 getType(final char[] buf, final int off) argument
544 getDescriptor(final StringBuffer buf) argument
653 getDescriptor(final StringBuffer buf, final Class c) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/sparc/
H A DSPARCFPArithmeticInstruction.java43 StringBuffer buf = new StringBuffer();
44 buf.append(getName());
45 buf.append(spaces);
46 buf.append(rs1.toString());
47 buf.append(comma);
48 buf.append(rs2.toString());
49 buf.append(comma);
50 buf.append(rd.toString());
51 return buf.toString();
H A DSPARCSethiInstruction.java47 StringBuffer buf = new StringBuffer();
48 buf.append(getName());
49 buf.append(spaces);
50 buf.append("%hi(0x");
51 buf.append(Integer.toHexString(val));
52 buf.append(')');
53 buf.append(comma);
54 buf.append(register.toString());
55 return buf.toString();
H A DSPARCV9FMOVrInstruction.java43 StringBuffer buf = new StringBuffer();
44 buf.append(getName());
45 buf.append(spaces);
46 buf.append(rs1.toString());
47 buf.append(comma);
48 buf.append(rs.toString());
49 buf.append(comma);
50 buf.append(rd.toString());
51 return buf.toString();
H A DSPARCV9MOVccInstruction.java42 StringBuffer buf = new StringBuffer();
43 buf.append(getName());
44 buf.append(spaces);
45 buf.append(SPARCV9ConditionFlags.getFlagName(conditionFlag));
46 buf.append(comma);
47 buf.append(getOperand2String());
48 buf.append(comma);
49 buf.append(rd.toString());
50 return buf.toString();
H A DSPARCV9MOVrInstruction.java43 StringBuffer buf = new StringBuffer();
44 buf.append(getName());
45 buf.append(spaces);
46 buf.append(rs1.toString());
47 buf.append(comma);
48 buf.append(getOperand2String());
49 buf.append(comma);
50 buf.append(rd.toString());
51 return buf.toString();
H A DSPARCFormat3AInstruction.java45 StringBuffer buf = new StringBuffer();
47 buf.append(operand2.toString());
50 buf.append("0x");
51 buf.append(Integer.toHexString(number.intValue()));
53 return buf.toString();
57 StringBuffer buf = new StringBuffer();
58 buf.append(getName());
59 buf.append(spaces);
60 buf.append(rs1.toString());
61 buf
[all...]
H A DSPARCRegisterIndirectAddress.java50 StringBuffer buf = new StringBuffer();
51 buf.append('[');
52 buf.append(getBase().toString());
55 buf.append(" + ");
56 buf.append(register.toString());
60 buf.append(" - 0x");
63 buf.append(" + 0x");
65 buf.append(Long.toHexString(disp));
67 buf.append(']');
68 return buf
[all...]
H A DSPARCUnimpInstruction.java52 StringBuffer buf = new StringBuffer();
53 buf.append(getName());
54 buf.append(spaces);
55 buf.append("0x");
56 buf.append(Integer.toHexString(const22));
57 return buf.toString();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/
H A DX86DirectAddress.java43 StringBuffer buf = new StringBuffer();
45 buf.append("0x");
46 buf.append(Long.toHexString(getSegment()));
47 buf.append(":");
49 buf.append("[");
50 buf.append("0x");
51 buf.append(Long.toHexString(getValue()));
52 buf.append("]");
54 return buf.toString();
H A DX86FPLoadInstruction.java39 StringBuffer buf = new StringBuffer();
40 buf.append(getPrefixString());
41 buf.append(getName());
42 buf.append(spaces);
43 buf.append(source.toString());
44 return buf.toString();
H A DX86FPStoreInstruction.java39 StringBuffer buf = new StringBuffer();
40 buf.append(getPrefixString());
41 buf.append(getName());
42 buf.append(spaces);
43 buf.append(dest.toString());
44 return buf.toString();
/openjdk7/jdk/src/share/classes/java/net/
H A DDatagramPacket.java58 byte[] buf; field in class:DatagramPacket
70 * <code>buf.length</code>.
72 * @param buf buffer for holding the incoming datagram.
78 public DatagramPacket(byte buf[], int offset, int length) { argument
79 setData(buf, offset, length);
89 * <code>buf.length</code>.
91 * @param buf buffer for holding the incoming datagram.
94 public DatagramPacket(byte buf[], int length) { argument
95 this (buf, 0, length);
103 * <code>buf
114 DatagramPacket(byte buf[], int offset, int length, InetAddress address, int port) argument
137 DatagramPacket(byte buf[], int offset, int length, SocketAddress address) argument
155 DatagramPacket(byte buf[], int length, InetAddress address, int port) argument
173 DatagramPacket(byte buf[], int length, SocketAddress address) argument
259 setData(byte[] buf, int offset, int length) argument
344 setData(byte[] buf) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/
H A DByteArrayOutputStreamEx.java46 dt.set(buf,count,mimeType);
50 return buf;
58 if(count==buf.length) {
60 byte[] data = new byte[buf.length*2];
61 System.arraycopy(buf,0,data,0,buf.length);
62 buf = data;
65 int sz = is.read(buf,count,buf.length-count);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DFileData.java41 FileData(DataFile file, ByteBuffer buf) { argument
42 this(file, file.writeTo(buf.array(), 0, buf.limit()), buf.limit());
52 byte[] buf = new byte[length];
53 file.read(pointer, buf, 0, length);
54 return buf;
71 public Data createNext(DataHead dataHead, ByteBuffer buf) { argument
72 return new FileData(file, buf);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/
H A DByteArrayOutputStreamEx.java46 dt.set(buf,count,mimeType);
50 return buf;
58 if(count==buf.length) {
60 byte[] data = new byte[buf.length*2];
61 System.arraycopy(buf,0,data,0,buf.length);
62 buf = data;
65 int sz = is.read(buf,count,buf.length-count);
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DBigReadWrite.java47 ByteBuffer buf = ByteBuffer.allocate(900);
48 fc.write(buf);
49 buf = ByteBuffer.allocate(950);
50 fc.write(buf);
51 buf = ByteBuffer.allocate(975);
52 fc.write(buf);
53 buf = ByteBuffer.allocate(4419000);
58 fc.write(buf);
59 buf.rewind();
/openjdk7/jdk/src/share/native/java/util/zip/
H A DCRC32.c39 Bytef buf[1]; local
41 buf[0] = (Bytef)b;
42 return crc32(crc, buf, 1);
49 Bytef *buf = (*env)->GetPrimitiveArrayCritical(env, b, 0); local
50 if (buf) {
51 crc = crc32(crc, buf + off, len);
52 (*env)->ReleasePrimitiveArrayCritical(env, b, buf, 0);
57 JNIEXPORT jint ZIP_CRC32(jint crc, const jbyte *buf, jint len) argument
59 return crc32(crc, (Bytef*)buf, len);
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/parser/
H A DMappedReadBuffer.java46 private MappedByteBuffer buf; field in class:MappedReadBuffer
48 MappedReadBuffer(MappedByteBuffer buf) { argument
49 this.buf = buf;
59 MappedByteBuffer buf;
61 buf = ch.map(FileChannel.MapMode.READ_ONLY, 0, size);
63 return new MappedReadBuffer(buf);
82 buf.position((int)pos);
87 buf.get(res);
92 return buf
[all...]
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DGZIPOutputStream.java138 * @param buf the data to be written
143 public synchronized void write(byte[] buf, int off, int len) argument
146 super.write(buf, off, len);
147 crc.update(buf, off, len);
160 int len = def.deflate(buf, 0, buf.length);
161 if (def.finished() && len <= buf.length - TRAILER_SIZE) {
163 writeTrailer(buf, len);
165 out.write(buf, 0, len);
169 out.write(buf,
201 writeTrailer(byte[] buf, int offset) argument
210 writeInt(int i, byte[] buf, int offset) argument
219 writeShort(int s, byte[] buf, int offset) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/
H A DHTMLGenerator.java48 StringBuffer buf = new StringBuffer(); field in class:HTMLGenerator.Formatter
55 buf.append(s);
59 buf.append(s);
63 buf.append(s);
67 buf.append(s);
71 buf.append(s);
75 return buf;
79 return buf.toString();
135 if (!html) buf.append("\n");
224 Formatter buf
951 private Formatter buf; field in class:HTMLGenerator.RawCodeVisitor
954 RawCodeVisitor(Formatter buf) argument
1054 genScope(Formatter buf, Formatter tabs, ScopeDesc sd) argument
1099 genScObjInfo(Formatter buf, Formatter tabs, ScopeDesc sd) argument
[all...]

Completed in 99 milliseconds

1234567891011>>