Home
last modified time | relevance | path

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

123456

/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 …]
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DClassReferenceTest.java61 Assert.assertNotNull(resolveResult.getElement()); in testJavaReferenceFromSmali()
62 …Assert.assertEquals("java.lang.Object", ((PsiClass)resolveResult.getElement()).getQualifiedName()); in testJavaReferenceFromSmali()
66 Assert.assertNotNull(resolveResults[0].getElement()); in testJavaReferenceFromSmali()
67 …Assert.assertEquals("java.lang.Object", ((PsiClass)resolveResults[0].getElement()).getQualifiedNam… in testJavaReferenceFromSmali()
104 Assert.assertNotNull(resolveResult.getElement()); in testSmaliReferenceFromSmali()
105 Assert.assertEquals("blarg", ((PsiClass)resolveResult.getElement()).getQualifiedName()); in testSmaliReferenceFromSmali()
109 Assert.assertNotNull(resolveResults[0].getElement()); in testSmaliReferenceFromSmali()
110 Assert.assertEquals("blarg", ((PsiClass)resolveResults[0].getElement()).getQualifiedName()); in testSmaliReferenceFromSmali()
/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());
/external/autotest/frontend/client/src/autotest/common/table/
DFragmentedTable.java23 public Element getElement(int row, int column) { in getElement() method in FragmentedTable.FragmentedCellFormatter
57 Element tbody = DOM.getFirstChild(getElement()); in updateBodyElems()
67 DomUtils.clearDomChildren(getElement()); in reset()
87 int fragmentIndex = DOM.getChildIndex(getElement(), body); in getCellPosition()
108 if (tableElem == getElement()) { in getEventTargetCell()
113 if (td == getElement()) { in getEventTargetCell()
/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()
/external/llvm/utils/TableGen/
DCodeGenMapTable.cpp272 RecordVal *ColFieldName = CurInstr->getValue(ColFields->getElement(j)); in isKeyColInstr()
274 std::string KeyColValue = KeyCol->getElement(j)->getAsUnquotedString(); in isKeyColInstr()
332 Init *ColFieldJ = ColFields->getElement(j); in getInstrForColumn()
335 Init *ColFieldJVallue = CurValueCol->getElement(j); in getInstrForColumn()
453 std::string ColName = ColFields->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
456 OS << ColName << "_" << ColumnI->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
520 ListInit *ListJ = dyn_cast<ListInit>(List->getElement(j)); in emitEnums()
530 std::string ColName = ColFields->getElement(j)->getAsUnquotedString(); in emitEnums()
531 ColFieldValueMap[ColName].push_back((ValueCols[k])->getElement(j)); in emitEnums()
/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()
/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/autotest/frontend/client/src/autotest/common/ui/
DDateTimeBox.java10 getElement().setAttribute("type", "datetime-local"); in DateTimeBox()
18 getElement().setAttribute("min", minDate); in setMin()
/external/autotest/frontend/client/src/autotest/common/
DCommonClassFactory.java26 RootPanel.get("motd").getElement().setInnerHTML(motd); in setupMOTD()
34 RootPanel.get("motd").getElement().setInnerHTML(motd); in refreshMOTD()
/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/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DTypeNamesTest.java36 private TypeElement getElement(Class<?> clazz) { in getElement() method in TypeNamesTest
41 return getElement(clazz).asType(); in getType()
57 compilation.getTypes().getDeclaredType(getElement(Set.class), getType(Object.class)); in forTypeMirror_parameterizedType()
/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/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/
DHighlightLocalClassUsagesTest.java74 …Assert.assertEquals(file.findElementAt(refIndex).getTextOffset(), refs.get(0).getElement().getText… in testHighlightLocalClassUsage()
76 refs.get(1).getElement().getTextOffset()); in testHighlightLocalClassUsage()
DFindUsagesTest.java121 targetElement = ((PsiElementUsageTarget)target).getElement(); in doTest()
159 int startOffset = usage.getElement().getNode().getStartOffset(); in assertUsages()
160 int length = usage.getElement().getTextLength(); in assertUsages()
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllocationStats.java86 int superCount = allocations.count(entry.getElement()); in minus()
93 entry.getElement(), in minus()
131 System.out.printf("Allocated %f allocs per rep of %s%n", allocsPerRep, entry.getElement()); in toMeasurements()
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/
DRuleTest.java40 assertEquals(ElementType.BUNDLE, rule.getElement()); in testDefaults()
49 assertEquals(ElementType.PACKAGE, rule.getElement()); in testSetElement()
/external/autotest/frontend/client/src/autotest/common/spreadsheet/
DSpreadsheet.java389 Element td = table.getCellFormatter().getElement(row, column); in getTableCellText()
457 return table.getCellFormatter().getElement(row, column); in getCellElement()
479 return table.getCellFormatter().getElement(numRows - 1, column).getOffsetWidth() - in getColumnWidth()
486 return table.getCellFormatter().getElement(row, numCols - 1).getOffsetHeight() - in getRowHeight()
503 rowHeaders.getElement().getStyle().setPropertyPx("top", offset); in setRowHeadersOffset()
507 columnHeaders.getElement().getStyle().setPropertyPx("left", offset); in setColumnHeadersOffset()
/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/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifference.java48 CsmElement getElement(); in getElement() method
81 public CsmElement getElement() { in getElement() method in Difference.Added
128 public CsmMix getElement() { in getElement() method in Difference.Reshuffled
166 public CsmElement getElement() { in getElement() method in Difference.Kept
204 public CsmElement getElement() { in getElement() method in Difference.Removed
580 && elements.get(diffIndex + 1).getElement() instanceof CsmUnindent; in apply()
883 …elements.removeIf(el -> el.getElement() instanceof CsmIndent || el.getElement() instanceof CsmUnin… in removeIndentationElements()

123456