Home
last modified time | relevance | path

Searched refs:kSecondsPerDay (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dtime_test.cc39 static const int64 kSecondsPerDay = 3600 * 24; variable
109 EXPECT_EQ(kSecondsPerDay, in TEST()
111 EXPECT_EQ(kSecondsPerDay, in TEST()
113 EXPECT_EQ(kSecondsPerDay, in TEST()
115 EXPECT_EQ(kSecondsPerDay, in TEST()
117 EXPECT_EQ(kSecondsPerDay, in TEST()
119 EXPECT_EQ(kSecondsPerDay, in TEST()
121 EXPECT_EQ(kSecondsPerDay, in TEST()
123 EXPECT_EQ(kSecondsPerDay, in TEST()
125 EXPECT_EQ(kSecondsPerDay, in TEST()
[all …]
Dtime.cc15 static const int64 kSecondsPerDay = kSecondsPerHour * 24; variable
17 kSecondsPerDay * (400 * 365 + 400 / 4 - 3);
31 return kSecondsPerDay * (100 * 365 + 100 / 4); in SecondsPer100Years()
33 return kSecondsPerDay * (100 * 365 + 100 / 4 - 1); in SecondsPer100Years()
43 return kSecondsPerDay * (4 * 365); in SecondsPer4Years()
46 return kSecondsPerDay * (4 * 365 + 1); in SecondsPer4Years()
55 return kSecondsPerDay * (IsLeapYear(year) ? 366 : 365); in SecondsPerYear()
64 return kSecondsPerDay * (kDaysInMonth[month] + 1); in SecondsPerMonth()
66 return kSecondsPerDay * kDaysInMonth[month]; in SecondsPerMonth()
116 result += kSecondsPerDay * kDaysSinceJan[month]; in SecondsSinceCommonEra()
[all …]
/external/mdnsresponder/mDNSShared/
DCommonServices.h1156 #define kSecondsPerDay ( 60 * 60 * 24 ) // 86400 macro