Home
last modified time | relevance | path

Searched refs:getFirst (Results 1 – 25 of 68) sorted by relevance

123

/external/llvm/include/llvm/ADT/
DDenseMap.h40 KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; } in getFirst() function
41 const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; } in getFirst() function
105 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { in clear()
106 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { in clear()
110 P->getFirst() = EmptyKey; in clear()
212 TheBucket->getFirst() = getTombstoneKey(); in erase()
220 TheBucket->getFirst() = getTombstoneKey(); in erase()
270 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll()
271 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll()
273 P->getFirst().~KeyT(); in destroyAll()
[all …]
DDenseSet.h30 KeyT &getFirst() { return key; } in getFirst() function
31 const KeyT &getFirst() const { return key; } in getFirst() function
93 ValueT &operator*() { return I->getFirst(); }
94 ValueT *operator->() { return &I->getFirst(); }
114 const ValueT &operator*() { return I->getFirst(); }
115 const ValueT *operator->() { return &I->getFirst(); }
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
DAbstractX500NameStyle.java72 hashCodeValue ^= rdns[i].getFirst().getType().hashCode(); in calculateHashCode()
73 hashCodeValue ^= calcHashCode(rdns[i].getFirst().getValue()); in calculateHashCode()
145 if (rdns1[0].getFirst() != null && rdns2[0].getFirst() != null) in areEqual()
147 … reverse = !rdns1[0].getFirst().getType().equals(rdns2[0].getFirst().getType()); // guess forward in areEqual()
DIETFUtils.java325 if (rdn.getFirst() != null) in appendRDN()
327 IETFUtils.appendTypeAndValue(buf, rdn.getFirst(), oidSymbols); in appendRDN()
549 return atvAreEqual(rdn1.getFirst(), rdn2.getFirst()); in rDNAreEqual()
/external/deqp/framework/common/
DtcuEither.cpp98 TCU_CHECK(either.getFirst() == intValue); in Either_selfTest()
131 TCU_CHECK(either.getFirst() == intValue); in Either_selfTest()
168 TCU_CHECK(either.getFirst() == intValue); in Either_selfTest()
202 TCU_CHECK(either.getFirst().getValue() == testObject.getValue()); in Either_selfTest()
235 TCU_CHECK(either.getFirst().getValue() == testObject.getValue()); in Either_selfTest()
272 TCU_CHECK(either.getFirst().getValue() == testObject.getValue()); in Either_selfTest()
DtcuEither.hpp56 const First& getFirst (void) const;
94 return either.getFirst(); in get()
237 const First& Either<First, Second>::getFirst (void) const in getFirst() function in tcu::Either
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DDexWriterTest.java81 ClassDef dbClassDef = Iterables.getFirst(dexFile.getClasses(), null); in testAnnotationElementOrder()
83 Annotation dbAnnotation = Iterables.getFirst(dbClassDef.getAnnotations(), null); in testAnnotationElementOrder()
121 ClassDef dbClassDef = Iterables.getFirst(dexFile.getClasses(), null); in testEncodedAnnotationElementOrder()
123 Annotation dbAnnotation = Iterables.getFirst(dbClassDef.getAnnotations(), null); in testEncodedAnnotationElementOrder()
126 AnnotationElement element = Iterables.getFirst(dbAnnotation.getElements(), null); in testEncodedAnnotationElementOrder()
DJumboStringConversionTest.java97 ClassDef classDef = Iterables.getFirst(dexFile.getClasses(), null); in testJumboStringConversion()
100 Method method = Iterables.getFirst(classDef.getMethods(), null); in testJumboStringConversion()
194 ClassDef classDef = Iterables.getFirst(dexFile.getClasses(), null); in testJumboStringConversion_NonMethodBuilder()
197 Method method = Iterables.getFirst(classDef.getMethods(), null); in testJumboStringConversion_NonMethodBuilder()
/external/jetty/src/java/org/eclipse/jetty/server/
DInclusiveByteRange.java63 public long getFirst() in getFirst() method in InclusiveByteRange
159 public long getFirst(long size) in getFirst() method in InclusiveByteRange
185 return getLast(size)-getFirst(size)+1; in getSize()
194 sb.append(getFirst(size)); in toHeaderRangeString()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DMediaStream.java94 AudioTrack track = audioTracks.getFirst(); in dispose()
99 VideoTrack track = videoTracks.getFirst(); in dispose()
105 removeTrack(preservedVideoTracks.getFirst()); in dispose()
DVideoTrack.java56 removeRenderer(renderers.getFirst()); in dispose()
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DGeneticAlgorithm.java154 pair = getCrossoverPolicy().crossover(pair.getFirst(), pair.getSecond()); in nextGeneration()
161 getMutationPolicy().mutate(pair.getFirst()), in nextGeneration()
166 nextGeneration.addChromosome(pair.getFirst()); in nextGeneration()
DChromosomePair.java49 public Chromosome getFirst() { in getFirst() method in ChromosomePair
67 return String.format("(%s,%s)", getFirst(), getSecond()); in toString()
/external/nist-sip/java/gov/nist/javax/sip/header/
DAcceptLanguageList.java56 public AcceptLanguage getFirst() { in getFirst() method in AcceptLanguageList
57 AcceptLanguage retval = (AcceptLanguage) super.getFirst(); in getFirst()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/
DListOrganizerTest.java64 assertEquals(obj1, list.getFirst()); in testMoveToBottom()
72 assertEquals(obj3, list.getFirst()); in testMoveToBottom()
/external/guava/guava/src/com/google/common/collect/
DForwardingDeque.java61 public E getFirst() { in getFirst() method in ForwardingDeque
62 return delegate().getFirst(); in getFirst()
DForwardingNavigableMap.java184 return Iterables.getFirst(entrySet(), null); in standardFirstEntry()
212 return Iterables.getFirst(descendingMap().entrySet(), null); in standardLastEntry()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPClientTransaction.java351 String messageBranch = ((Via) viaHeaders.getFirst()).getBranch(); in isMessagePartOfTransaction()
363 ((Via) viaHeaders.getFirst()).getBranch()) in isMessagePartOfTransaction()
373 if (getBranch().equalsIgnoreCase(((Via) viaHeaders.getFirst()).getBranch())) { in isMessagePartOfTransaction()
410 Via topVia = (Via) transactionRequest.getViaHeaders().getFirst(); in sendMessage()
1151 Contact contact = (Contact) lastResponse.getContactHeaders().getFirst(); in createAck()
1174 contact = (Contact) lastResponse.getContactHeaders().getFirst(); in createAck()
1177 if (!((SipURI) ((Route) routeList.getFirst()).getAddress().getURI()).hasLrParam()) { in createAck()
1187 Route firstRoute = (Route) routeList.getFirst(); in createAck()
DDefaultRouter.java196 Route route = (Route) routes.getFirst(); in getNextHop()
265 Route first = (Route) routes.getFirst(); in fixStrictRouting()
DSIPTransaction.java404 newBranch = ((Via) newOriginalRequest.getViaHeaders().getFirst()) in setOriginalRequest()
949 topViaHeader = (Via) viaHeaders.getFirst(); in doesCancelMatchTransaction()
974 .getFirst()).getSentBy())) { in doesCancelMatchTransaction()
1000 .getViaHeaders().getFirst())) { in doesCancelMatchTransaction()
/external/guava/guava-tests/test/com/google/common/collect/
DSynchronizedDequeTest.java201 public E getFirst() { in getFirst() method in SynchronizedDequeTest.TestDeque
203 return delegate.getFirst(); in getFirst()
286 create().getFirst(); in testHoldsLockOnAllOperations()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DSequenceOptimizer.java40 originalNode.replaceBy(args.getFirst()); in caseASequenceExpression()
DVarOptimizer.java188 optimizedVarCommandOf(position, args.getFirst())); in optimizeVarCommands()
280 return (commands.size() > 1) ? new AMultipleCommand(commands) : commands.getFirst(); in optimizeEscapeSequences()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
DX500Name.java200 res[count++] = rdn.getFirst().getType(); in getAttributeTypes()
236 if (rdn.getFirst().getType().equals(attributeType)) in getRDNs()
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DDisassemblyTest.java67 ClassDef inputClass = Iterables.getFirst(inputDex.getClasses(), null); in runTest()

123