Searched refs:buf (Results 301 - 325 of 1249) sorted by relevance

<<11121314151617181920>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DInputEntity.java59 private char buf []; field in class:InputEntity
160 buf = new char[BUFSIZ];
172 buf = b;
240 char c = buf[start++];
258 char c = buf[start++];
317 if (buf[start] == c) {
336 if (buf[start] == '\n' || buf[start] == '\r') {
361 c = buf[start++];
413 docHandler.characters(buf, firs
[all...]
/openjdk7/jdk/src/share/classes/java/util/zip/
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/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/
H A DWhitespaceStripper.java52 private char[] buf = new char[1024]; field in class:WhitespaceStripper
75 if( bufLen+length>buf.length ) {
77 char[] newBuf = new char[Math.max(bufLen+length,buf.length*2)];
78 System.arraycopy(buf,0,newBuf,0,bufLen);
79 buf = newBuf;
81 System.arraycopy(ch,start,buf,bufLen,length);
117 if( !WhiteSpaceProcessor.isWhiteSpace(buf[i]) ) {
118 super.characters(buf, 0, bufLen);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/
H A DStringDataContentHandler.java98 char buf[] = new char[1024];
100 while ((count = is.read(buf, pos, buf.length - pos)) != -1) {
102 if (pos >= buf.length) {
103 int size = buf.length;
109 System.arraycopy(buf, 0, tbuf, 0, pos);
110 buf = tbuf;
113 return new String(buf, 0, pos);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DDataFile.java57 * @param buf that needs to be filled
61 synchronized void read(long pointer, byte[] buf, int offset, int length ) { argument
62 weak.read(pointer, buf, offset, length);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DStringDataContentHandler.java98 char buf[] = new char[1024];
100 while ((count = is.read(buf, pos, buf.length - pos)) != -1) {
102 if (pos >= buf.length) {
103 int size = buf.length;
109 System.arraycopy(buf, 0, tbuf, 0, pos);
110 buf = tbuf;
113 return new String(buf, 0, pos);
/openjdk7/jdk/test/java/io/LineNumberInputStream/
H A DAvailable.java57 char[] buf = {'a', 'b', 'c', 'd', '\n', field in class:MyInStream
62 return ((ctr == 12) ? -1 : (int)buf[ctr++]);
/openjdk7/jdk/test/java/io/charStreams/
H A DABCOutputStream.java50 public void write(byte buf[], int off, int len) throws IOException { argument
52 write(buf[i]);
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsmd5.c61 void byteReverse(cmsUInt8Number * buf, cmsUInt32Number longs) argument
65 cmsUInt32Number t = _cmsAdjustEndianess32(*(cmsUInt32Number *) buf);
66 *(cmsUInt32Number *) buf = t;
67 buf += sizeof(cmsUInt32Number);
74 #define byteReverse(buf, len)
80 cmsUInt32Number buf[4]; member in struct:__anon831
97 void MD5_Transform(cmsUInt32Number buf[4], cmsUInt32Number in[16]) argument
102 a = buf[0];
103 b = buf[1];
104 c = buf[
204 MD5add(cmsHANDLE Handle, cmsUInt8Number* buf, cmsUInt32Number len) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLRenderQueue.java107 RenderBuffer buf = rq.getBuffer();
109 buf.putInt(DISPOSE_CONFIG);
110 buf.putLong(pConfigInfo);
146 private native void flushBuffer(long buf, int limit); argument
150 int limit = buf.position();
153 flushBuffer(buf.getAddress(), limit);
156 buf.clear();
218 if (buf.position() > 0) {
/openjdk7/langtools/test/tools/javac/processing/filer/
H A DTestValidRelativeNames.java101 char[] buf = new char[1024];
103 while ((n = reader.read(buf, 0, buf.length)) > 0)
104 sb.append(new String(buf, 0, n));
115 byte[] buf = new byte[1024];
117 while ((n = in.read(buf, 0, buf.length)) > 0)
118 sb.append(new String(buf, 0, n));
/openjdk7/jaxws/src/share/jaxws_classes/org/relaxng/datatype/helpers/
H A DStreamingValidatorImpl.java71 public void addCharacters( char[] buf, int start, int len ) { argument
73 buffer.append(buf,start,len);
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DInstructionFinder.java115 char[] buf = new char[size]; // Create a string with length equal to il length
120 buf[i] = makeChar(handles[i].getInstruction().getOpcode());
122 il_string = new String(buf);
153 StringBuffer buf = new StringBuffer();
173 buf.append(mapName(name.toString()));
175 buf.append(ch);
178 return buf.toString();
391 StringBuffer buf = new StringBuffer("(");
395 buf.append(makeChar(i));
398 buf
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DUtil.java92 ByteBuffer buf = buffers[start];
93 if (buf.capacity() < size) {
94 buf = null;
101 buf = bb;
105 if (buf == null)
117 buf.rewind();
118 buf.limit(size);
119 return buf;
122 boolean offerFirst(ByteBuffer buf) { argument
127 buffers[start] = buf;
133 offerLast(ByteBuffer buf) argument
181 releaseTemporaryDirectBuffer(ByteBuffer buf) argument
190 offerFirstTemporaryDirectBuffer(ByteBuffer buf) argument
205 offerLastTemporaryDirectBuffer(ByteBuffer buf) argument
217 free(ByteBuffer buf) argument
[all...]
H A DIOUtil.java120 ByteBuffer buf = bufs[i];
121 int pos = buf.position();
122 int lim = buf.limit();
126 vec.setBuffer(iov_len, buf, pos, rem);
129 if (!(buf instanceof DirectBuffer)) {
131 shadow.put(buf);
134 buf.position(pos); // temporarily restore position in user buffer
135 buf = shadow;
139 vec.putBase(iov_len, ((DirectBuffer)buf).address() + pos);
154 ByteBuffer buf
[all...]
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/
H A DSerialBlob.java62 private byte buf[]; field in class:SerialBlob
101 buf = new byte[(int)len];
103 buf[i] = b[i];
136 buf = blob.getBytes(1, (int)len );
179 b[i] = this.buf[(int)pos];
209 InputStream stream = new ByteArrayInputStream(buf);
244 if (pattern[i] == buf[pos]) {
249 } else if (pattern[i] != buf[pos]) {
358 this.buf[(int)pos + i] = bytes[offset + i ];
410 buf
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DBerDecoder.java38 private int origOffset; // The start point in buf to decode
43 public BerDecoder(byte buf[], int offset, int bufsize) { argument
45 this.buf = buf;
96 retval = (retval << 8) + (buf[offset++] & 0xff);
140 return buf[offset++] & 0xff;
152 return buf[offset] & 0xff;
190 Integer.toString(buf[offset - 1] & 0xff) +
202 byte fb = buf[offset++];
208 value |= (buf[offse
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DSplashScreen.java153 byte[] buf = new byte[length];
170 byte[] oldBuf = buf;
171 buf = new byte[length];
172 System.arraycopy(oldBuf, 0, buf, 0, off);
175 int result = stream.read(buf, off, available);
183 if (!_setImageData(splashPtr, buf)) {
308 DataBuffer buf = image.getRaster().getDataBuffer();
309 if (!(buf instanceof DataBufferInt)) {
310 throw new AssertionError("Overlay image DataBuffer is of invalid type == "+buf.getClass().getName());
312 int numBanks = buf
[all...]
/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm/
H A Dvm_version_solaris_sparc.cpp51 char* buf = (char*) malloc(bufsize); local
53 if (buf == NULL)
56 if (sysinfo(si, buf, bufsize) == bufsize) {
58 if (strcmp(buf, string) == 0) {
63 free(buf);
131 char* buf = (char*) malloc(bufsize); local
133 if (buf != NULL) {
134 if (sysinfo(SI_ISALIST, buf, bufsize) == bufsize) {
136 char *sparc_string = strstr(buf, "sparc");
149 char *vis = strstr(buf, "vi
[all...]
/openjdk7/jdk/src/share/classes/sun/util/locale/
H A DLocaleUtils.java100 char[] buf = new char[len];
103 buf[i] = (i < idx) ? c : toLower(c);
105 return new String(buf);
120 char[] buf = new char[len];
123 buf[i] = (i < idx) ? c : toUpper(c);
125 return new String(buf);
145 char[] buf = new char[len];
149 buf[i] = toUpper(c);
151 buf[i] = c;
153 buf[
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DEngineInputRecord.java81 int bytesInCompletePacket(ByteBuffer buf) throws SSLException { argument
87 if (buf.remaining() < 5) {
91 int pos = buf.position();
92 byte byteZero = buf.get(pos);
109 ProtocolVersion.valueOf(buf.get(pos + 1), buf.get(pos + 2));
130 len = ((buf.get(pos + 3) & 0xff) << 8) +
131 (buf.get(pos + 4) & 0xff) + headerSize;
144 ((buf.get(pos + 2) == 1) || buf
352 writeBuffer(OutputStream s, byte [] buf, int off, int len) argument
[all...]
/openjdk7/jdk/test/java/net/ResponseCache/
H A Dfile2.151 byte[] buf = new byte[(int)file2.length()];
53 while ((len = fis.read(buf)) != -1) {
54 out.print(new String(buf));
110 byte[] buf = new byte[(int)new File("file2.1").length()];
113 while ((len=dis.read(buf)) != -1) {
114 dos.write(buf, 0, len);
152 ByteBuffer buf = ByteBuffer.allocate(len);
154 while ((len = rbc.read(buf)) != -1) {
155 buf.flip();
156 buf
[all...]
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DSSLStreams.java177 ByteBuffer buf; field in class:SSLStreams.WrapperResult
316 r.buf = dst;
341 r.result = engine.unwrap (unwrap_src, r.buf);
359 r.buf = realloc (r.buf, true, BufType.APPLICATION);
363 r.buf.flip();
410 dst = (r.buf != dst) ? r.buf: dst;
478 if (r.buf != tmp) {
479 tmp = r.buf;
510 read(byte[] buf, int off, int len) argument
586 read(byte[] buf) argument
608 ByteBuffer buf; field in class:SSLStreams.OutputStream
[all...]
/openjdk7/hotspot/src/os/bsd/dtrace/
H A Djvm_dtrace.c130 static int file_read(int fd, char* buf, int len) { argument
132 RESTARTABLE(read(fd, buf, len), ret);
363 char* buf = NULL; local
376 buf = (char*)malloc(size);
377 if (buf != NULL) {
378 char* pos = buf;
379 strcpy(buf, PROTOCOL_VERSION);
396 char* newbuf = (char*)realloc(buf, size+len+1);
402 buf = newbuf;
403 strcpy(buf
464 char ch, buf[16]; local
493 char buf[16]; local
[all...]
/openjdk7/hotspot/src/os/solaris/dtrace/
H A Djvm_dtrace.c130 static int file_read(int fd, char* buf, int len) { argument
132 RESTARTABLE(read(fd, buf, len), ret);
363 char* buf = NULL; local
376 buf = (char*)malloc(size);
377 if (buf != NULL) {
378 char* pos = buf;
379 strcpy(buf, PROTOCOL_VERSION);
396 char* newbuf = (char*)realloc(buf, size+len+1);
402 buf = newbuf;
403 strcpy(buf
464 char ch, buf[16]; local
493 char buf[16]; local
[all...]

Completed in 124 milliseconds

<<11121314151617181920>>