Searched defs:len (Results 126 - 150 of 202) sorted by relevance

123456789

/dalvik/libcore/nio/src/main/java/java/nio/
H A DShortBuffer.java75 * {@code start + len}, capacity will be the length of the array.
83 * @param len
88 * if either {@code start} or {@code len} is invalid.
91 public static ShortBuffer wrap(short[] array, int start, int len) { argument
95 if (start< 0 || len < 0 || (long)start + (long)len > array.length) {
101 buf.limit = start + len;
325 * @param len
330 * if either {@code off} or {@code len} is invalid.
332 * if {@code len} i
335 get(short[] dest, int off, int len) argument
496 put(short[] src, int off, int len) argument
[all...]
H A DByteBuffer.java94 * {@code start + len}, capacity will be the length of the array.
102 * @param len
107 * if either {@code start} or {@code len} is invalid.
110 public static ByteBuffer wrap(byte[] array, int start, int len) { argument
112 if ((start < 0) || (len < 0) || ((long) start + (long) len > length)) {
118 buf.limit = start + len;
471 * @param len
476 * if either {@code off} or {@code len} is invalid.
478 * if {@code len} i
481 get(byte[] dest, int off, int len) argument
857 put(byte[] src, int off, int len) argument
[all...]
/dalvik/libcore/security/src/main/java/java/security/
H A DMessageDigest.java198 * @param len
201 * if {@code offset} or {@code len} are not valid in respect to
205 public void update(byte[] input, int offset, int len) { argument
207 // offset < 0 || len < 0 ||
210 (long) offset + (long) len > input.length) {
214 engineUpdate(input, offset, len);
253 * @param len
259 * if {@code offset} or {@code len} are not valid in respect to
264 public int digest(byte[] buf, int offset, int len) throws DigestException { argument
266 // offset < 0 || len <
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/
H A DDerOutputStream.java62 length = len[index][0];
74 int[] compLens = len[index];
101 int[] compLens = len[index];
121 private int[][] len = new int[initSize][]; field in class:DerOutputStream
131 System.arraycopy(len, 0, newLen, 0, val.length);
132 len = newLen;
138 len[index] = lengths;
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/macs/
H A DCFBBlockCipherMac.java302 int len)
304 if (len < 0)
313 if (len > gapLen)
320 len -= gapLen;
323 while (len > blockSize)
327 len -= blockSize;
332 System.arraycopy(in, inOff, buf, bufOff, len);
334 bufOff += len;
299 update( byte[] in, int inOff, int len) argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/signers/
H A DISO9796d2Signer.java192 int len)
194 digest.update(in, off, len);
198 for (int i = 0; i < len && (i + messageLength) < mBuf.length; i++)
204 messageLength += len;
189 update( byte[] in, int off, int len) argument
H A DPSSSigner.java125 int len)
127 digest.update(in, off, len);
122 update( byte[] in, int off, int len) argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DJCEMac.java125 int len)
127 macEngine.update(input, offset, len);
122 engineUpdate( byte[] input, int offset, int len) argument
H A DJDKDigestSignature.java114 int len)
117 digest.update(b, off, len);
111 engineUpdate( byte[] b, int off, int len) argument
H A DJDKPSSSigner.java125 int len)
128 pss.update(b, off, len);
122 engineUpdate( byte[] b, int off, int len) argument
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
H A DMessageDigest1Test.java95 // offset + len > buf.length
101 // offset + len > Integer.MAX_VALUE
106 // offset<0 and len<0 are passed to provider
108 final int len = -1;
114 assertEquals("len", len, arg2);
118 md.update(bytes, offset, len);
215 // offset + len > buf.length
221 // offset + len > Integer.MAX_VALUE
226 // offset<0 and len<
399 engineUpdate(byte[] input, int offset, int len) argument
[all...]
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMySignature1.java80 protected void engineUpdate(byte[] b, int off, int len) argument
83 if (off < 0 || off > b.length || off > len) {
86 if (len < 0 || len > b.length) {
87 throw new IllegalArgumentException("incorrect parameter len");
H A DMySignature2.java60 protected void engineUpdate(byte[] b, int off, int len) argument
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLSignature.java119 protected void engineUpdate(byte[] input, int offset, int len) { argument
123 NativeCrypto.EVP_VerifyUpdate(ctx, input, offset, len);
/dalvik/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlSerializer.java296 XmlSerializer text (char [] buf, int start, int len) argument
/dalvik/vm/native/
H A DInternalNative.c174 int len = strlen(name); local
184 if (name[len-1] != ';')
187 if (i != len-1)
195 for ( ; i < len; i++) {
/dalvik/dx/src/com/android/dx/command/dump/
H A DBaseDumper.java126 public void parsed(ByteArray bytes, int offset, int len, String human) { argument
140 String hex = rawBytes ? hexDump(offset, len) : "";
142 at += len;
260 * @param len length to dump
263 protected final String hexDump(int offset, int len) { argument
264 return Hex.dump(bytes, offset, len, offset, hexCols, 4);
/dalvik/libcore/archive/src/main/native/
H A Djava_util_zip_Inflater.c116 jbyteArray buf, jint off, jint len,
127 baseAddr = jclmem_allocate_memory (env, len);
135 stream->stream->avail_in = len;
139 memcpy (baseAddr, (in + off), len);
146 jobject javaFileDescriptor, jlong off, jint len, jlong handle)
153 if (stream->inCap < len) {
156 baseAddr = jclmem_allocate_memory(env, len);
165 stream->stream->avail_in = len;
169 int cnt = read(fd, stream->inaddr, len);
176 jbyteArray buf, int off, int len,
115 Java_java_util_zip_Inflater_setInputImpl(JNIEnv * env, jobject recv, jbyteArray buf, jint off, jint len, jlong handle) argument
145 Java_java_util_zip_Inflater_setFileInputImpl(JNIEnv * env, jobject recv, jobject javaFileDescriptor, jlong off, jint len, jlong handle) argument
175 Java_java_util_zip_Inflater_inflateImpl(JNIEnv * env, jobject recv, jbyteArray buf, int off, int len, jlong handle) argument
263 Java_java_util_zip_Inflater_setDictionaryImpl(JNIEnv * env, jobject recv, jbyteArray dict, int off, int len, jlong handle) argument
[all...]
/dalvik/libcore/icu/src/main/native/
H A DBidiWrapperInterface.c131 int len = 0; local
137 len = ubidi_getLength ((*data).pBiDi);
138 result = (*env)->NewByteArray (env, len);
139 (*env)->SetByteArrayRegion (env, result, 0, len, (jbyte *) levels);
/dalvik/libcore/logging/src/main/java/java/util/logging/
H A DFileHandler.java632 public void write(byte[] b, int off, int len) throws IOException { argument
633 wrapped.write(b, off, len);
634 length += len;
/dalvik/libcore/luni/src/main/java/java/lang/
H A DAbstractStringBuilder.java64 final void set(char[] val, int len) throws InvalidObjectException { argument
68 if (val.length < len) {
74 count = len;
358 + ", len " + length + ", array.length " + chars.length);
/dalvik/libcore/luni/src/main/java/java/util/
H A DComparableTimSort.java84 * address base[i] and extends for len[i] elements. It's always
112 int len = a.length;
114 Object[] newArray = new Object[len < 2 * INITIAL_TMP_STORAGE_LENGTH ?
115 len >>> 1 : INITIAL_TMP_STORAGE_LENGTH];
128 int stackLen = (len < 120 ? 5 :
129 len < 1542 ? 10 :
130 len < 119151 ? 19 : 40);
460 * @param len the length of the range; must be > 0
470 int base, int len, int hint) {
471 if (DEBUG) assert len >
469 gallopLeft(Comparable<Object> key, Object[] a, int base, int len, int hint) argument
539 gallopRight(Comparable<Object> key, Object[] a, int base, int len, int hint) argument
[all...]
H A DTimSort.java109 * address base[i] and extends for len[i] elements. It's always
139 int len = a.length;
141 T[] newArray = (T[]) new Object[len < 2 * INITIAL_TMP_STORAGE_LENGTH ?
142 len >>> 1 : INITIAL_TMP_STORAGE_LENGTH];
155 int stackLen = (len < 120 ? 5 :
156 len < 1542 ? 10 :
157 len < 119151 ? 19 : 40);
492 * @param len the length of the range; must be > 0
502 private static <T> int gallopLeft(T key, T[] a, int base, int len, int hint, argument
504 if (DEBUG) assert len >
572 gallopRight(T key, T[] a, int base, int len, int hint, Comparator<? super T> c) argument
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DSHAOutputStream.java146 * @param len how many bytes in the source byte array to copy
149 private void copyToInternalBuffer(byte[] buffer, int off, int len) { argument
152 for (int i = bytesToProcess; i < bytesToProcess + len; i++) {
156 bytesToProcess = bytesToProcess + len;
393 * @param len
397 private static String toStringBlock(byte[] block, int off, int len) { argument
401 for (int i = off; i < off + len; ++i) {
410 * Writes <code>len</code> <code>bytes</code> from this byte array
419 * @param len
423 public void write(byte[] buffer, int off, int len) { argument
[all...]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
H A DStringTest.java32 private static String newString(int start, int len, char[] data) { argument
33 return new String(data, start,len);

Completed in 1119 milliseconds

123456789