Searched refs:len (Results 151 - 175 of 1688) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/native/java/util/zip/
H A DCRC32.c47 jarray b, jint off, jint len)
51 crc = crc32(crc, buf + off, len);
57 JNIEXPORT jint ZIP_CRC32(jint crc, const jbyte *buf, jint len) argument
59 return crc32(crc, (Bytef*)buf, len);
46 Java_java_util_zip_CRC32_updateBytes(JNIEnv *env, jclass cls, jint crc, jarray b, jint off, jint len) argument
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DEngineArgs.java45 private int offset; // offset/len for the appData array.
46 private int len; field in class:EngineArgs
70 EngineArgs(ByteBuffer [] appData, int offset, int len, argument
73 init(netData, appData, offset, len);
80 int len) {
82 init(netData, appData, offset, len);
97 int offset, int len) {
103 if ((offset < 0) || (len < 0) || (offset > appData.length - len)) {
117 for (int i = offset; i < offset + len;
79 EngineArgs(ByteBuffer netData, ByteBuffer [] appData, int offset, int len) argument
96 init(ByteBuffer netData, ByteBuffer [] appData, int offset, int len) argument
[all...]
/openjdk7/jdk/test/javax/swing/text/WrappedPlainView/6857057/
H A DStubBranchElement.java33 int len = context.length() / 3;
36 context.substring(len * i, len * (i + 1)), this, len * i);
/openjdk7/langtools/test/tools/javac/implicitThis/
H A DNewBeforeOuterConstructed.java41 public void write(byte b[], int off, int len) { } argument
/openjdk7/jdk/src/solaris/instrument/
H A DEncodingSupport_md.c113 iconvConvert(iconv_t ic, char *bytes, int len, char *output, int outputMaxLen) argument
118 UTF_ASSERT(len>=0);
120 UTF_ASSERT(outputMaxLen>len);
134 inLeft = len;
148 outputLen = len;
149 (void)memcpy(output, bytes, len);
150 output[len] = 0;
159 utf8ToPlatform(char *utf8, int len, char *output, int outputMaxLen) argument
161 return iconvConvert(iconvToPlatform, utf8, len, output, outputMaxLen);
169 platformToUtf8(char *str, int len, cha argument
[all...]
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_CommonUtils.c132 void getALSAVersion(char* buffer, int len) { argument
136 int curr, len, totalLen, inVersionString; local
144 len = 0;
159 if (curr != len) {
161 ALSAVersionString[len] = ALSAVersionString[curr];
163 len++;
168 while ((len > 0) && (ALSAVersionString[len - 1] == '.')) {
169 len--;
172 ALSAVersionString[len]
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_CommonUtils.c132 void getALSAVersion(char* buffer, int len) { argument
136 int curr, len, totalLen, inVersionString; local
144 len = 0;
159 if (curr != len) {
161 ALSAVersionString[len] = ALSAVersionString[curr];
163 len++;
168 while ((len > 0) && (ALSAVersionString[len - 1] == '.')) {
169 len--;
172 ALSAVersionString[len]
[all...]
/openjdk7/jdk/src/windows/npt/
H A Dutf_md.c69 * Get wide string (assumes len>0)
72 getWideString(UINT codePage, char* str, int len, int *pwlen) argument
78 wlen = MultiByteToWideChar(codePage, 0, str, len, NULL, 0);
89 if (MultiByteToWideChar(codePage, 0, str, len, wstr, wlen) == 0) {
100 utf8ToPlatform(struct UtfInst *ui, jbyte *utf8, int len, char* output, int outputMaxLen) argument
107 if ( len < 0 ) {
112 if ( len == 0 ) {
117 /* Get WIDE string version (assumes len>0) */
118 wstr = getWideString(CP_UTF8, (char*)utf8, len, &wlen);
139 utf8FromPlatform(struct UtfInst *ui, char *str, int len, jbyt argument
[all...]
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DTransfers.java58 int off, int len)
62 if (fc.write(ByteBuffer.wrap(ba, 0, len)) != len)
68 FileChannel fc, int off, int len)
72 byte[] ba = new byte[len];
74 writeBytes(ba, fc, off, len);
77 private static void writeZeroBytes(FileChannel fc, int off, int len) argument
80 byte[] ba = new byte[len];
81 writeBytes(ba, fc, off, len);
84 private static void checkBytes(FileChannel fc, int off, int len, argument
57 writeBytes(byte[] ba, FileChannel fc, int off, int len) argument
67 writeRandomBytes(long seed, FileChannel fc, int off, int len) argument
98 checkRandomBytes(FileChannel fc, int off, int len, long seed) argument
108 checkZeroBytes(FileChannel fc, int off, int len) argument
414 show(String dir, String channelName, int off, int len) argument
421 testTo(long seed, FileChannel fc, int off, int len, Target tgt) argument
452 testFrom(long seed, Source src, FileChannel fc, int off, int len) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DTypeScriptWriter.java48 public void write(char[] cbuf, int off, int len) throws IOException { argument
49 script.append(String.valueOf(cbuf, off, len));
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DInputStreamAdapter.java46 public int read(byte b[], int off, int len) throws IOException { argument
47 return stream.read(b, off, len);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/
H A DAttribute.java126 * the <tt>len</tt> bytes starting at the given offset, in the given class
134 * @param len the length of the attribute's content.
152 final int len,
158 attr.value = new byte[len];
159 System.arraycopy(cr.b, off, attr.value, 0, len);
172 * @param len the length of the bytecode of the method corresponding to this
186 final int len,
219 * @param len the length of the bytecode of the method corresponding to
234 final int len,
242 size += attr.write(cw, code, len, maxStac
149 read( final ClassReader cr, final int off, final int len, final char[] buf, final int codeOff, final Label[] labels) argument
183 write( final ClassWriter cw, final byte[] code, final int len, final int maxStack, final int maxLocals) argument
231 getSize( final ClassWriter cw, final byte[] code, final int len, final int maxStack, final int maxLocals) argument
268 put( final ClassWriter cw, final byte[] code, final int len, final int maxStack, final int maxLocals, final ByteVector out) argument
[all...]
/openjdk7/jdk/src/share/instrument/
H A DFileSystemSupport.h73 int canonicalize(char *original, char *resolved, int len);
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DPosterOutputStream.java67 * Writes <code>len</code> bytes from the specified byte array
72 * @param len the number of bytes to write.
74 public synchronized void write(byte b[], int off, int len) { argument
78 super.write (b, off, len);
/openjdk7/jdk/src/share/classes/sun/rmi/log/
H A DLogOutputStream.java69 * @param len the number of bytes that are written
72 public void write(byte b[], int off, int len) throws IOException { argument
73 raf.write(b, off, len);
/openjdk7/jdk/src/share/classes/java/io/
H A DByteArrayOutputStream.java128 * Writes <code>len</code> bytes from the specified byte array
133 * @param len the number of bytes to write.
135 public synchronized void write(byte b[], int off, int len) { argument
136 if ((off < 0) || (off > b.length) || (len < 0) ||
137 ((off + len) - b.length > 0)) {
140 ensureCapacity(count + len);
141 System.arraycopy(b, off, buf, count, len);
142 count += len;
H A DLineNumberInputStream.java113 * Reads up to <code>len</code> bytes of data from this input stream
122 * @param len the maximum number of bytes read.
129 public int read(byte b[], int off, int len) throws IOException { argument
132 } else if ((off < 0) || (off > b.length) || (len < 0) ||
133 ((off + len) > b.length) || ((off + len) < 0)) {
135 } else if (len == 0) {
147 for (; i < len ; i++) {
H A DPipedOutputStream.java126 * Writes <code>len</code> bytes from the specified byte array
133 * @param len the number of bytes to write.
138 public void write(byte b[], int off, int len) throws IOException { argument
143 } else if ((off < 0) || (off > b.length) || (len < 0) ||
144 ((off + len) > b.length) || ((off + len) < 0)) {
146 } else if (len == 0) {
149 sink.receive(b, off, len);
H A DSequenceInputStream.java175 * Reads up to <code>len</code> bytes of data from this input stream
176 * into an array of bytes. If <code>len</code> is not zero, the method
189 * @param len the maximum number of bytes read.
193 * <code>len</code> is negative, or <code>len</code> is greater than
197 public int read(byte b[], int off, int len) throws IOException { argument
202 } else if (off < 0 || len < 0 || len > b.length - off) {
204 } else if (len == 0) {
208 int n = in.read(b, off, len);
[all...]
H A DStringReader.java81 * @param len Maximum number of characters to read
88 public int read(char cbuf[], int off, int len) throws IOException { argument
91 if ((off < 0) || (off > cbuf.length) || (len < 0) ||
92 ((off + len) > cbuf.length) || ((off + len) < 0)) {
94 } else if (len == 0) {
99 int n = Math.min(length - next, len);
H A DWriter.java139 * @param len
145 abstract public void write(char cbuf[], int off, int len) throws IOException; argument
169 * @param len
173 * If <tt>off</tt> is negative, or <tt>len</tt> is negative,
174 * or <tt>off+len</tt> is negative or greater than the length
180 public void write(String str, int off, int len) throws IOException { argument
183 if (len <= writeBufferSize) {
189 cbuf = new char[len];
191 str.getChars(off, (off + len), cbuf, 0);
192 write(cbuf, 0, len);
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DMacSpi.java80 * Processes the first <code>len</code> bytes in <code>input</code>,
85 * @param len the number of bytes to process.
87 protected abstract void engineUpdate(byte[] input, int offset, int len); argument
113 int len = input.remaining();
114 byte[] b = new byte[CipherSpi.getTempArraySize(len)];
115 while (len > 0) {
116 int chunk = Math.min(len, b.length);
119 len -= chunk;
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DUnsyncBufferedOutputStream.java57 public void write(byte[] arg0, int arg1, int len) throws IOException { argument
58 int newLen=pointer+len;
61 if (len>size) {
62 out.write(arg0,arg1,len);
65 newLen=len;
67 System.arraycopy(arg0,arg1,buf,pointer,len);
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DOSVersion.m41 int len = strlen(ver);
45 if (len >= 3 && ver[2] == '.') {
49 for (i = 3; i < len && isdigit(ver[i]); ++i) {
/openjdk7/jdk/src/solaris/native/java/nio/
H A DMappedByteBuffer.c37 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

Completed in 49 milliseconds

1234567891011>>