Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 25 of 779) sorted by relevance

12345678910>>...32

/third_party/typescript/tests/baselines/reference/
DjsFunctionWithPrototypeNoErrorTruncationNoCrash.types15ratio) {return this;}, darken: function (ratio) {return this;}, saturate: function (ratio) {return…
16ratio: any) => this; darken: (ratio: any) => this; saturate: (ratio: any) => this; desaturate: (ra…
18ratio: any) => this; darken: (ratio: any) => this; saturate: (ratio: any) => this; desaturate: (ra…
19ratio) {return this;}, darken: function (ratio) {return this;}, saturate: function (ratio) {return…
26 lighten: function (ratio) {return this;},
27 >lighten : (ratio: any) => this
28 >function (ratio) {return this;} : (ratio: any) => this
29 >ratio : any
32 darken: function (ratio) {return this;},
33 >darken : (ratio: any) => this
[all …]
DjsFunctionWithPrototypeNoErrorTruncationNoCrash.js7 lighten: function (ratio) {return this;}, argument
8 darken: function (ratio) {return this;}, argument
9 saturate: function (ratio) {return this;}, argument
10 desaturate: function (ratio) {return this;}, argument
11 whiten: function (ratio) {return this;}, argument
12 blacken: function (ratio) {return this;}, argument
14 clearer: function (ratio) {return this;}, argument
25 lighten: function (ratio) { return this; }, argument
26 darken: function (ratio) { return this; }, argument
27 saturate: function (ratio) { return this; }, argument
[all …]
DjsFunctionWithPrototypeNoErrorTruncationNoCrash.errors.txt2 tests/cases/compiler/index.js(6,21): error TS7006: Parameter 'ratio' implicitly has an 'any' type.
3 tests/cases/compiler/index.js(7,20): error TS7006: Parameter 'ratio' implicitly has an 'any' type.
4 tests/cases/compiler/index.js(8,22): error TS7006: Parameter 'ratio' implicitly has an 'any' type.
5 tests/cases/compiler/index.js(9,24): error TS7006: Parameter 'ratio' implicitly has an 'any' type.
6 tests/cases/compiler/index.js(10,20): error TS7006: Parameter 'ratio' implicitly has an 'any' type.
7 tests/cases/compiler/index.js(11,21): error TS7006: Parameter 'ratio' implicitly has an 'any' type.
8 tests/cases/compiler/index.js(13,21): error TS7006: Parameter 'ratio' implicitly has an 'any' type.
20 lighten: function (ratio) {return this;},
22 !!! error TS7006: Parameter 'ratio' implicitly has an 'any' type.
23 darken: function (ratio) {return this;},
[all …]
DjsFunctionWithPrototypeNoErrorTruncationNoCrash.symbols21 lighten: function (ratio) {return this;},
23 >ratio : Symbol(ratio, Decl(index.js, 5, 20))
26 darken: function (ratio) {return this;},
28 >ratio : Symbol(ratio, Decl(index.js, 6, 19))
31 saturate: function (ratio) {return this;},
33 >ratio : Symbol(ratio, Decl(index.js, 7, 21))
36 desaturate: function (ratio) {return this;},
38 >ratio : Symbol(ratio, Decl(index.js, 8, 23))
41 whiten: function (ratio) {return this;},
43 >ratio : Symbol(ratio, Decl(index.js, 9, 19))
[all …]
/third_party/boost/libs/ratio/test/ratio_comparison/
Dratio_less_pass.cpp22 typedef boost::ratio<1, 1> R1; in test()
23 typedef boost::ratio<1, 1> R2; in test()
27 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
28 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
32 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
33 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
37 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
38 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
42 typedef boost::ratio<1, 1> R1; in test()
43 typedef boost::ratio<1, -1> R2; in test()
[all …]
Dratio_greater_equal_pass.cpp23 typedef boost::ratio<1, 1> R1; in test()
24 typedef boost::ratio<1, 1> R2; in test()
28 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
29 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
33 typedef boost::ratio<1,BOOST_RATIO_INTMAX_T_MAX> R1; in test()
34 typedef boost::ratio<1,BOOST_RATIO_INTMAX_T_MAX> R2; in test()
38 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
39 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
43 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
44 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
[all …]
Dratio_equal_pass.cpp25 typedef boost::ratio<1, 1> R1; in test()
26 typedef boost::ratio<1, 1> R2; in test()
30 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
31 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
35 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
36 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
40 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
41 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
45 typedef boost::ratio<1, 1> R1; in test()
46 typedef boost::ratio<1, -1> R2; in test()
[all …]
Dratio_not_equal_pass.cpp22 typedef boost::ratio<1, 1> R1; in test()
23 typedef boost::ratio<1, 1> R2; in test()
27 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
28 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
32 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
33 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
37 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
38 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
42 typedef boost::ratio<1, 1> R1; in test()
43 typedef boost::ratio<1, -1> R2; in test()
[all …]
Dratio_less_equal_pass.cpp22 typedef boost::ratio<1, 1> R1; in test()
23 typedef boost::ratio<1, 1> R2; in test()
27 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
28 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
32 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
33 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
37 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
38 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
42 typedef boost::ratio<1, 1> R1; in test()
43 typedef boost::ratio<1, -1> R2; in test()
[all …]
Dratio_greater_pass.cpp22 typedef boost::ratio<1, 1> R1; in test()
23 typedef boost::ratio<1, 1> R2; in test()
27 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
28 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
32 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
33 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
37 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
38 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
42 typedef boost::ratio<1, 1> R1; in test()
43 typedef boost::ratio<1, -1> R2; in test()
[all …]
/third_party/boost/libs/ratio/test/ratio_extensions/
Dmpl_less_pass.cpp24 typedef boost::ratio<1, 1> R1; in test()
25 typedef boost::ratio<1, 1> R2; in test()
29 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
30 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
34 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
35 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
39 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
40 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
44 typedef boost::ratio<1, 1> R1; in test()
45 typedef boost::ratio<1, -1> R2; in test()
[all …]
Dmpl_greater_equal_pass.cpp25 typedef boost::ratio<1, 1> R1; in test()
26 typedef boost::ratio<1, 1> R2; in test()
30 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
31 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
35 typedef boost::ratio<1,BOOST_RATIO_INTMAX_T_MAX> R1; in test()
36 typedef boost::ratio<1,BOOST_RATIO_INTMAX_T_MAX> R2; in test()
40 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
41 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
45 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
46 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
[all …]
Dmpl_equal_to_pass.cpp27 typedef boost::ratio<1, 1> R1; in test()
28 typedef boost::ratio<1, 1> R2; in test()
32 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
33 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
37 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
38 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
42 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
43 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
47 typedef boost::ratio<1, 1> R1; in test()
48 typedef boost::ratio<1, -1> R2; in test()
[all …]
Dmpl_greater_pass.cpp24 typedef boost::ratio<1, 1> R1; in test()
25 typedef boost::ratio<1, 1> R2; in test()
29 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
30 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
34 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
35 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
39 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
40 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
44 typedef boost::ratio<1, 1> R1; in test()
45 typedef boost::ratio<1, -1> R2; in test()
[all …]
Dmpl_less_equal_pass.cpp24 typedef boost::ratio<1, 1> R1; in test()
25 typedef boost::ratio<1, 1> R2; in test()
29 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
30 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
34 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
35 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
39 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
40 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
44 typedef boost::ratio<1, 1> R1; in test()
45 typedef boost::ratio<1, -1> R2; in test()
[all …]
Dmpl_not_equal_to_pass.cpp24 typedef boost::ratio<1, 1> R1; in test()
25 typedef boost::ratio<1, 1> R2; in test()
29 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
30 typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
34 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1; in test()
35 typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2; in test()
39 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R1; in test()
40 typedef boost::ratio<1, BOOST_RATIO_INTMAX_T_MAX> R2; in test()
44 typedef boost::ratio<1, 1> R1; in test()
45 typedef boost::ratio<1, -1> R2; in test()
[all …]
Dmpl_plus_pass.cpp26 typedef boost::ratio<1, 1> R1; in test()
35 typedef boost::ratio<1, 2> R2; in test()
40 typedef boost::ratio<-1, 2> R1; in test()
41 typedef boost::ratio<1, 1> R2; in test()
47 typedef boost::ratio<1, -2> R1; in test()
48 typedef boost::ratio<1, 1> R2; in test()
54 typedef boost::ratio<1, 2> R1; in test()
55 typedef boost::ratio<-1, 1> R2; in test()
61 typedef boost::ratio<1, 2> R1; in test()
62 typedef boost::ratio<1, -1> R2; in test()
[all …]
Dmpl_divides_pass.cpp26 typedef boost::ratio<1, 1> R1; in test()
27 typedef boost::ratio<1, 1> R2; in test()
32 typedef boost::ratio<1, 2> R1; in test()
33 typedef boost::ratio<1, 1> R2; in test()
38 typedef boost::ratio<-1, 2> R1; in test()
39 typedef boost::ratio<1, 1> R2; in test()
44 typedef boost::ratio<1, -2> R1; in test()
45 typedef boost::ratio<1, 1> R2; in test()
50 typedef boost::ratio<1, 2> R1; in test()
51 typedef boost::ratio<-1, 1> R2; in test()
[all …]
/third_party/boost/boost/ratio/
Dratio_fwd.hpp51 template <boost::intmax_t N, boost::intmax_t D = 1> class ratio;
76 typedef ratio<BOOST_RATIO_INTMAX_C(1), BOOST_RATIO_INTMAX_C(1000000000000000000)> atto;
77 typedef ratio<BOOST_RATIO_INTMAX_C(1), BOOST_RATIO_INTMAX_C(1000000000000000)> femto;
78 typedef ratio<BOOST_RATIO_INTMAX_C(1), BOOST_RATIO_INTMAX_C(1000000000000)> pico;
79 typedef ratio<BOOST_RATIO_INTMAX_C(1), BOOST_RATIO_INTMAX_C(1000000000)> nano;
80 typedef ratio<BOOST_RATIO_INTMAX_C(1), BOOST_RATIO_INTMAX_C(1000000)> micro;
81 typedef ratio<BOOST_RATIO_INTMAX_C(1), BOOST_RATIO_INTMAX_C(1000)> milli;
82 typedef ratio<BOOST_RATIO_INTMAX_C(1), BOOST_RATIO_INTMAX_C(100)> centi;
83 typedef ratio<BOOST_RATIO_INTMAX_C(1), BOOST_RATIO_INTMAX_C(10)> deci;
84 typedef ratio< BOOST_RATIO_INTMAX_C(10), BOOST_RATIO_INTMAX_C(1)> deca;
[all …]
/third_party/boost/libs/hana/example/ext/std/ratio/
Darithmetic.cpp21 hana::plus(std::ratio<5, 3>{}, std::ratio<3, 12>{}),
22 std::ratio<23, 12>{}
26 hana::minus(std::ratio<5, 3>{}, std::ratio<3, 13>{}),
27 std::ratio<56, 39>{}
31 hana::mult(std::ratio<5, 3>{}, std::ratio<3, 13>{}),
32 std::ratio<15, 39>{}
36 hana::div(std::ratio<5, 3>{}, std::ratio<3, 13>{}),
37 std::ratio<65, 9>{}
43 hana::mod(std::ratio<5, 3>{}, std::ratio<3, 13>{}),
44 std::ratio<0>{}
[all …]
/third_party/boost/libs/ratio/test/ratio_arithmetic/
Dratio_add_pass.cpp24 typedef boost::ratio<0> R1; in test()
25 typedef boost::ratio<0> R2; in test()
30 typedef boost::ratio<1, 1> R1; in test()
31 typedef boost::ratio<1, 1> R2; in test()
38 typedef boost::ratio<1, 2> R1; in test()
39 typedef boost::ratio<1, 1> R2; in test()
44 typedef boost::ratio<-1, 2> R1; in test()
45 typedef boost::ratio<1, 1> R2; in test()
50 typedef boost::ratio<1, -2> R1; in test()
51 typedef boost::ratio<1, 1> R2; in test()
[all …]
Dratio_subtract_pass.cpp25 typedef boost::ratio<0> R1; in test()
26 typedef boost::ratio<0> R2; in test()
31 typedef boost::ratio<1, 1> R1; in test()
32 typedef boost::ratio<1, 1> R2; in test()
37 typedef boost::ratio<1, 2> R1; in test()
38 typedef boost::ratio<1, 1> R2; in test()
43 typedef boost::ratio<-1, 2> R1; in test()
44 typedef boost::ratio<1, 1> R2; in test()
49 typedef boost::ratio<1, -2> R1; in test()
50 typedef boost::ratio<1, 1> R2; in test()
[all …]
Dratio_multiply_pass.cpp24 typedef boost::ratio<1, 1> R1; in test()
25 typedef boost::ratio<1, 1> R2; in test()
30 typedef boost::ratio<1, 2> R1; in test()
31 typedef boost::ratio<1, 1> R2; in test()
36 typedef boost::ratio<-1, 2> R1; in test()
37 typedef boost::ratio<1, 1> R2; in test()
42 typedef boost::ratio<1, -2> R1; in test()
43 typedef boost::ratio<1, 1> R2; in test()
48 typedef boost::ratio<1, 2> R1; in test()
49 typedef boost::ratio<-1, 1> R2; in test()
[all …]
Dratio_divide_pass.cpp24 typedef boost::ratio<1, 1> R1; in test()
25 typedef boost::ratio<1, 1> R2; in test()
30 typedef boost::ratio<1, 2> R1; in test()
31 typedef boost::ratio<1, 1> R2; in test()
36 typedef boost::ratio<-1, 2> R1; in test()
37 typedef boost::ratio<1, 1> R2; in test()
42 typedef boost::ratio<1, -2> R1; in test()
43 typedef boost::ratio<1, 1> R2; in test()
48 typedef boost::ratio<1, 2> R1; in test()
49 typedef boost::ratio<-1, 1> R2; in test()
[all …]
/third_party/boost/libs/ratio/example/
Dsi_physics.cpp25 typedef Ratio ratio; typedef in User1::length
56 typedef length<boost::ratio<1> > meter; // set meter as "unity"
59 typedef length<boost::ratio<254, 10000> > inch; // 254/10000 meters
61 typedef length<boost::ratio_multiply<boost::ratio<12>, inch::ratio>::type> foot; // 12 inchs
62 typedef length<boost::ratio_multiply<boost::ratio<5280>, foot::ratio>::type> mile; // 5280 feet
87 class quantity<boost::ratio<1>, boost::ratio<0> >
99 class quantity<boost::ratio<0>, boost::ratio<1> >
111 class quantity<boost::ratio<0>, boost::ratio<0> >
123 typedef quantity<boost::ratio<0>, boost::ratio<0> > Scalar;
124 typedef quantity<boost::ratio<1>, boost::ratio<0> > Time; // second
[all …]

12345678910>>...32