Home
last modified time | relevance | path

Searched refs:getElement (Results 1 – 25 of 82) sorted by relevance

1234

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java88 container.addAll(Collections.nCopies(a.getCount(), a.getElement())); in resetWithHole()
89 container.addAll(Collections.nCopies(c.getCount(), c.getElement())); in resetWithHole()
189 assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry()); in testLower()
190 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry()); in testLower()
191 assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry()); in testLower()
197 assertEquals(a, sortedMultiset.headMultiset(a.getElement(), CLOSED).lastEntry()); in testFloor()
198 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), CLOSED).lastEntry()); in testFloor()
199 assertEquals(c, sortedMultiset.headMultiset(c.getElement(), CLOSED).lastEntry()); in testFloor()
206 assertEquals(a, sortedMultiset.tailMultiset(a.getElement(), CLOSED).firstEntry()); in testCeiling()
207 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry()); in testCeiling()
[all …]
DMultisetTestSuiteBuilder.java222 checkArgument(elements.add(entry.getElement()), in create()
225 contents.add(entry.getElement()); in create()
242 map.put(entry.getElement(), entry); in order()
/external/guava/guava/src/com/google/common/collect/
DMultisets.java227 @Nullable public E getElement() { in getElement() method in Multisets.ImmutableEntry
302 return predicate.apply(entry.getElement()); in createEntrySet()
418 E element = entry1.getElement();
424 E element = entry2.getElement();
482 E element = entry1.getElement();
559 E element = entry1.getElement();
565 E element = entry2.getElement();
620 E element = entry1.getElement();
649 int superCount = superMultiset.count(entry.getElement());
693 int retainCount = occurrencesToRetain.count(entry.getElement());
[all …]
DForwardingSortedMultiset.java123 return Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardFirstEntry()
146 return Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardLastEntry()
166 entry = Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardPollFirstEntry()
191 entry = Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardPollLastEntry()
DTreeMultiset.java337 public E getElement() { in wrapEntry()
338 return baseEntry.getElement(); in wrapEntry()
345 return count(getElement()); in wrapEntry()
369 && comparator().compare(endpoint, node.getElement()) == 0) {
375 return (node == header || !range.contains(node.getElement())) ? null : node;
391 && comparator().compare(endpoint, node.getElement()) == 0) {
397 return (node == header || !range.contains(node.getElement())) ? null : node;
410 } else if (range.tooHigh(current.getElement())) {
436 setCount(prevEntry.getElement(), 0);
452 } else if (range.tooLow(current.getElement())) {
[all …]
DImmutableMultiset.java207 builder.put(entry.getElement(), count); in copyFromEntries()
253 element = entry.getElement(); in iterator()
324 Arrays.fill(dst, offset, offset + entry.getCount(), entry.getElement()); in copyIntoArray()
394 int count = count(entry.getElement());
437 elements[i] = entry.getElement();
573 addCopies(entry.getElement(), entry.getCount());
DSortedMultisets.java88 return entry.getElement(); in getElementOrThrow()
92 return (entry == null) ? null : entry.getElement(); in getElementOrNull()
DAbstractSortedMultiset.java82 result = Multisets.immutableEntry(result.getElement(), result.getCount()); in pollFirstEntry()
94 result = Multisets.immutableEntry(result.getElement(), result.getCount()); in pollLastEntry()
/external/llvm/utils/TableGen/
DCodeGenMapTable.cpp136 ListInit *ColI = dyn_cast<ListInit>(ColValList->getElement(i)); in InstrMap()
247 Init *RowFieldsJ = RowFields->getElement(j); in buildRowInstrMap()
274 RecordVal *ColFieldName = CurInstr->getValue(ColFields->getElement(j)); in isKeyColInstr()
276 std::string KeyColValue = KeyCol->getElement(j)->getAsUnquotedString(); in isKeyColInstr()
317 Init *RowFieldsJ = RowFields->getElement(j); in getInstrForColumn()
336 Init *ColFieldJ = ColFields->getElement(j); in getInstrForColumn()
339 Init *ColFieldJVallue = CurValueCol->getElement(j); in getInstrForColumn()
447 std::string ColName = ColFields->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
450 OS << ColName << "_" << ColumnI->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
482 std::string ColName = ColFields->getElement(i)->getAsUnquotedString(); in emitTablesWithFunc()
[all …]
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/
DSoapFault12.java64 this.faultcode = Code.getElement(SoapEnvelope.ENV2003, "Value").getText(0); in parse()
65 this.faultstring = Reason.getElement(SoapEnvelope.ENV2003, "Text").getText(0); in parse()
138 return Reason.getElement(SoapEnvelope.ENV2003, "Text").getText(0); in getMessage()
143 String reason = Reason.getElement(SoapEnvelope.ENV2003, "Text").getText(0); in toString()
144 String code = Code.getElement(SoapEnvelope.ENV2003, "Value").getText(0); in toString()
DSoapEnvelope.java167 Element child = headers.getElement(i); in parseHeader()
175 Element child = headers.getElement(i); in parseHeader()
/external/skia/src/animator/
DSkAnimator.cpp189 const SkDisplayable* SkAnimator::getElement(const char* id) { in getElement() function in SkAnimator
203 const SkDisplayable* element = getElement(id); in getElementType()
214 const SkDisplayable* element = getElement(elementID); in getField()
244 const SkDisplayable* element = getElement(id); in getArrayInt()
261 const SkDisplayable* element = getElement(id); in getArrayScalar()
278 const SkDisplayable* element = getElement(id); in getArrayString()
330 const SkDisplayable* element = getElement(id); in getInt()
356 const SkDisplayable* element = getElement(id); in getScalar()
375 const SkDisplayable* element = getElement(id); in getString()
559 SkDisplayable* element = (SkDisplayable*) getElement(id); in setArray()
[all …]
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/kdom/
DNode.java110 public Element getElement(int index) { in getElement() method in Node
119 public Element getElement(String namespace, String name) { in getElement() method in Node
133 return getElement(i); in getElement()
205 Element child = getElement(i); in indexOf()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DTreeMultiset.java333 public E getElement() { in wrapEntry()
334 return baseEntry.getElement(); in wrapEntry()
341 return count(getElement()); in wrapEntry()
365 && comparator().compare(endpoint, node.getElement()) == 0) {
371 return (node == header || !range.contains(node.getElement())) ? null : node;
387 && comparator().compare(endpoint, node.getElement()) == 0) {
393 return (node == header || !range.contains(node.getElement())) ? null : node;
406 } else if (range.tooHigh(current.getElement())) {
432 setCount(prevEntry.getElement(), 0);
448 } else if (range.tooLow(current.getElement())) {
[all …]
DImmutableMultiset.java206 builder.put(entry.getElement(), count); in copyFromEntries()
252 element = entry.getElement(); in iterator()
383 int count = count(entry.getElement());
426 elements[i] = entry.getElement();
562 addCopies(entry.getElement(), entry.getCount());
DSortedMultisets.java86 return entry.getElement(); in getElementOrThrow()
90 return (entry == null) ? null : entry.getElement(); in getElementOrNull()
DAbstractSortedMultiset.java82 result = Multisets.immutableEntry(result.getElement(), result.getCount()); in pollFirstEntry()
94 result = Multisets.immutableEntry(result.getElement(), result.getCount()); in pollLastEntry()
DAbstractMapBasedMultiset.java100 public E getElement() { in entryIterator()
107 Count frequency = backingMap.get(getElement()); in entryIterator()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DSynchronizedDescriptiveStatistics.java89 public synchronized double getElement(int index) { in getElement() method in SynchronizedDescriptiveStatistics
90 return super.getElement(index); in getElement()
/external/droiddriver/src/io/appium/droiddriver/base/
DDroidDriverContext.java48 public E getElement(R rawElement, E parent) { in getElement() method in DroidDriverContext
59 return getElement(rawRoot, null /* parent */); in newRootElement()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DSimpleAbstractMultisetTest.java97 public E getElement() { in entryIterator()
103 Integer frequency = backingMap.get(getElement()); in entryIterator()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/evalexception/media/
DMochiKit.packed.js2781 elem=self.getElement(elem);
2932 node=self.getElement(node);
2935 _31e=self.getElement(_31e);
2960 node=self.getElement(node);
2976 node=self.getElement(node);
2990 elem=self.getElement(node);
3057 elem=self.getElement(node);
3077 elem=self.getElement(node);
3098 elem=self.getElement(node);
3110 elem=self.getElement(node);
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DSimpleAbstractMultisetTest.java123 public E getElement() { in entryIterator()
129 Integer frequency = backingMap.get(getElement()); in entryIterator()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DDoubleArray.java47 double getElement(int index); in getElement() method
/external/guava/guava-gwt/src/com/google/common/collect/
DMultiset_CustomFieldSerializerBase.java50 writer.writeObject(entry.getElement()); in serialize()

1234