/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/chrome/browser/chromeos/drive/ |
resource_entry_conversion_unittest.cc | 44 base::Time::Exploded exploded; local 45 exploded.year = 2011; 46 exploded.month = 12; 47 exploded.day_of_month = 13; 48 exploded.day_of_week = 2; // Tuesday 49 exploded.hour = 0; 50 exploded.minute = 40; 51 exploded.second = 47; 52 exploded.millisecond = 330 58 base::Time::Exploded exploded; local 117 base::Time::Exploded exploded; local 198 base::Time::Exploded exploded; local 268 base::Time::Exploded exploded; local [all...] |
/external/chromium_org/chrome/browser/google_apis/ |
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...] |
/external/chromium/base/ |
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_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_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_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.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...] |
/external/chromium_org/net/cookies/ |
cookie_util.cc | 106 base::Time::Exploded exploded = {0}; local 126 exploded.month = i + 1; 148 token.c_str(), "%2u:%2u:%2u", &exploded.hour, 149 &exploded.minute, &exploded.second) == 3) { 161 exploded.day_of_month = atoi(token.c_str()); 164 exploded.year = atoi(token.c_str()); 183 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 700 Time::Exploded exploded; local [all...] |
time_mac.cc | 132 Time Time::FromExploded(bool is_local, const Exploded& exploded) { 134 date.second = exploded.second + 135 exploded.millisecond / static_cast<double>(kMillisecondsPerSecond); 136 date.minute = exploded.minute; 137 date.hour = exploded.hour; 138 date.day = exploded.day_of_month; 139 date.month = exploded.month; 140 date.year = exploded.year; 150 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 | 158 void Time::Explode(bool is_local, Exploded* exploded) const { 159 // Time stores times with microsecond resolution, but Exploded only carries 166 int millisecond; // Exploded millisecond value (0-999). 187 exploded->year = timestruct.tm_year + 1900; 188 exploded->month = timestruct.tm_mon + 1; 189 exploded->day_of_week = timestruct.tm_wday; 190 exploded->day_of_month = timestruct.tm_mday; 191 exploded->hour = timestruct.tm_hour; 192 exploded->minute = timestruct.tm_min [all...] |
time.cc | 149 Exploded exploded; local 150 LocalExplode(&exploded); 151 exploded.hour = 0; 152 exploded.minute = 0; 153 exploded.second = 0; 154 exploded.millisecond = 0; 155 return FromLocalExploded(exploded); 179 // Time::Exploded ------------------------------------------------------------- 185 bool Time::Exploded::HasValidValues() const [all...] |
/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...] |
/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/chrome/browser/history/ |
history_publisher_win.cc | 52 base::Time::Exploded exploded; local 53 time.UTCExplode(&exploded); 55 // Create the system time struct representing our exploded time. 57 system_time.wYear = exploded.year; 58 system_time.wMonth = exploded.month; 59 system_time.wDayOfWeek = exploded.day_of_week; 60 system_time.wDay = exploded.day_of_month; 61 system_time.wHour = exploded.hour; 62 system_time.wMinute = exploded.minute [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_org/ppapi/shared_impl/ |
time_conversion.cc | 59 base::Time::Exploded exploded = { 0 }; local 60 base::Time::Exploded utc_exploded = { 0 }; 61 time.LocalExplode(&exploded); 63 if (exploded.HasValidValues() && utc_exploded.HasValidValues()) { 64 base::Time adj_time = base::Time::FromUTCExploded(exploded);
|
/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...] |
/external/chromium_org/chrome/browser/ui/webui/ |
instant_ui.cc | 37 base::Time::Exploded exploded; local 38 base::Time::FromInternalValue(time).UTCExplode(&exploded); 40 exploded.year, exploded.month, exploded.day_of_month, 41 exploded.hour, exploded.minute, exploded.second, exploded.millisecond) [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...] |
/external/chromium_org/content/common/ |
page_state_serialization.h | 75 ExplodedPageState* exploded); 76 CONTENT_EXPORT bool EncodePageState(const ExplodedPageState& exploded, 83 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);
|