HomeSort by relevance Sort by last modified time
    Searched refs:ratio (Results 1 - 25 of 396) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/ratio.ratio/
ratio1.fail.cpp 10 // test ratio: The template argument D shall not be zero
12 #include <ratio>
17 const std::intmax_t t1 = std::ratio<1, 0>::num;
ratio2.fail.cpp 10 // test ratio: the absolute values of the template arguments N and D
13 #include <ratio>
18 const std::intmax_t t1 = std::ratio<0x8000000000000000ULL, 1>::num;
ratio3.fail.cpp 10 // test ratio: the absolute values of the template arguments N and D
13 #include <ratio>
18 const std::intmax_t t1 = std::ratio<1, 0x8000000000000000ULL>::num;
ratio.pass.cpp 10 // test ratio: The static data members num and den shall have thcommon
13 #include <ratio>
18 static_assert((std::ratio<N, D>::num == eN), "");
19 static_assert((std::ratio<N, D>::den == eD), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/ratio.arithmetic/
ratio_add.fail.cpp 12 #include <ratio>
16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
17 typedef std::ratio<1, 1> R2;
ratio_divide.fail.cpp 12 #include <ratio>
16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
17 typedef std::ratio<1, 2> R2;
ratio_multiply.fail.cpp 12 #include <ratio>
16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
17 typedef std::ratio<2, 1> R2;
ratio_subtract.fail.cpp 12 #include <ratio>
16 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1;
17 typedef std::ratio<1, 1> R2;
ratio_divide.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
23 typedef std::ratio<1, 2> R1;
24 typedef std::ratio<1, 1> R2;
29 typedef std::ratio<-1, 2> R1;
30 typedef std::ratio<1, 1> R2;
35 typedef std::ratio<1, -2> R1;
36 typedef std::ratio<1, 1> R2;
41 typedef std::ratio<1, 2> R1
    [all...]
ratio_multiply.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
23 typedef std::ratio<1, 2> R1;
24 typedef std::ratio<1, 1> R2;
29 typedef std::ratio<-1, 2> R1;
30 typedef std::ratio<1, 1> R2;
35 typedef std::ratio<1, -2> R1;
36 typedef std::ratio<1, 1> R2;
41 typedef std::ratio<1, 2> R1
    [all...]
ratio_add.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
23 typedef std::ratio<1, 2> R1;
24 typedef std::ratio<1, 1> R2;
29 typedef std::ratio<-1, 2> R1;
30 typedef std::ratio<1, 1> R2;
35 typedef std::ratio<1, -2> R1;
36 typedef std::ratio<1, 1> R2;
41 typedef std::ratio<1, 2> R1
    [all...]
ratio_subtract.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
23 typedef std::ratio<1, 2> R1;
24 typedef std::ratio<1, 1> R2;
29 typedef std::ratio<-1, 2> R1;
30 typedef std::ratio<1, 1> R2;
35 typedef std::ratio<1, -2> R1;
36 typedef std::ratio<1, 1> R2;
41 typedef std::ratio<1, 2> R1
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/ratio.comparison/
ratio_equal.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2;
27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1;
28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2;
32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1;
33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2;
37 typedef std::ratio<1, 1> R1
    [all...]
ratio_greater.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2;
27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1;
28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2;
32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1;
33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2;
37 typedef std::ratio<1, 1> R1
    [all...]
ratio_greater_equal.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2;
27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1;
28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2;
32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1;
33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2;
37 typedef std::ratio<1, 1> R1
    [all...]
ratio_less_equal.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2;
27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1;
28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2;
32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1;
33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2;
37 typedef std::ratio<1, 1> R1
    [all...]
ratio_not_equal.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2;
27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1;
28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2;
32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1;
33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2;
37 typedef std::ratio<1, 1> R1
    [all...]
ratio_less.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
22 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;
23 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2;
27 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1;
28 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2;
32 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1;
33 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2;
37 typedef std::ratio<1, 1> R1
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/
version.pass.cpp 10 // <ratio>
12 #include <ratio>
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/
positive_num.fail.cpp 20 typedef std::chrono::duration<int, std::ratio<5, -1> > D;
types.pass.cpp 24 typedef std::chrono::duration<long, std::ratio<3, 2> > D;
26 static_assert((std::is_same<D::period, std::ratio<3, 2> >::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.traits/time.traits.specializations/
duration.pass.cpp 30 test<std::chrono::duration<int, std::ratio<1, 100> >,
31 std::chrono::duration<long, std::ratio<1, 1000> >,
32 std::chrono::duration<long, std::ratio<1, 1000> > >();
33 test<std::chrono::duration<long, std::ratio<1, 100> >,
34 std::chrono::duration<int, std::ratio<1, 1000> >,
35 std::chrono::duration<long, std::ratio<1, 1000> > >();
36 test<std::chrono::duration<char, std::ratio<1, 30> >,
37 std::chrono::duration<short, std::ratio<1, 1000> >,
38 std::chrono::duration<int, std::ratio<1, 3000> > >();
39 test<std::chrono::duration<double, std::ratio<21, 1> >
    [all...]
time_point.pass.cpp 34 test<std::chrono::duration<int, std::ratio<1, 100> >,
35 std::chrono::duration<long, std::ratio<1, 1000> >,
36 std::chrono::duration<long, std::ratio<1, 1000> > >();
37 test<std::chrono::duration<long, std::ratio<1, 100> >,
38 std::chrono::duration<int, std::ratio<1, 1000> >,
39 std::chrono::duration<long, std::ratio<1, 1000> > >();
40 test<std::chrono::duration<char, std::ratio<1, 30> >,
41 std::chrono::duration<short, std::ratio<1, 1000> >,
42 std::chrono::duration<int, std::ratio<1, 3000> > >();
43 test<std::chrono::duration<double, std::ratio<21, 1> >
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/
op_divide_duration.pass.cpp 35 std::chrono::duration<int, std::ratio<2, 3> > s1(30);
36 std::chrono::duration<int, std::ratio<3, 5> > s2(5);
40 std::chrono::duration<int, std::ratio<2, 3> > s1(30);
41 std::chrono::duration<double, std::ratio<3, 5> > s2(5);
56 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30);
57 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5);
61 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30);
62 constexpr std::chrono::duration<double, std::ratio<3, 5> > s2(5);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cons/
rep.pass.cpp 37 test<std::chrono::duration<int, std::ratio<3, 2> > >(5);
38 test<std::chrono::duration<Rep, std::ratio<3, 2> > >(Rep(3));
39 test<std::chrono::duration<double, std::ratio<2, 3> > >(5.5);

Completed in 242 milliseconds

1 2 3 4 5 6 7 8 91011>>