Searched refs:nbytes (Results 26 - 50 of 60) sorted by relevance

123

/openjdk7/jdk/make/java/nio/
H A DgenBuffer.sh138 nbytes="$4"
153 -Dnbytes=$nbytes \
/openjdk7/jdk/src/share/transport/socket/
H A DsysSocket.h44 int dbgsysRecvFrom(int fd, char *buf, int nbytes, int flags,
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_reference.c162 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 Dhprof_table.c463 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 Dhprof_trace.c570 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 Dhprof_site.c389 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 Dhprof_util.c1217 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 Dfilemap.cpp244 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 DperfMemory_bsd.cpp156 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 DperfMemory_linux.cpp156 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 DperfMemory_solaris.cpp158 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 DByteToCharISO2022.java99 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 DByteToCharISO2022CN.java95 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 DX11FontScaler_md.c270 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 DImageInputStreamImpl.java351 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 DGIFImageReader.java321 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 DPNGImageWriter.java230 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 DArrayReferenceImpl.c48 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 DPSPathGraphics.java488 int nbytes = w * h * 3;
500 while (nbytes > maxBytes && dpi > minDpi) {
503 nbytes /= 4;
/openjdk7/jdk/src/macosx/native/sun/java2d/opengl/
H A DCGLGraphicsConfig.m94 int socket_fd, nbytes;
120 nbytes = read(remoteSocketFD, buffer, BUFLEN);
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dzutil.h119 void *_Cdecl farmalloc( unsigned long nbytes );
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DUnixNativeDispatcher.c362 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 Dawt_ImagingLib.c2048 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 DWPathGraphics.java1103 int nbytes = w * h * 3;
1115 while (nbytes > maxBytes && dpi > minDpi) {
1118 nbytes /= 4;
/openjdk7/jdk/src/share/native/java/util/zip/
H A Dzip_util.c144 ZFILE_read(ZFILE zfd, char *buf, jint nbytes) { argument
146 return (int) IO_Read(zfd, buf, nbytes);
156 return read(zfd, buf, nbytes);

Completed in 334 milliseconds

123