/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | Channels.java | 363 private byte buf[] = new byte[0]; field in class:Channels.ReadableByteChannelImpl 379 if (buf.length < bytesToRead) 380 buf = new byte[bytesToRead]; 385 bytesRead = in.read(buf, 0, bytesToRead); 393 dst.put(buf, 0, bytesRead); 438 private byte buf[] = new byte[0]; field in class:Channels.WritableByteChannelImpl 453 if (buf.length < bytesToWrite) 454 buf = new byte[bytesToWrite]; 455 src.get(buf, 0, bytesToWrite); 458 out.write(buf, [all...] |
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | MessageDigest.java | 362 * @param buf output buffer for the computed digest 366 * @param len number of bytes within buf allotted for the digest 368 * @return the number of bytes placed into <code>buf</code> 372 public int digest(byte[] buf, int offset, int len) throws DigestException { argument 373 if (buf == null) { 376 if (buf.length - offset < len) { 380 int numBytes = engineDigest(buf, offset, len); 579 protected int engineDigest(byte[] buf, int offset, int len) argument 581 return digestSpi.engineDigest(buf, offset, len);
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | GZIPInputStream.java | 97 * @param buf the buffer into which the data is read 103 * @exception NullPointerException If <code>buf</code> is <code>null</code>. 106 * <code>buf.length - off</code> 111 public int read(byte[] buf, int off, int len) throws IOException { argument 116 int n = super.read(buf, off, len); 121 return this.read(buf, off, len); 123 crc.update(buf, off, n); 215 new ByteArrayInputStream(buf, len - n, n), in); 236 inf.setInput(buf, len - n + m, n - m);
|
H A D | Inflater.java | 77 private byte[] buf = defaultBuf; field in class:Inflater 130 this.buf = b; 353 buf = defaultBuf; 374 buf = null;
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | ptrQueue.cpp | 90 void PtrQueue::locking_enqueue_completed_buffer(void** buf) { argument 98 qset()->enqueue_complete_buffer(buf); 134 void PtrQueueSet::deallocate_buffer(void** buf) { argument 137 BufferNode *node = BufferNode::make_node_from_buffer(buf); 188 void** buf = _buf; // local pointer to completed buffer local 191 locking_enqueue_completed_buffer(buf); // enqueue completed buffer 216 bool PtrQueueSet::process_or_enqueue_complete_buffer(void** buf) { argument 221 bool b = mut_process_buffer(buf); 229 enqueue_complete_buffer(buf); 233 void PtrQueueSet::enqueue_complete_buffer(void** buf, size_ argument [all...] |
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | symbol.cpp | 111 char* Symbol::as_C_string(char* buf, int size) const { argument 115 buf[i] = byte_at(i); 117 buf[len] = '\0'; 119 return buf; 129 char* buf, int size) const { 136 str = buf; 166 const char* Symbol::as_klass_external_name(char* buf, int size) const { argument 168 char* str = as_C_string(buf, size); 178 return buf; 128 as_C_string_flexible_buffer(Thread* t, char* buf, int size) const argument
|
H A D | symbol.hpp | 176 char* as_C_string(char* buf, int size) const; 177 // Use buf if needed buffer length is <= size. 178 char* as_C_string_flexible_buffer(Thread* t, char* buf, int size) const; 183 char* as_utf8_flexible_buffer(Thread* t, char* buf, int size) const { argument 184 return as_C_string_flexible_buffer(t, buf, size); 193 const char* as_klass_external_name(char* buf, int size) const;
|
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/ |
H A D | ClassWriter.java | 190 ByteArrayOutputStream buf = new ByteArrayOutputStream(); field in class:ClassWriter 191 DataOutputStream bufOut = new DataOutputStream(buf); 207 buf.reset(); 218 Utils.log.fine("Attribute "+a.name()+" ["+buf.size()+"]"); 219 writeInt(buf.size()); 220 buf.writeTo(out);
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/ |
H A D | Ber.java | 41 protected byte buf[]; field in class:Ber
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/ |
H A D | MessageDigestAlgorithm.java | 174 * @param buf 180 public int digest(byte buf[], int offset, int len) argument 182 return this.algorithm.digest(buf, offset, len); 248 * @param buf 252 public void update(byte buf[], int offset, int len) { argument 253 this.algorithm.update(buf, offset, len);
|
H A D | SignatureAlgorithm.java | 224 * @param buf 229 public void update(byte buf[], int offset, int len) throws XMLSignatureException { argument 230 signatureAlgorithm.engineUpdate(buf, offset, len);
|
H A D | SignatureAlgorithmSpi.java | 83 * @param buf 88 protected abstract void engineUpdate(byte buf[], int offset, int len) argument
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/ |
H A D | SignatureBaseRSA.java | 208 protected void engineUpdate(byte buf[], int offset, int len) argument 211 this._signatureAlgorithm.update(buf, offset, len);
|
H A D | SignatureDSA.java | 246 protected void engineUpdate(byte buf[], int offset, int len) argument 249 this._signatureAlgorithm.update(buf, offset, len);
|
H A D | SignatureECDSA.java | 327 protected void engineUpdate(byte buf[], int offset, int len) argument 331 this._signatureAlgorithm.update(buf, offset, len);
|
/openjdk7/hotspot/src/cpu/x86/vm/ |
H A D | vm_version_x86.cpp | 430 char buf[256]; local 431 jio_snprintf(buf, sizeof(buf), "(%u cores per cpu, %u threads per core) family %d model %d stepping %d%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s", 457 _features_str = strdup(buf);
|
/openjdk7/hotspot/src/os/bsd/vm/ |
H A D | decoder_machO.cpp | 35 bool MachODecoder::demangle(const char* symbol, char *buf, int buflen) { argument 39 // Don't pass buf to __cxa_demangle. In case of the 'buf' is too small, 41 // may use different malloc/realloc mechanism that allocates 'buf'. 43 jio_snprintf(buf, buflen, "%s", result); 51 bool MachODecoder::decode(address addr, char *buf, argument 99 strncpy(buf, symname, buflen);
|
/openjdk7/hotspot/src/os/windows/vm/ |
H A D | os_windows.inline.hpp | 97 inline size_t os::read(int fd, void *buf, unsigned int nBytes) { argument 98 return ::read(fd, buf, nBytes); 101 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { argument 102 return ::read(fd, buf, nBytes); 105 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { argument 106 return ::write(fd, buf, nBytes);
|
/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm/ |
H A D | vm_version_solaris_sparc.cpp | 51 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/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/jdk/src/share/classes/com/sun/imageio/plugins/common/ |
H A D | LZWStringTable.java | 151 * to buf and the return value indicates how much of the expanded code has 152 * been written to the buf. The next call to expandCode() should be with 157 * @param buf buffer to place expanded data into 162 * be skipped before data is written to buf. It is possible that skipHead is 164 * @return the length of data expanded into buf. If the expanded code is longer 165 * than space left in buf then the value returned is a negative number which when 169 public int expandCode(byte[] buf, int offset, short code, int skipHead) { argument 183 int bufSpace = buf.length - offset; // how much space left 198 buf[--idx] = strChr[code];
|
/openjdk7/hotspot/src/share/vm/prims/wbtestmethods/ |
H A D | parserTests.cpp | 140 char buf[VALUE_MAXLEN]; variable 141 arg->value_as_str(buf, sizeof(buf)); 142 oop parsedValue = java_lang_String::create_oop_from_str(buf, CHECK_NULL);
|
/openjdk7/hotspot/src/share/vm/shark/ |
H A D | sharkCompiler.cpp | 344 char *buf = NEW_RESOURCE_ARRAY(char, strlen(klass) + 2 + strlen(method) + 1); local 346 char *dst = buf; 359 return buf;
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | debug.hpp | 37 inline FormatBufferBase(char* buf) : _buf(buf) {} argument 241 void pd_obfuscate_location(char *buf, size_t buflen);
|
H A D | decoder.hpp | 48 virtual bool decode(address pc, char* buf, int buflen, int* offset, 50 virtual bool decode(address pc, char* buf, int buflen, int* offset, const void* base) = 0; 53 virtual bool demangle(const char* symbol, char* buf, int buflen) = 0; 82 virtual bool decode(address pc, char* buf, int buflen, int* offset, argument 87 virtual bool decode(address pc, char* buf, int buflen, int* offset, const void* base) { argument 91 virtual bool demangle(const char* symbol, char* buf, int buflen) { argument 103 static bool decode(address pc, char* buf, int buflen, int* offset, const char* modulepath = NULL); 104 static bool decode(address pc, char* buf, int buflen, int* offset, const void* base); 105 static bool demangle(const char* symbol, char* buf, int buflen);
|