Home
last modified time | relevance | path

Searched refs:exploded (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/time/
Dtime_unittest.cc117 Time::Exploded exploded; in TEST_F() local
118 our_time_1.LocalExplode(&exploded); in TEST_F()
121 EXPECT_EQ(tms.tm_year + 1900, exploded.year); in TEST_F()
122 EXPECT_EQ(tms.tm_mon + 1, exploded.month); in TEST_F()
123 EXPECT_EQ(tms.tm_mday, exploded.day_of_month); in TEST_F()
124 EXPECT_EQ(tms.tm_hour, exploded.hour); in TEST_F()
125 EXPECT_EQ(tms.tm_min, exploded.minute); in TEST_F()
126 EXPECT_EQ(tms.tm_sec, exploded.second); in TEST_F()
130 EXPECT_TRUE(Time::FromLocalExploded(exploded, &our_time_2)); in TEST_F()
185 Time::Exploded exploded; in TEST_F() local
[all …]
Dtime_mac.cc171 bool Time::FromExploded(bool is_local, const Exploded& exploded, Time* time) { in FromExploded() argument
183 gregorian, &absolute_time, "yMdHmsS", exploded.year, exploded.month, in FromExploded()
184 exploded.day_of_month, exploded.hour, exploded.minute, exploded.second, in FromExploded()
185 exploded.millisecond); in FromExploded()
202 if (ExplodedMostlyEquals(to_exploded, exploded)) { in FromExploded()
211 void Time::Explode(bool is_local, Exploded* exploded) const { in Explode()
233 &exploded->year, &exploded->month, in Explode()
234 &exploded->day_of_month, &exploded->hour, in Explode()
235 &exploded->minute, &second, &day_of_week); in Explode()
237 exploded->second = floor(second); in Explode()
[all …]
Dtime_posix.cc174 void Time::Explode(bool is_local, Exploded* exploded) const { in Explode()
203 exploded->year = timestruct.tm_year + 1900; in Explode()
204 exploded->month = timestruct.tm_mon + 1; in Explode()
205 exploded->day_of_week = timestruct.tm_wday; in Explode()
206 exploded->day_of_month = timestruct.tm_mday; in Explode()
207 exploded->hour = timestruct.tm_hour; in Explode()
208 exploded->minute = timestruct.tm_min; in Explode()
209 exploded->second = timestruct.tm_sec; in Explode()
210 exploded->millisecond = millisecond; in Explode()
214 bool Time::FromExploded(bool is_local, const Exploded& exploded, Time* time) { in FromExploded() argument
[all …]
Dtime.cc231 Exploded exploded; in LocalMidnight() local
232 LocalExplode(&exploded); in LocalMidnight()
233 exploded.hour = 0; in LocalMidnight()
234 exploded.minute = 0; in LocalMidnight()
235 exploded.second = 0; in LocalMidnight()
236 exploded.millisecond = 0; in LocalMidnight()
237 return FromLocalExploded(exploded); in LocalMidnight()
270 Time::Exploded exploded; in operator <<() local
271 time.UTCExplode(&exploded); in operator <<()
274 exploded.year, in operator <<()
[all …]
Dtime.h527 static Time FromUTCExploded(const Exploded& exploded) { in FromUTCExploded() argument
529 ignore_result(FromUTCExploded(exploded, &time)); in FromUTCExploded()
532 static Time FromLocalExploded(const Exploded& exploded) { in FromLocalExploded() argument
534 ignore_result(FromLocalExploded(exploded, &time)); in FromLocalExploded()
541 static bool FromUTCExploded(const Exploded& exploded, in FromUTCExploded() argument
543 return FromExploded(false, exploded, time); in FromUTCExploded()
545 static bool FromLocalExploded(const Exploded& exploded, in FromLocalExploded() argument
547 return FromExploded(true, exploded, time); in FromLocalExploded()
567 void UTCExplode(Exploded* exploded) const { in UTCExplode() argument
568 return Explode(false, exploded); in UTCExplode()
[all …]
/external/libchrome/crypto/
Dnss_util_unittest.cc21 base::Time::Exploded exploded; in TEST() local
22 exploded.year = prxtime.tm_year = 2011; in TEST()
23 exploded.month = 12; in TEST()
28 exploded.day_of_week = prxtime.tm_wday = 0; // Should be unused. in TEST()
29 exploded.day_of_month = prxtime.tm_mday = 10; in TEST()
30 exploded.hour = prxtime.tm_hour = 2; in TEST()
31 exploded.minute = prxtime.tm_min = 52; in TEST()
32 exploded.second = prxtime.tm_sec = 19; in TEST()
33 exploded.millisecond = 342; in TEST()
38 EXPECT_TRUE(base::Time::FromUTCExploded(exploded, &base_time)); in TEST()
/external/libchrome/base/metrics/
Dfield_trial.cc38 Time::Exploded exploded; in CreateTimeFromParams() local
39 exploded.year = year; in CreateTimeFromParams()
40 exploded.month = month; in CreateTimeFromParams()
41 exploded.day_of_week = 0; // Should be unused. in CreateTimeFromParams()
42 exploded.day_of_month = day_of_month; in CreateTimeFromParams()
43 exploded.hour = 0; in CreateTimeFromParams()
44 exploded.minute = 0; in CreateTimeFromParams()
45 exploded.second = 0; in CreateTimeFromParams()
46 exploded.millisecond = 0; in CreateTimeFromParams()
48 if (!Time::FromLocalExploded(exploded, &out_time)) { in CreateTimeFromParams()
[all …]
Dfield_trial_unittest.cc39 Time::Exploded exploded; in OneYearBeforeBuildTime() local
40 one_year_before_build_time.LocalExplode(&exploded); in OneYearBeforeBuildTime()
41 return exploded.year; in OneYearBeforeBuildTime()
/external/libchrome/base/third_party/nspr/
Dprtime.h197 PR_ImplodeTime(const PRExplodedTime *exploded);
212 PRExplodedTime *exploded, PRTimeParamFn params);
Dprtime.cc137 PR_ImplodeTime(const PRExplodedTime *exploded) in PR_ImplodeTime() argument
148 copy = *exploded; in PR_ImplodeTime()
/external/clang/lib/StaticAnalyzer/
DREADME.txt25 node in an exploded graph (ExplodedGraph). The term "exploded" comes
/external/clang/include/clang/Driver/
DCC1Options.td80 HelpText<"Display exploded graph using GraphViz">;
82 HelpText<"Display exploded graph using Ubigraph">;
/external/jline/src/src/test/resources/jline/example/
Denglish.gz