Lines Matching full:d1
7 absl::Duration d1, d2; in f() local
12 b = x > absl::ToDoubleSeconds(d1); in f()
14 // CHECK-FIXES: absl::Seconds(x) > d1; in f()
15 b = x >= absl::ToDoubleSeconds(d1); in f()
17 // CHECK-FIXES: absl::Seconds(x) >= d1; in f()
18 b = x == absl::ToDoubleSeconds(d1); in f()
20 // CHECK-FIXES: absl::Seconds(x) == d1; in f()
21 b = x <= absl::ToDoubleSeconds(d1); in f()
23 // CHECK-FIXES: absl::Seconds(x) <= d1; in f()
24 b = x < absl::ToDoubleSeconds(d1); in f()
26 // CHECK-FIXES: absl::Seconds(x) < d1; in f()
30 b = absl::ToDoubleSeconds(d1) > absl::ToDoubleSeconds(d2); in f()
32 // CHECK-FIXES: d1 > d2; in f()
35 b = absl::ToDoubleSeconds(d1) < x; in f()
37 // CHECK-FIXES: d1 < absl::Seconds(x); in f()
38 b = absl::ToDoubleSeconds(d1) <= x; in f()
40 // CHECK-FIXES: d1 <= absl::Seconds(x); in f()
41 b = absl::ToDoubleSeconds(d1) == x; in f()
43 // CHECK-FIXES: d1 == absl::Seconds(x); in f()
44 b = absl::ToDoubleSeconds(d1) >= x; in f()
46 // CHECK-FIXES: d1 >= absl::Seconds(x); in f()
47 b = absl::ToDoubleSeconds(d1) > x; in f()
49 // CHECK-FIXES: d1 > absl::Seconds(x); in f()
52 b = absl::ToDoubleSeconds(d1) < 0.0; in f()
54 // CHECK-FIXES: d1 < absl::ZeroDuration(); in f()
55 b = absl::ToDoubleSeconds(d1) < 0; in f()
57 // CHECK-FIXES: d1 < absl::ZeroDuration(); in f()
60 b = x > absl::ToDoubleMicroseconds(d1); in f()
62 // CHECK-FIXES: absl::Microseconds(x) > d1; in f()
63 b = x >= absl::ToDoubleMilliseconds(d1); in f()
65 // CHECK-FIXES: absl::Milliseconds(x) >= d1; in f()
66 b = x == absl::ToDoubleNanoseconds(d1); in f()
68 // CHECK-FIXES: absl::Nanoseconds(x) == d1; in f()
69 b = x <= absl::ToDoubleMinutes(d1); in f()
71 // CHECK-FIXES: absl::Minutes(x) <= d1; in f()
72 b = x < absl::ToDoubleHours(d1); in f()
74 // CHECK-FIXES: absl::Hours(x) < d1; in f()
77 b = x > absl::ToInt64Microseconds(d1); in f()
79 // CHECK-FIXES: absl::Microseconds(x) > d1; in f()
80 b = x >= absl::ToInt64Milliseconds(d1); in f()
82 // CHECK-FIXES: absl::Milliseconds(x) >= d1; in f()
83 b = x == absl::ToInt64Nanoseconds(d1); in f()
85 // CHECK-FIXES: absl::Nanoseconds(x) == d1; in f()
86 b = x == absl::ToInt64Seconds(d1); in f()
88 // CHECK-FIXES: absl::Seconds(x) == d1; in f()
89 b = x <= absl::ToInt64Minutes(d1); in f()
91 // CHECK-FIXES: absl::Minutes(x) <= d1; in f()
92 b = x < absl::ToInt64Hours(d1); in f()
94 // CHECK-FIXES: absl::Hours(x) < d1; in f()
97 b = static_cast<double>(5) > absl::ToDoubleSeconds(d1); in f()
99 // CHECK-FIXES: absl::Seconds(5) > d1; in f()
100 b = double(5) > absl::ToDoubleSeconds(d1); in f()
102 // CHECK-FIXES: absl::Seconds(5) > d1; in f()
103 b = float(5) > absl::ToDoubleSeconds(d1); in f()
105 // CHECK-FIXES: absl::Seconds(5) > d1; in f()
106 b = ((double)5) > absl::ToDoubleSeconds(d1); in f()
108 // CHECK-FIXES: absl::Seconds(5) > d1; in f()
109 b = 5.0 > absl::ToDoubleSeconds(d1); in f()
111 // CHECK-FIXES: absl::Seconds(5) > d1; in f()
126 b = (y + 5) * 10 > absl::ToDoubleMilliseconds(d1); in f()
128 // CHECK-FIXES: absl::Milliseconds((y + 5) * 10) > d1; in f()
132 int a = VALUE_IF(1, 5 > absl::ToDoubleSeconds(d1)); in f()
134 // CHECK-FIXES: VALUE_IF(1, absl::Seconds(5) > d1); in f()
139 int a2 = VALUE_IF(1, 5 > absl::ToDoubleSeconds(d1)); in f()
141 // CHECK-FIXES: VALUE_IF(1, absl::Seconds(5) > d1); in f()
147 int a3 = VALUE_IF(1, d1, Double); in f()
153 int a4 = VALUE_IF(1, d1, Double); in f()
161 b = 5.0 > TODOUBLE(d1); in f()
164 b = THIRTY > absl::ToDoubleSeconds(d1); in f()