HomeSort by relevance Sort by last modified time
    Searched refs:exploded (Results 1 - 25 of 43) 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/cert/
x509_cert_types.cc 62 base::Time::Exploded exploded = {0}; local
64 exploded.year = ParseIntAndAdvance(&field, year_length, &valid);
65 exploded.month = ParseIntAndAdvance(&field, 2, &valid);
66 exploded.day_of_month = ParseIntAndAdvance(&field, 2, &valid);
67 exploded.hour = ParseIntAndAdvance(&field, 2, &valid);
68 exploded.minute = ParseIntAndAdvance(&field, 2, &valid);
69 exploded.second = ParseIntAndAdvance(&field, 2, &valid);
71 exploded.year += exploded.year < 50 ? 2000 : 1900
    [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 226 Time Time::FromExploded(bool is_local, const Exploded& exploded) {
227 // Create the system struct representing our exploded time. It will either be
230 st.wYear = exploded.year;
231 st.wMonth = exploded.month;
232 st.wDayOfWeek = exploded.day_of_week;
233 st.wDay = exploded.day_of_month;
234 st.wHour = exploded.hour;
235 st.wMinute = exploded.minute;
236 st.wSecond = exploded.second
    [all...]
time_posix.cc 175 void Time::Explode(bool is_local, Exploded* exploded) const {
176 // Time stores times with microsecond resolution, but Exploded only carries
183 int millisecond; // Exploded millisecond value (0-999).
204 exploded->year = timestruct.tm_year + 1900;
205 exploded->month = timestruct.tm_mon + 1;
206 exploded->day_of_week = timestruct.tm_wday;
207 exploded->day_of_month = timestruct.tm_mday;
208 exploded->hour = timestruct.tm_hour;
209 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 240 // Represents an exploded time that can be formatted nicely. This is kind of
243 struct BASE_EXPORT Exploded {
256 // Exploded value can be successfully converted to a Time value.
361 // Converts an exploded structure representing either the local time or UTC
363 static Time FromUTCExploded(const Exploded& exploded) {
364 return FromExploded(false, exploded);
366 static Time FromLocalExploded(const Exploded& exploded) {
367 return FromExploded(true, exploded);
    [all...]
  /external/chromium_org/media/ffmpeg/
ffmpeg_common_unittest.cc 78 base::Time::Exploded exploded; local
79 result.UTCExplode(&exploded);
80 EXPECT_TRUE(exploded.HasValidValues());
81 EXPECT_EQ(2012, exploded.year);
82 EXPECT_EQ(11, exploded.month);
83 EXPECT_EQ(6, exploded.day_of_week);
84 EXPECT_EQ(10, exploded.day_of_month);
85 EXPECT_EQ(12, exploded.hour);
86 EXPECT_EQ(34, exploded.minute)
    [all...]
  /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/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/athena/system/
time_view.cc 46 base::Time::Exploded exploded; local
47 now.LocalExplode(&exploded);
51 int seconds_left = 60 - exploded.second;
  /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 = static_cast<WORD>(exploded->tm_month + 1);
116 st.wDayOfWeek = exploded->tm_wday;
117 st.wDay = static_cast<WORD>(exploded->tm_mday);
118 st.wHour = static_cast<WORD>(exploded->tm_hour);
119 st.wMinute = static_cast<WORD>(exploded->tm_min);
120 st.wSecond = static_cast<WORD>(exploded->tm_sec);
121 st.wMilliseconds = static_cast<WORD>(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/content/common/
page_state_serialization.h 79 ExplodedPageState* exploded);
80 CONTENT_EXPORT bool EncodePageState(const ExplodedPageState& exploded,
87 ExplodedPageState* exploded);
  /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/mojo/spy/
websocket_server.cc 59 base::Time::Exploded exploded; local
60 message_time.LocalExplode(&exploded);
65 exploded.hour,
66 exploded.minute,
67 exploded.second,
  /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...]

Completed in 2087 milliseconds

1 2