Searched refs:exploded (Results 1 - 16 of 16) sorted by relevance

/external/libchrome/crypto/
H A Dnss_util_unittest.cc21 base::Time::Exploded exploded; local
22 exploded.year = prxtime.tm_year = 2011;
23 exploded.month = 12;
28 exploded.day_of_week = prxtime.tm_wday = 0; // Should be unused.
29 exploded.day_of_month = prxtime.tm_mday = 10;
30 exploded.hour = prxtime.tm_hour = 2;
31 exploded.minute = prxtime.tm_min = 52;
32 exploded.second = prxtime.tm_sec = 19;
33 exploded.millisecond = 342;
37 base::Time base_time = base::Time::FromUTCExploded(exploded);
[all...]
/external/libweave/third_party/chromium/base/time/
H A Dtime_unittest.cc60 // C library time and exploded time.
71 Time::Exploded exploded; local
72 our_time_1.LocalExplode(&exploded);
75 EXPECT_EQ(tms.tm_year + 1900, exploded.year);
76 EXPECT_EQ(tms.tm_mon + 1, exploded.month);
77 EXPECT_EQ(tms.tm_mday, exploded.day_of_month);
78 EXPECT_EQ(tms.tm_hour, exploded.hour);
79 EXPECT_EQ(tms.tm_min, exploded.minute);
80 EXPECT_EQ(tms.tm_sec, exploded.second);
82 // Convert exploded bac
137 Time::Exploded exploded; local
150 Time::Exploded exploded; local
158 Time::Exploded exploded; local
169 Time::Exploded exploded; local
526 Time::Exploded exploded; local
[all...]
H A Dtime_posix.cc154 void Time::Explode(bool is_local, Exploded* exploded) const {
183 exploded->year = timestruct.tm_year + 1900;
184 exploded->month = timestruct.tm_mon + 1;
185 exploded->day_of_week = timestruct.tm_wday;
186 exploded->day_of_month = timestruct.tm_mday;
187 exploded->hour = timestruct.tm_hour;
188 exploded->minute = timestruct.tm_min;
189 exploded->second = timestruct.tm_sec;
190 exploded->millisecond = millisecond;
194 Time Time::FromExploded(bool is_local, const Exploded& exploded) { argument
[all...]
H A Dtime.cc233 Exploded exploded; local
234 LocalExplode(&exploded);
235 exploded.hour = 0;
236 exploded.minute = 0;
237 exploded.second = 0;
238 exploded.millisecond = 0;
239 return FromLocalExploded(exploded);
243 Time::Exploded exploded; local
244 time.UTCExplode(&exploded);
247 exploded
[all...]
H A Dtime.h405 // Represents an exploded time that can be formatted nicely. This is kind of
516 // Converts an exploded structure representing either the local time or UTC
518 static Time FromUTCExploded(const Exploded& exploded) { argument
519 return FromExploded(false, exploded);
521 static Time FromLocalExploded(const Exploded& exploded) { argument
522 return FromExploded(true, exploded);
525 // Fills the given exploded structure with either the local time or UTC from
527 void UTCExplode(Exploded* exploded) const {
528 return Explode(false, exploded);
530 void LocalExplode(Exploded* exploded) cons
[all...]
/external/libchrome/base/time/
H A Dtime_unittest.cc60 // C library time and exploded time.
71 Time::Exploded exploded; local
72 our_time_1.LocalExplode(&exploded);
75 EXPECT_EQ(tms.tm_year + 1900, exploded.year);
76 EXPECT_EQ(tms.tm_mon + 1, exploded.month);
77 EXPECT_EQ(tms.tm_mday, exploded.day_of_month);
78 EXPECT_EQ(tms.tm_hour, exploded.hour);
79 EXPECT_EQ(tms.tm_min, exploded.minute);
80 EXPECT_EQ(tms.tm_sec, exploded.second);
82 // Convert exploded bac
137 Time::Exploded exploded; local
150 Time::Exploded exploded; local
158 Time::Exploded exploded; local
189 Time::Exploded exploded; local
197 Time::Exploded exploded; local
205 Time::Exploded exploded; local
364 Time::Exploded exploded; local
776 Time::Exploded exploded; local
[all...]
H A Dtime_mac.cc169 Time Time::FromExploded(bool is_local, const Exploded& exploded) { argument
171 date.second = exploded.second +
172 exploded.millisecond / static_cast<double>(kMillisecondsPerSecond);
173 date.minute = exploded.minute;
174 date.hour = exploded.hour;
175 date.day = exploded.day_of_month;
176 date.month = exploded.month;
177 date.year = exploded.year;
187 void Time::Explode(bool is_local, Exploded* exploded) const {
203 exploded
[all...]
H A Dtime_posix.cc174 void Time::Explode(bool is_local, Exploded* exploded) const {
203 exploded->year = timestruct.tm_year + 1900;
204 exploded->month = timestruct.tm_mon + 1;
205 exploded->day_of_week = timestruct.tm_wday;
206 exploded->day_of_month = timestruct.tm_mday;
207 exploded->hour = timestruct.tm_hour;
208 exploded->minute = timestruct.tm_min;
209 exploded->second = timestruct.tm_sec;
210 exploded->millisecond = millisecond;
214 Time Time::FromExploded(bool is_local, const Exploded& exploded) { argument
[all...]
H A Dtime.cc236 Exploded exploded; local
237 LocalExplode(&exploded);
238 exploded.hour = 0;
239 exploded.minute = 0;
240 exploded.second = 0;
241 exploded.millisecond = 0;
242 return FromLocalExploded(exploded);
267 Time::Exploded exploded; local
268 time.UTCExplode(&exploded);
271 exploded
[all...]
H A Dtime.h405 // Represents an exploded time that can be formatted nicely. This is kind of
516 // Converts an exploded structure representing either the local time or UTC
518 static Time FromUTCExploded(const Exploded& exploded) { argument
519 return FromExploded(false, exploded);
521 static Time FromLocalExploded(const Exploded& exploded) { argument
522 return FromExploded(true, exploded);
540 // Fills the given exploded structure with either the local time or UTC from
542 void UTCExplode(Exploded* exploded) const {
543 return Explode(false, exploded);
545 void LocalExplode(Exploded* exploded) cons
[all...]
/external/libchrome/base/third_party/nspr/
H A Dprtime.cc105 PR_ImplodeTime(const PRExplodedTime *exploded) argument
111 // Create the system struct representing our exploded time.
116 st.wYear = exploded->tm_year;
117 st.wMonth = static_cast<WORD>(exploded->tm_month + 1);
118 st.wDayOfWeek = exploded->tm_wday;
119 st.wDay = static_cast<WORD>(exploded->tm_mday);
120 st.wHour = static_cast<WORD>(exploded->tm_hour);
121 st.wMinute = static_cast<WORD>(exploded->tm_min);
122 st.wSecond = static_cast<WORD>(exploded->tm_sec);
123 st.wMilliseconds = static_cast<WORD>(exploded
[all...]
H A Dprtime.h186 PR_ImplodeTime(const PRExplodedTime *exploded); variable
189 * Adjust exploded time to normalize field overflows after manipulation.
201 PRExplodedTime *exploded, PRTimeParamFn params);
/external/libchrome/base/metrics/
H A Dfield_trial.cc37 Time::Exploded exploded; local
38 exploded.year = year;
39 exploded.month = month;
40 exploded.day_of_week = 0; // Should be unused.
41 exploded.day_of_month = day_of_month;
42 exploded.hour = 0;
43 exploded.minute = 0;
44 exploded.second = 0;
45 exploded.millisecond = 0;
47 return Time::FromLocalExploded(exploded);
311 Time::Exploded exploded; local
[all...]
H A Dfield_trial_unittest.cc39 Time::Exploded exploded; local
40 one_year_before_build_time.LocalExplode(&exploded);
41 return exploded.year;
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/ipaddr/
H A Dipaddr_test.py971 addr1.exploded)
973 ipaddr.IPv6Network('::1/128').exploded)
976 addr2.exploded)
H A Dipaddr.py431 def exploded(self): member in class:_IPAddrBase

Completed in 525 milliseconds