Home
last modified time | relevance | path

Searched refs:nextElement (Results 1 – 25 of 413) sorted by relevance

12345678910>>...17

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-channel-10.kt13 var nextElement = withTimeoutOrNull(1) { tickerChannel.receive() } in <lambda>() variable
14 println("Initial element is available immediately: $nextElement") // no initial delay in <lambda>()
16nextElement = withTimeoutOrNull(50) { tickerChannel.receive() } // all subsequent elements have 10… in <lambda>()
17 println("Next element is not ready in 50 ms: $nextElement") in <lambda>()
19 nextElement = withTimeoutOrNull(60) { tickerChannel.receive() } in <lambda>()
20 println("Next element is ready in 100 ms: $nextElement") in <lambda>()
26 nextElement = withTimeoutOrNull(1) { tickerChannel.receive() } in <lambda>()
27 println("Next element is available immediately after large consumer delay: $nextElement") in <lambda>()
29 nextElement = withTimeoutOrNull(60) { tickerChannel.receive() } in <lambda>()
30 println("Next element is ready in 50ms after consumer pause in 150ms: $nextElement") in <lambda>()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSetIterator.java111 if (nextElement <= endElement) { in next()
112 codepoint = codepointEnd = nextElement++; in next()
117 codepoint = codepointEnd = nextElement++; in next()
154 if (nextElement <= endElement) { in nextRange()
156 codepoint = nextElement; in nextRange()
157 nextElement = endElement+1; in nextRange()
163 codepoint = nextElement; in nextRange()
164 nextElement = endElement+1; in nextRange()
199 nextElement = 0; in reset()
249 protected int nextElement; field in UnicodeSetIterator
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSetIterator.java118 if (nextElement <= endElement) { in next()
119 codepoint = codepointEnd = nextElement++; in next()
124 codepoint = codepointEnd = nextElement++; in next()
162 if (nextElement <= endElement) { in nextRange()
164 codepoint = nextElement; in nextRange()
165 nextElement = endElement+1; in nextRange()
171 codepoint = nextElement; in nextRange()
172 nextElement = endElement+1; in nextRange()
209 nextElement = 0; in reset()
257 protected int nextElement; field in UnicodeSetIterator
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DUnicodeMapIterator.java125 if (nextElement <= endElement) { in next()
126 codepoint = codepointEnd = nextElement++; in next()
133 codepoint = codepointEnd = nextElement++; in next()
166 if (nextElement <= endElement) { in nextRange()
168 codepoint = nextElement; in nextRange()
169 nextElement = endElement+1; in nextRange()
177 codepoint = nextElement; in nextRange()
178 nextElement = endElement+1; in nextRange()
210 nextElement = 0; in reset()
241 protected int nextElement; field in UnicodeMapIterator
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DUnicodeMapIterator.java122 if (nextElement <= endElement) { in next()
123 codepoint = codepointEnd = nextElement++; in next()
130 codepoint = codepointEnd = nextElement++; in next()
163 if (nextElement <= endElement) { in nextRange()
165 codepoint = nextElement; in nextRange()
166 nextElement = endElement+1; in nextRange()
174 codepoint = nextElement; in nextRange()
175 nextElement = endElement+1; in nextRange()
207 nextElement = 0; in reset()
238 protected int nextElement; field in UnicodeMapIterator
[all …]
/external/icu/icu4c/source/common/
Dusetiter.cpp50 if (nextElement <= endElement) { in next()
51 codepoint = codepointEnd = nextElement++; in next()
57 codepoint = codepointEnd = nextElement++; in next()
81 if (nextElement <= endElement) { in nextRange()
83 codepoint = nextElement; in nextRange()
84 nextElement = endElement+1; in nextRange()
90 codepoint = nextElement; in nextRange()
91 nextElement = endElement+1; in nextRange()
123 nextElement = 0; in reset()
132 nextElement = set->getRangeStart(iRange); in loadRange()
Dcaniter.cpp323 ne = subpermute.nextElement(el); in permute()
335 ne = subpermute.nextElement(el); in permute()
366 ne = basic.nextElement(el); in getEquivalents()
377 ne2 = permutations.nextElement(el2); in getEquivalents()
395 ne2 = permutations.nextElement(el2); in getEquivalents()
397 ne = basic.nextElement(el); in getEquivalents()
422 ne = result.nextElement(el); in getEquivalents()
425 ne = result.nextElement(el); in getEquivalents()
469 const UHashElement *ne = remainder.nextElement(el); in getEquivalents2()
483 ne = remainder.nextElement(el); in getEquivalents2()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DRSAPrivateKeyStructure.java79 ASN1Integer v = (ASN1Integer)e.nextElement(); in RSAPrivateKeyStructure()
87 modulus = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
88 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
89 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
90 prime1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
91 prime2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
92 exponent1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
93 exponent2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
94 coefficient = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
98 otherPrimeInfos = (ASN1Sequence)e.nextElement(); in RSAPrivateKeyStructure()
DRSAPrivateKey.java77 ASN1Integer v = (ASN1Integer)e.nextElement(); in RSAPrivateKey()
85 modulus = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
86 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
87 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
88 prime1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
89 prime2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
90 exponent1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
91 exponent2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
92 coefficient = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
96 otherPrimeInfos = (ASN1Sequence)e.nextElement(); in RSAPrivateKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DRSAPrivateKeyStructure.java81 ASN1Integer v = (ASN1Integer)e.nextElement(); in RSAPrivateKeyStructure()
89 modulus = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
90 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
91 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
92 prime1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
93 prime2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
94 exponent1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
95 exponent2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
96 coefficient = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
100 otherPrimeInfos = (ASN1Sequence)e.nextElement(); in RSAPrivateKeyStructure()
DRSAPrivateKey.java81 ASN1Integer v = (ASN1Integer)e.nextElement(); in RSAPrivateKey()
89 modulus = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
90 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
91 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
92 prime1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
93 prime2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
94 exponent1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
95 exponent2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
96 coefficient = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
100 otherPrimeInfos = (ASN1Sequence)e.nextElement(); in RSAPrivateKey()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java61 if (!(defaultst.nextElement().equals(expected[i]) in TestConstructors()
62 && stdelimiter.nextElement().equals(expected[i]) in TestConstructors()
63 && stdelimiterreturn.nextElement().equals(expected[i]) in TestConstructors()
64 && stdelimiterset.nextElement().equals(expected[i]) in TestConstructors()
65 && stdelimitersetreturn.nextElement().equals(expected[i]))) { in TestConstructors()
72 if(!(stdelimiterset1.nextElement().equals(str))) in TestConstructors()
82 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) in TestConstructors()
83 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { in TestConstructors()
94 if (!(stdelimiter.nextElement().equals(str) in TestConstructors()
95 && stdelimiterreturn.nextElement().equals(str) in TestConstructors()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DStringTokenizerTest.java64 if (!(defaultst.nextElement().equals(expected[i]) in TestConstructors()
65 && stdelimiter.nextElement().equals(expected[i]) in TestConstructors()
66 && stdelimiterreturn.nextElement().equals(expected[i]) in TestConstructors()
67 && stdelimiterset.nextElement().equals(expected[i]) in TestConstructors()
68 && stdelimitersetreturn.nextElement().equals(expected[i]))) { in TestConstructors()
75 if(!(stdelimiterset1.nextElement().equals(str))) in TestConstructors()
85 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) in TestConstructors()
86 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { in TestConstructors()
97 if (!(stdelimiter.nextElement().equals(str) in TestConstructors()
98 && stdelimiterreturn.nextElement().equals(str) in TestConstructors()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/pkcs/
DRSAPrivateKey.java81 ASN1Integer v = (ASN1Integer)e.nextElement(); in RSAPrivateKey()
89 modulus = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
90 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
91 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
92 prime1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
93 prime2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
94 exponent1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
95 exponent2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
96 coefficient = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
100 otherPrimeInfos = (ASN1Sequence)e.nextElement(); in RSAPrivateKey()
DRSAPrivateKeyStructure.java81 ASN1Integer v = (ASN1Integer)e.nextElement(); in RSAPrivateKeyStructure()
89 modulus = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
90 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
91 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
92 prime1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
93 prime2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
94 exponent1 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
95 exponent2 = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
96 coefficient = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
100 otherPrimeInfos = (ASN1Sequence)e.nextElement(); in RSAPrivateKeyStructure()
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixNetworkInterfaceTest.java39 NetworkInterface netif = netifs.nextElement(); in test_isUp()
64 NetworkInterface netif = netifs.nextElement(); in test_supportsMulticast()
91 NetworkInterface netif = netifs.nextElement(); in test_getHardwareAddress()
122 NetworkInterface netif = netifs.nextElement(); in test_getMTU()
146 NetworkInterface netif = netifs.nextElement(); in test_getSubInterfaces()
153 NetworkInterface sub1 = subInterfaces1.nextElement(); in test_getSubInterfaces()
154 NetworkInterface sub2 = subInterfaces2.nextElement(); in test_getSubInterfaces()
167 NetworkInterface netif = netifs.nextElement(); in test_getParent()
174 NetworkInterface sub = subInterfaces.nextElement(); in test_getParent()
193 NetworkInterface netif = netifs.nextElement(); in test_isVirtual()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliAnnotationElement.java75 PsiElement nextElement = equalNode.getPsi().getNextSibling(); in getValue() local
76 while (nextElement != null) { in getValue()
77 if (nextElement instanceof PsiAnnotationMemberValue) { in getValue()
78 return (PsiAnnotationMemberValue)nextElement; in getValue()
80 nextElement = nextElement.getNextSibling(); in getValue()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DSignerInfo.java191 version = (ASN1Integer)e.nextElement(); in SignerInfo()
192 sid = SignerIdentifier.getInstance(e.nextElement()); in SignerInfo()
193 digAlgorithm = AlgorithmIdentifier.getInstance(e.nextElement()); in SignerInfo()
195 Object obj = e.nextElement(); in SignerInfo()
201 digEncryptionAlgorithm = AlgorithmIdentifier.getInstance(e.nextElement()); in SignerInfo()
209 encryptedDigest = DEROctetString.getInstance(e.nextElement()); in SignerInfo()
213 … unauthenticatedAttributes = ASN1Set.getInstance((ASN1TaggedObject)e.nextElement(), false); in SignerInfo()
DSignedData.java137 Object obj = en.nextElement(); in calculateVersion()
167 Object obj = en.nextElement(); in calculateVersion()
207 SignerInfo s = SignerInfo.getInstance(e.nextElement()); in checkForVersion3()
223 version = ASN1Integer.getInstance(e.nextElement()); in SignedData()
224 digestAlgorithms = ((ASN1Set)e.nextElement()); in SignedData()
225 contentInfo = ContentInfo.getInstance(e.nextElement()); in SignedData()
229 ASN1Primitive o = (ASN1Primitive)e.nextElement(); in SignedData()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/cms/
DSignerInfo.java193 version = (ASN1Integer)e.nextElement(); in SignerInfo()
194 sid = SignerIdentifier.getInstance(e.nextElement()); in SignerInfo()
195 digAlgorithm = AlgorithmIdentifier.getInstance(e.nextElement()); in SignerInfo()
197 Object obj = e.nextElement(); in SignerInfo()
203 digEncryptionAlgorithm = AlgorithmIdentifier.getInstance(e.nextElement()); in SignerInfo()
211 encryptedDigest = DEROctetString.getInstance(e.nextElement()); in SignerInfo()
215 … unauthenticatedAttributes = ASN1Set.getInstance((ASN1TaggedObject)e.nextElement(), false); in SignerInfo()
DSignedData.java139 Object obj = en.nextElement(); in calculateVersion()
169 Object obj = en.nextElement(); in calculateVersion()
209 SignerInfo s = SignerInfo.getInstance(e.nextElement()); in checkForVersion3()
225 version = ASN1Integer.getInstance(e.nextElement()); in SignedData()
226 digestAlgorithms = ((ASN1Set)e.nextElement()); in SignedData()
227 contentInfo = ContentInfo.getInstance(e.nextElement()); in SignedData()
231 ASN1Primitive o = (ASN1Primitive)e.nextElement(); in SignedData()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/
DSignerInfo.java193 version = (ASN1Integer)e.nextElement(); in SignerInfo()
194 sid = SignerIdentifier.getInstance(e.nextElement()); in SignerInfo()
195 digAlgorithm = AlgorithmIdentifier.getInstance(e.nextElement()); in SignerInfo()
197 Object obj = e.nextElement(); in SignerInfo()
203 digEncryptionAlgorithm = AlgorithmIdentifier.getInstance(e.nextElement()); in SignerInfo()
211 encryptedDigest = DEROctetString.getInstance(e.nextElement()); in SignerInfo()
215 … unauthenticatedAttributes = ASN1Set.getInstance((ASN1TaggedObject)e.nextElement(), false); in SignerInfo()
DSignedData.java139 Object obj = en.nextElement(); in calculateVersion()
169 Object obj = en.nextElement(); in calculateVersion()
209 SignerInfo s = SignerInfo.getInstance(e.nextElement()); in checkForVersion3()
225 version = ASN1Integer.getInstance(e.nextElement()); in SignedData()
226 digestAlgorithms = ((ASN1Set)e.nextElement()); in SignedData()
227 contentInfo = ContentInfo.getInstance(e.nextElement()); in SignedData()
231 ASN1Primitive o = (ASN1Primitive)e.nextElement(); in SignedData()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DX509Extensions.java257 ASN1Sequence s = ASN1Sequence.getInstance(e.nextElement()); in X509Extensions()
310 this.ordering.addElement(ASN1ObjectIdentifier.getInstance(e.nextElement())); in X509Extensions()
317 ASN1ObjectIdentifier oid = ASN1ObjectIdentifier.getInstance(e.nextElement()); in X509Extensions()
339 this.ordering.addElement(e.nextElement()); in X509Extensions()
348 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); in X509Extensions()
395 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); in toASN1Primitive()
425 Object key = e1.nextElement(); in equivalent()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DX509Extensions.java259 ASN1Sequence s = ASN1Sequence.getInstance(e.nextElement()); in X509Extensions()
312 this.ordering.addElement(ASN1ObjectIdentifier.getInstance(e.nextElement())); in X509Extensions()
319 ASN1ObjectIdentifier oid = ASN1ObjectIdentifier.getInstance(e.nextElement()); in X509Extensions()
341 this.ordering.addElement(e.nextElement()); in X509Extensions()
350 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); in X509Extensions()
397 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); in toASN1Primitive()
427 Object key = e1.nextElement(); in equivalent()

12345678910>>...17