/external/chromium/base/ |
time_unittest.cc | 18 // C library time and exploded time. 29 Time::Exploded exploded; local 30 our_time_1.LocalExplode(&exploded); 33 EXPECT_EQ(tms.tm_year + 1900, exploded.year); 34 EXPECT_EQ(tms.tm_mon + 1, exploded.month); 35 EXPECT_EQ(tms.tm_mday, exploded.day_of_month); 36 EXPECT_EQ(tms.tm_hour, exploded.hour); 37 EXPECT_EQ(tms.tm_min, exploded.minute); 38 EXPECT_EQ(tms.tm_sec, exploded.second) 77 Time::Exploded exploded; local 90 Time::Exploded exploded; local 98 Time::Exploded exploded; local 214 Time::Exploded exploded; local [all...] |
time_posix.cc | 76 void Time::Explode(bool is_local, Exploded* exploded) const { 77 // Time stores times with microsecond resolution, but Exploded only carries 90 exploded->year = timestruct.tm_year + 1900; 91 exploded->month = timestruct.tm_mon + 1; 92 exploded->day_of_week = timestruct.tm_wday; 93 exploded->day_of_month = timestruct.tm_mday; 94 exploded->hour = timestruct.tm_hour; 95 exploded->minute = timestruct.tm_min; 96 exploded->second = timestruct.tm_sec [all...] |
time_mac.cc | 63 Time Time::FromExploded(bool is_local, const Exploded& exploded) { 65 date.second = exploded.second + 66 exploded.millisecond / static_cast<double>(kMillisecondsPerSecond); 67 date.minute = exploded.minute; 68 date.hour = exploded.hour; 69 date.day = exploded.day_of_month; 70 date.month = exploded.month; 71 date.year = exploded.year; 81 void Time::Explode(bool is_local, Exploded* exploded) const [all...] |
time.cc | 91 Exploded exploded; local 92 LocalExplode(&exploded); 93 exploded.hour = 0; 94 exploded.minute = 0; 95 exploded.second = 0; 96 exploded.millisecond = 0; 97 return FromLocalExploded(exploded); 116 // Time::Exploded ------------------------------------------------------------- 122 bool Time::Exploded::HasValidValues() const [all...] |
time_win.cc | 181 Time Time::FromExploded(bool is_local, const Exploded& exploded) { 182 // Create the system struct representing our exploded time. It will either be 185 st.wYear = exploded.year; 186 st.wMonth = exploded.month; 187 st.wDayOfWeek = exploded.day_of_week; 188 st.wDay = exploded.day_of_month; 189 st.wHour = exploded.hour; 190 st.wMinute = exploded.minute; 191 st.wSecond = exploded.second [all...] |
time.h | 205 // Represents an exploded time that can be formatted nicely. This is kind of 208 struct BASE_API Exploded { 221 // Exploded value can be successfully converted to a Time value. 293 // Converts an exploded structure representing either the local time or UTC 295 static Time FromUTCExploded(const Exploded& exploded) { 296 return FromExploded(false, exploded); 298 static Time FromLocalExploded(const Exploded& exploded) { 299 return FromExploded(true, exploded); [all...] |
message_pump_mac.mm | 197 Time::Exploded exploded; 198 absolute_work_time.UTCExplode(&exploded); 199 double seconds = exploded.second + 204 exploded.year, 205 exploded.month, 206 exploded.day_of_month, 207 exploded.hour, 208 exploded.minute,
|
/external/chromium/net/base/ |
x509_cert_types.cc | 106 base::Time::Exploded exploded = {0}; local 108 exploded.year = ParseIntAndAdvance(&field, year_length, &valid); 109 exploded.month = ParseIntAndAdvance(&field, 2, &valid); 110 exploded.day_of_month = ParseIntAndAdvance(&field, 2, &valid); 111 exploded.hour = ParseIntAndAdvance(&field, 2, &valid); 112 exploded.minute = ParseIntAndAdvance(&field, 2, &valid); 113 exploded.second = ParseIntAndAdvance(&field, 2, &valid); 115 exploded.year += exploded.year < 50 ? 2000 : 1900 [all...] |
x509_certificate_win.cc | 151 void ExplodedTimeToSystemTime(const base::Time::Exploded& exploded, 153 system_time->wYear = exploded.year; 154 system_time->wMonth = exploded.month; 155 system_time->wDayOfWeek = exploded.day_of_week; 156 system_time->wDay = exploded.day_of_month; 157 system_time->wHour = exploded.hour; 158 system_time->wMinute = exploded.minute; 159 system_time->wSecond = exploded.second; 160 system_time->wMilliseconds = exploded.millisecond 589 base::Time::Exploded exploded; local [all...] |
/external/chromium/chrome/browser/ui/webui/ |
history2_ui.cc | 209 base::Time::Exploded exploded; local 211 static_cast<time_t>(visit_time)).LocalExplode(&exploded); 212 exploded.hour = exploded.minute = exploded.second = exploded.millisecond = 0; 213 base::Time begin_time = base::Time::FromLocalExploded(exploded); 335 base::Time::Exploded exploded; local [all...] |
history_ui.cc | 209 base::Time::Exploded exploded; local 211 static_cast<time_t>(visit_time)).LocalExplode(&exploded); 212 exploded.hour = exploded.minute = exploded.second = exploded.millisecond = 0; 213 base::Time begin_time = base::Time::FromLocalExploded(exploded); 323 base::Time::Exploded exploded; local [all...] |
/external/chromium/chrome/browser/history/ |
history_publisher_win.cc | 67 base::Time::Exploded exploded; local 68 time.UTCExplode(&exploded); 70 // Create the system time struct representing our exploded time. 72 system_time.wYear = exploded.year; 73 system_time.wMonth = exploded.month; 74 system_time.wDayOfWeek = exploded.day_of_week; 75 system_time.wDay = exploded.day_of_month; 76 system_time.wHour = exploded.hour; 77 system_time.wMinute = exploded.minute [all...] |
text_database_manager_unittest.cc | 67 Time::Exploded exploded; local 68 memset(&exploded, 0, sizeof(Time::Exploded)); 71 exploded.year = 2008; 72 exploded.month = 1; 73 exploded.day_of_month = 3; 77 visit_row.visit_time = Time::FromUTCExploded(exploded); 89 exploded.day_of_month++; 91 visit_row.visit_time = Time::FromUTCExploded(exploded); [all...] |
text_database_manager.cc | 100 Time::Exploded exploded; local 101 time.UTCExplode(&exploded); 105 return exploded.year * 100 + exploded.month; 110 Time::Exploded exploded; local 111 memset(&exploded, 0, sizeof(Time::Exploded)); 112 exploded.year = id / 100 [all...] |
/external/chromium/base/metrics/ |
field_trial.cc | 54 base::Time::Exploded exploded; local 55 exploded.year = year; 56 exploded.month = month; 57 exploded.day_of_week = 0; // Should be unused. 58 exploded.day_of_month = day_of_month; 59 exploded.hour = 0; 60 exploded.minute = 0; 61 exploded.second = 0; 62 exploded.millisecond = 0 [all...] |
field_trial_unittest.cc | 19 Time::Exploded exploded; local 22 next_year_time.LocalExplode(&exploded); 23 next_year_ = exploded.year; 26 last_year_time.LocalExplode(&exploded); 27 last_year_ = exploded.year;
|
/external/chromium/chrome/browser/extensions/ |
convert_web_app_unittest.cc | 66 base::Time::Exploded exploded = {0}; local 67 exploded.year = year; 68 exploded.month = month; 69 exploded.day_of_month = day; 70 exploded.hour = hour; 71 exploded.minute = minute; 72 exploded.second = second; 73 exploded.millisecond = millisecond; 74 return base::Time::FromUTCExploded(exploded); [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
about_ipc_controller.mm | 29 base::Time::Exploded exploded; 30 t.LocalExplode(&exploded); 32 exploded.hour, exploded.minute, 33 exploded.second, exploded.millisecond];
|
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_unittest.h | 50 base::Time::Exploded time_exploded; 64 base::Time::Exploded mock_current_time_exploded = { 0 };
|
ftp_directory_listing_parser_unittest.cc | 73 base::Time::Exploded mock_current_time_exploded = { 0 }; 136 base::Time::Exploded time_exploded;
|
/external/chromium/base/third_party/nspr/ |
prtime.cc | 96 PR_ImplodeTime(const PRExplodedTime *exploded) 102 // Create the system struct representing our exploded time. 107 st.wYear = exploded->tm_year; 108 st.wMonth = exploded->tm_month + 1; 109 st.wDayOfWeek = exploded->tm_wday; 110 st.wDay = exploded->tm_mday; 111 st.wHour = exploded->tm_hour; 112 st.wMinute = exploded->tm_min; 113 st.wSecond = exploded->tm_sec; 114 st.wMilliseconds = exploded->tm_usec/1000 [all...] |
/external/chromium/chrome/browser/diagnostics/ |
diagnostics_main.cc | 252 base::Time::Exploded exploded = {0}; local 253 base::Time::Now().UTCExplode(&exploded); 255 exploded.year, exploded.month, exploded.day_of_month, 256 exploded.hour, exploded.minute, exploded.second);
|
/external/chromium/chrome/browser/ui/views/ |
about_ipc_dialog.cc | 308 base::Time::Exploded exploded; local 309 sent.LocalExplode(&exploded); 310 if (exploded.hour > 12) 311 exploded.hour -= 12; 314 exploded.hour, exploded.minute, exploded.second, exploded.millisecond);
|
/external/chromium/chrome/browser/chromeos/status/ |
clock_menu_button.cc | 56 base::Time::Exploded exploded; local 57 now.LocalExplode(&exploded); 61 int seconds_left = 60 - exploded.second;
|
/external/chromium/crypto/ |
nss_util.cc | 703 base::Time::Exploded exploded; local 704 exploded.year = prxtime.tm_year; 705 exploded.month = prxtime.tm_month + 1; 706 exploded.day_of_week = prxtime.tm_wday; 707 exploded.day_of_month = prxtime.tm_mday; 708 exploded.hour = prxtime.tm_hour; 709 exploded.minute = prxtime.tm_min; 710 exploded.second = prxtime.tm_sec; 711 exploded.millisecond = prxtime.tm_usec / 1000 [all...] |