/openjdk7/jdk/make/java/nio/ |
H A D | genBuffer.sh | 138 nbytes="$4" 153 -Dnbytes=$nbytes \
|
/openjdk7/jdk/src/share/transport/socket/ |
H A D | sysSocket.h | 44 int dbgsysRecvFrom(int fd, char *buf, int nbytes, int flags,
|
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | hprof_reference.c | 162 jint *nelements, jint *nbytes) 168 HPROF_ASSERT(nbytes!=NULL); 173 *nbytes = byteLen; 625 int nbytes; local 629 nbytes = num_elements*(int)sizeof(ObjectIndex); 630 values = (ObjectIndex*)HPROF_MALLOC(nbytes); 631 (void)memset(values, 0, nbytes); 639 nbytes = new_size*(int)sizeof(ObjectIndex); 640 new_values = (void*)HPROF_MALLOC(nbytes); 643 nbytes 161 get_key_elements(RefIndex index, jvmtiPrimitiveType primType, jint *nelements, jint *nbytes) argument [all...] |
H A D | hprof_table.c | 463 int nbytes; local 482 nbytes = new_size * ltable->elem_size; 484 new_table = HPROF_MALLOC(nbytes); 486 (void)memset(((char*)new_table)+obytes, 0, nbytes-obytes); 497 nbytes = BV_ELEMENT_COUNT(new_size)*(int)sizeof(BV_CHUNK_TYPE); 499 new_bv = HPROF_MALLOC(nbytes); 501 (void)memset(((char*)new_bv)+obytes, 0, nbytes-obytes); 696 int nbytes; local 698 nbytes = (int)(bucket_count*sizeof(TableIndex)); 699 ltable->hash_buckets = (TableIndex*)HPROF_MALLOC(nbytes); [all...] |
H A D | hprof_trace.c | 570 int nbytes; local 592 nbytes = (int)sizeof(FrameIndex)*real_depth; 593 frames_buffer = (FrameIndex*)HPROF_MALLOC(nbytes); 594 nbytes += (int)sizeof(TraceKey); 595 trace_key_buffer = (TraceKey*)HPROF_MALLOC(nbytes); 638 int nbytes; local 650 nbytes = (int)sizeof(TraceIndex)*thread_count; 651 traces = (TraceIndex*)HPROF_MALLOC(nbytes);
|
H A D | hprof_site.c | 389 int nbytes; local 395 nbytes = site_table_size * (int)sizeof(SiteIndex); 396 if ( nbytes > 0 ) { 397 iterate.site_nums = HPROF_MALLOC(nbytes); 398 (void)memset(iterate.site_nums, 0, nbytes);
|
H A D | hprof_util.c | 1217 int nbytes; local 1225 nbytes = (*pn_fields) * (int)sizeof(FieldInfo); 1226 *pfields = (FieldInfo*)HPROF_MALLOC(nbytes); 1227 (void)memcpy(*pfields, stack_element(field_list, 0), nbytes);
|
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | filemap.cpp | 244 void FileMapInfo::write_bytes(const void* buffer, int nbytes) { argument 246 int n = ::write(_fd, buffer, nbytes); 247 if (n != nbytes) { 255 _file_offset += nbytes; 281 void FileMapInfo::write_bytes_aligned(const void* buffer, int nbytes) { argument 283 write_bytes(buffer, nbytes);
|
/openjdk7/hotspot/src/os/bsd/vm/ |
H A D | perfMemory_bsd.cpp | 156 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3; local 157 char* dirname = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal); 160 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user); 436 size_t nbytes = strlen(dirname) + UINT_CHARS + 2; local 438 char* name = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal); 439 snprintf(name, nbytes, "%s/%d", dirname, vmid); 475 size_t nbytes = strlen(dirname) + strlen(filename) + 2; local 476 char* path = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal);
|
/openjdk7/hotspot/src/os/linux/vm/ |
H A D | perfMemory_linux.cpp | 156 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3; local 157 char* dirname = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal); 160 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user); 436 size_t nbytes = strlen(dirname) + UINT_CHARS + 2; local 438 char* name = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal); 439 snprintf(name, nbytes, "%s/%d", dirname, vmid); 475 size_t nbytes = strlen(dirname) + strlen(filename) + 2; local 476 char* path = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal);
|
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | perfMemory_solaris.cpp | 158 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3; local 159 char* dirname = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal); 162 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user); 473 size_t nbytes = strlen(dirname) + UINT_CHARS + 2; local 475 char* name = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal); 476 snprintf(name, nbytes, "%s/%d", dirname, vmid); 512 size_t nbytes = strlen(dirname) + strlen(filename) + 2; local 513 char* path = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal);
|
/openjdk7/jdk/src/share/classes/sun/io/ |
H A D | ByteToCharISO2022.java | 99 private byte[] savetyGetSrc(byte[] input, int inOff, int inEnd, int nbytes) argument 104 if(inOff <= (inEnd-nbytes+1)) 105 tmp = new byte[nbytes];
|
H A D | ByteToCharISO2022CN.java | 95 private byte[] savetyGetSrc(byte[] input, int inOff, int inEnd, int nbytes) argument 100 if(inOff <= (inEnd-nbytes+1)) 101 tmp = new byte[nbytes];
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11FontScaler_md.c | 270 int h, i, j, nbytes; local 329 nbytes = ximage->bytes_per_line; 340 srcRow += nbytes;
|
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | ImageInputStreamImpl.java | 351 int nbytes = read(b, off, len); 352 if (nbytes == -1) { 355 off += nbytes; 356 len -= nbytes;
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/ |
H A D | GIFImageReader.java | 321 int nbytes = stream.read(block, off, left); 322 off += nbytes; 323 left -= nbytes; 894 int nbytes = stream.read(block, off, left); 895 left -= nbytes; 896 off += nbytes;
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/ |
H A D | PNGImageWriter.java | 230 int nbytes = Math.min(len, bytesRemaining); 231 crc.update(buf, off, nbytes); 232 stream.write(buf, off, nbytes); 234 off += nbytes; 235 len -= nbytes; 236 bytesRemaining -= nbytes;
|
/openjdk7/jdk/src/share/back/ |
H A D | ArrayReferenceImpl.c | 48 newComponents(PacketOutputStream *out, jint length, size_t nbytes) argument 53 ptr = jvmtiAllocate(length*((jint)nbytes)); 57 (void)memset(ptr, 0, length*nbytes);
|
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | PSPathGraphics.java | 488 int nbytes = w * h * 3; 500 while (nbytes > maxBytes && dpi > minDpi) { 503 nbytes /= 4;
|
/openjdk7/jdk/src/macosx/native/sun/java2d/opengl/ |
H A D | CGLGraphicsConfig.m | 94 int socket_fd, nbytes; 120 nbytes = read(remoteSocketFD, buffer, BUFLEN);
|
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/ |
H A D | zutil.h | 119 void *_Cdecl farmalloc( unsigned long nbytes );
|
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | UnixNativeDispatcher.c | 362 jlong address, jint nbytes) 366 RESTARTABLE(read((int)fd, bufp, (size_t)nbytes), n); 375 jlong address, jint nbytes) 379 RESTARTABLE(write((int)fd, bufp, (size_t)nbytes), n); 361 Java_sun_nio_fs_UnixNativeDispatcher_read(JNIEnv* env, jclass this, jint fd, jlong address, jint nbytes) argument 374 Java_sun_nio_fs_UnixNativeDispatcher_write(JNIEnv* env, jclass this, jint fd, jlong address, jint nbytes) argument
|
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | awt_ImagingLib.c | 2048 int nbytes = 0; local 2053 nbytes = numLines * scanLength; 2059 nbytes = numLines * scanLength; 2071 memcpy(dP, pixels, nbytes); 2072 dP += nbytes; 2089 int nbytes = rasterP->width*4*NUM_LINES; local 2092 jpixels = (*env)->NewIntArray(env, nbytes); 2101 nbytes = rasterP->width*4*numLines; 2109 memcpy(pixels, dP, nbytes); 2110 dP += nbytes; [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WPathGraphics.java | 1103 int nbytes = w * h * 3; 1115 while (nbytes > maxBytes && dpi > minDpi) { 1118 nbytes /= 4;
|
/openjdk7/jdk/src/share/native/java/util/zip/ |
H A D | zip_util.c | 144 ZFILE_read(ZFILE zfd, char *buf, jint nbytes) { argument 146 return (int) IO_Read(zfd, buf, nbytes); 156 return read(zfd, buf, nbytes);
|