/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/ |
H A D | InputStreamAdapter.java | 46 public int read(byte b[], int off, int len) throws IOException { argument 47 return stream.read(b, off, len);
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | fieldType.cpp | 51 int len = sig->utf8_length(); local 53 while(i < len - 1 && sig->byte_at(i) == '[') i++; 66 return (i + 1 == len); 69 return sig->byte_at(len - 1) == ';'; 90 int len = (int)strlen(element); local 91 assert(element[len-1] == ';', "last char should be a semicolon"); 92 element[len-1] = '\0'; // chop off semicolon
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/util/ |
H A D | JavadocEscapeWriter.java | 68 public void write(char[] buf, int off, int len) throws IOException { argument 69 for( int i=0; i<len; i++ ) 77 public void write(String buf, int off, int len) throws IOException { argument 78 write( buf.toCharArray(), off, len );
|
H A D | UnicodeEscapeWriter.java | 73 public final void write(char[] buf, int off, int len) throws IOException { argument 74 for( int i=0; i<len; i++ ) 82 public final void write(String buf, int off, int len) throws IOException { argument 83 write( buf.toCharArray(), off, len );
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/istack/internal/ |
H A D | ByteArrayDataSource.java | 42 private final int len; field in class:ByteArrayDataSource 49 this.len = length; 60 return new ByteArrayInputStream(buf,0,len);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/util/ |
H A D | NullStream.java | 48 public void write(byte[] b, int off, int len) throws IOException { argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/ |
H A D | XMLStreamWriterEx.java | 86 * (data,start,len) triplet identifies the binary data to be written. 94 void writeBinary(byte[] data, int start, int len, String contentType) throws XMLStreamException; argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | ByteArrayDataSource.java | 44 private final int len; field in class:ByteArrayDataSource 55 this.len = length; 66 return new ByteArrayInputStream(buf,start,len);
|
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | FileOutputStream_md.c | 69 jobject this, jbyteArray bytes, jint off, jint len, jboolean append) { 70 writeBytes(env, this, bytes, off, len, append, fos_fd); 68 Java_java_io_FileOutputStream_writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len, jboolean append) argument
|
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | SocketInputStream.c | 63 jint off, jint len, jint timeout) 89 if (len > MAX_BUFFER_LEN) { 90 if (len > MAX_HEAP_BUFFER_LEN) { 91 len = MAX_HEAP_BUFFER_LEN; 93 bufP = (char *)malloc((size_t)len); 96 len = MAX_BUFFER_LEN; 126 nread = NET_Read(fd, bufP, len); 61 Java_java_net_SocketInputStream_socketRead0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len, jint timeout) argument
|
/openjdk7/jdk/src/solaris/native/java/nio/ |
H A D | MappedByteBuffer.c | 37 jlong len, jint numPages) 54 result = mincore(a, (size_t)len, vec); 74 jlong len) 77 int result = madvise((caddr_t)a, (size_t)len, MADV_WILLNEED); 86 jlong address, jlong len) 89 int result = msync(a, (size_t)len, MS_SYNC); 36 Java_java_nio_MappedByteBuffer_isLoaded0(JNIEnv *env, jobject obj, jlong address, jlong len, jint numPages) argument 73 Java_java_nio_MappedByteBuffer_load0(JNIEnv *env, jobject obj, jlong address, jlong len) argument 85 Java_java_nio_MappedByteBuffer_force0(JNIEnv *env, jobject obj, jobject fdo, jlong address, jlong len) argument
|
/openjdk7/jdk/src/solaris/native/sun/net/sdp/ |
H A D | SdpSupport.c | 103 socklen_t len; local 108 len = sizeof(arg); 109 if (getsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (char*)&arg, &len) == 0) 110 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (char*)&arg, len); 111 len = sizeof(arg); 112 if (getsockopt(fd, SOL_SOCKET, SO_OOBINLINE, (char*)&arg, &len) == 0) 113 setsockopt(s, SOL_SOCKET, SO_OOBINLINE, (char*)&arg, len); 114 len = sizeof(linger); 115 if (getsockopt(fd, SOL_SOCKET, SO_LINGER, (void*)&linger, &len) == 0) 116 setsockopt(s, SOL_SOCKET, SO_LINGER, (char*)&linger, len); [all...] |
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | DatagramDispatcher.c | 44 jobject fdo, jlong address, jint len) 48 int result = recv(fd, buf, len, 0); 59 jobject fdo, jlong address, jint len) 65 if (len > IOV_MAX) { 66 len = IOV_MAX; 72 m.msg_iovlen = len; 84 jobject fdo, jlong address, jint len) 88 int result = send(fd, buf, len, 0); 98 jobject fdo, jlong address, jint len) 104 if (len > IOV_MA 43 Java_sun_nio_ch_DatagramDispatcher_read0(JNIEnv *env, jclass clazz, jobject fdo, jlong address, jint len) argument 58 Java_sun_nio_ch_DatagramDispatcher_readv0(JNIEnv *env, jclass clazz, jobject fdo, jlong address, jint len) argument 83 Java_sun_nio_ch_DatagramDispatcher_write0(JNIEnv *env, jclass clazz, jobject fdo, jlong address, jint len) argument 97 Java_sun_nio_ch_DatagramDispatcher_writev0(JNIEnv *env, jclass clazz, jobject fdo, jlong address, jint len) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | MacOSXNativeDispatcher.c | 48 jsize len = (*env)->GetArrayLength(env, path); local 49 CFStringAppendCharacters(csref, (const UniChar*)chars, len); 52 len = CFStringGetLength(csref); 53 if (len < PATH_MAX) { 55 result = (*env)->NewCharArray(env, len); 56 (*env)->SetCharArrayRegion(env, result, 0, len, (jchar*)&chars_buf); 59 int ulen = (len + 1) * 2; 67 result = (*env)->NewCharArray(env, len); 68 (*env)->SetCharArrayRegion(env, result, 0, len, (jchar*)chars);
|
H A D | UnixCopyFile.c | 60 ssize_t n, pos, len; local 72 len = n; 76 RESTARTABLE(write((int)dst, bufp, len), n); 82 len -= n; 83 } while (len > 0);
|
/openjdk7/jdk/src/windows/classes/sun/nio/ch/ |
H A D | DatagramDispatcher.java | 42 int read(FileDescriptor fd, long address, int len) throws IOException { argument 43 return read0(fd, address, len); 46 long readv(FileDescriptor fd, long address, int len) throws IOException { argument 47 return readv0(fd, address, len); 50 int write(FileDescriptor fd, long address, int len) throws IOException { argument 51 return write0(fd, address, len); 54 long writev(FileDescriptor fd, long address, int len) throws IOException { argument 55 return writev0(fd, address, len); 62 static native int read0(FileDescriptor fd, long address, int len) argument 65 static native long readv0(FileDescriptor fd, long address, int len) argument 68 write0(FileDescriptor fd, long address, int len) argument 71 writev0(FileDescriptor fd, long address, int len) argument [all...] |
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | FileOutputStream_md.c | 70 jobject this, jbyteArray bytes, jint off, jint len, jboolean append) 72 writeBytes(env, this, bytes, off, len, append, fos_fd); 69 Java_java_io_FileOutputStream_writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len, jboolean append) argument
|
/openjdk7/jdk/src/windows/native/java/nio/ |
H A D | MappedByteBuffer.c | 35 jlong len, jint numPages) 41 int result = VirtualQuery(a, &info, (DWORD)len); 48 jlong len) 55 jlong address, jlong len) 68 result = FlushViewOfFile(a, (DWORD)len); 34 Java_java_nio_MappedByteBuffer_isLoaded0(JNIEnv *env, jobject obj, jlong address, jlong len, jint numPages) argument 47 Java_java_nio_MappedByteBuffer_load0(JNIEnv *env, jobject obj, jlong address, jlong len) argument 54 Java_java_nio_MappedByteBuffer_force0(JNIEnv *env, jobject obj, jobject fdo, jlong address, jlong len) argument
|
/openjdk7/jdk/src/windows/native/sun/nio/fs/ |
H A D | RegistryFileTypeDetector.c | 54 jsize len = (jsize)wcslen((WCHAR*)data); local 55 result = (*env)->NewString(env, (const jchar*)&data, len);
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Desktop.cpp | 57 int len = ::FormatMessage( local
|
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/AES/ |
H A D | TestKATForECB_VT.java | 449 * @param len key size in bytes, i.e. 16, 24, or 32 451 private static SecretKey constructAESKey(int len) argument 453 if ((len != 16) && (len != 24) && (len != 32)) { 454 throw new IllegalArgumentException("Wrong Key Length: " + len); 456 byte[] keyval = new byte[len]; 506 int len = s.length()/2; 507 byte[] tempValue = new byte[len]; 508 for (int i = 0; i < len; [all...] |
/openjdk7/jdk/test/java/io/BufferedInputStream/ |
H A D | CountUpdate.java | 89 public int read(byte b[], int off, int len) throws IOException { argument 91 if (len > buffer.length) len = buffer.length; 92 System.arraycopy(buffer, 0, b, off, len); 93 return len;
|
H A D | Fill.java | 55 public int read(byte[] buf, int off, int len) throws IOException { argument 56 int n = len - shortFall;
|
H A D | SkipTest.java | 91 public int read(byte b[], int off, int len) throws IOException { argument 92 if (len > buffer.length) len = buffer.length; 93 System.arraycopy(buffer, aposition, b, off, len); 94 return len;
|
/openjdk7/jdk/test/java/io/BufferedReader/ |
H A D | Fill.java | 51 public int read(char[] cbuf, int off, int len) throws IOException { argument 52 int n = len - shortFall;
|