Searched refs:nbytes (Results 1 - 25 of 44) sorted by relevance

12

/openjdk10/hotspot/src/cpu/aarch64/vm/
H A Dicache_aarch64.hpp39 static void invalidate_range(address start, int nbytes) { argument
40 __clear_cache((char *)start, (char *)(start + nbytes));
/openjdk10/hotspot/src/cpu/zero/vm/
H A Dicache_zero.hpp38 static void invalidate_range(address start, int nbytes) {} argument
/openjdk10/jdk/src/java.desktop/share/classes/javax/imageio/stream/
H A DMemoryCache.java114 int nbytes = (int)Math.min(len, (long)left);
115 nbytes = stream.read(buf, offset, nbytes);
116 if (nbytes == -1) {
124 len -= nbytes;
125 length += nbytes;
126 offset += nbytes;
175 int nbytes = (int)Math.min(len, (long)(BUFFER_LENGTH - offset));
176 stream.write(buf, offset, nbytes);
178 len -= nbytes;
[all...]
H A DFileImageInputStream.java117 int nbytes = raf.read(b, off, len);
118 if (nbytes != -1) {
119 streamPos += nbytes;
121 return nbytes;
H A DFileImageOutputStream.java109 int nbytes = raf.read(b, off, len);
110 if (nbytes != -1) {
111 streamPos += nbytes;
113 return nbytes;
H A DFileCacheImageInputStream.java144 int nbytes =
146 if (nbytes == -1) {
151 cache.write(buf, 0, nbytes);
152 len -= nbytes;
153 length += nbytes;
H A DFileCacheImageOutputStream.java125 int nbytes = cache.read(b, off, len);
126 if (nbytes != -1) {
127 streamPos += nbytes;
129 return nbytes;
H A DImageInputStreamImpl.java351 int nbytes = read(b, off, len);
352 if (nbytes == -1) {
355 off += nbytes;
356 len -= nbytes;
/openjdk10/hotspot/src/jdk.hotspot.agent/macosx/native/libsaproc/
H A Dsalibelf.c51 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) {
/openjdk10/hotspot/src/jdk.hotspot.agent/linux/native/libsaproc/
H A Dsalibelf.c51 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) {
/openjdk10/hotspot/src/share/vm/runtime/
H A Dicache.cpp85 void AbstractICache::invalidate_range(address start, int nbytes) { argument
93 if (nbytes == 0) {
97 // nbytes to an icache line count.
101 nbytes += line_offset;
103 call_flush_stub(start, align_up(nbytes, (int)ICache::line_size) >>
H A Dicache.hpp65 static void invalidate_range(address start, int nbytes);
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DSharedNameTable.java99 int nbytes = Convert.chars2utf(cs, start, bytes, nc, len) - nc;
100 int h = hashValue(bytes, nc, nbytes) & hashMask;
103 (n.getByteLength() != nbytes ||
104 !equals(bytes, n.index, bytes, nc, nbytes))) {
110 n.length = nbytes;
113 this.nc = nc + nbytes;
114 if (nbytes == 0) {
H A DUnsharedNameTable.java83 int nbytes = Convert.chars2utf(cs, start, name, 0, len);
84 return fromUtf(name, 0, nbytes);
/openjdk10/jdk/test/javax/xml/crypto/dsig/
H A DSignatureValidator.java110 int nbytes;
112 while ((nbytes = is.read(buf, 0, buf.length)) != -1) {
113 md.update(buf, 0, nbytes);
/openjdk10/jdk/src/java.desktop/share/native/libsplashscreen/
H A Dsplashscreen_jpeg.c65 size_t nbytes; local
68 nbytes = src->stream->read(src->stream, src->buffer, INPUT_BUF_SIZE);
70 if (nbytes <= 0) {
77 nbytes = 2;
81 src->pub.bytes_in_buffer = nbytes;
/openjdk10/hotspot/src/os/windows/vm/
H A DperfMemory_windows.cpp105 int nbytes = ::_write(fd, addr, (unsigned int)remaining); local
106 if (nbytes == OS_ERR) {
114 remaining -= (size_t)nbytes;
115 addr += nbytes;
162 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3; local
163 char* dirname = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal);
166 _snprintf(dirname, nbytes, "%s\\%s_%s", tmpdir, perfdir, user);
452 int nbytes = (int)strlen(PERFDATA_NAME) + (int)strlen(user) + 3; local
458 nbytes += UINT_CHARS;
459 char* name = NEW_C_HEAP_ARRAY(char, nbytes, mtInterna
473 size_t nbytes = strlen(dirname) + UINT_CHARS + 2; local
490 size_t nbytes = strlen(dirname) + strlen(filename) + 2; local
825 DWORD nbytes = GetLengthSid(token_buf->User.Sid); local
[all...]
/openjdk10/jdk/src/jdk.jdwp.agent/share/native/libdt_socket/
H A DsocketTransport.c852 int nbytes = 0; local
853 while (nbytes < len) {
854 int res = dbgsysRecv(f, buf + nbytes, len - nbytes, 0);
858 break; /* eof, return nbytes which is less than len */
860 nbytes += res;
862 return nbytes;
868 int nbytes = 0; local
869 while (nbytes < len) {
870 int res = dbgsysSend(f, buf + nbytes, le
[all...]
/openjdk10/hotspot/src/os/bsd/vm/
H A DperfMemory_bsd.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);
631 size_t nbytes = strlen(dirname) + UINT_CHARS + 2; local
633 char* name = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal);
634 snprintf(name, nbytes, "%s/%d", dirname, vmid);
/openjdk10/hotspot/src/os/linux/vm/
H A DperfMemory_linux.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);
643 size_t nbytes = strlen(dirname) + UINT_CHARS + 2; local
645 char* name = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal);
646 snprintf(name, nbytes, "%s/%d", dirname, vmid);
/openjdk10/jdk/src/java.desktop/unix/native/common/java2d/x11/
H A DX11FontScaler_md.c270 int h, i, j, nbytes; local
329 nbytes = ximage->bytes_per_line;
340 srcRow += nbytes;
/openjdk10/jdk/src/java.base/unix/native/libjava/
H A DProcessImpl_md.c300 * *nelems and *nbytes receive the number of elements of array (incl 0)
303 * But if arg is null, then *nelems set to 0, and *nbytes to 0
305 static void arraysize(const char * const *arg, int *nelems, int *nbytes) argument
313 *nbytes = 0;
320 *nbytes = bytes;
/openjdk10/hotspot/test/gc/stress/gcold/
H A DTestGCOld.java312 final int nbytes = nwords*BYTES_PER_WORD;
317 allocated += nbytes;
/openjdk10/hotspot/src/os/solaris/vm/
H A DperfMemory_solaris.cpp161 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3; local
162 char* dirname = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal);
165 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user);
679 size_t nbytes = strlen(dirname) + UINT_CHARS + 2; local
681 char* name = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal);
682 snprintf(name, nbytes, "%s/%d", dirname, vmid);
/openjdk10/hotspot/src/os/aix/vm/
H A DperfMemory_aix.cpp159 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3; local
160 char* dirname = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal);
163 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user);
725 size_t nbytes = strlen(dirname) + UINT_CHARS + 2; local
727 char* name = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal);
728 snprintf(name, nbytes, "%s/%d", dirname, vmid);

Completed in 182 milliseconds

12