Home
last modified time | relevance | path

Searched refs:ranges_ (Results 1 – 15 of 15) sorted by relevance

/third_party/boost/boost/polygon/
Drectangle_data.hpp22 inline rectangle_data():ranges_() {} in rectangle_data()
23 inline rectangle_data(T xl, T yl, T xh, T yh):ranges_() { in rectangle_data()
26 ranges_[HORIZONTAL] = interval_data<T>(xl, xh); in rectangle_data()
27 ranges_[VERTICAL] = interval_data<T>(yl, yh); in rectangle_data()
31 const interval_type_2& vrange):ranges_() { in rectangle_data()
34 inline rectangle_data(const rectangle_data& that):ranges_() { (*this) = that; } in rectangle_data()
36 ranges_[0] = that.ranges_[0]; ranges_[1] = that.ranges_[1]; return *this; in operator =()
47 return ranges_[orient.to_int()]; } in get()
49 return ranges_[orientation_2d(dir).to_int()].get(direction_1d(dir)); in get()
52 return ranges_[orientation_2d(dir).to_int()].set(direction_1d(dir), value); in set()
[all …]
Drectangle_concept.hpp1060 assign(ranges_[orient.to_int()], interval); in set()
/third_party/boost/boost/multi_array/
Dindex_gen.hpp41 range_list ranges_; member
49 std::copy(rhs.ranges_.begin(),rhs.ranges_.end(),ranges_.begin()); in index_gen()
50 *ranges_.rbegin() = r; in index_gen()
57 std::copy(ranges_.begin(),ranges_.end(),tmp.ranges_.begin()); in operator []()
58 *tmp.ranges_.rbegin() = r; in operator []()
66 std::copy(ranges_.begin(),ranges_.end(),tmp.ranges_.begin()); in operator []()
67 *tmp.ranges_.rbegin() = range(idx); in operator []()
Dextent_gen.hpp41 range_list ranges_; member in boost::detail::multi_array::extent_gen
49 std::copy(rhs.ranges_.begin(),rhs.ranges_.end(),ranges_.begin()); in extent_gen()
50 *ranges_.rbegin() = a_range; in extent_gen()
Dmulti_array_ref.hpp369 std::transform(ranges.ranges_.begin(),ranges.ranges_.end(), in init_from_extent_gen()
375 std::transform(ranges.ranges_.begin(),ranges.ranges_.end(), in init_from_extent_gen()
Dbase.hpp426 const index_range& current_range = indices.ranges_[n]; in generate_array_view()
/third_party/gn/src/gn/
Dsubstitution_pattern.cc39 DCHECK(ranges_.empty()); // Should only be called once. in Parse()
48 ranges_.push_back(Subrange(&SubstitutionLiteral, str.substr(cur))); in Parse()
51 ranges_.push_back( in Parse()
62 ranges_.push_back(Subrange(sub)); in Parse()
78 ranges_.clear(); in Parse()
103 for (const auto& elem : ranges_) { in AsString()
113 for (const auto& elem : ranges_) { in FillRequiredTypes()
121 if (ranges_.empty()) { in IsInOutputDir()
126 if (ranges_[0].type == &SubstitutionLiteral) { in IsInOutputDir()
129 ranges_[0].literal, origin_, err)) in IsInOutputDir()
[all …]
Dsubstitution_pattern.h69 const std::vector<Subrange>& ranges() const { return ranges_; } in ranges()
70 bool empty() const { return ranges_.empty(); } in empty()
75 std::vector<Subrange> ranges_;
/third_party/boost/libs/multi_array/test/
Ddimtest.cpp245 range_list ranges_; member
253 std::copy(rhs.ranges_.begin(),rhs.ranges_.end(),ranges_.begin()); in index_gen()
254 *ranges_.rbegin() = range; in index_gen()
261 std::copy(ranges_.begin(),ranges_.end(),tmp.ranges_.begin()); in operator []()
262 *tmp.ranges_.rbegin() = range; in operator []()
270 std::copy(ranges_.begin(),ranges_.end(),tmp.ranges_.begin()); in operator []()
271 *tmp.ranges_.rbegin() = index_range<Index,SizeType>(idx); in operator []()
Didxgen1.cpp65 BOOST_TEST(is1.ranges_[0] == range(0,1,2)); in main()
66 BOOST_TEST(is1.ranges_[1] == range(1,2,3)); in main()
67 BOOST_TEST(is1.ranges_[2] == range(2,3,4)); in main()
73 BOOST_TEST(is2.ranges_[0] == range(0,1,2)); in main()
74 BOOST_TEST(is2.ranges_[1] == range(2)); in main()
75 BOOST_TEST(is2.ranges_[1].is_degenerate()); in main()
76 BOOST_TEST(is2.ranges_[2] == range(2,3,4)); in main()
/third_party/re2/re2/
Dregexp.cc761 iterator it = ranges_.find(RuneRange(lo, lo)); in AddRange()
769 iterator it = ranges_.find(RuneRange(lo-1, lo-1)); in AddRange()
775 ranges_.erase(it); in AddRange()
782 iterator it = ranges_.find(RuneRange(hi+1, hi+1)); in AddRange()
786 ranges_.erase(it); in AddRange()
795 iterator it = ranges_.find(RuneRange(lo, hi)); in AddRange()
799 ranges_.erase(it); in AddRange()
804 ranges_.insert(RuneRange(lo, hi)); in AddRange()
814 return ranges_.find(RuneRange(r, r)) != end(); in Contains()
825 cc->ranges_.insert(RuneRange(it->lo, it->hi)); in Copy()
[all …]
Dregexp.h247 iterator begin() { return ranges_; } in begin()
248 iterator end() { return ranges_ + nranges_; } in end()
267 RuneRange *ranges_; variable
597 iterator begin() { return ranges_.begin(); } in begin()
598 iterator end() { return ranges_.end(); } in end()
619 RuneRangeSet ranges_; variable
Dprog.cc359 std::vector<std::pair<int, int>> ranges_; member in re2::ByteMapBuilder
377 ranges_.emplace_back(lo, hi); in Mark()
381 for (std::vector<std::pair<int, int>>::const_iterator it = ranges_.begin(); in Merge()
382 it != ranges_.end(); in Merge()
408 ranges_.clear(); in Merge()
/third_party/boost/boost/
Dmulti_array.hpp445 ranges.ranges_[i] = range_type(0,extents[i]); in resize()
484 min_extents.begin(),new_idxes.ranges_.begin(), in resize()
489 min_extents.begin(),old_idxes.ranges_.begin(), in resize()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross.hpp802 BufferAccessHandler(const Compiler &compiler_, SmallVector<BufferRange> &ranges_, uint32_t id_) in BufferAccessHandler()
804 , ranges(ranges_) in BufferAccessHandler()