Home
last modified time | relevance | path

Searched refs:Cut (Results 1 – 25 of 38) 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/catapult_base/catapult_base/refactor/annotated_symbol/
Dfunction_definition.py47 def Cut(self, child): member in Function
48 self.suite.Cut(child)
Dclass_definition.py47 def Cut(self, child): member in Class
48 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/src/fxfa/src/app/
Dxfa_fftextedit.h29 virtual FX_BOOL Cut(CFX_WideString& wsCut);
106 virtual FX_BOOL Cut(CFX_WideString& wsCut);
Dxfa_fftextedit.cpp307 FX_BOOL CXFA_FFTextEdit::Cut(CFX_WideString& wsCut) { in Cut() function in CXFA_FFTextEdit
308 return ((CFWL_Edit*)m_pNormalWidget)->Cut(wsCut); in Cut()
756 FX_BOOL CXFA_FFDateTimeEdit::Cut(CFX_WideString& wsCut) { in Cut() function in CXFA_FFDateTimeEdit
757 return ((CFWL_DateTimePicker*)m_pNormalWidget)->Cut(wsCut); in Cut()
Dxfa_ffchoicelist.h56 virtual FX_BOOL Cut(CFX_WideString& wsCut);
Dxfa_ffwidget.h99 virtual FX_BOOL Cut(CFX_WideString& wsCut) { return FALSE; } in Cut() function
/external/pdfium/xfa/src/fwl/src/lightwidget/
Dedit.cpp191 FX_BOOL CFWL_Edit::Cut(CFX_WideString& wsCut) { in Cut() function in CFWL_Edit
192 return static_cast<IFWL_Edit*>(m_pIface)->Cut(wsCut); in Cut()
Ddatetimepicker.cpp114 FX_BOOL CFWL_DateTimePicker::Cut(CFX_WideString& wsCut) { in Cut() function in CFWL_DateTimePicker
/external/pdfium/xfa/include/fwl/lightwidget/
Ddatetimepicker.h33 FX_BOOL Cut(CFX_WideString& wsCut);
Dedit.h51 FX_BOOL Cut(CFX_WideString& wsCut);
/external/pdfium/xfa/include/fwl/basewidget/
Dfwl_datetimepicker.h92 FX_BOOL Cut(CFX_WideString& wsCut);
Dfwl_edit.h145 FX_BOOL Cut(CFX_WideString& wsCut);
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_datetimepickerimp.cpp125 FX_BOOL IFWL_DateTimePicker::Cut(CFX_WideString& wsCut) { in Cut() function in IFWL_DateTimePicker
126 return static_cast<CFWL_DateTimePickerImp*>(GetImpl())->Cut(wsCut); in Cut()
644 FX_BOOL CFWL_DateTimePickerImp::Cut(CFX_WideString& wsCut) { in Cut() function in CFWL_DateTimePickerImp
645 return m_pEdit->Cut(wsCut); in Cut()
/external/icu/icu4c/source/data/locales/
Dtzm.txt163 "Cut",
/external/libpcap/
DREADME.hpux195 -----------------------------------Cut Here-------------------------------------
254 -----------------------------------Cut Here-------------------------------------
/external/pdfium/xfa/src/fwl/src/basewidget/include/
Dfwl_datetimepickerimp.h134 virtual FX_BOOL Cut(CFX_WideString& wsCut);

12