Home
last modified time | relevance | path

Searched refs:Cut (Results 1 – 25 of 45) sorted by relevance

12

/external/guava/guava/src/com/google/common/collect/
DTreeRangeSet.java48 final NavigableMap<Cut<C>, Range<C>> rangesByLowerBound;
54 return new TreeRangeSet<C>(new TreeMap<Cut<C>, Range<C>>()); in create()
66 private TreeRangeSet(NavigableMap<Cut<C>, Range<C>> rangesByLowerCut) { in TreeRangeSet()
99 Entry<Cut<C>, Range<C>> floorEntry = rangesByLowerBound.floorEntry(Cut.belowValue(value)); in rangeContaining()
111 Entry<Cut<C>, Range<C>> floorEntry = rangesByLowerBound.floorEntry(range.lowerBound); in encloses()
118 Entry<Cut<C>, Range<C>> floorEntry = rangesByLowerBound.floorEntry(range.lowerBound); in rangeEnclosing()
126 Entry<Cut<C>, Range<C>> firstEntry = rangesByLowerBound.firstEntry(); in span()
127 Entry<Cut<C>, Range<C>> lastEntry = rangesByLowerBound.lastEntry(); in span()
144 Cut<C> lbToAdd = rangeToAdd.lowerBound; in add()
145 Cut<C> ubToAdd = rangeToAdd.upperBound; in add()
[all …]
DRange.java117 private static final Function<Range, Cut> LOWER_BOUND_FN = new Function<Range, Cut>() {
119 public Cut apply(Range range) {
125 static <C extends Comparable<?>> Function<Range<C>, Cut<C>> lowerBoundFn() { in lowerBoundFn()
129 private static final Function<Range, Cut> UPPER_BOUND_FN = new Function<Range, Cut>() {
131 public Cut apply(Range range) {
137 static <C extends Comparable<?>> Function<Range<C>, Cut<C>> upperBoundFn() { in upperBoundFn()
152 Cut<C> lowerBound, Cut<C> upperBound) { in create()
165 return create(Cut.aboveValue(lower), Cut.belowValue(upper)); in open()
177 return create(Cut.belowValue(lower), Cut.aboveValue(upper)); in closed()
190 return create(Cut.belowValue(lower), Cut.belowValue(upper)); in closedOpen()
[all …]
DCut.java37 abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable { class
40 Cut(@Nullable C endpoint) { in Cut() method in Cut
49 abstract Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain); in withLowerBoundType()
50 abstract Cut<C> withUpperBoundType(BoundType boundType, DiscreteDomain<C> domain); in withUpperBoundType()
62 Cut<C> canonical(DiscreteDomain<C> domain) { in canonical()
68 public int compareTo(Cut<C> that) { in compareTo()
90 if (obj instanceof Cut) { in equals()
92 Cut<C> that = (Cut<C>) obj; in equals()
107 static <C extends Comparable> Cut<C> belowAll() { in belowAll()
108 return (Cut<C>) BelowAll.INSTANCE; in belowAll()
[all …]
DTreeRangeMap.java58 private final NavigableMap<Cut<K>, RangeMapEntry<K, V>> entriesByLowerBound;
73 RangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) { in RangeMapEntry()
96 Cut<K> getLowerBound() { in getLowerBound()
100 Cut<K> getUpperBound() { in getUpperBound()
115 Map.Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry = in getEntry()
116 entriesByLowerBound.floorEntry(Cut.belowValue(key)); in getEntry()
147 Entry<Cut<K>, RangeMapEntry<K, V>> firstEntry = entriesByLowerBound.firstEntry(); in span()
148 Entry<Cut<K>, RangeMapEntry<K, V>> lastEntry = entriesByLowerBound.lastEntry(); in span()
157 private void putRangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) { in putRangeMapEntry()
171 Map.Entry<Cut<K>, RangeMapEntry<K, V>> mapEntryBelowToTruncate = in remove()
[all …]
DImmutableRangeSet.java129 Cut.belowValue(value), in rangeContaining()
217 Cut<C> lowerBound; in get()
219 lowerBound = (index == 0) ? Cut.<C>belowAll() : ranges.get(index - 1).upperBound; in get()
224 Cut<C> upperBound; in get()
226 upperBound = Cut.<C>aboveAll(); in get()
DImmutableRangeMap.java166 Cut.belowValue(key), KeyPresentBehavior.ANY_PRESENT, KeyAbsentBehavior.NEXT_LOWER); in get()
179 Cut.belowValue(key), KeyPresentBehavior.ANY_PRESENT, KeyAbsentBehavior.NEXT_LOWER); in getEntry()
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
Dclass_definition.py45 def Cut(self, child): member in Class
46 self.suite.Cut(child)
Dfunction_definition.py45 def Cut(self, child): member in Function
46 self.suite.Cut(child)
Dbase_symbol.py25 def Cut(self, child): member in AnnotatedSymbol
/external/guava/guava-tests/test/com/google/common/collect/
DTreeRangeSetTest.java85 private static final ImmutableList<Cut<Integer>> CUTS_TO_TEST;
88 List<Cut<Integer>> cutsToTest = Lists.newArrayList();
90 cutsToTest.add(Cut.belowValue(i)); in Cut.belowValue()
91 cutsToTest.add(Cut.aboveValue(i)); in Cut.aboveValue()
93 cutsToTest.add(Cut.<Integer>aboveAll()); in aboveAll()
94 cutsToTest.add(Cut.<Integer>belowAll()); in belowAll()
100 NavigableMap<Cut<Integer>, Range<Integer>> expectedRangesByLowerBound = Maps.newTreeMap(); in testRangesByLowerBounds()
105 NavigableMap<Cut<Integer>, Range<Integer>> rangesByLowerBound = rangeSet.rangesByLowerBound; in testRangesByLowerBounds()
276 NavigableMap<Cut<Integer>, Range<Integer>> expectedRangesByUpperBound = Maps.newTreeMap(); in testRangesByUpperBound()
DRangeTest.java283 Cut<Integer> a = Range.lessThan(0).lowerBound; in testOrderingCuts()
284 Cut<Integer> b = Range.atLeast(0).lowerBound; in testOrderingCuts()
285 Cut<Integer> c = Range.greaterThan(0).lowerBound; in testOrderingCuts()
286 Cut<Integer> d = Range.atLeast(1).lowerBound; in testOrderingCuts()
287 Cut<Integer> e = Range.greaterThan(1).lowerBound; in testOrderingCuts()
288 Cut<Integer> f = Range.greaterThan(1).upperBound; in testOrderingCuts()
/external/pdfium/xfa/fxfa/
Dcxfa_ffcombobox.h33 Optional<WideString> Cut() override;
Dcxfa_fftextedit.h55 Optional<WideString> Cut() override;
Dcxfa_fftextedit.cpp407 Optional<WideString> CXFA_FFTextEdit::Cut() { in Cut() function in CXFA_FFTextEdit
408 return ToEdit(m_pNormalWidget.get())->Cut(); in Cut()
Dcxfa_ffwidget.h110 virtual Optional<WideString> Cut();
Dcxfa_ffcombobox.cpp245 Optional<WideString> CXFA_FFComboBox::Cut() { in Cut() function in CXFA_FFComboBox
/external/pdfium/xfa/fwl/
Dcfwl_combobox.h87 Optional<WideString> EditCut() { return m_pEdit->Cut(); } in EditCut()
Dcfwl_edit.h84 Optional<WideString> Cut();
/external/python/cpython2/Lib/idlelib/
DREADME.txt147 Cut
221 Cut
Dhelp.txt36 Cut -- Copy a selection into system-wide clipboard,
125 Cut -- Copy a selection into system-wide clipboard,
134 Cut -- Copy a selection into system-wide clipboard,
/external/icu/icu4c/source/data/locales/
Dtzm.txt162 "Cut",
/external/libpcap/doc/
DREADME.hpux195 -----------------------------------Cut Here-------------------------------------
254 -----------------------------------Cut Here-------------------------------------
/external/python/cpython3/Lib/idlelib/
DREADME.txt146 Cut # eEW.cut
219 Cut
/external/google-breakpad/src/client/mac/sender/
Dcrash_report_sender.m647 // Cut, copy, and paste have to be caught specifically since there is no menu.
656 // Now, check for Select All, Cut, Copy, or Paste key equivalents.
662 // Cut is Command-X.
/external/zlib/src/old/
Dvisual-basic.txt144 ReDim Preserve bytaryCpr(lngCprSiz - 5) 'Cut of the original size value

12