Searched refs:result (Results 201 - 225 of 450) sorted by relevance

1234567891011>>

/libcore/crypto/src/main/java/org/conscrypt/
H A DOpenSSLECDHKeyAgreement.java72 byte[] result;
77 result = buffer;
80 result = new byte[actualResultLength];
84 throw new RuntimeException("Engine produced a longer than expected result. Expected: "
87 mResult = result;
/libcore/luni/src/main/java/java/nio/
H A DCharArrayBuffer.java129 CharBuffer result = duplicate();
130 result.limit(position + end);
131 result.position(position + start);
132 return result;
/libcore/luni/src/main/java/java/util/regex/
H A DSplitter.java35 * Returns a result equivalent to {@code s.split(separator, limit)} if it's able
61 // Unlike Perl, which considers the result of splitting the empty string to be the empty
91 // Collect the result parts.
92 String[] result = new String[separatorCount + 1];
96 result[i] = input.substring(begin, end);
100 result[separatorCount] = input.substring(begin, lastPartEnd);
101 return result;
110 // Unlike Perl, which considers the result of splitting the empty string to be the empty
/libcore/luni/src/main/java/javax/xml/validation/
H A DSchemaFactory.java218 SchemaFactory result = (SchemaFactory) type.newInstance();
219 if (result == null || !result.isSchemaLanguageSupported(schemaLanguage)) {
222 return result;
581 * The same result would be achieved if all these sources were
/libcore/luni/src/test/java/libcore/java/io/
H A DOldAndroidStreamTokenizerTest.java77 String result = tokenizer.toString();
78 assertEquals("Token['-'], line 1", result);
90 result = tokenizer2.toString();
91 assertEquals("Token[Hello], line 1", result);
/libcore/luni/src/test/java/libcore/xml/
H A DSimpleBuilderTest.java47 String result = (node instanceof Text ? ((Text) node).getData() : "");
51 result = result + getTextContent(child);
55 return result;
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DRC2ParameterSpecTest.java126 byte[] result = ps.getIV();
127 if (! Arrays.equals(iv, result)) {
131 result[0] ++;
134 result[0] == ps.getIV()[0]);
/libcore/support/src/test/java/tests/http/
H A DMockResponse.java46 MockResponse result = (MockResponse) super.clone();
47 result.headers = new ArrayList<String>(result.headers);
48 return result;
/libcore/support/src/test/java/tests/support/
H A DSupport_TestWebData.java43 byte[] result = new byte[byteCount];
44 for (int i = 0; i < result.length; ++i) {
45 result[i] = (byte) i;
47 return result;
/libcore/json/src/test/java/org/json/
H A DParsingTest.java225 JSONObject result = new JSONObject();
227 result.put((String) keyValuePairs[i], keyValuePairs[i+1]);
229 return result;
251 List<Object> result = new ArrayList<Object>();
253 result.add(canonicalize(array.opt(i)));
255 return result;
258 Map<String, Object> result = new HashMap<String, Object>();
261 result.put(key, canonicalize(object.get(key)));
263 return result;
/libcore/luni/src/main/java/java/lang/
H A DHexStringParser.java90 long result = parser.parse(hexString, true);
91 return Double.longBitsToDouble(result);
99 int result = (int) parser.parse(hexString, false);
100 return Float.intBitsToFloat(result);
205 long result = exponent + offset;
207 if (expSign * Long.signum(offset) > 0 && expSign * Long.signum(result) < 0) {
210 exponent = result;
252 * The value is rounded up or down to the nearest infinitely precise result.
257 String result = abandonedNumber.replaceAll("0+", "");
258 boolean moreThanZero = (result
[all...]
H A DLong.java175 long result = parse(string, i, base, negative);
176 return valueOf(result);
357 long result = 0, length = string.length();
363 if (max > result) {
366 long next = result * radix - digit;
367 if (next > result) {
370 result = next;
373 result = -result;
374 if (result <
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DCopyOnWriteArrayList.java69 * against one update clobbering the result of another operation. For
103 CopyOnWriteArrayList result = (CopyOnWriteArrayList) super.clone();
104 result.elements = result.elements.clone();
105 return result;
201 CowIterator<E> result = new CowIterator<E>(snapshot, 0, snapshot.length);
202 result.index = index;
203 return result;
411 E result = (E) newElements[index];
414 return result;
[all...]
/libcore/luni/src/main/java/java/io/
H A DFile.java252 * Note that this is a best-effort result; the only way to be certain is
723 * The result for a directory is not defined.
738 * represented by this file. The result is {@code null} if this file is not
771 List<String> result = new ArrayList<String>(filenames.length);
774 result.add(filename);
777 return result.toArray(new String[result.size()]);
782 * file. The result is {@code null} if this file is not a directory. The
828 List<File> result = new ArrayList<File>(files.length);
831 result
[all...]
H A DObjectStreamClass.java234 ObjectStreamClass result = new ObjectStreamClass();
240 result.isSerializable = serializable;
241 result.isExternalizable = externalizable;
244 result.setName(cl.getName());
245 result.setClass(cl);
248 result.setSuperclass(lookup(superclass));
255 if (result.isEnum() || result.isProxy()) {
256 result.setSerialVersionUID(0L);
259 result
[all...]
/libcore/luni/src/main/native/
H A Dlibcore_icu_NativeCollation.cpp53 jint result = ucol_getAttribute(toCollator(address), (UColAttribute) type, &status); local
55 return result;
64 UCollationElements* result = ucol_openElements(toCollator(address), source.get(), source.size(), &status); local
66 return static_cast<jlong>(reinterpret_cast<uintptr_t>(result));
102 jbyteArray result = env->NewByteArray(byteArraySize); local
103 env->SetByteArrayRegion(result, 0, byteArraySize, reinterpret_cast<jbyte*>(usedByteArray));
104 return result;
109 jint result = ucol_next(toCollationElements(address), &status); local
111 return result;
139 jint result local
[all...]
H A DPortability.h49 int result = sendfile(in_fd, out_fd, *offset, &in_out_count, NULL, 0); local
50 if (result == -1) {
H A Dlibcore_icu_NativeNormalizer.cpp46 UBool result = Normalizer::isNormalized(src.unicodeString(), mode, status); local
48 return result;
H A Dlibcore_icu_NativePluralRules.cpp53 PluralRules* result = PluralRules::forLocale(locale, status); local
55 return reinterpret_cast<uintptr_t>(result);
/libcore/luni/src/main/java/java/awt/font/
H A DNumericShaper.java500 int result = 17;
501 result = 31 * result + fRanges;
502 result = 31 * result + fDefaultContextIndex;
503 result = 31 * result + (fContextual ? 1 : 0);
504 return result;
/libcore/luni/src/main/java/java/security/
H A DSignature.java108 Signature result = (Signature) spi;
109 result.algorithm = algorithm;
110 result.provider = provider;
111 return result;
180 Signature result = (Signature) spi;
181 result.algorithm = algorithm;
182 result.provider = provider;
183 return result;
/libcore/luni/src/main/java/java/util/
H A DListResourceBundle.java84 String result = nextElement;
86 return result;
H A DMapEntry.java80 V result = value;
82 return result;
H A DPropertyResourceBundle.java114 String result = nextElement;
116 return result;
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationFactory.java254 StringBuilder result = new StringBuilder();
255 result.append('@');
256 result.append(klazz.getName());
257 result.append('(');
260 result.append(", ");
262 result.append(elements[i]);
264 result.append(')');
265 return result.toString();
274 * @return the invocation result

Completed in 1371 milliseconds

1234567891011>>