/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/ |
H A D | Hashtable.java | 60 protected static long hashSymbol(byte[] buf) { argument 63 int len = buf.length; 65 h = 31*h + (0xFFL & buf[s]);
|
H A D | ProcImageClassLoader.java | 51 byte[] buf = bos.toByteArray(); 52 return defineClass(className, buf, 0, buf.length);
|
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/ |
H A D | SerialClob.java | 57 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 D | decoder_windows.cpp | 148 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 D | decoder_windows.hpp | 48 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 D | Spp.java | 110 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 D | JStaticFile.java | 72 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 D | DataHead.java | 67 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 D | MemoryData.java | 47 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 D | DatagramDispatcher.c | 55 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 D | Skip.java | 39 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 D | Traffic.java | 117 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 D | DocCommentScanner.java | 66 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 D | zutil.c | 242 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 D | Krb5Util.java | 44 StringBuffer buf = new StringBuffer("krbtgt/"); 45 buf.append(realm).append('@').append(realm); 46 return buf.toString();
|
/openjdk7/jdk/test/java/rmi/testlibrary/ |
H A D | StreamPipe.java | 69 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 D | ShortRead.java | 56 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 D | ChunkedOutputStream.java | 45 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 D | jexec.c | 125 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 D | GifImageDecoder.java | 90 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 D | Bytecode.java | 108 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 D | JSList.java | 97 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 D | JavaUtils.java | 61 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 D | MouseEvent.java | 940 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 D | AuditStreamSubclass.java | 95 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));
|