Searched defs:buf (Results 76 - 100 of 549) sorted by relevance

1234567891011>>

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/sparc/
H A DSPARCStoreInstruction.java49 private String defaultInitDescription(StringBuffer buf) { argument
50 buf.append(getName());
51 buf.append(spaces);
52 buf.append(register.toString());
53 buf.append(comma);
54 buf.append(address.toString());
55 return buf.toString();
59 StringBuffer buf = new StringBuffer();
63 buf.append("clr");
66 buf
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DByteArrayInputStream.java48 * by the creator of the stream. Elements <code>buf[0]</code>
49 * through <code>buf[count-1]</code> are the
51 * stream; element <code>buf[pos]</code> is
54 protected byte buf[]; field in class:ByteArrayInputStream
61 * will be <code>buf[pos]</code>.
84 * and not larger than the length of <code>buf</code>.
86 * the last byte within <code>buf</code> that
93 * so that it uses <code>buf</code> as its
99 * <code>buf</code>.
101 * @param buf th
103 ByteArrayInputStream(byte buf[]) argument
123 ByteArrayInputStream(byte buf[], int offset, int length) argument
[all...]
H A DStringWriter.java43 private StringBuffer buf; field in class:StringWriter
50 buf = new StringBuffer();
51 lock = buf;
69 buf = new StringBuffer(initialSize);
70 lock = buf;
77 buf.append((char) c);
94 buf.append(cbuf, off, len);
101 buf.append(str);
112 buf.append(str.substring(off, off + len));
210 return buf
[all...]
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DDeflaterOutputStream.java51 protected byte[] buf; field in class:DeflaterOutputStream
89 this.buf = new byte[size];
186 byte[] buf = new byte[1];
187 buf[0] = (byte)(b & 0xff);
188 write(buf, 0, 1);
251 int len = def.deflate(buf, 0, buf.length);
253 out.write(buf, 0, len);
275 while ((len = def.deflate(buf, 0, buf
[all...]
H A DInflaterOutputStream.java49 protected final byte[] buf; field in class:InflaterOutputStream
116 buf = new byte[bufLen];
154 n = inf.inflate(buf, 0, buf.length);
160 out.write(buf, 0, n);
253 n = inf.inflate(buf, 0, buf.length);
255 out.write(buf, 0, n);
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DdirtyCardQueue.hpp58 // Apply the closure to all elements of "buf", down to "index"
64 void** buf, size_t index, size_t sz,
68 void set_buf(void **buf) {_buf = buf;} argument
81 bool mut_process_buffer(void** buf);
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/parser/
H A DFileReadBuffer.java55 public synchronized void get(long pos, byte[] buf) throws IOException { argument
57 file.read(buf);
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/hotspot/src/cpu/zero/vm/
H A DinterpreterRT_zero.cpp156 intptr_t *buf = (intptr_t *) stack->alloc(required_words * wordSize); variable
157 SlowSignatureHandlerGenerator sshg(methodHandle(thread, method), buf); variable
/openjdk7/hotspot/src/os/bsd/vm/
H A DvmError_bsd.cpp37 void VMError::show_message_box(char *buf, int buflen) { argument
40 error_string(buf, buflen);
41 int len = (int)strlen(buf);
42 char *p = &buf[len];
53 yes = os::message_box("Unexpected Error", buf);
57 jio_snprintf(buf, buflen, "gdb /proc/%d/exe %d",
60 os::fork_and_exec(buf);
/openjdk7/hotspot/src/os/linux/vm/
H A DvmError_linux.cpp37 void VMError::show_message_box(char *buf, int buflen) { argument
40 error_string(buf, buflen);
41 int len = (int)strlen(buf);
42 char *p = &buf[len];
53 yes = os::message_box("Unexpected Error", buf);
57 jio_snprintf(buf, buflen, "gdb /proc/%d/exe %d",
60 os::fork_and_exec(buf);
/openjdk7/hotspot/src/os/solaris/vm/
H A DvmError_solaris.cpp35 void VMError::show_message_box(char *buf, int buflen) { argument
38 error_string(buf, buflen);
39 int len = (int)strlen(buf);
40 char *p = &buf[len];
50 yes = os::message_box("Unexpected Error", buf);
54 jio_snprintf(buf, buflen, "dbx - %d", os::current_process_id());
56 os::fork_and_exec(buf);
/openjdk7/hotspot/src/os/windows/vm/
H A Ddecoder_windows.cpp148 char buf[MAX_PATH]; variable
149 if (decode(addr, buf, sizeof(buf), NULL)) {
150 _can_decode_in_vm = !strcmp(buf, "Decoder::demangle");
169 bool WindowsDecoder::decode(address addr, char *buf, int buflen, int* offset, const char* modulepath) {
178 if (buf != NULL) {
179 if (demangle(pSymbol->Name, buf, buflen)) {
180 jio_snprintf(buf, buflen, "%s", pSymbol->Name);
187 if (buf != NULL && buflen > 0) buf[
[all...]
H A Ddecoder_windows.hpp48 bool demangle(const char* symbol, char *buf, int buflen);
49 bool decode(address addr, char *buf, int buflen, int* offset, const char* modulepath = NULL);
50 bool decode(address addr, char *buf, int buflen, int* offset, const void* base) { argument
/openjdk7/hotspot/src/share/vm/utilities/
H A Ddecoder.cpp83 bool Decoder::decode(address addr, char* buf, int buflen, int* offset, const char* modulepath) { argument
91 return decoder->decode(addr, buf, buflen, offset, modulepath);
94 bool Decoder::decode(address addr, char* buf, int buflen, int* offset, const void* base) { argument
102 return decoder->decode(addr, buf, buflen, offset, base);
106 bool Decoder::demangle(const char* symbol, char* buf, int buflen) { argument
113 return decoder->demangle(symbol, buf, buflen);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DQPDecoderStream.java145 * @param buf the buffer into which the data is read.
153 public int read(byte[] buf, int off, int len) throws IOException { argument
161 buf[off+i] = (byte)c;
/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);
H A DMemoryData.java47 MemoryData(ByteBuffer buf, MIMEConfig config) { argument
48 data = buf.array();
49 len = buf.limit();
71 * @param buf
75 public Data createNext(DataHead dataHead, ByteBuffer buf) { argument
97 return new FileData(dataHead.dataFile, buf);
99 return new MemoryData(buf, config);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/
H A DBase64Encoder.java55 char[] buf = new char[((len+2)/3)*4];
56 int ptr = print(input,offset,len,buf,0);
57 assert ptr==buf.length;
58 return new String(buf);
70 public static int print(byte[] input, int offset, int len, char[] buf, int ptr) { argument
74 buf[ptr++] = encode(input[i]>>2);
75 buf[ptr++] = encode(((input[i])&0x3)<<4);
76 buf[ptr++] = '=';
77 buf[ptr++] = '=';
80 buf[pt
[all...]
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DRenderQueue.java123 RenderBuffer buf = rq.getBuffer();
125 buf.putInt(DISPOSE_CONFIG);
126 buf.putLong(pConfigInfo);
145 private native void flushBuffer(long buf, int limit, Runnable task); argument
149 int limit = buf.position();
152 flushBuffer(buf.getAddress(), limit, task);
155 buf.clear();
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DDatagramDispatcher.c55 WSABUF buf; local
58 buf.buf = (char *)address;
59 buf.len = (u_long)len;
63 &buf, /* pointers to the buffers */
101 bufs[i].buf = (char *)iovp[i].iov_base;
143 WSABUF buf; local
146 buf.buf = (char *)address;
147 buf
[all...]
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DLotsOfWrites.java59 ByteBuffer buf = ByteBuffer.allocate(n);
61 buf.put(nextByte++);
63 buf.flip();
64 return buf;
92 ByteBuffer buf = genNextBuffer();
93 channel.write(buf, 0L, buf, this);
97 public void completed(Integer nwrote, ByteBuffer buf) { argument
99 if (!buf.hasRemaining()) {
106 buf
112 failed(Throwable exc, ByteBuffer buf) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/utility/
H A Drect.c36 int BitmapToYXBandedRectangles(int bitsPerPixel, int width, int height, unsigned char * buf, RECT_T * outBuf) argument
53 unsigned char *pSrc = (unsigned char *) buf + j * alignedWidth;
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DSHA.java121 void implCompress(byte[] buf, int ofs) { argument
122 b2iBig64(buf, ofs, W);
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DReplaceableUCharacterIterator.java69 * @param buf buffer of text on which the iterator will be based
71 public ReplaceableUCharacterIterator(StringBuffer buf){ argument
72 if(buf==null){
75 this.replaceable = new ReplaceableString(buf);

Completed in 76 milliseconds

1234567891011>>