Home
last modified time | relevance | path

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

12

/external/libchrome/base/time/
Dtime_unittest.cc167 Time::Exploded exploded; in TEST_F() local
168 our_time_1.UTCExplode(&exploded); in TEST_F()
171 EXPECT_EQ(tms.tm_year + 1900, exploded.year); in TEST_F()
172 EXPECT_EQ(tms.tm_mon + 1, exploded.month); in TEST_F()
173 EXPECT_EQ(tms.tm_mday, exploded.day_of_month); in TEST_F()
174 EXPECT_EQ(tms.tm_hour, exploded.hour); in TEST_F()
175 EXPECT_EQ(tms.tm_min, exploded.minute); in TEST_F()
176 EXPECT_EQ(tms.tm_sec, exploded.second); in TEST_F()
180 EXPECT_TRUE(Time::FromUTCExploded(exploded, &our_time_2)); in TEST_F()
213 Time::Exploded exploded; in TEST_F() local
[all …]
Dtime_to_iso8601.cc13 Time::Exploded exploded; in TimeToISO8601() local
14 t.UTCExplode(&exploded); in TimeToISO8601()
15 return StringPrintf("%04d-%02d-%02dT%02d:%02d:%02d.%03dZ", exploded.year, in TimeToISO8601()
16 exploded.month, exploded.day_of_month, exploded.hour, in TimeToISO8601()
17 exploded.minute, exploded.second, exploded.millisecond); in TimeToISO8601()
Dtime_exploded_posix.cc128 void Time::Explode(bool is_local, Exploded* exploded) const { in Explode()
157 exploded->year = timestruct.tm_year + 1900; in Explode()
158 exploded->month = timestruct.tm_mon + 1; in Explode()
159 exploded->day_of_week = timestruct.tm_wday; in Explode()
160 exploded->day_of_month = timestruct.tm_mday; in Explode()
161 exploded->hour = timestruct.tm_hour; in Explode()
162 exploded->minute = timestruct.tm_min; in Explode()
163 exploded->second = timestruct.tm_sec; in Explode()
164 exploded->millisecond = millisecond; in Explode()
168 bool Time::FromExploded(bool is_local, const Exploded& exploded, Time* time) { in FromExploded() argument
[all …]
Dtime.cc296 Exploded exploded; in LocalMidnight() local
297 LocalExplode(&exploded); in LocalMidnight()
298 exploded.hour = 0; in LocalMidnight()
299 exploded.minute = 0; in LocalMidnight()
300 exploded.second = 0; in LocalMidnight()
301 exploded.millisecond = 0; in LocalMidnight()
303 if (FromLocalExploded(exploded, &out_time)) in LocalMidnight()
340 Time::Exploded exploded; in operator <<() local
341 time.UTCExplode(&exploded); in operator <<()
344 exploded.year, in operator <<()
[all …]
Dtime.h629 static bool FromUTCExploded(const Exploded& exploded, in FromUTCExploded() argument
631 return FromExploded(false, exploded, time); in FromUTCExploded()
633 static bool FromLocalExploded(const Exploded& exploded, in FromLocalExploded() argument
635 return FromExploded(true, exploded, time); in FromLocalExploded()
657 void UTCExplode(Exploded* exploded) const { in UTCExplode() argument
658 return Explode(false, exploded); in UTCExplode()
660 void LocalExplode(Exploded* exploded) const { in LocalExplode() argument
661 return Explode(true, exploded); in LocalExplode()
684 void Explode(bool is_local, Exploded* exploded) const;
691 const Exploded& exploded,
/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/
Dpersistent_histogram_storage.cc85 Time::Exploded exploded; in ~PersistentHistogramStorage() local
86 Time::Now().LocalExplode(&exploded); in ~PersistentHistogramStorage()
89 .AppendASCII(StringPrintf("%04d%02d%02d%02d%02d%02d", exploded.year, in ~PersistentHistogramStorage()
90 exploded.month, exploded.day_of_month, in ~PersistentHistogramStorage()
91 exploded.hour, exploded.minute, in ~PersistentHistogramStorage()
92 exploded.second)) in ~PersistentHistogramStorage()
Dfield_trial.cc104 Time::Exploded exploded; in CreateTimeFromParams() local
105 exploded.year = year; in CreateTimeFromParams()
106 exploded.month = month; in CreateTimeFromParams()
107 exploded.day_of_week = 0; // Should be unused. in CreateTimeFromParams()
108 exploded.day_of_month = day_of_month; in CreateTimeFromParams()
109 exploded.hour = 0; in CreateTimeFromParams()
110 exploded.minute = 0; in CreateTimeFromParams()
111 exploded.second = 0; in CreateTimeFromParams()
112 exploded.millisecond = 0; in CreateTimeFromParams()
114 if (!Time::FromLocalExploded(exploded, &out_time)) { in CreateTimeFromParams()
[all …]
Dfield_trial_unittest.cc48 Time::Exploded exploded; in OneYearBeforeBuildTime() local
49 one_year_before_build_time.LocalExplode(&exploded); in OneYearBeforeBuildTime()
50 return exploded.year; in OneYearBeforeBuildTime()
/external/zlib/google/
Dzip_reader_unittest.cc290 base::Time::Exploded exploded = {}; // Zero-clear. in TEST_F() local
291 current_entry_info->last_modified().LocalExplode(&exploded); in TEST_F()
292 EXPECT_EQ(2009, exploded.year); in TEST_F()
293 EXPECT_EQ(5, exploded.month); in TEST_F()
294 EXPECT_EQ(29, exploded.day_of_month); in TEST_F()
295 EXPECT_EQ(6, exploded.hour); in TEST_F()
296 EXPECT_EQ(22, exploded.minute); in TEST_F()
297 EXPECT_EQ(20, exploded.second); in TEST_F()
298 EXPECT_EQ(0, exploded.millisecond); in TEST_F()
359 base::Time::Exploded exploded = {}; // Zero-clear. in TEST_F() local
[all …]
/external/angle/third_party/zlib/google/
Dzip_reader_unittest.cc290 base::Time::Exploded exploded = {}; // Zero-clear. in TEST_F() local
291 current_entry_info->last_modified().UTCExplode(&exploded); in TEST_F()
292 EXPECT_EQ(2009, exploded.year); in TEST_F()
293 EXPECT_EQ(5, exploded.month); in TEST_F()
294 EXPECT_EQ(29, exploded.day_of_month); in TEST_F()
295 EXPECT_EQ(6, exploded.hour); in TEST_F()
296 EXPECT_EQ(22, exploded.minute); in TEST_F()
297 EXPECT_EQ(20, exploded.second); in TEST_F()
298 EXPECT_EQ(0, exploded.millisecond); in TEST_F()
359 base::Time::Exploded exploded = {}; // Zero-clear. in TEST_F() local
[all …]
/external/libchrome/base/test/launcher/
Dtest_results_tracker.cc41 Time::Exploded exploded; in FormatTimeAsIso8601() local
42 time.UTCExplode(&exploded); in FormatTimeAsIso8601()
44 exploded.year, in FormatTimeAsIso8601()
45 exploded.month, in FormatTimeAsIso8601()
46 exploded.day_of_month, in FormatTimeAsIso8601()
47 exploded.hour, in FormatTimeAsIso8601()
48 exploded.minute, in FormatTimeAsIso8601()
49 exploded.second); in FormatTimeAsIso8601()
/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/llvm-project/clang/test/Analysis/exploded-graph-rewriter/
Dlit.local.cfg15 'utils', 'analyzer', 'exploded-graph-rewriter.py'))))
/external/libchrome/libchrome_tools/patches/
Dlibchrome-fix-integer-overflow-if-microseconds-is-IN.patch15 @@ -141,8 +141,7 @@ void Time::Explode(bool is_local, Exploded* exploded) const {
/external/python/cpython3/Doc/library/
Dipaddress.rst134 .. attribute:: exploded
241 This describes an *exploded* (longhand) notation. The string can
269 .. attribute:: exploded
511 .. attribute:: exploded
518 ``exploded`` uses the exploded form the network address.
705 .. attribute:: exploded
/external/llvm-project/clang/lib/StaticAnalyzer/
DREADME.txt25 node in an exploded graph (ExplodedGraph). The term "exploded" comes
/external/clang/lib/StaticAnalyzer/
DREADME.txt25 node in an exploded graph (ExplodedGraph). The term "exploded" comes
/external/python/cpython3/Doc/howto/
Dipaddress.rst222 >>> addr6.exploded
226 >>> net6.exploded
/external/python/ipaddress/
Dtest_ipaddress.py2020 addr1.exploded)
2022 ipaddress.IPv6Interface('::1/128').exploded)
2025 addr2.exploded)
2027 addr3.exploded)
2028 self.assertEqual('192.168.178.1', addr4.exploded)
Dipaddress.py512 def exploded(self): member in _IPAddressBase
1985 reverse_chars = self.exploded[::-1].replace(':', '')
/external/python/cpython3/Lib/
Dipaddress.py392 def exploded(self): member in _IPAddressBase
1837 reverse_chars = self.exploded[::-1].replace(':', '')
/external/python/cpython3/Lib/test/
Dtest_ipaddress.py2441 addr1.exploded)
2443 ipaddress.IPv6Interface('::1/128').exploded)
2446 addr2.exploded)
2448 addr3.exploded)
2449 self.assertEqual('192.168.178.1', addr4.exploded)
/external/clang/include/clang/Driver/
DCC1Options.td80 HelpText<"Display exploded graph using GraphViz">;
82 HelpText<"Display exploded graph using Ubigraph">;

12