/third_party/typescript/tests/baselines/reference/ |
D | jsFunctionWithPrototypeNoErrorTruncationNoCrash.types | 15 …ratio) {return this;}, darken: function (ratio) {return this;}, saturate: function (ratio) {return… 16 …ratio: any) => this; darken: (ratio: any) => this; saturate: (ratio: any) => this; desaturate: (ra… 18 …ratio: any) => this; darken: (ratio: any) => this; saturate: (ratio: any) => this; desaturate: (ra… 19 …ratio) {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 …]
|
D | jsFunctionWithPrototypeNoErrorTruncationNoCrash.js | 7 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 …]
|
D | jsFunctionWithPrototypeNoErrorTruncationNoCrash.errors.txt | 2 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 …]
|
D | jsFunctionWithPrototypeNoErrorTruncationNoCrash.symbols | 21 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/ |
D | ratio_less_pass.cpp | 22 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 …]
|
D | ratio_greater_equal_pass.cpp | 23 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 …]
|
D | ratio_equal_pass.cpp | 25 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 …]
|
D | ratio_not_equal_pass.cpp | 22 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 …]
|
D | ratio_less_equal_pass.cpp | 22 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 …]
|
D | ratio_greater_pass.cpp | 22 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/ |
D | mpl_less_pass.cpp | 24 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 …]
|
D | mpl_greater_equal_pass.cpp | 25 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 …]
|
D | mpl_equal_to_pass.cpp | 27 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 …]
|
D | mpl_greater_pass.cpp | 24 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 …]
|
D | mpl_less_equal_pass.cpp | 24 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 …]
|
D | mpl_not_equal_to_pass.cpp | 24 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 …]
|
D | mpl_plus_pass.cpp | 26 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 …]
|
D | mpl_divides_pass.cpp | 26 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/ |
D | ratio_fwd.hpp | 51 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/ |
D | arithmetic.cpp | 21 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/ |
D | ratio_add_pass.cpp | 24 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 …]
|
D | ratio_subtract_pass.cpp | 25 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 …]
|
D | ratio_multiply_pass.cpp | 24 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 …]
|
D | ratio_divide_pass.cpp | 24 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/ |
D | si_physics.cpp | 25 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 …]
|