Searched refs:result (Results 226 - 250 of 450) sorted by relevance

1234567891011>>

/libcore/luni/src/test/java/libcore/xml/
H A DJaxenXPathTestSuite.java88 TestSuite result = new TestSuite();
93 contextToTestSuite(result, url, inputSource, context);
97 return result;
188 NodeList result = (NodeList) xpath.evaluate(
190 assertEquals(Integer.parseInt(count), result.getLength());
246 * compares the result to a known expectation.
297 List<Element> result = new ArrayList<Element>();
301 result.add((Element) node);
304 return result;
H A DNamespacedAttributesLookupTest.java101 final List<String> result = new ArrayList<String>();
133 result.add(serialized.toString());
137 return result;
/libcore/luni/src/main/java/java/nio/
H A DServerSocketChannelImpl.java69 SocketChannelImpl result = new SocketChannelImpl(provider(), false);
74 socket.implAccept(result);
84 end(result.socket().isConnected());
86 return result.socket().isConnected() ? result : null;
H A DCharBuffer.java134 CharBuffer result = new CharSequenceAdapter(cs);
135 result.position = start;
136 result.limit = end;
137 return result;
638 StringBuilder result = new StringBuilder(limit - position);
640 result.append(get(i));
642 return result.toString();
/libcore/luni/src/main/java/libcore/icu/
H A DICU.java143 char[] result = new char[3];
153 result[resultIndex++] = 'd';
156 result[resultIndex++] = 'M';
159 result[resultIndex++] = 'y';
180 return result;
244 static native boolean initLocaleDataNative(String locale, LocaleData result); argument
H A DRuleBasedCollatorICU.java119 StringBuilder result = new StringBuilder();
121 result.append(ch);
123 return result.toString();
/libcore/luni/src/main/java/libcore/io/
H A DIoBridge.java54 // If the fd refers to a regular file, the result is the difference between
57 // as a regular file, the result may be negative because the special file
464 int result;
466 result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port);
468 result = maybeThrowAfterSendto(isDatagram, errnoException);
470 return result;
478 int result;
480 result = Libcore.os.sendto(fd, buffer, flags, inetAddress, port);
482 result = maybeThrowAfterSendto(isDatagram, errnoException);
484 return result;
[all...]
H A DBase64.java123 byte[] result = new byte[outIndex];
124 System.arraycopy(out, 0, result, 0, outIndex);
125 return result;
H A DStrictLineReader.java145 * this end of line marker is not included in the result.
235 int result = in.read(buf, 0, buf.length);
236 if (result == -1) {
240 end = result;
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlParser.java462 StringBuilder result = null;
465 result = new StringBuilder();
466 result.append(text);
473 if (result == null) {
474 result = new StringBuilder();
476 result.append(buffer, start, position - start);
503 } else if (result == null) {
506 result.append(buffer, start, end - start);
507 return result.toString();
1325 StringBuilder result
[all...]
/libcore/dex/src/main/java/com/android/dex/
H A DDex.java207 Section result = new Section(name, sectionData);
209 return result;
225 byte[] result = new byte[data.capacity()];
227 data.get(result);
228 return result;
545 byte[] result = new byte[length];
546 data.get(result);
547 return result;
554 short[] result = new short[length];
556 result[
[all...]
/libcore/crypto/src/main/java/org/conscrypt/
H A DTrustedCertificateStore.java208 // containsAlias check ensures the later fileForAlias result
225 Set<String> result = new HashSet<String>();
226 addAliases(result, PREFIX_USER, addedDir);
227 addAliases(result, PREFIX_SYSTEM, systemDir);
228 return result;
232 Set<String> result = new HashSet<String>();
233 addAliases(result, PREFIX_USER, addedDir);
234 return result;
237 private void addAliases(Set<String> result, String prefix, File dir) { argument
245 result
[all...]
/libcore/luni/src/main/java/java/util/
H A DCalendar.java169 * computations. As a result of changing a field using {@code set()},
197 * as a result, the next larger field is incremented or decremented and the
269 * read March 3, 1999. A better result would be February 28, 1999. Furthermore,
1212 StringBuilder result = new StringBuilder(getClass().getName() +
1220 result.append(',');
1221 result.append(FIELD_NAMES[i]);
1222 result.append('=');
1224 result.append(fields[i]);
1226 result.append('?');
1229 result
[all...]
H A DAbstractMap.java142 V result = value;
144 return result;
308 int result = 0;
311 result += it.next().hashCode();
313 return result;
501 AbstractMap<K, V> result = (AbstractMap<K, V>) super.clone();
502 result.keySet = null;
503 result.valuesCollection = null;
504 return result;
/libcore/luni/src/main/java/java/math/
H A DBitLevel.java114 static void shiftLeftOneBit(int[] result, int[] source, int srcLen) { argument
118 result[i] = (val << 1) | carry;
122 result[srcLen] = carry;
154 // If the remainder is not zero, add 1 to the result
173 * @param result
185 static boolean shiftRight(int[] result, int resultLen, int[] source, int intCount, int count) { argument
191 System.arraycopy(source, intCount, result, 0, resultLen);
198 result[i] = ( source[i + intCount] >>> count )
201 result[i] = ( source[i + intCount] >>> count );
/libcore/libart/src/main/java/java/lang/reflect/
H A DProxy.java92 * different order result in different generated classes. The interfaces
170 Class<?> result = generateProxy(name, interfaces, loader, methodsArray, exceptionsArray);
171 loader.proxyCache.put(interfacesSet, result);
172 return result;
265 List<Method> result = new ArrayList<Method>();
267 result.add(Object.class.getMethod("equals", Object.class));
268 result.add(Object.class.getMethod("hashCode", EmptyArray.CLASS));
269 result.add(Object.class.getMethod("toString", EmptyArray.CLASS));
274 getMethodsRecursive(interfaces, result);
275 return result;
[all...]
/libcore/luni/src/main/java/java/text/
H A DBidi.java414 Bidi result = new Bidi(parent);
415 result.length = 0;
416 result.offsetLevel = null;
417 result.runs = null;
418 result.unidirectional = true;
419 return result;
566 ArrayList<Object> result = new ArrayList<Object>(count);
568 result.add(objects[objectStart + indices[i]]);
571 System.arraycopy(result.toArray(), 0, objects, objectStart, count);
/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutors.java335 * called, runs the given task and returns the given result. This
339 * @param result the result to return
343 public static <T> Callable<T> callable(Runnable task, T result) { argument
346 return new RunnableAdapter<T>(task, result);
364 * called, runs the given privileged action and returns its result.
379 * its result.
412 * A callable that runs given task and returns given result
416 final T result; field in class:Executors.RunnableAdapter
417 RunnableAdapter(Runnable task, T result) { argument
598 submit(Runnable task, T result) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/
H A DX509CRLImpl.java145 byte[] result = new byte[encoding.length];
146 System.arraycopy(encoding, 0, result, 0, encoding.length);
147 return result;
331 byte[] result = new byte[tbsCertListEncoding.length];
333 result, 0, tbsCertListEncoding.length);
334 return result;
345 byte[] result = new byte[signature.length];
346 System.arraycopy(signature, 0, result, 0, signature.length);
347 return result;
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
H A Dnodeinsertbeforenewchildexists.java101 java.util.List result = new java.util.ArrayList();
123 result.add(childName);
125 assertEquals("childNames", expected, result);
/libcore/luni/src/main/java/java/io/
H A DCharArrayWriter.java125 * method are not reflected in the result.
131 char[] result = new char[count];
132 System.arraycopy(buf, 0, result, 0, count);
133 return result;
140 * calling this method are not reflected in the result.
/libcore/luni/src/main/java/java/lang/
H A DMath.java96 * argument within the range {@code [0..pi]}. The returned result is within
97 * 1 ulp (unit in the last place) of the real result.
114 * within the range {@code [-pi/2..pi/2]}. The returned result is within 1
115 * ulp (unit in the last place) of the real result.
132 * argument within the range {@code [-pi/2..pi/2]}. The returned result is
133 * within 1 ulp (unit in the last place) of the real result.
153 * representation of the rectangular coordinates (x,y). The returned result
154 * is within 2 ulps (units in the last place) of the real result.
227 * The returned result is within 1 ulp (unit in the last place) of the real
228 * result
[all...]
/libcore/luni/src/main/java/java/util/prefs/
H A DPreferences.java106 PreferencesFactory result = ServiceLoader.loadFromSystemProperty(PreferencesFactory.class);
107 if (result != null) {
108 return result;
601 * The value is stored in its string form, which is the result of invoking
624 * The value is stored in its string form, which is the result of invoking
647 * The value is stored in its string form, which is the result of invoking
670 * The value is stored in its string form, which is the result of invoking
/libcore/luni/src/main/java/java/util/zip/
H A DInflaterInputStream.java158 int result = inf.inflate(buffer, byteOffset, byteCount);
160 if (result > 0) {
161 return result;
170 // If result == 0, fill() and try again
218 * A result of 1 does not guarantee that further bytes can be returned,
/libcore/luni/src/test/java/libcore/util/
H A DCollectionUtilsTest.java68 List<T> result = new ArrayList<T>();
70 result.add(t);
72 return result;

Completed in 629 milliseconds

1234567891011>>