Home
last modified time | relevance | path

Searched refs:toElement (Results 1 – 25 of 65) sorted by relevance

123

/external/guava/guava/src/com/google/common/collect/
DContiguousSet.java42 @Override public ContiguousSet<C> headSet(C toElement) { in headSet() argument
43 return headSet(checkNotNull(toElement), false); in headSet()
46 @Override ContiguousSet<C> headSet(C toElement, boolean inclusive) { in headSet() argument
47 return headSetImpl(checkNotNull(toElement), inclusive); in headSet()
50 @Override public ContiguousSet<C> subSet(C fromElement, C toElement) { in subSet() argument
52 checkNotNull(toElement); in subSet()
53 checkArgument(comparator().compare(fromElement, toElement) <= 0); in subSet()
54 return subSet(fromElement, true, toElement, false); in subSet()
57 @Override ContiguousSet<C> subSet(C fromElement, boolean fromInclusive, C toElement, in subSet() argument
60 checkNotNull(toElement); in subSet()
[all …]
DForwardingSortedSet.java76 public SortedSet<E> headSet(E toElement) { in headSet() argument
77 return delegate().headSet(toElement); in headSet()
86 public SortedSet<E> subSet(E fromElement, E toElement) { in subSet() argument
87 return delegate().subSet(fromElement, toElement); in subSet()
163 @Beta protected SortedSet<E> standardSubSet(E fromElement, E toElement) { in standardSubSet() argument
164 return tailSet(fromElement).headSet(toElement); in standardSubSet()
DSortedMultisets.java50 @Override public SortedSet<E> subSet(E fromElement, E toElement) { in subSet() argument
51 return multiset().subMultiset(fromElement, BoundType.CLOSED, toElement, in subSet()
55 @Override public SortedSet<E> headSet(E toElement) { in headSet() argument
56 return multiset().headMultiset(toElement, BoundType.OPEN).elementSet(); in headSet()
121 @Override public SortedMultiset<E> headMultiset(E toElement, in headMultiset() argument
123 return forwardMultiset().tailMultiset(toElement, boundType) in headMultiset()
128 BoundType fromBoundType, E toElement, BoundType toBoundType) { in subMultiset() argument
129 return forwardMultiset().subMultiset(toElement, toBoundType, fromElement, in subMultiset()
DImmutableSortedSet.java597 public ImmutableSortedSet<E> headSet(E toElement) { in headSet() argument
598 return headSet(toElement, false); in headSet()
601 ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { in headSet() argument
602 return headSetImpl(checkNotNull(toElement), inclusive); in headSet()
619 public ImmutableSortedSet<E> subSet(E fromElement, E toElement) { in subSet() argument
620 return subSet(fromElement, true, toElement, false); in subSet()
624 E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) { in subSet() argument
626 checkNotNull(toElement); in subSet()
627 checkArgument(comparator.compare(fromElement, toElement) <= 0); in subSet()
628 return subSetImpl(fromElement, fromInclusive, toElement, toInclusive); in subSet()
[all …]
DStandardRowSortedTable.java96 public SortedSet<R> headSet(R toElement) { in headSet() argument
97 checkNotNull(toElement); in headSet()
99 sortedBackingMap().headMap(toElement), factory).rowKeySet(); in headSet()
103 public SortedSet<R> subSet(R fromElement, R toElement) { in subSet() argument
105 checkNotNull(toElement); in subSet()
107 sortedBackingMap().subMap(fromElement, toElement), factory) in subSet()
DRegularImmutableSortedSet.java200 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { in headSetImpl() argument
204 elements, checkNotNull(toElement), comparator(), FIRST_AFTER, NEXT_HIGHER); in headSetImpl()
207 elements, checkNotNull(toElement), comparator(), FIRST_PRESENT, NEXT_HIGHER); in headSetImpl()
214 E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) { in subSetImpl() argument
216 .headSetImpl(toElement, toInclusive); in subSetImpl()
DRegularContiguousSet.java45 /* @Override */ ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { in headSetImpl() argument
46 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive))) in headSetImpl()
56 /* @Override */ ContiguousSet<C> subSetImpl(C fromElement, boolean fromInclusive, C toElement, in subSetImpl() argument
59 toElement, BoundType.forBoolean(toInclusive))).asSet(domain); in subSetImpl()
DEmptyImmutableSortedSet.java105 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { in headSetImpl() argument
111 E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) { in subSetImpl() argument
DEmptyContiguousSet.java61 @Override ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { in headSetImpl() argument
66 C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) { in subSetImpl() argument
DConstraints.java175 @Override public SortedSet<E> headSet(E toElement) { in headSet() argument
176 return constrainedSortedSet(delegate.headSet(toElement), constraint); in headSet()
178 @Override public SortedSet<E> subSet(E fromElement, E toElement) { in subSet() argument
180 delegate.subSet(fromElement, toElement), constraint); in subSet()
DAbstractSortedMultiset.java105 public SortedMultiset<E> subMultiset(E fromElement, BoundType fromBoundType, E toElement,
107 return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType);
DAbstractMultimap.java684 public SortedSet<V> headSet(V toElement) { in headSet() argument
687 getKey(), getSortedSetDelegate().headSet(toElement), in headSet()
692 public SortedSet<V> subSet(V fromElement, V toElement) { in subSet() argument
695 getKey(), getSortedSetDelegate().subSet(fromElement, toElement), in subSet()
970 public SortedSet<K> headSet(K toElement) { in headSet() argument
971 return new SortedKeySet(sortedMap().headMap(toElement)); in headSet()
980 public SortedSet<K> subSet(K fromElement, K toElement) { in subSet() argument
981 return new SortedKeySet(sortedMap().subMap(fromElement, toElement)); in subSet()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedSet.java296 public ImmutableSortedSet<E> headSet(E toElement) { in headSet() argument
297 checkNotNull(toElement); in headSet()
299 return unsafeDelegateSortedSet(sortedDelegate.headSet(toElement), true); in headSet()
317 ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { in headSet() argument
318 checkNotNull(toElement); in headSet()
320 E tmp = higher(toElement); in headSet()
324 toElement = tmp; in headSet()
326 return headSet(toElement); in headSet()
333 public ImmutableSortedSet<E> subSet(E fromElement, E toElement) { in subSet() argument
334 return subSet(fromElement, true, toElement, false); in subSet()
[all …]
DRegularContiguousSet.java43 /* @Override */ ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { in headSetImpl() argument
44 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive))) in headSetImpl()
54 /* @Override */ ContiguousSet<C> subSetImpl(C fromElement, boolean fromInclusive, C toElement, in subSetImpl() argument
57 toElement, BoundType.forBoolean(toInclusive))).asSet(domain); in subSetImpl()
DEmptyContiguousSet.java59 @Override ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { in headSetImpl() argument
64 C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) { in subSetImpl() argument
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSafeTreeSet.java118 @Override public SortedSet<E> headSet(E toElement) { in headSet() argument
119 return headSet(toElement, false); in headSet()
122 @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() argument
124 delegate.headSet(checkValid(toElement), inclusive)); in headSet()
172 E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) { in subSet() argument
175 checkValid(toElement), toInclusive)); in subSet()
178 @Override public SortedSet<E> subSet(E fromElement, E toElement) { in subSet() argument
179 return subSet(fromElement, true, toElement, false); in subSet()
/external/webkit/Source/WebCore/dom/
DElement.h421 inline Element* toElement(Node* node) in toElement() function
427 inline const Element* toElement(const Node* node) in toElement() function
434 void toElement(const Element*);
438 return isElementNode() && toElement(this)->hasTagName(name); in hasTagName()
443 return isElementNode() && toElement(this)->hasLocalName(name); in hasLocalName()
448 return isElementNode() && toElement(this)->hasAttributes(); in hasAttributes()
453 return isElementNode() ? toElement(this)->attributes() : 0; in attributes()
459 return parent && parent->isElementNode() ? toElement(parent) : 0; in parentElement()
/external/webkit/Source/WebCore/rendering/
DRenderCounter.cpp60 parent = toElement(object->node()); in previousInPreOrder()
67 parent = toElement(object->generatingNode()); in previousInPreOrder()
106 parent = toElement(object->node()); in previousSiblingOrParent()
113 parent = toElement(object->generatingNode()); in previousSiblingOrParent()
139 return toElement(object->node())->parentElement(); in parentElement()
142 return toElement(object->generatingNode()); in parentElement()
162 self = toElement(object->generatingNode()); in nextInPreOrder()
DRenderInputSpeech.cpp60 Element* element = object->node()->isElementNode() ? toElement(object->node()) : 0; in paintInputFieldSpeechButton()
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingSortedSetTest.java100 @Override public SortedSet<T> subSet(T fromElement, T toElement) { in subSet() argument
101 return standardSubSet(fromElement, toElement); in subSet()
/external/webkit/Source/WebCore/html/shadow/
DDetailsMarkerControl.cpp66 ASSERT(!node || toElement(node)->hasTagName(summaryTag)); in summaryElement()
DProgressShadowElement.cpp51 ASSERT(!node || progressTag == toElement(node)->tagQName()); in progressElement()
DMeterShadowElement.cpp54 ASSERT(!node || meterTag == toElement(node)->tagQName()); in meterElement()
/external/webkit/Source/WebCore/html/
DHTMLSummaryElement.cpp61 Element* mayDetails = toElement(parentNodeForRenderingAndStyle()); in detailsElement()
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DDumpRenderTreeSupportGtk.cpp410 Element* element = toElement(toJS(exec, nodeObject)); in markerTextForListItem()
660 Element* element = toElement(toJS(exec, value)); in shadowRoot()
726 Element* element = toElement(toJS(exec, nodeObject)); in setAutofilled()
739 Element* element = toElement(toJS(exec, nodeObject)); in setValueForUser()

123