Searched refs:nBytes (Results 1 - 25 of 28) sorted by relevance

12

/openjdk10/jdk/src/java.desktop/unix/classes/sun/font/
H A DXMap.java66 int nBytes = SINGLE_BYTE;
85 nBytes = DOUBLE_BYTE;
98 nBytes = DOUBLE_BYTE;
121 nBytes = DOUBLE_BYTE;
124 nBytes = DOUBLE_BYTE;
127 nBytes = DOUBLE_BYTE;
130 nBytes = DOUBLE_BYTE;
133 nBytes = DOUBLE_BYTE;
136 nBytes = DOUBLE_BYTE;
139 nBytes
168 XMap(String className, int minU, int maxU, int nBytes, boolean addAscii, boolean lowPartOnly) argument
[all...]
/openjdk10/hotspot/src/os/windows/vm/
H A Dos_windows.inline.hpp85 inline size_t os::read(int fd, void *buf, unsigned int nBytes) { argument
86 return ::read(fd, buf, nBytes);
89 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { argument
90 return ::read(fd, buf, nBytes);
93 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { argument
94 return ::write(fd, buf, nBytes);
H A Dos_windows.cpp4252 size_t os::read_at(int fd, void *buf, unsigned int nBytes, jlong offset) { argument
4263 result = ReadFile(h, (LPVOID)buf, nBytes, &nread, &ov);
5120 int os::recv(int fd, char* buf, size_t nBytes, uint flags) { argument
5121 return ::recv(fd, buf, (int)nBytes, flags);
5124 int os::send(int fd, char* buf, size_t nBytes, uint flags) { argument
5125 return ::send(fd, buf, (int)nBytes, flags);
5128 int os::raw_send(int fd, char* buf, size_t nBytes, uint flags) { argument
5129 return ::send(fd, buf, (int)nBytes, flags);
/openjdk10/hotspot/src/os/bsd/vm/
H A Dos_bsd.inline.hpp144 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { argument
146 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res);
150 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { argument
152 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
168 inline int os::recv(int fd, char* buf, size_t nBytes, uint flags) { argument
169 RESTARTABLE_RETURN_INT(::recv(fd, buf, nBytes, flags));
172 inline int os::send(int fd, char* buf, size_t nBytes, uint flags) { argument
173 RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, flags));
176 inline int os::raw_send(int fd, char* buf, size_t nBytes, uint flags) { argument
177 return os::send(fd, buf, nBytes, flag
[all...]
H A Dos_bsd.cpp2431 size_t os::read(int fd, void *buf, unsigned int nBytes) { argument
2432 RESTARTABLE_RETURN_INT(::read(fd, buf, nBytes));
2435 size_t os::read_at(int fd, void *buf, unsigned int nBytes, jlong offset) { argument
2436 RESTARTABLE_RETURN_INT(::pread(fd, buf, nBytes, offset));
/openjdk10/hotspot/src/os/linux/vm/
H A Dos_linux.inline.hpp136 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { argument
138 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res);
142 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { argument
144 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
160 inline int os::recv(int fd, char* buf, size_t nBytes, uint flags) { argument
161 RESTARTABLE_RETURN_INT(::recv(fd, buf, nBytes, flags));
164 inline int os::send(int fd, char* buf, size_t nBytes, uint flags) { argument
165 RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, flags));
168 inline int os::raw_send(int fd, char* buf, size_t nBytes, uint flags) { argument
169 return os::send(fd, buf, nBytes, flag
[all...]
/openjdk10/hotspot/src/os/aix/vm/
H A Dos_aix.inline.hpp137 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { argument
139 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res);
143 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) { argument
145 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
161 inline int os::recv(int fd, char* buf, size_t nBytes, uint flags) { argument
162 RESTARTABLE_RETURN_INT(::recv(fd, buf, nBytes, flags));
165 inline int os::send(int fd, char* buf, size_t nBytes, uint flags) { argument
166 RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, flags));
169 inline int os::raw_send(int fd, char *buf, size_t nBytes, uint flags) { argument
170 return os::send(fd, buf, nBytes, flag
[all...]
H A Dos_aix.cpp2498 size_t os::read(int fd, void *buf, unsigned int nBytes) { argument
2499 return ::read(fd, buf, nBytes);
2502 size_t os::read_at(int fd, void *buf, unsigned int nBytes, jlong offset) { argument
2503 return ::pread(fd, buf, nBytes, offset);
/openjdk10/jdk/src/jdk.jdwp.agent/share/native/libdt_socket/
H A DsysSocket.h46 int dbgsysRecvFrom(int fd, char *buf, size_t nBytes, int flags, struct sockaddr *from, socklen_t *fromlen);
48 int dbgsysRecv(int fd, char *buf, size_t nBytes, int flags);
49 int dbgsysSend(int fd, char *buf, size_t nBytes, int flags);
/openjdk10/jdk/src/java.base/unix/native/libjimage/
H A DosSupport_unix.cpp64 * Read nBytes at offset into a buffer.
66 jlong osSupport::read(jint fd, char *buf, jlong nBytes, jlong offset) { argument
67 return ::pread(fd, buf, nBytes, offset);
71 * Map nBytes at offset into memory and return the address.
86 * Unmap nBytes of memory at address.
/openjdk10/jdk/src/java.base/share/native/libjimage/
H A DosSupport.hpp60 * Read nBytes at offset into a buffer.
62 static jlong read(jint fd, char *buf, jlong nBytes, jlong offset);
65 * Map nBytes at offset into memory and return the address.
71 * Unmap nBytes of memory at address.
/openjdk10/jdk/src/java.base/windows/native/libjimage/
H A DosSupport_windows.cpp64 * Read nBytes at offset into a buffer.
66 jlong osSupport::read(jint fd, char *buf, jlong nBytes, jlong offset) { argument
77 result = ReadFile(h, (LPVOID) buf, (DWORD) nBytes, &nread, &ov);
83 * Map nBytes at offset into memory and return the address.
109 * Unmap nBytes of memory at address.
/openjdk10/jdk/src/jdk.jdwp.agent/unix/native/libdt_socket/
H A Dsocket_md.c88 dbgsysRecvFrom(int fd, char *buf, size_t nBytes, argument
92 rv = recvfrom(fd, buf, nBytes, flags, from, fromlen);
110 dbgsysRecv(int fd, char *buf, size_t nBytes, int flags) { argument
113 rv = recv(fd, buf, nBytes, flags);
120 dbgsysSend(int fd, char *buf, size_t nBytes, int flags) { argument
123 rv = send(fd, buf, nBytes, flags);
/openjdk10/jdk/src/java.desktop/share/native/libsplashscreen/
H A Dsplashscreen_impl.c334 static int readFile(void* pStream, void* pData, int nBytes) { argument
336 return fread(pData, 1, nBytes, f);
354 static int readMem(void* pStream, void* pData, int nBytes) { argument
357 if (nBytes > pSrcEnd - pSrc) {
358 nBytes = pSrcEnd - pSrc;
360 if (nBytes>0) {
361 memcpy(pData, pSrc, nBytes);
362 pSrc += nBytes;
365 return nBytes;
H A Dsplashscreen_impl.h157 int (*read)(void* pStream, void* pData, int nBytes);
/openjdk10/jdk/src/java.desktop/unix/classes/sun/print/
H A DAttributeClass.java159 int nBytes = 4; // 32-bit signed integer
161 byte[] intBytes = new byte[nBytes];
163 for (int i=0; i< nBytes; i++) {
/openjdk10/jdk/src/jdk.jdwp.agent/windows/native/libdt_socket/
H A Dsocket_md.c179 dbgsysRecvFrom(int fd, char *buf, size_t nBytes, argument
181 return recvfrom(fd, buf, (int)nBytes, flags, from, fromlen);
191 dbgsysRecv(int fd, char *buf, size_t nBytes, int flags) { argument
192 return recv(fd, buf, (int) nBytes, flags);
196 dbgsysSend(int fd, char *buf, size_t nBytes, int flags) { argument
197 return send(fd, buf, (int)nBytes, flags);
/openjdk10/jdk/src/java.base/share/classes/sun/security/provider/
H A DDSA.java406 int nBytes = q.bitLength()/8;
407 if (nBytes < s2.length) {
408 s2 = Arrays.copyOfRange(s2, 0, nBytes);
433 int nBytes = q.bitLength()/8;
434 if (nBytes < s2.length) {
435 s2 = Arrays.copyOfRange(s2, 0, nBytes);
/openjdk10/jdk/src/java.desktop/windows/native/libawt/windows/
H A Dawt_Clipboard.cpp225 jint nBytes = env->GetArrayLength(bytes); local
235 HENHMETAFILE hemf = ::SetEnhMetaFileBits(nBytes, lpbEmfBuffer);
252 HMETAFILE hmf = ::SetMetaFileBitsEx(nBytes - sizeof(METAFILEPICT),
286 HGLOBAL hglobal = ::GlobalAlloc(GALLOCFLG, nBytes + ((format == CF_HDROP)
301 env->GetByteArrayRegion(bytes, 0, nBytes, (jbyte *)dataout);
H A Dawt_DnDDS.cpp816 jint nBytes = env->GetArrayLength(bytes); local
819 ADSIStreamProxy *istream = new ADSIStreamProxy(this, bytes, nBytes);
835 HGLOBAL copy = ::GlobalAlloc(GALLOCFLG, nBytes +
856 env->GetByteArrayRegion(bytes, 0, nBytes, (jbyte *)dataout);
873 HENHMETAFILE hemf = ::SetEnhMetaFileBits(nBytes, lpbEmfBuffer);
896 HMETAFILE hmf = ::SetMetaFileBitsEx(nBytes - sizeof(METAFILEPICT),
982 jint nBytes = env->GetArrayLength(bytes); local
994 HRESULT res = pmedium->pstm->Write((const void *)bBytes, (ULONG)nBytes,
1010 if (nBytes + ((matchedFormatEtc.cfFormat == CF_HDROP)
1028 env->GetByteArrayRegion(bytes, 0, nBytes, (jbyt
[all...]
H A Dawt_DataTransferer.cpp642 int nBytes = sizeof(BITMAPINFO) + size + pad;
643 BITMAPINFO* pinfo = (BITMAPINFO*)safe_Calloc(1, nBytes);
666 bytes = env->NewByteArray(nBytes);
670 env->SetByteArrayRegion(bytes, 0, nBytes, (jbyte*)pinfo);
H A Dawt_Font.cpp1494 DWORD nBytes = local
1496 DASSERT(nBytes != GDI_ERROR);
/openjdk10/hotspot/src/share/vm/runtime/
H A Dos.hpp526 static size_t read(int fd, void *buf, unsigned int nBytes);
527 static size_t read_at(int fd, void *buf, unsigned int nBytes, jlong offset);
528 static size_t restartable_read(int fd, void *buf, unsigned int nBytes);
529 static size_t write(int fd, const void *buf, unsigned int nBytes);
734 static int recv(int fd, char* buf, size_t nBytes, uint flags);
735 static int send(int fd, char* buf, size_t nBytes, uint flags);
736 static int raw_send(int fd, char* buf, size_t nBytes, uint flags);
/openjdk10/hotspot/src/os/solaris/vm/
H A Dos_solaris.cpp2896 size_t os::read(int fd, void *buf, unsigned int nBytes) { argument
2901 RESTARTABLE(::read(fd, buf, (size_t) nBytes), res);
2905 size_t os::read_at(int fd, void *buf, unsigned int nBytes, jlong offset) { argument
2910 RESTARTABLE(::pread(fd, buf, (size_t) nBytes, offset), res);
2914 size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) { argument
2918 RESTARTABLE(::read(fd, buf, (size_t) nBytes), res);
5434 size_t os::write(int fd, const void *buf, unsigned int nBytes) { argument
5436 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
5448 int os::recv(int fd, char* buf, size_t nBytes, uint flags) { argument
5451 RESTARTABLE_RETURN_INT((int)::recv(fd, buf, nBytes, flag
5454 send(int fd, char* buf, size_t nBytes, uint flags) argument
5460 raw_send(int fd, char* buf, size_t nBytes, uint flags) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/native/liblcms/
H A Dcmstypes.c4633 cmsUInt16Number nChannels, nElems, nBytes; local
4645 if (!_cmsReadUInt16Number(io, &nBytes)) goto Error;
4648 if (nElems == 256 && nBytes == 1 && SizeOfTag == 1576)
4649 nBytes = 2;
4659 switch (nBytes) {
4679 cmsSignalError(self->ContextID, cmsERROR_UNKNOWN_EXTENSION, "Unsupported bit depth for VCGT '%d'", nBytes * 8);

Completed in 290 milliseconds

12