Home
last modified time | relevance | path

Searched refs:range2 (Results 1 – 25 of 37) sorted by relevance

12

/third_party/boost/libs/move/test/
Dalgo_test.cpp119 order_perf_type range2[10]; in test_set_difference_normal() local
120 for(std::size_t i = 0; i != sizeof(range2)/sizeof(*range2); ++i){ in test_set_difference_normal()
121 range2[i].key = i*2; in test_set_difference_normal()
122 range2[i].val = 0u; in test_set_difference_normal()
141 boost::movelib::set_difference(range1, range1+5, range2, range2+10, out, order_type_less()); in test_set_difference_normal()
155 order_perf_type range2[10]; in test_set_difference_range1_repeated() local
156 for(std::size_t i = 0; i != sizeof(range2)/sizeof(*range2); ++i){ in test_set_difference_range1_repeated()
157 range2[i].key = i*2; in test_set_difference_range1_repeated()
158 range2[i].val = 0u; in test_set_difference_range1_repeated()
177 boost::movelib::set_difference(range1, range1+5, range2, range2+10, out, order_type_less()); in test_set_difference_range1_repeated()
[all …]
/third_party/boost/boost/range/algorithm/
Dswap_ranges.hpp71 swap_ranges(SinglePassRange1& range1, SinglePassRange2& range2) in swap_ranges() argument
78 boost::begin(range2), boost::end(range2)); in swap_ranges()
80 return range2; in swap_ranges()
86 swap_ranges(const SinglePassRange1& range1, SinglePassRange2& range2) in swap_ranges() argument
93 boost::begin(range2), boost::end(range2)); in swap_ranges()
95 return range2; in swap_ranges()
101 swap_ranges(SinglePassRange1& range1, const SinglePassRange2& range2) in swap_ranges() argument
108 boost::begin(range2), boost::end(range2)); in swap_ranges()
110 return range2; in swap_ranges()
116 swap_ranges(const SinglePassRange1& range1, const SinglePassRange2& range2) in swap_ranges() argument
[all …]
/third_party/boost/boost/geometry/algorithms/detail/overlay/
Dget_turn_info_for_endpoint.hpp393 UniqueRange2 const& range2, in handle_internal()
424 int const side_pj_q2 = sides.apply(range2.at(1), range2.at(2), range1.at(1)); in handle_internal()
425 int const side_pj_q1 = sides.apply(range2.at(0), range2.at(1), range1.at(1)); in handle_internal()
426 int const side_qk_q1 = sides.apply(range2.at(0), range2.at(1), range2.at(2)); in handle_internal()
475 int const side_pi_q2 = sides.apply(range2.at(1), range2.at(2), range1.at(0)); in handle_internal()
476 int const side_pi_q1 = sides.apply(range2.at(0), range2.at(1), range1.at(0)); in handle_internal()
477 int const side_qk_q1 = sides.apply(range2.at(0), range2.at(1), range2.at(2)); in handle_internal()
/third_party/boost/boost/sort/spinsort/
Dspinsort.hpp65 const range<Iter2_t> &range2, Compare comp,
240 const range<Iter2_t> &range2, Compare comp, in range_sort() argument
256 assert(range1.size() == range2.size() and level != 0); in range_sort()
263 if (check_stable_sort(range2, range1, comp)) return; in range_sort()
267 if (check_stable_sort(range1, range2, comp)) in range_sort()
269 move_forward(range2, range1); in range_sort()
287 range_sort (range_it2(range2.first, range2.first + nelem1), in range_sort()
290 range_sort (range_it2(range2.first + nelem1, range2.last), in range_sort()
294 merge(range2, range_input1, range_input2, comp); in range_sort()
/third_party/boost/libs/compute/test/
Dtest_equal_range.cpp42 std::pair<iterator, iterator> range2 = in BOOST_AUTO_TEST_CASE() local
44 BOOST_CHECK(range2.first == vector.begin() + 1); in BOOST_AUTO_TEST_CASE()
45 BOOST_CHECK(range2.second == vector.begin() + 4); in BOOST_AUTO_TEST_CASE()
46 BOOST_CHECK_EQUAL(std::distance(range2.first, range2.second), ptrdiff_t(3)); in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/sort/block_indirect_sort/blk_detail/
Dmove_blocks.hpp221 range_it range2 = bk.get_range(pos_range2); in move_sequence() local
222 move_forward(rbuf, range2); in move_sequence()
227 range_it range1(range2); in move_sequence()
228 range2 = bk.get_range(pos_range2); in move_sequence()
229 move_forward(range1, range2); in move_sequence()
231 move_forward(range2, rbuf); in move_sequence()
/third_party/boost/libs/python/test/
Dinput_iterator.cpp26 list_range2 range2(list_int& x) in range2() function
39 def("range2", &::range2); in BOOST_PYTHON_MODULE()
/third_party/boost/libs/icl/example/interval_/
Dinterval.cpp87 right_open_interval<rational<int> > range2(rational<int>(1,3), rational<int>(1,1)); in main()
91 cout << "right_open_interval<rational<int>>: " << (range1 & range2) << endl; in main()
/third_party/boost/libs/geometry/test/srs/
Dcheck_geometry.hpp56 static void apply(Range const& range1, Range const& range2, T tol) in apply()
59 size_t range2_count = boost::size(range2); in apply()
64 boost::begin(range2), tol); in apply()
/third_party/libxml2/
Dxmlregexp.c2120 xmlFACompareRanges(xmlRegRangePtr range1, xmlRegRangePtr range2) { in xmlFACompareRanges() argument
2124 (range2->type == XML_REGEXP_RANGES) || in xmlFACompareRanges()
2125 (range2->type == XML_REGEXP_SUBREG) || in xmlFACompareRanges()
2128 (range2->type == XML_REGEXP_STRING)) in xmlFACompareRanges()
2132 if (range1->type > range2->type) { in xmlFACompareRanges()
2136 range1 = range2; in xmlFACompareRanges()
2137 range2 = tmp; in xmlFACompareRanges()
2140 (range2->type == XML_REGEXP_ANYCHAR)) { in xmlFACompareRanges()
2143 (range2->type == XML_REGEXP_EPSILON)) { in xmlFACompareRanges()
2145 } else if (range1->type == range2->type) { in xmlFACompareRanges()
[all …]
Dxpointer.c311 xmlXPtrRangesEqual(xmlXPathObjectPtr range1, xmlXPathObjectPtr range2) { in xmlXPtrRangesEqual() argument
312 if (range1 == range2) in xmlXPtrRangesEqual()
314 if ((range1 == NULL) || (range2 == NULL)) in xmlXPtrRangesEqual()
316 if (range1->type != range2->type) in xmlXPtrRangesEqual()
320 if (range1->user != range2->user) in xmlXPtrRangesEqual()
322 if (range1->index != range2->index) in xmlXPtrRangesEqual()
324 if (range1->user2 != range2->user2) in xmlXPtrRangesEqual()
326 if (range1->index2 != range2->index2) in xmlXPtrRangesEqual()
/third_party/gettext/gnulib-local/lib/libxml/
Dxmlregexp.c2110 xmlFACompareRanges(xmlRegRangePtr range1, xmlRegRangePtr range2) { in xmlFACompareRanges() argument
2114 (range2->type == XML_REGEXP_RANGES) || in xmlFACompareRanges()
2115 (range2->type == XML_REGEXP_SUBREG) || in xmlFACompareRanges()
2118 (range2->type == XML_REGEXP_STRING)) in xmlFACompareRanges()
2122 if (range1->type > range2->type) { in xmlFACompareRanges()
2126 range1 = range2; in xmlFACompareRanges()
2127 range2 = tmp; in xmlFACompareRanges()
2130 (range2->type == XML_REGEXP_ANYCHAR)) { in xmlFACompareRanges()
2133 (range2->type == XML_REGEXP_EPSILON)) { in xmlFACompareRanges()
2135 } else if (range1->type == range2->type) { in xmlFACompareRanges()
[all …]
Dxpointer.c340 xmlXPtrRangesEqual(xmlXPathObjectPtr range1, xmlXPathObjectPtr range2) { in xmlXPtrRangesEqual() argument
341 if (range1 == range2) in xmlXPtrRangesEqual()
343 if ((range1 == NULL) || (range2 == NULL)) in xmlXPtrRangesEqual()
345 if (range1->type != range2->type) in xmlXPtrRangesEqual()
349 if (range1->user != range2->user) in xmlXPtrRangesEqual()
351 if (range1->index != range2->index) in xmlXPtrRangesEqual()
353 if (range1->user2 != range2->user2) in xmlXPtrRangesEqual()
355 if (range1->index2 != range2->index2) in xmlXPtrRangesEqual()
/third_party/boost/libs/mpl/doc/src/refmanual/
Dback.rst87 typedef range_c<int,0,10> range2;
91 BOOST_MPL_ASSERT_RELATION( back<range2>::value, ==, 9 );
/third_party/python/Lib/idlelib/idle_test/
Dtest_parenmatch.py54 for style, range1, range2 in (
80 text.tag_prevrange('paren', 'end'), range2)
/third_party/vk-gl-cts/framework/referencerenderer/
DrrVertexAttrib.cpp182 const deUint32 range2 = (deUint32)((1ull << 2)-1); in readUnorm2101010RevOrder() local
190 if (size >= 4) dst[Order::T3] = float((aligned >> 30) & ((1 << 2) - 1)) / float(range2); in readUnorm2101010RevOrder()
198 const deUint32 range2 = (deUint32)((1ull << ( 2-1))-1); in readSnorm2101010RevClampOrder() local
206 …er::T3] = de::max(-1.0f, float(extendSign< 2>((aligned >> 30) & ((1 << 2) - 1))) / float(range2)); in readSnorm2101010RevClampOrder()
214 const deUint32 range2 = (deUint32)((1ull << 2)-1); in readSnorm2101010RevScaleOrder() local
222 …er::T3] = (float(extendSign< 2>((aligned >> 30) & ((1 << 2) - 1))) * 2.0f + 1.0f) / float(range2); in readSnorm2101010RevScaleOrder()
/third_party/ffmpeg/libavcodec/
Dralf.c233 VLC *code_vlc; int range, range2, add_bits; in decode_channel() local
290 range2 = 21; in decode_channel()
295 range2 = 13; in decode_channel()
303 code1 = t / range2; in decode_channel()
304 code2 = t % range2; in decode_channel()
/third_party/boost/libs/geometry/test/strategies/
Ddouglas_peucker.cpp157 static inline bool apply(Range1 const& range1, Range2 const& range2) in apply()
160 boost::begin(range2), boost::end(range2)); in apply()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstvalue.c2616 GValue range2 = { 0, }; in GST_START_TEST() local
2619 g_value_init (&range2, GST_TYPE_FRACTION_RANGE); in GST_START_TEST()
2638 gst_value_set_fraction_range (&range2, &start, &end); in GST_START_TEST()
2640 fail_unless (gst_value_intersect (&dest, &range, &range2) == TRUE); in GST_START_TEST()
2643 gst_value_set_fraction_range (&range2, &start, &end); in GST_START_TEST()
2644 fail_unless (gst_value_compare (&dest, &range2) == GST_VALUE_EQUAL); in GST_START_TEST()
2649 gst_value_set_fraction_range (&range2, &start, &end); in GST_START_TEST()
2651 fail_unless (gst_value_intersect (&dest, &range, &range2) == FALSE); in GST_START_TEST()
2656 g_value_unset (&range2); in GST_START_TEST()
2880 GValue range2 = { 0, }; in GST_START_TEST() local
[all …]
/third_party/boost/boost/geometry/algorithms/detail/relate/
Dlinear_areal.hpp1235 range2_type range2(sub_range(geometry2, turn.operations[other_op_id].seg_id)); in calculate_from_inside() local
1238 std::size_t const s2 = boost::size(range2); in calculate_from_inside()
1249 point2_type const& qi = range::at(range2, q_seg_ij); in calculate_from_inside()
1250 point2_type const& qj = range::at(range2, q_seg_ij + 1); in calculate_from_inside()
1265 range2_iterator qk_it = find_next_non_duplicated(boost::begin(range2), in calculate_from_inside()
1266 range::pos(range2, q_seg_jk), in calculate_from_inside()
1267 boost::end(range2), in calculate_from_inside()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DOS2Table.java484 public static EnumSet<UnicodeRange> asSet(long range1, long range2, long range3, long range4) { in asSet() argument
486 long[] range = {range1, range2, range3, range4}; in asSet()
682 public static EnumSet<CodePageRange> asSet(long range1, long range2) { in asSet() argument
684 long[] range = {range1, range2}; in asSet()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DOS2Table.java484 public static EnumSet<UnicodeRange> asSet(long range1, long range2, long range3, long range4) { in asSet() argument
486 long[] range = {range1, range2, range3, range4}; in asSet()
682 public static EnumSet<CodePageRange> asSet(long range1, long range2) { in asSet() argument
684 long[] range = {range1, range2}; in asSet()
/third_party/boost/boost/geometry/algorithms/
Dtransform.hpp224 Range2& range2, Strategy const& strategy) in apply()
231 range::back_inserter(range2), strategy); in apply()
/third_party/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2961 const DescriptorProto::ExtensionRange& range2 = in TEST_F() local
2973 EXPECT_TRUE(HasSpan('f', 'g', range2)); in TEST_F()
2974 EXPECT_TRUE(HasSpan('f', 'g', range2, "start")); in TEST_F()
2975 EXPECT_TRUE(HasSpan('f', 'g', range2, "end")); in TEST_F()
2995 const DescriptorProto::ReservedRange& range2 = in TEST_F() local
3004 EXPECT_TRUE(HasSpan('f', 'g', range2)); in TEST_F()
3005 EXPECT_TRUE(HasSpan('f', 'g', range2, "start")); in TEST_F()
3006 EXPECT_TRUE(HasSpan('f', 'g', range2, "end")); in TEST_F()
/third_party/protobuf/src/google/protobuf/
Ddescriptor.cc4655 const DescriptorProto_ReservedRange& range2 = proto.reserved_range(j); in BuildMessage() local
4656 if (range1.end() > range2.start() && range2.end() > range1.start()) { in BuildMessage()
4661 range2.start(), range2.end() - 1, in BuildMessage()
4716 const Descriptor::ReservedRange* range2 = result->reserved_range(j); in BuildMessage() local
4717 if (range1->end > range2->start && range2->end > range1->start) { in BuildMessage()
4722 range1->start, range1->end - 1, range2->start, in BuildMessage()
4723 range2->end - 1)); in BuildMessage()
4727 const Descriptor::ExtensionRange* range2 = result->extension_range(j); in BuildMessage() local
4728 if (range1->end > range2->start && range2->end > range1->start) { in BuildMessage()
4733 range2->start, range2->end - 1, range1->start, in BuildMessage()
[all …]

12