Searched refs:len (Results 276 - 300 of 1688) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dzutil.c173 void zmemcpy(dest, source, len)
176 uInt len;
178 if (len == 0) return;
181 } while (--len != 0);
184 int zmemcmp(s1, s2, len)
187 uInt len;
191 for (j = 0; j < len; j++) {
197 void zmemzero(dest, len)
199 uInt len;
201 if (len
[all...]
H A Dgzio.c317 uInt len; local
323 len = s->stream.avail_in;
324 if (len < 2) {
325 if (len) s->inbuf[0] = s->stream.next_in[0];
327 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file);
328 if (len == 0 && ferror(s->file)) s->z_err = Z_ERRNO;
329 s->stream.avail_in += len;
355 for (len
631 int len; local
669 int len; local
733 uInt len; local
[all...]
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/
H A DSerialArray.java82 private int len; field in class:SerialArray
154 len = elements.length;
158 for (int i = 0; i < len; i++) {
164 for (int i = 0; i < len; i++) {
170 for (int i = 0; i < len; i++) {
176 for (int i = 0; i < len; i++) {
182 for (int i = 0; i < len; i++) {
188 for (int i = 0; i < len; i++) {
264 len = elements.length;
269 for (int i = 0; i < len;
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DRandomAccessFile.java343 * @param len the number of bytes to read.
346 private int readBytes(byte b[], int off, int len) throws IOException { argument
350 bytesRead = readBytes0(b, off, len);
357 private native int readBytes0(byte b[], int off, int len) throws IOException; argument
360 * Reads up to <code>len</code> bytes of data from this file into an
372 * @param len the maximum number of bytes read.
381 * <code>len</code> is negative, or <code>len</code> is greater than
384 public int read(byte b[], int off, int len) throws IOException { argument
385 return readBytes(b, off, len);
441 readFully(byte b[], int off, int len) argument
516 writeBytes(byte b[], int off, int len) argument
527 writeBytes0(byte b[], int off, int len) argument
549 write(byte b[], int off, int len) argument
[all...]
H A DObjectInput.java77 * @param len the maximum number of bytes read
82 public int read(byte b[], int off, int len) throws IOException; argument
H A DObjectOutput.java71 * @param len the number of bytes that are written
74 public void write(byte b[], int off, int len) throws IOException; argument
H A DOutputStreamWriter.java202 * @param len Number of characters to write
206 public void write(char cbuf[], int off, int len) throws IOException { argument
207 se.write(cbuf, off, len);
215 * @param len Number of characters to write
219 public void write(String str, int off, int len) throws IOException { argument
220 se.write(str, off, len);
H A DReader.java98 int len = target.remaining();
99 char[] cbuf = new char[len];
100 int n = read(cbuf, 0, len);
150 * @param len Maximum number of characters to read
157 abstract public int read(char cbuf[], int off, int len) throws IOException; argument
/openjdk7/jdk/test/java/net/ResponseCache/
H A Dfile2.152 int len;
53 while ((len = fis.read(buf)) != -1) {
112 int len;
113 while ((len=dis.read(buf)) != -1) {
114 dos.write(buf, 0, len);
151 int len = (int)new File("file2.1").length();
152 ByteBuffer buf = ByteBuffer.allocate(len);
153 byte[] b = new byte[len];
154 while ((len = rbc.read(buf)) != -1) {
156 buf.get(b, 0, len);
[all...]
/openjdk7/jdk/src/share/native/sun/security/ec/
H A DECC_JNI.cpp85 params_item.len = env->GetArrayLength(encodedParams);
152 jbyteArray jEncodedBytes = env->NewByteArray(s->len);
155 env->SetByteArrayRegion(jEncodedBytes, 0, s->len, (jbyte *)s->data);
188 digest_item.len = jDigestLength;
195 params_item.len = env->GetArrayLength(encodedParams);
208 privKey.privateValue.len = env->GetArrayLength(privateKey);
213 pSignedDigestBuffer = new jbyte[ecparams->order.len * 2];
215 signature_item.len = ecparams->order.len * 2;
229 temp = env->NewByteArray(signature_item.len);
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DInputRecord.java326 int len = pos - lastHashed;
328 if (len > 0) {
329 hashInternal(buf, lastHashed, len);
337 private void hashInternal(byte databuf [], int offset, int len) { argument
342 System.out.println("[read] MD5 and SHA1 hashes: len = "
343 + len);
344 hd.encodeBuffer(new ByteArrayInputStream(databuf, offset, len),
348 handshakeHash.update(databuf, offset, len);
359 int len;
371 len
438 readFully(InputStream s, byte b[], int off, int len) argument
685 writeBuffer(OutputStream s, byte [] buf, int off, int len) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCDRInputStream_1_2.java129 int len = read_long();
135 if (len == 0)
138 checkForNegativeLength(len);
140 return new String(getConvertedChars(len, getWCharConverter()),
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/
H A DJSJavaArray.java62 final int len = (int) getArray().getLength();
63 Object[] res = new Object[superFields.length + len];
64 for (int i = 0; i < len; i++) {
67 System.arraycopy(superFields, 0, res, len, superFields.length);
/openjdk7/hotspot/src/share/vm/utilities/
H A Dostream.cpp65 void outputStream::update_position(const char* s, size_t len) { argument
66 for (size_t i = 0; i < len; i++) {
124 size_t len; local
125 const char* str = do_vsnprintf(buffer, O_BUFLEN, format, ap, false, len);
126 write(str, len);
134 size_t len; local
135 const char* str = do_vsnprintf(buffer, O_BUFLEN, format, ap, true, len);
136 write(str, len);
142 size_t len; local
143 const char* str = do_vsnprintf(buffer, O_BUFLEN, format, argptr, false, len);
149 size_t len; local
266 print_data(void* data, size_t len, bool with_ascii) argument
311 write(const char* s, size_t len) argument
367 write(const char* s, size_t len) argument
417 write(const char* s, size_t len) argument
452 write(const char* s, size_t len) argument
786 call_jio_print(const char* s, size_t len) argument
798 write(const char* s, size_t len) argument
947 write(const char* c, size_t len) argument
958 size_t len; local
967 size_t len; local
974 size_t len; local
980 size_t len; local
1001 write(const char* s, size_t len) argument
1062 read(char *buf, size_t len) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/util/
H A DUnicodeEscapeWriter.java73 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/tools/internal/xjc/util/
H A DNullStream.java48 public void write(byte[] b, int off, int len) throws IOException { argument
/openjdk7/jdk/src/windows/native/java/nio/
H A DMappedByteBuffer.c35 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/test/com/sun/crypto/provider/Cipher/DES/
H A DPaddingTest.java148 int len;
161 while ((len = pin.read(input, 0, bufferLen)) > 0) {
162 totalInputLen += len;
163 byte[] output = cipher.update(input, 0, len);
168 len = cipher.getOutputSize(0);
170 byte[] out = new byte[len];
171 len = cipher.doFinal(out, 0);
172 cout.write(out, 0, len);
180 while ((len = cin.read(input, 0, bufferLen)) > 0) {
181 output = cipher.update(input, 0, len);
[all...]
H A DPerformanceTest.java98 int len = 32 - col.length();
99 for(; len>0; len--)
107 for(len=0; len < dataSizes[l] - g; len += g) {
109 (plain_data, 0, in, len, g);
112 if ((dataSizes[l] - len) > 0)
114 in, len, dataSizes[l]- len);
[all...]
/openjdk7/jdk/test/java/io/BufferedInputStream/
H A DReadZeroBytes.java52 public int read(byte[] b, int off, int len) throws IOException { argument
53 throw new RuntimeException("Read invoked for len == 0");
/openjdk7/jdk/test/java/net/DatagramSocket/
H A DSendSize.java64 int len = receivePacket.getLength();
65 switch(len) {
67 System.out.println("receive length is: " + len);
71 "receive length is: " + len +
/openjdk7/jdk/test/java/net/URLClassLoader/
H A DB7050028.java45 int len = conn.getContentLength();
46 byte[] data = new byte[len];
57 ze.setSize(len);
62 zos.write(data, 0, len);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DConvert.java85 /** Convert `len' bytes from utf8 to characters.
93 * @param len The maximum number of bytes to convert.
97 int len) {
100 int limit = sindex + len;
119 * @param len The maximum number of bytes to convert.
121 public static char[] utf2chars(byte[] src, int sindex, int len) { argument
122 char[] dst = new char[len];
123 int len1 = utf2chars(src, sindex, dst, 0, len);
140 * @param len The maximum number of bytes to convert.
142 public static String utf2string(byte[] src, int sindex, int len) { argument
95 utf2chars(byte[] src, int sindex, char[] dst, int dindex, int len) argument
167 chars2utf(char[] src, int sindex, byte[] dst, int dindex, int len) argument
193 chars2utf(char[] src, int sindex, int len) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DTagImpl.java108 int len = text.length();
112 for (int inx = 0; inx < len; ++inx) {
116 for (; inx < len; ++inx) {
119 sa[1] = text.substring(inx, len);
/openjdk7/jdk/src/share/native/java/util/zip/
H A DAdler32.c47 jarray b, jint off, jint len)
51 adler = adler32(adler, buf + off, len);
59 jlong address, jint off, jint len)
63 adler = adler32(adler, buf + off, len);
46 Java_java_util_zip_Adler32_updateBytes(JNIEnv *env, jclass cls, jint adler, jarray b, jint off, jint len) argument
58 Java_java_util_zip_Adler32_updateByteBuffer(JNIEnv *env, jclass cls, jint adler, jlong address, jint off, jint len) argument

Completed in 54 milliseconds

<<11121314151617181920>>