Searched defs:to (Results 1 - 11 of 11) sorted by relevance

/libcore/json/src/main/java/org/json/
H A DJSONTokener.java10 * Unless required by applicable law or agreed to in writing, software
55 * <p>Each tokener may be used to parse a single JSON string. Instances of this
68 * The index of the next character to be returned by {@link #next}. When
155 * specify this behavior, but it's required to parse
185 * Returns the string up to but not including {@code quote}, unescaping any
198 * sequence, we need to use a StringBuilder to compose the result.
202 /* the index of the first character not yet appended to the builder. */
294 /* try to parse as an integral type... */
316 * unquoted strings. Fall through to tr
573 skipTo(char to) argument
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DCopyOnWriteArrayList.java10 * Unless required by applicable law or agreed to in writing, software
45 * copy of the list's contents. It is always safe to iterate this list, but
65 * writes to this field must be atomic; it is an error to modify the
66 * contents of an array after it has been assigned to this field.
73 * Maintainers should be careful to read this field only once in
74 * non-blocking read methods. Write methods must be synchronized to avoid
129 static boolean containsAll(Collection<?> collection, Object[] snapshot, int from, int to) { argument
131 if (indexOf(o, snapshot, from, to) == -1) {
156 * occurrence that is before {@code to}
160 lastIndexOf(E object, int to) argument
214 subList(int from, int to) argument
370 removeOrRetain(Collection<?> collection, boolean retain, int from, int to) argument
417 removeRange(int from, int to) argument
424 lastIndexOf(Object o, Object[] data, int from, int to) argument
441 indexOf(Object o, Object[] data, int from, int to) argument
484 CowSubList(Object[] expectedElements, int from, int to) argument
552 subList(int from, int to) argument
655 private final int to; field in class:CopyOnWriteArrayList.Slice
657 Slice(Object[] expectedElements, int from, int to) argument
695 private final int to; field in class:CopyOnWriteArrayList.CowIterator
698 CowIterator(Object[] snapshot, int from, int to) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLSocketImplWrapper.java2 * Licensed to the Apache Software Foundation (ASF) under one or more
5 * The ASF licenses this file to You under the Apache License, Version 2.0
11 * Unless required by applicable law or agreed to in writing, software
109 public void setSoTimeout(int to) throws SocketException { argument
110 socket.setSoTimeout(to);
111 super.setSoTimeout(to);
H A DSSLSocketWrapper.java2 * Licensed to the Apache Software Foundation (ASF) under one or more
5 * The ASF licenses this file to You under the Apache License, Version 2.0
11 * Unless required by applicable law or agreed to in writing, software
130 public void setSoTimeout(int to) throws SocketException { argument
131 socket.setSoTimeout(to);
H A DNativeCrypto.java10 * Unless required by applicable law or agreed to in writing, software
111 public static native int RSA_private_encrypt(int flen, byte[] from, byte[] to, long pkey, argument
114 public static native int RSA_public_decrypt(int flen, byte[] from, byte[] to, long pkey, argument
117 public static native int RSA_public_encrypt(int flen, byte[] from, byte[] to, long pkey, argument
120 public static native int RSA_private_decrypt(int flen, byte[] from, byte[] to, long pkey, argument
152 * Used to request EC_GROUP_new_curve_GFp to EC_GROUP_new_curve
157 * Used to request EC_GROUP_new_curve_GF2m to EC_GROUP_new_curve
353 /** Used to reques
[all...]
/libcore/luni/src/main/java/java/math/
H A DNativeBN.java10 * Unless required by applicable law or agreed to in writing, software
36 public static native boolean BN_copy(int to, int from); argument
38 // BIGNUM *BN_copy(BIGNUM *to, const BIGNUM *from);
75 // int BN_bn2bin(const BIGNUM *a, unsigned char *to);
/libcore/luni/src/test/java/tests/api/java/util/
H A DVectorTest.java2 * Licensed to the Apache Software Foundation (ASF) under one or more
5 * The ASF licenses this file to You under the Apache License, Version 2.0
11 * Unless required by applicable law or agreed to in writing, software
90 assertEquals("Failed to inc capacity by proper amount",
140 assertTrue("Failed to add Object", tVector.get(45) == o);
141 assertTrue("Failed to fix-up existing indices", tVector.get(46) == prev);
146 assertNull("Failed to add null", tVector.get(50));
147 assertTrue("Failed to fix-up existing indices after adding null",
173 assertTrue("Failed to add Object", tVector.lastElement() == o);
177 assertNull("Failed to ad
1156 removeRange(int from, int to) argument
[all...]
/libcore/luni/src/main/native/
H A Djava_math_NativeBN.cpp10 * Unless required by applicable law or agreed to in writing, software
96 static jboolean NativeBN_BN_copy(JNIEnv* env, jclass, BIGNUM* to, BIGNUM* from) { argument
97 if (!twoValidHandles(env, to, from)) return JNI_FALSE;
98 return (BN_copy(to, from) != NULL);
178 // need to call this due to clear byte at top if avoiding
211 // Put bytes to the int array starting from the end of the byte array
267 // We need to apply two's complement:
H A Dlibcore_io_Posix.cpp10 * Unless required by applicable law or agreed to in writing, software
70 * Used to retry networking system calls that can return EINTR. Unlike TEMP_FAILURE_RETRY,
108 // but let's try to stumble on...
137 // EAI_SYSTEM should mean "look at errno instead", but both glibc and bionic seem to
139 // but you'll get EAI_NONAME or EAI_NODATA. So we want our GaiException to have a
143 // Deliberately fall through to throw another exception...
362 // TODO: fix bionic to return 1024 like glibc.
452 // We need to do this before we can throw an IOException (http://b/3222087).
457 // Using TEMP_FAILURE_RETRY will either lead to EBADF or closing someone else's fd.
633 // Count results so we know how to siz
1118 const sockaddr* to = (javaInetAddress != NULL) ? reinterpret_cast<const sockaddr*>(&ss) : NULL; local
[all...]
/libcore/luni/src/main/java/java/util/
H A DTreeMap.java10 * Unless required by applicable law or agreed to in writing, software
36 * <li>User supplied comparators must be able to compare any pair of keys in
42 * compareTo()} must be able to compare each key with any other key in
69 @SuppressWarnings("unchecked") // to avoid Comparable<Comparable<Comparable<...>>>
98 * TreeMap} constructor overloads are ambiguous, prefer to construct a map
116 * @param comparator the comparator to order elements with, or {@code null} to use the natural
135 * are ambiguous, prefer to construct a map and populate it in two steps:
215 * @param ascending false to flip; true to retur
697 subMap(K from, boolean fromInclusive, K to, boolean toInclusive) argument
707 headMap(K to, boolean inclusive) argument
1030 subSet(K from, boolean fromInclusive, K to, boolean toInclusive) argument
1038 headSet(K to, boolean inclusive) argument
1090 rightCap(Object to) argument
1100 private final transient K to; field in class:TreeMap.BoundedMap
1103 BoundedMap(boolean ascending, K from, Bound fromBound, K to, Bound toBound) argument
1404 subMap(K from, boolean fromInclusive, K to, boolean toInclusive) argument
1414 headMap(K to, boolean inclusive) argument
1432 subMap(K from, Bound fromBound, K to, Bound toBound) argument
1614 subSet(K from, boolean fromInclusive, K to, boolean toInclusive) argument
1622 headSet(K to, boolean inclusive) argument
1701 NavigableSubMap(TreeMap<K, V> delegate, K from, Bound fromBound, K to, Bound toBound) argument
1727 DescendingSubMap(TreeMap<K, V> delegate, K from, Bound fromBound, K to, Bound toBound) argument
1734 AscendingSubMap(TreeMap<K, V> delegate, K from, Bound fromBound, K to, Bound toBound) argument
[all...]
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 734 milliseconds