HomeSort by relevance Sort by last modified time
    Searched refs:exploded (Results 1 - 25 of 41) sorted by null

1 2

  /external/chromium_org/crypto/
nss_util_unittest.cc 21 base::Time::Exploded exploded; local
22 prxtime.tm_year = exploded.year = 2011;
23 exploded.month = 12;
25 prxtime.tm_wday = exploded.day_of_week = 0; // Should be unusued.
26 prxtime.tm_mday = exploded.day_of_month = 10;
27 prxtime.tm_hour = exploded.hour = 2;
28 prxtime.tm_min = exploded.minute = 52;
29 prxtime.tm_sec = exploded.second = 19;
30 exploded.millisecond = 342
    [all...]
  /external/chromium_org/google_apis/drive/
time_util.cc 49 base::Time::Exploded exploded = {0}; local
95 if (!base::StringToInt(parts[0], &exploded.year) ||
96 !base::StringToInt(parts[1], &exploded.month) ||
97 !base::StringToInt(parts[2], &exploded.day_of_month)) {
109 if (!base::StringToInt(parts[0], &exploded.hour) ||
110 !base::StringToInt(parts[1], &exploded.minute)) {
119 if (!base::StringToInt(seconds_parts[0], &exploded.second))
125 !base::StringToInt(seconds_parts[1], &exploded.millisecond)) {
130 exploded.day_of_week = 0
    [all...]
time_util_unittest.cc 23 // Creates local time objects from exploded structure.
24 base::Time::Exploded exploded = {2013, 1, 0, 15, 17, 11, 35, 374}; local
25 base::Time local_time = base::Time::FromLocalExploded(exploded);
60 base::Time::Exploded target_time1 = {2005, 1, 0, 7, 8, 2, 0, 0};
67 base::Time::Exploded target_time2 = {2005, 8, 0, 9, 17, 57, 0, 0};
73 base::Time::Exploded target_time3 = {2005, 1, 0, 7, 8, 2, 0, 123};
80 base::Time::Exploded exploded_time = {2012, 7, 0, 19, 15, 59, 13, 123};
88 base::Time::Exploded exploded_time = {2012, 7, 0, 19, 15, 59, 13, 123};
  /external/chromium_org/net/cookies/
cookie_util.cc 107 base::Time::Exploded exploded = {0}; local
127 exploded.month = i + 1;
149 token.c_str(), "%2u:%2u:%2u", &exploded.hour,
150 &exploded.minute, &exploded.second) == 3) {
162 exploded.day_of_month = atoi(token.c_str());
165 exploded.year = atoi(token.c_str());
184 if (exploded.year >= 69 && exploded.year <= 99
    [all...]
  /external/chromium_org/base/time/
time_unittest.cc 56 // C library time and exploded time.
67 Time::Exploded exploded; local
68 our_time_1.LocalExplode(&exploded);
71 EXPECT_EQ(tms.tm_year + 1900, exploded.year);
72 EXPECT_EQ(tms.tm_mon + 1, exploded.month);
73 EXPECT_EQ(tms.tm_mday, exploded.day_of_month);
74 EXPECT_EQ(tms.tm_hour, exploded.hour);
75 EXPECT_EQ(tms.tm_min, exploded.minute);
76 EXPECT_EQ(tms.tm_sec, exploded.second)
133 Time::Exploded exploded; local
146 Time::Exploded exploded; local
154 Time::Exploded exploded; local
185 Time::Exploded exploded; local
193 Time::Exploded exploded; local
201 Time::Exploded exploded; local
360 Time::Exploded exploded; local
767 Time::Exploded exploded; local
    [all...]
time_mac.cc 164 Time Time::FromExploded(bool is_local, const Exploded& exploded) {
166 date.second = exploded.second +
167 exploded.millisecond / static_cast<double>(kMillisecondsPerSecond);
168 date.minute = exploded.minute;
169 date.hour = exploded.hour;
170 date.day = exploded.day_of_month;
171 date.month = exploded.month;
172 date.year = exploded.year;
182 void Time::Explode(bool is_local, Exploded* exploded) const
    [all...]
time_win.cc 209 Time Time::FromExploded(bool is_local, const Exploded& exploded) {
210 // Create the system struct representing our exploded time. It will either be
213 st.wYear = exploded.year;
214 st.wMonth = exploded.month;
215 st.wDayOfWeek = exploded.day_of_week;
216 st.wDay = exploded.day_of_month;
217 st.wHour = exploded.hour;
218 st.wMinute = exploded.minute;
219 st.wSecond = exploded.second
    [all...]
time_posix.cc 161 void Time::Explode(bool is_local, Exploded* exploded) const {
162 // Time stores times with microsecond resolution, but Exploded only carries
169 int millisecond; // Exploded millisecond value (0-999).
190 exploded->year = timestruct.tm_year + 1900;
191 exploded->month = timestruct.tm_mon + 1;
192 exploded->day_of_week = timestruct.tm_wday;
193 exploded->day_of_month = timestruct.tm_mday;
194 exploded->hour = timestruct.tm_hour;
195 exploded->minute = timestruct.tm_min
    [all...]
time.cc 203 Exploded exploded; local
204 LocalExplode(&exploded);
205 exploded.hour = 0;
206 exploded.minute = 0;
207 exploded.second = 0;
208 exploded.millisecond = 0;
209 return FromLocalExploded(exploded);
256 // Time::Exploded -------------------------------------------------------------
262 bool Time::Exploded::HasValidValues() const
    [all...]
time.h 235 // Represents an exploded time that can be formatted nicely. This is kind of
238 struct BASE_EXPORT Exploded {
251 // Exploded value can be successfully converted to a Time value.
362 // Converts an exploded structure representing either the local time or UTC
364 static Time FromUTCExploded(const Exploded& exploded) {
365 return FromExploded(false, exploded);
367 static Time FromLocalExploded(const Exploded& exploded) {
368 return FromExploded(true, exploded);
    [all...]
  /external/chromium_org/media/ffmpeg/
ffmpeg_common_unittest.cc 104 base::Time::Exploded exploded; local
105 result.UTCExplode(&exploded);
106 EXPECT_TRUE(exploded.HasValidValues());
107 EXPECT_EQ(2012, exploded.year);
108 EXPECT_EQ(11, exploded.month);
109 EXPECT_EQ(6, exploded.day_of_week);
110 EXPECT_EQ(10, exploded.day_of_month);
111 EXPECT_EQ(12, exploded.hour);
112 EXPECT_EQ(34, exploded.minute)
    [all...]
  /external/chromium_org/net/cert/
x509_cert_types.cc 122 base::Time::Exploded exploded = {0}; local
124 exploded.year = ParseIntAndAdvance(&field, year_length, &valid);
125 exploded.month = ParseIntAndAdvance(&field, 2, &valid);
126 exploded.day_of_month = ParseIntAndAdvance(&field, 2, &valid);
127 exploded.hour = ParseIntAndAdvance(&field, 2, &valid);
128 exploded.minute = ParseIntAndAdvance(&field, 2, &valid);
129 exploded.second = ParseIntAndAdvance(&field, 2, &valid);
131 exploded.year += exploded.year < 50 ? 2000 : 1900
    [all...]
  /external/chromium_org/ppapi/shared_impl/
time_conversion.cc 57 base::Time::Exploded exploded = {0}; local
58 base::Time::Exploded utc_exploded = {0};
59 time.LocalExplode(&exploded);
61 if (exploded.HasValidValues() && utc_exploded.HasValidValues()) {
62 base::Time adj_time = base::Time::FromUTCExploded(exploded);
  /external/chromium_org/chrome/browser/ui/webui/
instant_ui.cc 38 base::Time::Exploded exploded; local
39 base::Time::FromInternalValue(time).UTCExplode(&exploded);
41 exploded.year, exploded.month, exploded.day_of_month,
42 exploded.hour, exploded.minute, exploded.second, exploded.millisecond)
    [all...]
  /external/chromium_org/content/common/
page_state_serialization.h 73 ExplodedPageState* exploded);
74 CONTENT_EXPORT bool EncodePageState(const ExplodedPageState& exploded,
81 ExplodedPageState* exploded);
  /external/chromium_org/third_party/npapi/npspy/extern/nspr/
prtime.h 192 PRTime usecs, PRTimeParamFn params, PRExplodedTime *exploded);
200 PR_ImplodeTime(const PRExplodedTime *exploded);
203 * Adjust exploded time to normalize field overflows after manipulation.
215 PRExplodedTime *exploded, PRTimeParamFn params);
  /external/chromium_org/base/third_party/nspr/
prtime.cc 103 PR_ImplodeTime(const PRExplodedTime *exploded)
109 // Create the system struct representing our exploded time.
114 st.wYear = exploded->tm_year;
115 st.wMonth = exploded->tm_month + 1;
116 st.wDayOfWeek = exploded->tm_wday;
117 st.wDay = exploded->tm_mday;
118 st.wHour = exploded->tm_hour;
119 st.wMinute = exploded->tm_min;
120 st.wSecond = exploded->tm_sec;
121 st.wMilliseconds = exploded->tm_usec/1000
    [all...]
prtime.h 186 PR_ImplodeTime(const PRExplodedTime *exploded); variable
189 * Adjust exploded time to normalize field overflows after manipulation.
201 PRExplodedTime *exploded, PRTimeParamFn params);
  /external/chromium_org/chrome/browser/extensions/
convert_web_app_unittest.cc 72 base::Time::Exploded exploded = {0}; local
73 exploded.year = year;
74 exploded.month = month;
75 exploded.day_of_month = day;
76 exploded.hour = hour;
77 exploded.minute = minute;
78 exploded.second = second;
79 exploded.millisecond = millisecond;
80 return base::Time::FromUTCExploded(exploded);
    [all...]
  /external/chromium_org/base/metrics/
field_trial.cc 30 Time::Exploded exploded; local
31 exploded.year = year;
32 exploded.month = month;
33 exploded.day_of_week = 0; // Should be unused.
34 exploded.day_of_month = day_of_month;
35 exploded.hour = 0;
36 exploded.minute = 0;
37 exploded.second = 0;
38 exploded.millisecond = 0
247 Time::Exploded exploded; local
    [all...]
  /external/chromium_org/third_party/zlib/google/
zip_reader_unittest.cc 350 base::Time::Exploded exploded = {}; // Zero-clear. local
351 current_entry_info->last_modified().LocalExplode(&exploded);
352 EXPECT_EQ(2009, exploded.year);
353 EXPECT_EQ(5, exploded.month);
354 EXPECT_EQ(29, exploded.day_of_month);
355 EXPECT_EQ(6, exploded.hour);
356 EXPECT_EQ(22, exploded.minute);
357 EXPECT_EQ(20, exploded.second);
358 EXPECT_EQ(0, exploded.millisecond)
419 base::Time::Exploded exploded = {}; \/\/ Zero-clear. local
    [all...]
  /external/chromium_org/chrome/browser/metrics/variations/
variations_seed_store.cc 88 base::Time::Exploded exploded; local
89 time.UTCExplode(&exploded);
90 exploded.hour = 0;
91 exploded.minute = 0;
92 exploded.second = 0;
93 exploded.millisecond = 0;
95 return base::Time::FromUTCExploded(exploded);
  /external/chromium_org/components/nacl/browser/
pnacl_translation_cache.cc 422 base::Time::Exploded exploded; local
423 info.last_modified.UTCExplode(&exploded);
424 if (info.last_modified.is_null() || !exploded.HasValidValues()) {
425 memset(&exploded, 0, sizeof(exploded));
427 retval += "modified:" + IntToString(exploded.year) + ":" +
428 IntToString(exploded.month) + ":" +
429 IntToString(exploded.day_of_month) + ":" +
430 IntToString(exploded.hour) + ":" + IntToString(exploded.minute)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/drive/
resource_entry_conversion_unittest.cc 19 base::Time::Exploded exploded; local
20 exploded.year = 2011;
21 exploded.month = 12;
22 exploded.day_of_month = 14;
23 exploded.day_of_week = 2; // Tuesday
24 exploded.hour = 0;
25 exploded.minute = 40;
26 exploded.second = 47;
27 exploded.millisecond = 330
    [all...]
  /external/chromium_org/chrome/browser/download/
download_query.cc 110 base::Time::Exploded exploded; local
111 t.UTCExplode(&exploded);
113 "%04d-%02d-%02dT%02d:%02d:%02d.%03dZ", exploded.year, exploded.month,
114 exploded.day_of_month, exploded.hour, exploded.minute, exploded.second,
115 exploded.millisecond)
    [all...]

Completed in 1104 milliseconds

1 2