Home
last modified time | relevance | path

Searched refs:sr1 (Results 1 – 13 of 13) sorted by relevance

/third_party/boost/libs/utility/test/
Dstring_ref_test2.cpp75 string_ref sr1 ( arg ); in reverse() local
76 std::string string1 ( sr1.rbegin (), sr1.rend ()); in reverse()
82 BOOST_TEST ( std::equal ( sr1.begin (), sr1.end (), string2.begin ())); in reverse()
92 string_ref sr1; in find() local
97 BOOST_TEST ( sr1.find (sr2) == 0 ); in find()
98 BOOST_TEST ( sr1.rfind(sr2) == 0 ); in find()
102 sr1 = arg; in find()
104 string_ref::size_type pos = sr1.find(*p); in find()
111 sr1 = arg; in find()
113 string_ref::size_type pos = sr1.rfind(*p); in find()
[all …]
Dstring_view_test2.cpp79 string_view sr1 ( arg ); in reverse() local
80 std::string string1 ( sr1.rbegin (), sr1.rend ()); in reverse()
86 BOOST_TEST ( std::equal ( sr1.begin (), sr1.end (), string2.begin ())); in reverse()
96 string_view sr1; in find() local
101 BOOST_TEST ( sr1.find (sr2) == 0 ); in find()
102 BOOST_TEST ( sr1.rfind(sr2) == 0 ); in find()
106 sr1 = arg; in find()
108 string_view::size_type pos = sr1.find(*p); in find()
115 sr1 = arg; in find()
117 string_view::size_type pos = sr1.rfind(*p); in find()
[all …]
Dstring_ref_test1.cpp30 string_ref sr1; // NULL, 0 in null_tests() local
36 BOOST_TEST ( sr1 == sr2 ); in null_tests()
37 BOOST_TEST ( sr1 == sr3 ); in null_tests()
39 BOOST_TEST ( sr1 == sr4 ); in null_tests()
Dstring_view_test1.cpp31 string_view sr1; // NULL, 0 in null_tests() local
37 BOOST_TEST ( sr1 == sr2 ); in null_tests()
38 BOOST_TEST ( sr1 == sr3 ); in null_tests()
40 BOOST_TEST ( sr1 == sr4 ); in null_tests()
/third_party/boost/libs/spirit/repository/doc/karma/
Dsubrule.qbk82 sr1 = expr1
103 [[`sr1`, `sr2`] [Subrules with different IDs.]]
104 [[`expr1`, `expr2`] [Generator expressions. Can include `sr1` and `sr2`,
126 above, `sr1` and `srA` are the start subrules respectively -- for example
127 when the first subrule group is called forth, the `sr1` subrule is called.
133 subrule<1> sr1;
137 ( sr1 = 'a' << space ) // First group in r1.
138 << ( sr2 = +sr1 ) // Second group in r1.
140 // DOES NOT COMPILE: sr1 is not defined in this
146 ( sr1 = 'a' << space ) // Only group in r2.
[all …]
/third_party/boost/libs/spirit/repository/doc/qi/
Dsubrule.qbk82 sr1 = expr1
103 [[`sr1`, `sr2`] [Subrules with different IDs.]]
104 [[`expr1`, `expr2`] [Parser expressions. Can include `sr1` and `sr2`,
126 above, `sr1` and `srA` are the start subrules respectively -- for example
127 when the first subrule group is called forth, the `sr1` subrule is called.
133 subrule<1> sr1;
137 ( sr1 = 'a' >> int_ ) // First group in r1.
138 >> ( sr2 = +sr1 ) // Second group in r1.
140 // DOES NOT COMPILE: sr1 is not defined in this
146 ( sr1 = 'a' >> int_ ) // Only group in r2.
[all …]
/third_party/boost/libs/spirit/repository/test/qi/
Dsubrule.cpp251 subrule<1, char(int)> sr1; in main() local
253 sr1 = alpha[_val = _1 + _r1] in main()
261 sr0 %= sr1(1) in main()
262 , sr1 = alpha[_val = _1 + _r1] in main()
268 sr1 = alpha[_val = _1 + _r1] in main()
282 sr2 = alpha[_val = _1 + _r1 + _r2] >> sr1(3)[_val -= _1] in main()
283 , sr1 = alpha[_val = _1 + _r1] in main()
/third_party/pulseaudio/src/tests/
Dsrbchannel-test.c91 pa_srbchannel *sr1, *sr2; in START_TEST() local
108 sr1 = pa_srbchannel_new(pa_mainloop_get_api(ml), mp); in START_TEST()
109 pa_srbchannel_export(sr1, &srt); in START_TEST()
110 pa_pstream_set_srbchannel(p1, sr1); in START_TEST()
/third_party/boost/libs/geometry/test/strategies/
Dsegment_intersection_geo.hpp210 SR1 const& sr1) in test_strategies() argument
212 test_strategy<S, P>(s1_wkt, s2_wkt, sr1); in test_strategies()
216 SR1 const& sr1, SR2 const& sr2) in test_strategies() argument
218 test_strategy<S, P>(s1_wkt, s2_wkt, sr1); in test_strategies()
223 SR1 const& sr1, SR2 const& sr2, SR3 const& sr3) in test_strategies() argument
225 test_strategy<S, P>(s1_wkt, s2_wkt, sr1); in test_strategies()
231 SR1 const& sr1, SR2 const& sr2, SR3 const& sr3, SR4 const& sr4) in test_strategies() argument
233 test_strategy<S, P>(s1_wkt, s2_wkt, sr1); in test_strategies()
Dsegment_intersection_sph.hpp80 bg::detail::segment_as_subrange<S1> sr1(s1); in test_strategy_one() local
83 return_type res = strategy.apply(sr1, sr2, policy_t()); in test_strategy_one()
/third_party/skia/modules/canvaskit/htmlcanvas/
Dradialgradient.js68 var sr1 = r1 * scaleFactor;
73 [sx1, sy1], sr1, [sx2, sy2], sr2, this._colors, this._pos,
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dradialgradient.js68 var sr1 = r1 * scaleFactor;
73 [sx1, sy1], sr1, [sx2, sy2], sr2, this._colors, this._pos,
/third_party/boost/libs/numeric/conversion/test/
Dconverter_test.cpp256 S sr1 = s + static_cast<S>(1); in test_rounding_conversion() local
262 T tr1 = static_cast<T>( Converter::nearbyint(sr1) ); in test_rounding_conversion()
268 test_conv_base ( ConversionInstance<Converter>(tr1,sr1,resr1) ) ; in test_rounding_conversion()