HomeSort by relevance Sort by last modified time
    Searched defs:RangeSet (Results 1 - 25 of 42) sorted by null

1 2

  /build/tools/releasetools/
test_rangelib.py 19 from rangelib import RangeSet
24 self.assertEqual(RangeSet("10-19 30-34").union(RangeSet("18-29")),
25 RangeSet("10-34"))
26 self.assertEqual(RangeSet("10-19 30-34").union(RangeSet("22 32")),
27 RangeSet("10-19 22 30-34"))
30 self.assertEqual(RangeSet("10-19 30-34").intersect(RangeSet("18-32")),
31 RangeSet("18-19 30-32")
    [all...]
rangelib.py 19 __all__ = ["RangeSet"]
21 class RangeSet(object):
22 """A RangeSet represents a set of nonoverlapping ranges on the
57 return '<RangeSet("' + self.to_string() + '")>'
64 individual blocks. Returns a RangeSet object.
67 RangeSet will have an extra attribute 'monotonic' that is set to
130 """Return a new RangeSet representing the union of this RangeSet
133 >>> RangeSet("10-19 30-34").union(RangeSet("18-29")
    [all...]
blockimgdiff.py 32 from rangelib import RangeSet
88 care_map = RangeSet()
89 clobbered_blocks = RangeSet()
90 extended = RangeSet()
127 self.care_map = RangeSet(data=(0, self.total_blocks))
138 self.extended = RangeSet()
157 self.file_map["__ZERO"] = RangeSet(data=zero_blocks)
159 self.file_map["__NONZERO"] = RangeSet(data=nonzero_blocks)
161 self.file_map["__COPY"] = RangeSet(data=clobbered_blocks)
203 self.src_ranges = RangeSet()
    [all...]
  /external/guava/guava/src/com/google/common/collect/
RangeSet.java 31 * RangeSet<Integer> rangeSet = TreeRangeSet.create();
32 * rangeSet.add(Range.closed(1, 10)); // {[1, 10]}
33 * rangeSet.add(Range.closedOpen(11, 15)); // disconnected range; {[1, 10], [11, 15)}
34 * rangeSet.add(Range.closedOpen(15, 20)); // connected range; {[1, 10], [11, 20)}
35 * rangeSet.add(Range.openClosed(0, 0)); // empty range; {[1, 10], [11, 20)}
36 * rangeSet.remove(Range.open(5, 10)); // splits [1, 10]; {[1, 5], [10, 10], [11, 20)}}</pre>
48 public interface RangeSet<C extends Comparable> {
78 boolean enclosesAll(RangeSet<C> other);
104 * Returns a view of the complement of this {@code RangeSet}
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
RangeConstraintManager.cpp 29 /// to subvert RangeSet's immutability.
63 // be used to speed up some of the operations in RangeSet.
70 /// RangeSet contains a set of ranges. If the set is empty, then
73 class RangeSet {
82 RangeSet(PrimRangeSet RS) : ranges(RS) {}
86 RangeSet addRange(Factory &F, const RangeSet &RS) {
90 return RangeSet(Ranges);
98 /// Construct a new RangeSet representing '{ [from, to] }'.
99 RangeSet(Factory &F, const llvm::APSInt &from, const llvm::APSInt &to
    [all...]
  /bootable/recovery/updater/
blockimg.cpp 66 struct RangeSet {
74 static std::map<std::string, RangeSet> stash_map;
76 static void parse_range(const std::string& range_text, RangeSet& rs) {
128 static bool range_overlaps(const RangeSet& r1, const RangeSet& r2) {
216 RangeSinkState(RangeSet& rs) : tgt(rs) { };
219 const RangeSet& tgt;
345 static int ReadBlocks(const RangeSet& src, std::vector<uint8_t>& buffer, int fd) {
366 static int WriteBlocks(const RangeSet& tgt, const std::vector<uint8_t>& buffer, int fd) {
421 static int LoadSrcTgtVersion1(CommandParameters& params, RangeSet& tgt, size_t& src_blocks
    [all...]
  /prebuilts/devtools/tools/lib/
guava-13.0.1.jar 
guava-17.0.jar 
  /prebuilts/tools/common/guava-tools/
guava-13.0.1.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/13.0.1/
guava-13.0.1.jar 
  /external/dagger2/lib/
google-java-format-0.1-20151017.042846-2.jar 
  /external/guice/lib/
guava-16.0.1.jar 
  /frameworks/data-binding/prebuilds/1.0-rc0/
databinding-studio-bundle.jar 
  /packages/apps/Messaging/build/gcheckstyle/
google-style-checker_deploy.jar 
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
guava-14.0.1.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.1.0/
compiler-2.1.0.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.1.0-beta1/
compiler-2.1.0-beta1.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.1.0-beta3/
compiler-2.1.0-beta3.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.1.0-rc1/
compiler-2.1.0-rc1.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.1.2/
compiler-2.1.2.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.2.0-alpha1/
compiler-2.2.0-alpha1.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.2.0-alpha3/
compiler-2.2.0-alpha3.jar 
  /prebuilts/misc/common/android-support-test/espresso/
espresso-contrib-2.2.2-release.jar 
espresso-core-2.2.2-release-no-dep.jar 
espresso-core-2.2.2-release.jar 

Completed in 415 milliseconds

1 2