/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | OverviewPanel.java | 84 StringBuilder buf = new StringBuilder(); 92 buf.append(" "); 94 buf.append(chars[i]); 97 text = buf.toString();
|
/openjdk7/jdk/src/share/demo/jvmti/agent_util/ |
H A D | agent_util.h | 59 char *get_token(char *str, char *seps, char *buf, int max);
|
/openjdk7/jdk/test/javax/xml/crypto/dsig/ |
H A D | SignatureValidator.java | 110 byte[] buf = new byte[256]; 111 while ((nbytes = is.read(buf, 0, buf.length)) != -1) { 112 md.update(buf, 0, nbytes);
|
/openjdk7/jdk/src/solaris/demo/jvmti/hprof/ |
H A D | hprof_md.c | 143 md_recv(int f, char *buf, int len, int option) argument 145 return recv(f, buf, len, option); 211 md_write(int filedes, const void *buf, int nbyte) argument 216 res = write(filedes, buf, nbyte); 223 md_read(int filedes, void *buf, int nbyte) argument 228 res = read(filedes, buf, nbyte); 343 md_system_error(char *buf, int len) argument 347 buf[0] = 0; 350 (void)strcpy(buf, p);
|
/openjdk7/langtools/test/tools/javac/file/zip/ |
H A D | Utils.java | 90 byte[] buf = new byte[8192]; 91 int n = in.read(buf); 93 out.write(buf, 0, n); 94 n = in.read(buf);
|
/openjdk7/hotspot/src/os/linux/vm/ |
H A D | os_linux.cpp | 237 bool os::getenv(const char* name, char* buf, int len) { argument 240 strcpy(buf, val); 243 if (len > 0) buf[0] = 0; // return a null string 402 char buf[MAXPATHLEN]; local 403 os::jvm_path(buf, sizeof(buf)); 407 *(strrchr(buf, '/')) = '\0'; /* get rid of /libjvm.so */ 408 pslash = strrchr(buf, '/'); 411 dll_path = malloc(strlen(buf) + 1); 414 strcpy(dll_path, buf); 485 char *buf = malloc(strlen(Arguments::get_java_home()) + local 494 char * buf; local 1535 local_time_string(char *buf, size_t buflen) argument 1584 char buf[16]; local 1608 lasterror(char *buf, size_t len) argument 1700 get_current_directory(char *buf, int buflen) argument 1722 dll_address_to_function_name(address addr, char *buf, int buflen, int *offset) argument 1790 dll_address_to_library_name(address addr, char* buf, int buflen, int* offset) argument 2122 char buf[32]; local 2261 char buf[buflen]; local 2309 print_signal_handlers(outputStream* st, char* buf, size_t buflen) argument 2328 jvm_path(char *buf, jint buflen) argument 2620 char buf[PATH_MAX+1]; local 3008 char buf[128]; local 3288 char buf[16]; local 3512 read(int fd, void *buf, unsigned int nBytes) argument 4249 get_signal_handler_name(address handler, char* buf, int buflen) argument 4266 print_signal_handler(outputStream* st, int sig, char* buf, size_t buflen) argument 4356 char buf[O_BUFLEN]; local 4431 exception_name(int exception_code, char* buf, size_t size) argument 4838 char buf[16]; local 4859 local_vsnprintf(char* buf, size_t count, const char* format, va_list args) argument 4873 char buf[sizeof(struct dirent) + MAX_PATH]; local 5247 struct stat buf; local [all...] |
/openjdk7/hotspot/src/share/vm/compiler/ |
H A D | disassembler.cpp | 78 char buf[JVM_MAXPATHLEN]; local 79 os::jvm_path(buf, sizeof(buf)); 84 const char* base = buf; 85 const char* p = strrchr(buf, '/'); 98 strcpy(&buf[jvm_offset], hsdis_library_name); 99 strcat(&buf[jvm_offset], os::dll_file_extension()); 100 _library = os::dll_load(buf, ebuf, sizeof ebuf); 103 strcpy(&buf[lib_offset], hsdis_library_name); 104 strcat(&buf[lib_offse [all...] |
/openjdk7/jdk/src/macosx/native/sun/awt/splashscreen/ |
H A D | splashscreen_sys.m | 81 char *buf = NULL, *out; 103 buf = SAFE_SIZE_ARRAY_ALLOC(malloc, inSize, 2); 104 if (!buf) { 109 out = buf; outSize = bufSize; 116 free(buf); 117 buf = NULL; 125 return buf; 304 char buf; 307 if (read(ctl, &buf, sizeof(buf)) > [all...] |
/openjdk7/jdk/src/windows/transport/socket/ |
H A D | socket_md.c | 179 dbgsysRecvFrom(int fd, char *buf, int nBytes, argument 181 return recvfrom(fd, buf, nBytes, flags, from, fromlen); 185 dbgsysSendTo(int fd, char *buf, int len, argument 187 return sendto(fd, buf, len, flags, to, tolen); 191 dbgsysRecv(int fd, char *buf, int nBytes, int flags) { argument 192 return recv(fd, buf, nBytes, flags); 196 dbgsysSend(int fd, char *buf, int nBytes, int flags) { argument 197 return send(fd, buf, nBytes, flags); 382 dbgsysGetLastIOError(char *buf, jint size) { argument 400 strcpy(buf, winsock_error [all...] |
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | jni.cpp | 60 void* buf, jlong minlen, jlong maxlen); 126 void* buf, jlong minlen, jlong maxlen) { 128 jobject pbuf = env->NewDirectByteBuffer(buf, maxlen); 169 void* buf = null; local 172 buf = env->GetDirectBufferAddress(pBuf); 174 if (buflen == 0) buf = null; 175 if (buf == null) { THROW_IOE(ERROR_INTERNAL); return 0; } 177 { buf = null; buflen = 0; } 179 { buf = (char*)buf 125 read_input_via_jni(unpacker* self, void* buf, jlong minlen, jlong maxlen) argument [all...] |
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | hprof_io.c | 261 char buf[256]; local 273 (void)md_snprintf(buf, sizeof(buf), "System %s failed: %s\n", 275 HPROF_ERROR(JNI_TRUE, buf); 279 system_write(int fd, void *buf, int len, jboolean socket) argument 285 res = md_send(fd, buf, len, 0); 290 res = md_write(fd, buf, len); 321 write_raw(void *buf, int len) argument 327 system_write(gdata->fd, buf, len, gdata->socket); 331 (void)memcpy(gdata->write_buffer + gdata->write_buffer_index, buf, le 417 char buf[1024]; local 446 heap_raw(void *buf, int len) argument 535 char buf[1024]; local 741 char buf[FILENAME_MAX+80]; local 751 char buf[1024]; /* File is small, small buffer ok here */ local 1868 char *buf; local [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | JavaClass.java | 578 StringBuffer buf = new StringBuffer(access + 587 buf.append("implements\t\t"); 590 buf.append(interface_names[i]); 592 buf.append(", "); 595 buf.append('\n'); 598 buf.append("filename\t\t" + file_name + '\n'); 599 buf.append("compiled from\t\t" + source_file_name + '\n'); 600 buf.append("compiler version\t" + major + "." + minor + '\n'); 601 buf.append("access flags\t\t" + access_flags + '\n'); 602 buf [all...] |
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipFileSystem.java | 930 byte[] buf = new byte[LOCHDR]; 931 if (readFullyAt(buf, 0, buf.length, e.locoff) != buf.length) 933 return locpos + e.locoff + LOCHDR + LOCNAM(buf) + LOCEXT(buf); 936 // Reads len bytes of data from the specified offset into buf. 939 final long readFullyAt(byte[] buf, int off, long len, long pos) argument 942 ByteBuffer bb = ByteBuffer.wrap(buf); 962 byte[] buf 1137 copyLOCEntry(Entry e, boolean updateHeader, OutputStream os, long written, byte[] buf) argument 2020 readLOC(ZipFileSystem zipfs, long pos, byte[] buf) argument 2026 loc(ZipFileSystem zipfs, long pos, byte[] buf) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/ |
H A D | NamespaceSupport.java | 426 StringBuffer buf = new StringBuffer(); 428 buf.append(prefixes[i]); 429 buf.append(" "); 432 return buf.toString(); 472 StringBuffer buf = new StringBuffer(); 474 buf.append(prefixes[i]); 475 buf.append(" "); 478 return buf.toString();
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Scanner.java | 351 private CharBuffer buf; field in class:Scanner 580 buf = CharBuffer.allocate(BUFFER_SIZE); 581 buf.limit(0); 582 matcher = delimPattern.matcher(buf); 839 if (buf.limit() == buf.capacity()) 843 int p = buf.position(); 844 buf.position(buf.limit()); 845 buf [all...] |
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | satbQueue.hpp | 48 // Apply the closure to all elements of "buf", down to "index" (inclusive.) 50 void** buf, size_t index, size_t sz); 72 static void print(const char* name, void** buf, size_t index, size_t sz);
|
/openjdk7/hotspot/src/cpu/zero/vm/ |
H A D | interpreterRT_zero.hpp | 118 SlowSignatureHandlerGenerator(methodHandle method, intptr_t* buf) argument 119 : SignatureHandlerGeneratorBase(method, (ffi_cif *) buf) {
|
/openjdk7/hotspot/src/share/tools/launcher/ |
H A D | java.h | 55 GetXUsagePath(char *buf, jint bufsize); 58 GetApplicationHome(char *buf, jint bufsize);
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/ |
H A D | DRIMarkerSegment.java | 48 restartInterval = (buffer.buf[buffer.bufPtr++] & 0xff) << 8; 49 restartInterval |= buffer.buf[buffer.bufPtr++] & 0xff;
|
H A D | SOSMarkerSegment.java | 72 int numComponents = buffer.buf[buffer.bufPtr++]; 77 startSpectralSelection = buffer.buf[buffer.bufPtr++]; 78 endSpectralSelection = buffer.buf[buffer.bufPtr++]; 79 approxHigh = buffer.buf[buffer.bufPtr] >> 4; 80 approxLow = buffer.buf[buffer.bufPtr++] &0xf; 198 componentSelector = buffer.buf[buffer.bufPtr++]; 199 dcHuffTable = buffer.buf[buffer.bufPtr] >> 4; 200 acHuffTable = buffer.buf[buffer.bufPtr++] & 0xf;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/ |
H A D | QPDecoderStream.java | 145 * @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/jdk/src/solaris/native/sun/nio/ch/ |
H A D | FileDispatcherImpl.c | 76 void *buf = (void *)jlong_to_ptr(address); local 78 return convertReturnVal(env, read(fd, buf, len), JNI_TRUE); 86 void *buf = (void *)jlong_to_ptr(address); local 88 return convertReturnVal(env, pread64(fd, buf, len, offset), JNI_TRUE); 105 void *buf = (void *)jlong_to_ptr(address); local 107 return convertReturnVal(env, write(fd, buf, len), JNI_FALSE); 115 void *buf = (void *)jlong_to_ptr(address); local 117 return convertReturnVal(env, pwrite64(fd, buf, len, offset), JNI_FALSE);
|
/openjdk7/jdk/src/solaris/native/sun/tools/attach/ |
H A D | BsdVirtualMachine.c | 192 unsigned char buf[128]; local 193 size_t len = sizeof(buf); 201 RESTARTABLE(read(fd, buf+off, len), n); 208 (*env)->SetByteArrayRegion(env, ba, off, (jint)n, (jbyte *)(buf+off)); 224 unsigned char buf[128]; local 225 size_t len = sizeof(buf); 231 (*env)->GetByteArrayRegion(env, ba, off, len, (jbyte *)buf); 233 RESTARTABLE(write(fd, buf, len), n);
|
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/ |
H A D | B6526913.java | 58 byte [] buf = new byte [32 * 1024]; 60 count += is.read (buf);
|
/openjdk7/jdk/test/java/io/BufferedReader/ |
H A D | Ready.java | 81 public int read(char[] buf, int offset, int length) argument 89 buf[i] = (char)read();
|