/openjdk7/hotspot/src/cpu/zero/vm/ |
H A D | icache_zero.hpp | 38 static void invalidate_range(address start, int nbytes) {} argument
|
/openjdk7/hotspot/agent/src/os/bsd/ |
H A D | salibelf.c | 51 size_t nbytes = hdr->e_phnum * hdr->e_phentsize; local 53 if ((phbuf = (ELF_PHDR*) malloc(nbytes)) == NULL) { 58 if (pread(fd, phbuf, nbytes, hdr->e_phoff) != nbytes) { 71 size_t nbytes = hdr->e_shnum * hdr->e_shentsize; local 73 if ((shbuf = (ELF_SHDR*) malloc(nbytes)) == NULL) { 78 if (pread(fd, shbuf, nbytes, hdr->e_shoff) != nbytes) {
|
H A D | ps_core.c | 537 static bool core_handle_prstatus(struct ps_prochandle* ph, const char* buf, size_t nbytes) { argument 539 // assert(nbytes == sizeof(prstaus_t), "size mismatch on prstatus_t");
|
/openjdk7/hotspot/agent/src/os/linux/ |
H A D | salibelf.c | 50 size_t nbytes = hdr->e_phnum * hdr->e_phentsize; local 52 if ((phbuf = (ELF_PHDR*) malloc(nbytes)) == NULL) { 57 if (pread(fd, phbuf, nbytes, hdr->e_phoff) != nbytes) { 70 size_t nbytes = hdr->e_shnum * hdr->e_shentsize; local 72 if ((shbuf = (ELF_SHDR*) malloc(nbytes)) == NULL) { 77 if (pread(fd, shbuf, nbytes, hdr->e_shoff) != nbytes) {
|
H A D | ps_core.c | 531 static bool core_handle_prstatus(struct ps_prochandle* ph, const char* buf, size_t nbytes) { argument 533 // assert(nbytes == sizeof(prstaus_t), "size mismatch on prstatus_t");
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | icache.cpp | 81 void AbstractICache::invalidate_range(address start, int nbytes) { argument 89 if (nbytes == 0) { 93 // nbytes to an icache line count. 97 nbytes += line_offset; 99 call_flush_stub(start, round_to(nbytes, ICache::line_size) >>
|
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | hprof_blocks.c | 56 real_size(int alignment, int nbytes) argument 61 wasted = alignment - ( nbytes % alignment ); 63 nbytes += wasted; 66 return nbytes; 69 /* Add a new current_block to the Blocks* chain, adjust size if nbytes big. */ 71 add_block(Blocks *blocks, int nbytes) argument 78 HPROF_ASSERT(nbytes>0); 82 if ( nbytes > block_size ) { 83 block_size = real_size(blocks->alignment, nbytes); 121 blocks_alloc(Blocks *blocks, int nbytes) argument [all...] |
H A D | hprof_listener.c | 137 jint nbytes; local 139 nbytes = 0; 141 return nbytes; 143 while (nbytes < len) { 146 res = md_recv(f, buf + nbytes, (len - nbytes), 0); 156 nbytes += res; 158 return nbytes; 165 jint nbytes; local 167 nbytes 178 jint nbytes; local 191 jint nbytes; local 204 jint nbytes; local [all...] |
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 | debug_malloc.c | 187 #define rbytes_(nbytes) \ 188 (size_t)( sizeof(Word) + round_up_(nbytes) + sizeof(Word) + warrant_space ) 363 register int nbytes; local 366 nbytes = (int)size; 367 if ( nbytes > largest_size || largest_addr == NULL ) largest_size = nbytes; 374 nsize1_(mptr) = -nbytes; 375 nsize2_(mptr) = -nbytes; 376 tail_nsize1_(mptr) = -nbytes; 377 tail_nsize2_(mptr) = -nbytes; 426 int nbytes; local 531 size_t nbytes = -nsize1_(mptr); local 549 size_t nbytes; local 597 debug_malloc(size_t nbytes, const char *file, int line) argument 619 debug_realloc(void *uptr, size_t nbytes, const char *file, int line) argument 662 size_t nbytes; local 683 size_t nbytes; local [all...] |
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_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_check.c | 416 check_heap_tags(struct LookupTable *utab, unsigned char *pstart, int nbytes) argument 440 while ( p < (pstart+nbytes) ) { 551 CHECK_FOR_ERROR(p==pstart+nbytes); 556 while ( p < (pstart+nbytes) ) { 693 " cid=0x%x, nbytes=%d\n", 822 CHECK_FOR_ERROR(p==pstart+nbytes); 846 check_tags(unsigned char *pstart, int nbytes) argument 860 while ( p < (pstart+nbytes) ) { 1082 CHECK_FOR_ERROR(p<=(pstart+nbytes)); 1085 CHECK_FOR_ERROR(p==(pstart+nbytes)); 1096 jlong nbytes; local 1131 int nbytes; local [all...] |
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_jpeg.c | 60 size_t nbytes; local 63 nbytes = src->stream->read(src->stream, src->buffer, INPUT_BUF_SIZE); 65 if (nbytes <= 0) { 72 nbytes = 2; 76 src->pub.bytes_in_buffer = 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/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/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/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/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/transport/socket/ |
H A D | socketTransport.c | 584 int nbytes = 0; local 585 while (nbytes < len) { 586 int res = dbgsysRecv(f, buf + nbytes, len - nbytes, 0); 590 break; /* eof, return nbytes which is less than len */ 592 nbytes += res; 594 return nbytes; 600 int nbytes = 0; local 601 while (nbytes < len) { 602 int res = dbgsysSend(f, buf + nbytes, le [all...] |
/openjdk7/hotspot/src/os/windows/vm/ |
H A D | perfMemory_windows.cpp | 103 int nbytes = ::_write(fd, addr, (unsigned int)remaining); local 104 if (nbytes == OS_ERR) { 112 remaining -= (size_t)nbytes; 113 addr += nbytes; 160 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3; local 161 char* dirname = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal); 164 _snprintf(dirname, nbytes, "%s\\%s_%s", tmpdir, perfdir, user); 450 int nbytes = (int)strlen(PERFDATA_NAME) + (int)strlen(user) + 3; local 456 nbytes += UINT_CHARS; 457 char* name = NEW_C_HEAP_ARRAY(char, nbytes, mtInterna 471 size_t nbytes = strlen(dirname) + UINT_CHARS + 2; local 488 size_t nbytes = strlen(dirname) + strlen(filename) + 2; local 822 DWORD nbytes = GetLengthSid(token_buf->User.Sid); local [all...] |
/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
|