Searched refs:buf (Results 276 - 300 of 1249) sorted by relevance

<<11121314151617181920>>

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DHashtable.java60 protected static long hashSymbol(byte[] buf) { argument
63 int len = buf.length;
65 h = 31*h + (0xFFL & buf[s]);
H A DProcImageClassLoader.java51 byte[] buf = bos.toByteArray();
52 return defineClass(className, buf, 0, buf.length);
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/
H A DSerialClob.java57 private char buf[]; field in class:SerialClob
102 buf = new char[(int)len];
104 buf[i] = ch[i];
144 buf = new char[(int)len];
165 read = reader.read(buf, offset, (int)(len - offset));
199 return (java.io.Reader) new CharArrayReader(buf);
263 return new String(buf, (int)pos - 1, length);
307 if (pattern[i] == buf[pos]) {
313 } else if (pattern[i] != buf[pos]) {
413 this.buf[(in
[all...]
/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/jdk/make/tools/src/build/tools/spp/
H A DSpp.java110 void append(StringBuffer buf, String ln, argument
130 vardef.appendReplacement(buf, repl);
132 vardef.appendTail(buf);
136 boolean spp(Scanner in, StringBuffer buf, String key, argument
143 buf.setLength(0); //clean up to this line
157 buf.append(LNSEP);
158 if (!spp(in, buf, k, keys, vars, be, skip || !test)) {
159 spp(in, buf, k, keys, vars, be, skip || test);
167 buf.append(LNSEP);
174 buf
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/fmt/
H A DJStaticFile.java72 byte[] buf = new byte[256];
74 while( (sz=dis.read(buf))>0 )
75 os.write(buf,0,sz);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DDataHead.java67 void addBody(ByteBuffer buf) { argument
69 inMemory += buf.limit();
72 tail = tail.createNext(this, buf);
74 head = tail = new Chunk(new MemoryData(buf, part.msg.config));
88 byte[] buf = new byte[8192];
90 while((len=in.read(buf)) != -1) {
91 os.write(buf, 0, len);
187 byte[] buf; field in class:DataHead.ReadMultiStream
192 buf = current.data.read();
200 System.arraycopy(buf,offse
[all...]
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/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/io/PushbackReader/
H A DSkip.java39 char[] buf = new char[20];
41 buf[i] = (char)i;
42 CharArrayReader car = new CharArrayReader(buf);
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/GenSSLConfigs/
H A DTraffic.java117 byte buf [] = new byte [n];
120 buf [i] = (byte) i;
122 out.write (buf);
136 byte buf [] = new byte [n];
138 in.read (buf);
141 if (buf [i] != (byte) i)
212 byte buf [] = new byte [n];
216 prng.nextBytes (buf);
219 out.write (buf);
262 private void readFully (byte buf [])
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DDocCommentScanner.java66 private char[] buf; field in class:DocCommentScanner
124 bp++; ch = buf[bp]; col++;
127 bp++; ch = buf[bp]; col++;
134 bp++; ch = buf[bp]; col++;
158 ch = buf[bp];
164 if (bp == 0 || buf[bp-1] != '\r') {
188 if (buf[bp+1] == '\\' && unicodeConversionBp != bp) {
224 buf = getRawCharacters(pos, endPos());
225 buflen = buf.length;
417 char[] buf
[all...]
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dzutil.c242 voidpf buf = opaque; /* just to make some compilers happy */ local
249 buf = farmalloc(bsize);
250 if (*(ush*)&buf != 0) return buf;
252 buf = farmalloc(bsize + 16L);
254 if (buf == NULL || next_ptr >= MAX_PTR) return NULL;
255 table[next_ptr].org_ptr = buf;
258 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4;
259 *(ush*)&buf
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jgss/wrapper/
H A DKrb5Util.java44 StringBuffer buf = new StringBuffer("krbtgt/");
45 buf.append(realm).append('@').append(realm);
46 return buf.toString();
/openjdk7/jdk/test/java/rmi/testlibrary/
H A DStreamPipe.java69 byte[] buf = new byte[1024];
72 int nr = in.read(buf);
75 out.write(buf, 0, nr);
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DShortRead.java56 byte[] buf = new byte[data.length()];
57 final int count = inputStream.read(buf);
58 if (! new String(buf, "ASCII").equals(data) ||
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DChunkedOutputStream.java45 private byte buf[]; field in class:ChunkedOutputStream
46 /* size of data (excluding footers and headers) already stored in buf */
48 /* current index in buf (i.e. buf[count] */
128 buf = new byte[preferredChunkDataSize + 32];
145 out.write(buf, 0, preferredChunkGrossSize);
158 System.arraycopy(getHeader(size), 0, buf,
162 buf[count++] = FOOTER[0];
163 buf[count++] = FOOTER[1];
166 out.write(buf, adjustedHeaderStartInde
[all...]
/openjdk7/jdk/src/solaris/bin/
H A Djexec.c125 int getJavaPath(const char * path, char * buf, int depth);
250 * buf - a buffer of size PATH_MAX or greater that the java path is
259 int getJavaPath(const char * path, char * buf, int depth) { argument
268 if (realpath(path, buf) != NULL) {
274 *(strrchr(buf, '/')) = '\0';
282 strcat(buf, BIN_PATH);
309 unsigned char buf[CHUNK_SIZE]; local
311 ssize_t count = read(fd, buf, CHUNK_SIZE);
316 if (GETSIG(buf) == LOCSIG) {
318 off_t flen = LOCNAM(buf);
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DGifImageDecoder.java90 private int readBytes(byte buf[], int off, int len) { argument
93 int n = input.read(buf, off, len);
106 private static final int ExtractByte(byte buf[], int off) { argument
107 return (buf[off] & 0xFF);
110 private static final int ExtractWord(byte buf[], int off) { argument
111 return (buf[off] & 0xFF) | ((buf[off + 1] & 0xFF) << 8);
136 byte buf[] = new byte[6];
137 if (readBytes(buf, 0, 6) != 0) {
140 if ((buf[
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/
H A DBytecode.java108 StringBuffer buf = new StringBuffer(getJavaBytecodeName());
110 buf.append(spaces);
111 buf.append('[');
112 buf.append(getBytecodeName());
113 buf.append(']');
115 return buf.toString();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/
H A DJSList.java97 StringBuffer buf = new StringBuffer();
98 buf.append('[');
100 buf.append(wrapObject(itr.next()));
102 buf.append(", ");
105 buf.append(']');
106 return buf.toString();
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DJavaUtils.java61 byte buf[] = new byte[1024];
64 while ((len = fisRef.read(buf)) > 0) {
65 baos.write(buf, 0, len);
121 byte buf[] = new byte[1024];
124 while ((len = inputStream.read(buf)) > 0) {
125 baos.write(buf, 0, len);
/openjdk7/jdk/src/share/classes/java/awt/event/
H A DMouseEvent.java940 StringBuilder buf = new StringBuilder();
942 buf.append(Toolkit.getProperty("AWT.alt", "Alt"));
943 buf.append("+");
946 buf.append(Toolkit.getProperty("AWT.meta", "Meta"));
947 buf.append("+");
950 buf.append(Toolkit.getProperty("AWT.control", "Ctrl"));
951 buf.append("+");
954 buf.append(Toolkit.getProperty("AWT.shift", "Shift"));
955 buf.append("+");
958 buf
[all...]
/openjdk7/jdk/test/java/io/Serializable/auditStreamSubclass/
H A DAuditStreamSubclass.java95 byte[] buf = bout.toByteArray();
99 new GoodOIS1(new ByteArrayInputStream(buf));
100 new GoodOIS2(new ByteArrayInputStream(buf));
121 new BadOIS1(new ByteArrayInputStream(buf));
127 new BadOIS2(new ByteArrayInputStream(buf));
133 new BadOIS3(new ByteArrayInputStream(buf));

Completed in 96 milliseconds

<<11121314151617181920>>