Home
last modified time | relevance | path

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

1234567891011

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java86 container.addAll(Collections.nCopies(a.getCount(), a.getElement())); in resetWithHole()
87 container.addAll(Collections.nCopies(c.getCount(), c.getElement())); in resetWithHole()
190 assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry()); in testLower()
191 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry()); in testLower()
192 assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry()); in testLower()
198 assertEquals(a, sortedMultiset.headMultiset(a.getElement(), CLOSED).lastEntry()); in testFloor()
199 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), CLOSED).lastEntry()); in testFloor()
200 assertEquals(c, sortedMultiset.headMultiset(c.getElement(), CLOSED).lastEntry()); in testFloor()
207 assertEquals(a, sortedMultiset.tailMultiset(a.getElement(), CLOSED).firstEntry()); in testCeiling()
208 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry()); in testCeiling()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java86 container.addAll(Collections.nCopies(a.getCount(), a.getElement())); in resetWithHole()
87 container.addAll(Collections.nCopies(c.getCount(), c.getElement())); in resetWithHole()
190 assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry()); in testLower()
191 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry()); in testLower()
192 assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry()); in testLower()
198 assertEquals(a, sortedMultiset.headMultiset(a.getElement(), CLOSED).lastEntry()); in testFloor()
199 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), CLOSED).lastEntry()); in testFloor()
200 assertEquals(c, sortedMultiset.headMultiset(c.getElement(), CLOSED).lastEntry()); in testFloor()
207 assertEquals(a, sortedMultiset.tailMultiset(a.getElement(), CLOSED).firstEntry()); in testCeiling()
208 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/android/guava/src/com/google/common/collect/
DMultisets.java227 public final E getElement() { in getElement() method in Multisets.ImmutableEntry
311 return predicate.apply(entry.getElement()); in createEntrySet()
416 E element = entry1.getElement();
422 E element = entry2.getElement();
477 E element = entry1.getElement();
549 E element = entry1.getElement();
555 E element = entry2.getElement();
606 E element = entry1.getElement();
624 E element = entry1.getElement();
653 int superCount = superMultiset.count(entry.getElement());
[all …]
DForwardingSortedMultiset.java129 return Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardFirstEntry()
150 return Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardLastEntry()
170 entry = Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardPollFirstEntry()
193 entry = Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardPollLastEntry()
DTreeMultiset.java364 public E getElement() { in wrapEntry()
365 return baseEntry.getElement(); in wrapEntry()
372 return count(getElement()); in wrapEntry()
395 && comparator().compare(endpoint, node.getElement()) == 0) {
401 return (node == header || !range.contains(node.getElement())) ? null : node;
418 && comparator().compare(endpoint, node.getElement()) == 0) {
424 return (node == header || !range.contains(node.getElement())) ? null : node;
442 } else if (range.tooHigh(current.getElement())) {
468 setCount(prevEntry.getElement(), 0);
484 } else if (range.tooLow(current.getElement())) {
[all …]
/external/guava/guava/src/com/google/common/collect/
DMultisets.java258 public final @Nullable E getElement() { in getElement() method in ImmutableEntry
342 return predicate.apply(entry.getElement()); in createEntrySet()
447 E element = entry1.getElement();
453 E element = entry2.getElement();
508 E element = entry1.getElement();
580 E element = entry1.getElement();
586 E element = entry2.getElement();
637 E element = entry1.getElement();
655 E element = entry1.getElement();
684 int superCount = superMultiset.count(entry.getElement());
[all …]
DForwardingSortedMultiset.java129 return Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardFirstEntry()
150 return Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardLastEntry()
170 entry = Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardPollFirstEntry()
193 entry = Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardPollLastEntry()
DTreeMultiset.java366 public E getElement() { in wrapEntry()
367 return baseEntry.getElement(); in wrapEntry()
374 return count(getElement()); in wrapEntry()
396 && comparator().compare(endpoint, node.getElement()) == 0) {
402 return (node == header || !range.contains(node.getElement())) ? null : node;
418 && comparator().compare(endpoint, node.getElement()) == 0) {
424 return (node == header || !range.contains(node.getElement())) ? null : node;
442 } else if (range.tooHigh(current.getElement())) {
468 setCount(prevEntry.getElement(), 0);
484 } else if (range.tooLow(current.getElement())) {
[all …]
DMultiset.java276 E getElement(); in getElement() method
339 entrySet().forEach(entry -> action.accept(entry.getElement(), entry.getCount())); in forEachEntry()
463 E elem = entry.getElement(); in forEach()
/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()
139 return Reason.getElement(SoapEnvelope.ENV2003, "Text").getText(0); in getMessage()
144 String reason = Reason.getElement(SoapEnvelope.ENV2003, "Text").getText(0); in toString()
145 String code = Code.getElement(SoapEnvelope.ENV2003, "Value").getText(0); in toString()
/external/cldr/tools/java/org/unicode/cldr/draft/
DJsonConverter.java69 dtdType = DtdType.valueOf(parts.getElement(0)); in main()
77 final String element = parts.getElement(i); in main()
90 current.put(element, parts.getElement(i + 1)); in main()
127 final String element = parts.getElement(i); in rewrite()
172 if (parts.getElement(-1).equals("type")) { in rewrite()
180 if (parts.getElement(1).equals("localeDisplayNames")) { in rewrite()
181 String element2 = parts.getElement(2); in rewrite()
190 if (parts.getElement(1).equals("dates")) { in rewrite()
192 String element1 = parts.getElement(1); in rewrite()
194 String main = parts.getElement(2); in rewrite()
[all …]
/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/llvm-project/llvm/utils/TableGen/
DCodeGenMapTable.cpp276 RecordVal *ColFieldName = CurInstr->getValue(ColFields->getElement(j)); in isKeyColInstr()
278 std::string KeyColValue = KeyCol->getElement(j)->getAsUnquotedString(); in isKeyColInstr()
336 Init *ColFieldJ = ColFields->getElement(j); in getInstrForColumn()
339 Init *ColFieldJVallue = CurValueCol->getElement(j); in getInstrForColumn()
457 std::string ColName = ColFields->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
460 OS << ColName << "_" << ColumnI->getElement(j)->getAsUnquotedString(); in emitMapFuncBody()
524 auto *ListJ = cast<ListInit>(List->getElement(j)); in emitEnums()
534 std::string ColName = ColFields->getElement(j)->getAsUnquotedString(); in emitEnums()
535 ColFieldValueMap[ColName].push_back((ValueCols[k])->getElement(j)); in emitEnums()
/external/javapoet/src/test/java/com/squareup/javapoet/
DMethodSpecTest.java62 private TypeElement getElement(Class<?> clazz) { in getElement() method in MethodSpecTest
149 TypeElement classElement = getElement(Everything.class); in overrideEverything()
162 TypeElement classElement = getElement(Generics.class); in overrideGenerics()
175 TypeElement classElement = getElement(HasAnnotation.class); in overrideDoesNotCopyOverrideAnnotation()
185 TypeElement classElement = getElement(ExtendsIterableWithDefaultMethods.class); in overrideDoesNotCopyDefaultModifier()
197 TypeElement classElement = getElement(ExtendsOthers.class); in overrideExtendsOthersWorksWithActualTypeParameters()
221 TypeElement classElement = getElement(FinalClass.class); in overrideFinalClassMethod()
233 TypeElement classElement = getElement(InvalidOverrideMethods.class); in overrideInvalidModifiers()
263 TypeElement abstractTypeElement = getElement(AbstractClassWithPrivateAnnotation.class); in overrideDoesNotCopyParameterAnnotations()
284 TypeElement classElement = getElement(Everything.class); in equalsAndHashCode()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DForwardingSortedMultiset.java116 return Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardFirstEntry()
137 return Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardLastEntry()
157 entry = Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardPollFirstEntry()
180 entry = Multisets.immutableEntry(entry.getElement(), entry.getCount()); in standardPollLastEntry()
/external/cldr/tools/java/org/unicode/cldr/json/
DCldrItem.java308 if (thisxpp.getElement(0).equals("supplementalData")) { in compareTo()
314 …if (thisxpp.getElement(1).equals("weekData") && thisxpp.getElement(2).equals(otherxpp.getElement(2… in compareTo()
324 …if (thisxpp.getElement(1).equals("measurementData") && thisxpp.getElement(2).equals(otherxpp.getEl… in compareTo()
/external/pdfium/testing/resources/javascript/xfa_specific/
Dxfa_node_expected.txt15 Alert: PASS: typeof my_doc.getElement = function
32 Alert: PASS: my_doc.getElement() threw XFAObject.getElement: Incorrect number of parameters passed …
33 Alert: PASS: my_doc.getElement('bogus') = null
34 Alert: PASS: my_doc.getElement('pageSet') = [object XFAObject]
Dxfa_node.in36 expect("typeof my_doc.getElement", "function");
53 expectError("my_doc.getElement()");
54 expect("my_doc.getElement('bogus')", undefined);
55 expect("my_doc.getElement('pageSet')", "[object XFAObject]");
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPaths.java266 String elementName = parts.getElement(i); in check()
413 type = DtdType.valueOf(parts.getElement(0)); in TestNonLdml()
418 String finalElementString = pathParts.getElement(-1); in TestNonLdml()
423 … if (pathParts.size() > 1 && "identity".equals(pathParts.getElement(1))) { in TestNonLdml()
427 && "validity".equals(pathParts.getElement(2)) in TestNonLdml()
450 String last = parts.getElement(-1); in TestNonLdml()
497 String elementName = parts.getElement(i); in checkParts()
536 String element = parts.getElement(i); in removeNonDistinguishing()
546 … && (parts.getElement(1).equals("transforms") || parts.getElement(1).equals("collations"))) { in removeNonDistinguishing()
/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/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/
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()

1234567891011