Home
last modified time | relevance | path

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

12345678910>>...25

/external/llvm-project/libcxx/test/std/utilities/ratio/ratio.comparison/
Dratio_less.pass.cpp27 typedef std::ratio<1, 1> R1; in main()
28 typedef std::ratio<1, 1> R2; in main()
32 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
37 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
42 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
47 typedef std::ratio<1, 1> R1; in main()
48 typedef std::ratio<1, -1> R2; in main()
[all …]
Dratio_less_equal.pass.cpp27 typedef std::ratio<1, 1> R1; in main()
28 typedef std::ratio<1, 1> R2; in main()
32 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
37 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
42 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
47 typedef std::ratio<1, 1> R1; in main()
48 typedef std::ratio<1, -1> R2; in main()
[all …]
Dratio_greater.pass.cpp27 typedef std::ratio<1, 1> R1; in main()
28 typedef std::ratio<1, 1> R2; in main()
32 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
37 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
42 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
47 typedef std::ratio<1, 1> R1; in main()
48 typedef std::ratio<1, -1> R2; in main()
[all …]
Dratio_equal.pass.cpp27 typedef std::ratio<1, 1> R1; in main()
28 typedef std::ratio<1, 1> R2; in main()
32 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
37 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
42 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
47 typedef std::ratio<1, 1> R1; in main()
48 typedef std::ratio<1, -1> R2; in main()
[all …]
Dratio_greater_equal.pass.cpp27 typedef std::ratio<1, 1> R1; in main()
28 typedef std::ratio<1, 1> R2; in main()
32 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
37 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
42 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
47 typedef std::ratio<1, 1> R1; in main()
48 typedef std::ratio<1, -1> R2; in main()
[all …]
Dratio_not_equal.pass.cpp27 typedef std::ratio<1, 1> R1; in main()
28 typedef std::ratio<1, 1> R2; in main()
32 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
37 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
42 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
47 typedef std::ratio<1, 1> R1; in main()
48 typedef std::ratio<1, -1> R2; in main()
[all …]
/external/libcxx/test/std/utilities/ratio/ratio.comparison/
Dratio_less.pass.cpp28 typedef std::ratio<1, 1> R1; in main()
29 typedef std::ratio<1, 1> R2; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
48 typedef std::ratio<1, 1> R1; in main()
49 typedef std::ratio<1, -1> R2; in main()
[all …]
Dratio_equal.pass.cpp28 typedef std::ratio<1, 1> R1; in main()
29 typedef std::ratio<1, 1> R2; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
48 typedef std::ratio<1, 1> R1; in main()
49 typedef std::ratio<1, -1> R2; in main()
[all …]
Dratio_less_equal.pass.cpp28 typedef std::ratio<1, 1> R1; in main()
29 typedef std::ratio<1, 1> R2; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
48 typedef std::ratio<1, 1> R1; in main()
49 typedef std::ratio<1, -1> R2; in main()
[all …]
Dratio_not_equal.pass.cpp28 typedef std::ratio<1, 1> R1; in main()
29 typedef std::ratio<1, 1> R2; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
48 typedef std::ratio<1, 1> R1; in main()
49 typedef std::ratio<1, -1> R2; in main()
[all …]
Dratio_greater_equal.pass.cpp28 typedef std::ratio<1, 1> R1; in main()
29 typedef std::ratio<1, 1> R2; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
48 typedef std::ratio<1, 1> R1; in main()
49 typedef std::ratio<1, -1> R2; in main()
[all …]
Dratio_greater.pass.cpp28 typedef std::ratio<1, 1> R1; in main()
29 typedef std::ratio<1, 1> R2; in main()
33 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
34 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
38 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; in main()
39 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R2; in main()
43 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R1; in main()
44 typedef std::ratio<1, 0x7FFFFFFFFFFFFFFFLL> R2; in main()
48 typedef std::ratio<1, 1> R1; in main()
49 typedef std::ratio<1, -1> R2; in main()
[all …]
/external/libcxx/test/std/utilities/ratio/ratio.arithmetic/
Dratio_add.pass.cpp17 typedef std::ratio<1, 1> R1; in main()
18 typedef std::ratio<1, 1> R2; in main()
23 typedef std::ratio<1, 2> R1; in main()
24 typedef std::ratio<1, 1> R2; in main()
29 typedef std::ratio<-1, 2> R1; in main()
30 typedef std::ratio<1, 1> R2; in main()
35 typedef std::ratio<1, -2> R1; in main()
36 typedef std::ratio<1, 1> R2; in main()
41 typedef std::ratio<1, 2> R1; in main()
42 typedef std::ratio<-1, 1> R2; in main()
[all …]
Dratio_subtract.pass.cpp17 typedef std::ratio<1, 1> R1; in main()
18 typedef std::ratio<1, 1> R2; in main()
23 typedef std::ratio<1, 2> R1; in main()
24 typedef std::ratio<1, 1> R2; in main()
29 typedef std::ratio<-1, 2> R1; in main()
30 typedef std::ratio<1, 1> R2; in main()
35 typedef std::ratio<1, -2> R1; in main()
36 typedef std::ratio<1, 1> R2; in main()
41 typedef std::ratio<1, 2> R1; in main()
42 typedef std::ratio<-1, 1> R2; in main()
[all …]
Dratio_multiply.pass.cpp17 typedef std::ratio<1, 1> R1; in main()
18 typedef std::ratio<1, 1> R2; in main()
23 typedef std::ratio<1, 2> R1; in main()
24 typedef std::ratio<1, 1> R2; in main()
29 typedef std::ratio<-1, 2> R1; in main()
30 typedef std::ratio<1, 1> R2; in main()
35 typedef std::ratio<1, -2> R1; in main()
36 typedef std::ratio<1, 1> R2; in main()
41 typedef std::ratio<1, 2> R1; in main()
42 typedef std::ratio<-1, 1> R2; in main()
[all …]
Dratio_divide.pass.cpp17 typedef std::ratio<1, 1> R1; in main()
18 typedef std::ratio<1, 1> R2; in main()
23 typedef std::ratio<1, 2> R1; in main()
24 typedef std::ratio<1, 1> R2; in main()
29 typedef std::ratio<-1, 2> R1; in main()
30 typedef std::ratio<1, 1> R2; in main()
35 typedef std::ratio<1, -2> R1; in main()
36 typedef std::ratio<1, 1> R2; in main()
41 typedef std::ratio<1, 2> R1; in main()
42 typedef std::ratio<-1, 1> R2; in main()
[all …]
/external/llvm-project/libcxx/test/std/utilities/ratio/ratio.arithmetic/
Dratio_add.pass.cpp18 typedef std::ratio<1, 1> R1; in main()
19 typedef std::ratio<1, 1> R2; in main()
24 typedef std::ratio<1, 2> R1; in main()
25 typedef std::ratio<1, 1> R2; in main()
30 typedef std::ratio<-1, 2> R1; in main()
31 typedef std::ratio<1, 1> R2; in main()
36 typedef std::ratio<1, -2> R1; in main()
37 typedef std::ratio<1, 1> R2; in main()
42 typedef std::ratio<1, 2> R1; in main()
43 typedef std::ratio<-1, 1> R2; in main()
[all …]
Dratio_subtract.pass.cpp18 typedef std::ratio<1, 1> R1; in main()
19 typedef std::ratio<1, 1> R2; in main()
24 typedef std::ratio<1, 2> R1; in main()
25 typedef std::ratio<1, 1> R2; in main()
30 typedef std::ratio<-1, 2> R1; in main()
31 typedef std::ratio<1, 1> R2; in main()
36 typedef std::ratio<1, -2> R1; in main()
37 typedef std::ratio<1, 1> R2; in main()
42 typedef std::ratio<1, 2> R1; in main()
43 typedef std::ratio<-1, 1> R2; in main()
[all …]
Dratio_multiply.pass.cpp18 typedef std::ratio<1, 1> R1; in main()
19 typedef std::ratio<1, 1> R2; in main()
24 typedef std::ratio<1, 2> R1; in main()
25 typedef std::ratio<1, 1> R2; in main()
30 typedef std::ratio<-1, 2> R1; in main()
31 typedef std::ratio<1, 1> R2; in main()
36 typedef std::ratio<1, -2> R1; in main()
37 typedef std::ratio<1, 1> R2; in main()
42 typedef std::ratio<1, 2> R1; in main()
43 typedef std::ratio<-1, 1> R2; in main()
[all …]
Dratio_divide.pass.cpp18 typedef std::ratio<1, 1> R1; in main()
19 typedef std::ratio<1, 1> R2; in main()
24 typedef std::ratio<1, 2> R1; in main()
25 typedef std::ratio<1, 1> R2; in main()
30 typedef std::ratio<-1, 2> R1; in main()
31 typedef std::ratio<1, 1> R2; in main()
36 typedef std::ratio<1, -2> R1; in main()
37 typedef std::ratio<1, 1> R2; in main()
42 typedef std::ratio<1, 2> R1; in main()
43 typedef std::ratio<-1, 1> R2; in main()
[all …]
/external/llvm-project/libcxx/test/std/utilities/time/time.traits/time.traits.specializations/
Dduration.pass.cpp31 test<std::chrono::duration<int, std::ratio<1, 100> >, in main()
32 std::chrono::duration<long, std::ratio<1, 1000> >, in main()
33 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main()
34 test<std::chrono::duration<long, std::ratio<1, 100> >, in main()
35 std::chrono::duration<int, std::ratio<1, 1000> >, in main()
36 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main()
37 test<std::chrono::duration<char, std::ratio<1, 30> >, in main()
38 std::chrono::duration<short, std::ratio<1, 1000> >, in main()
39 std::chrono::duration<int, std::ratio<1, 3000> > >(); in main()
40 test<std::chrono::duration<double, std::ratio<21, 1> >, in main()
[all …]
Dtime_point.pass.cpp35 test<std::chrono::duration<int, std::ratio<1, 100> >, in main()
36 std::chrono::duration<long, std::ratio<1, 1000> >, in main()
37 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main()
38 test<std::chrono::duration<long, std::ratio<1, 100> >, in main()
39 std::chrono::duration<int, std::ratio<1, 1000> >, in main()
40 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main()
41 test<std::chrono::duration<char, std::ratio<1, 30> >, in main()
42 std::chrono::duration<short, std::ratio<1, 1000> >, in main()
43 std::chrono::duration<int, std::ratio<1, 3000> > >(); in main()
44 test<std::chrono::duration<double, std::ratio<21, 1> >, in main()
[all …]
/external/libcxx/test/std/utilities/time/time.traits/time.traits.specializations/
Dduration.pass.cpp30 test<std::chrono::duration<int, std::ratio<1, 100> >, in main()
31 std::chrono::duration<long, std::ratio<1, 1000> >, in main()
32 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main()
33 test<std::chrono::duration<long, std::ratio<1, 100> >, in main()
34 std::chrono::duration<int, std::ratio<1, 1000> >, in main()
35 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main()
36 test<std::chrono::duration<char, std::ratio<1, 30> >, in main()
37 std::chrono::duration<short, std::ratio<1, 1000> >, in main()
38 std::chrono::duration<int, std::ratio<1, 3000> > >(); in main()
39 test<std::chrono::duration<double, std::ratio<21, 1> >, in main()
[all …]
Dtime_point.pass.cpp34 test<std::chrono::duration<int, std::ratio<1, 100> >, in main()
35 std::chrono::duration<long, std::ratio<1, 1000> >, in main()
36 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main()
37 test<std::chrono::duration<long, std::ratio<1, 100> >, in main()
38 std::chrono::duration<int, std::ratio<1, 1000> >, in main()
39 std::chrono::duration<long, std::ratio<1, 1000> > >(); in main()
40 test<std::chrono::duration<char, std::ratio<1, 30> >, in main()
41 std::chrono::duration<short, std::ratio<1, 1000> >, in main()
42 std::chrono::duration<int, std::ratio<1, 3000> > >(); in main()
43 test<std::chrono::duration<double, std::ratio<21, 1> >, in main()
[all …]
/external/llvm-project/libcxx/include/
Dratio2 //===---------------------------- ratio -----------------------------------===//
14 ratio synopsis
20 class ratio
25 typedef ratio<num, den> type;
28 // ratio arithmetic
34 // ratio comparison
43 typedef ratio<1, 1000000000000000000000000> yocto; // not supported
44 typedef ratio<1, 1000000000000000000000> zepto; // not supported
45 typedef ratio<1, 1000000000000000000> atto;
46 typedef ratio<1, 1000000000000000> femto;
[all …]

12345678910>>...25