HomeSort by relevance Sort by last modified time
    Searched refs:time_exploded (Results 1 - 13 of 13) sorted by null

  /external/chromium/net/ftp/
ftp_directory_listing_parser_windows.cc 22 base::Time::Exploded time_exploded = { 0 }; local
29 if (!base::StringToInt(date_parts[0], &time_exploded.month))
31 if (!base::StringToInt(date_parts[1], &time_exploded.day_of_month))
33 if (!base::StringToInt(date_parts[2], &time_exploded.year))
35 if (time_exploded.year < 0)
39 if (time_exploded.year < 80)
40 time_exploded.year += 2000;
41 else if (time_exploded.year < 100)
42 time_exploded.year += 1900;
51 if (!base::StringToInt(time_parts[0], &time_exploded.hour)
    [all...]
ftp_directory_listing_parser_unittest.h 50 base::Time::Exploded time_exploded; local
51 entry.last_modified.LocalExplode(&time_exploded);
54 EXPECT_EQ(test_case.year, time_exploded.year);
55 EXPECT_EQ(test_case.month, time_exploded.month);
56 EXPECT_EQ(test_case.day_of_month, time_exploded.day_of_month);
57 EXPECT_EQ(test_case.hour, time_exploded.hour);
58 EXPECT_EQ(test_case.minute, time_exploded.minute);
ftp_util_unittest.cc 166 base::Time::Exploded time_exploded; local
167 time.LocalExplode(&time_exploded);
168 EXPECT_EQ(kTestCases[i].expected_year, time_exploded.year);
169 EXPECT_EQ(kTestCases[i].expected_month, time_exploded.month);
170 EXPECT_EQ(kTestCases[i].expected_day_of_month, time_exploded.day_of_month);
171 EXPECT_EQ(kTestCases[i].expected_hour, time_exploded.hour);
172 EXPECT_EQ(kTestCases[i].expected_minute, time_exploded.minute);
173 EXPECT_EQ(0, time_exploded.second);
174 EXPECT_EQ(0, time_exploded.millisecond);
ftp_directory_listing_parser_unittest.cc 136 base::Time::Exploded time_exploded; local
137 entry.last_modified.LocalExplode(&time_exploded);
138 EXPECT_EQ(year, time_exploded.year);
139 EXPECT_EQ(month, time_exploded.month);
140 EXPECT_EQ(day_of_month, time_exploded.day_of_month);
141 EXPECT_EQ(hour, time_exploded.hour);
142 EXPECT_EQ(minute, time_exploded.minute);
ftp_util.cc 162 base::Time::Exploded time_exploded = { 0 }; local
164 if (!AbbreviatedMonthToNumber(month, &time_exploded.month))
167 if (!base::StringToInt(day, &time_exploded.day_of_month))
169 if (time_exploded.day_of_month > 31)
172 if (!base::StringToInt(rest, &time_exploded.year)) {
177 &time_exploded.hour))
182 &time_exploded.minute))
188 &time_exploded.hour))
193 &time_exploded.minute))
205 if (time_exploded.month > current_exploded.month |
    [all...]
ftp_directory_listing_parser_vms.cc 142 base::Time::Exploded time_exploded = { 0 }; local
149 if (!base::StringToInt(date_parts[0], &time_exploded.day_of_month))
152 &time_exploded.month))
154 if (!base::StringToInt(date_parts[2], &time_exploded.year))
170 if (!base::StringToInt(time_parts[0], &time_exploded.hour))
172 if (!base::StringToInt(time_parts[1], &time_exploded.minute))
176 *time = base::Time::FromLocalExploded(time_exploded);
  /external/chromium_org/net/ftp/
ftp_util_unittest.cc 173 base::Time::Exploded time_exploded; local
174 time.LocalExplode(&time_exploded);
175 EXPECT_EQ(kTestCases[i].expected_year, time_exploded.year);
176 EXPECT_EQ(kTestCases[i].expected_month, time_exploded.month);
177 EXPECT_EQ(kTestCases[i].expected_day_of_month, time_exploded.day_of_month);
178 EXPECT_EQ(kTestCases[i].expected_hour, time_exploded.hour);
179 EXPECT_EQ(kTestCases[i].expected_minute, time_exploded.minute);
180 EXPECT_EQ(0, time_exploded.second);
181 EXPECT_EQ(0, time_exploded.millisecond);
214 base::Time::Exploded time_exploded; local
    [all...]
ftp_directory_listing_parser_unittest.h 49 base::Time::Exploded time_exploded; local
50 entry.last_modified.LocalExplode(&time_exploded);
53 EXPECT_EQ(test_case.year, time_exploded.year);
54 EXPECT_EQ(test_case.month, time_exploded.month);
55 EXPECT_EQ(test_case.day_of_month, time_exploded.day_of_month);
56 EXPECT_EQ(test_case.hour, time_exploded.hour);
57 EXPECT_EQ(test_case.minute, time_exploded.minute);
ftp_util.cc 230 base::Time::Exploded time_exploded = { 0 }; local
232 if (!AbbreviatedMonthToNumber(month, &time_exploded.month)) {
237 &time_exploded.month)) {
242 if (!base::StringToInt(day, &time_exploded.day_of_month))
244 if (time_exploded.day_of_month > 31)
247 if (!base::StringToInt(rest, &time_exploded.year)) {
261 &time_exploded.hour)) {
266 &time_exploded.minute)) {
276 if (time_exploded.month > current_exploded.month ||
277 (time_exploded.month == current_exploded.month &
294 base::Time::Exploded time_exploded = { 0 }; local
    [all...]
ftp_directory_listing_parser_unittest.cc 97 base::Time::Exploded time_exploded; local
98 entry.last_modified.LocalExplode(&time_exploded);
99 EXPECT_EQ(year, time_exploded.year);
100 EXPECT_EQ(month, time_exploded.month);
101 EXPECT_EQ(day_of_month, time_exploded.day_of_month);
102 EXPECT_EQ(hour, time_exploded.hour);
103 EXPECT_EQ(minute, time_exploded.minute);
ftp_directory_listing_parser_ls.cc 22 base::Time::Exploded time_exploded = { 0 }; local
29 if (!base::StringToInt(date_parts[0], &time_exploded.year))
31 if (!base::StringToInt(date_parts[1], &time_exploded.month))
33 if (!base::StringToInt(date_parts[2], &time_exploded.day_of_month))
44 if (!base::StringToInt(time_parts[0], &time_exploded.hour))
46 if (!base::StringToInt(time_parts[1], &time_exploded.minute))
48 if (!time_exploded.HasValidValues())
52 *result = base::Time::FromLocalExploded(time_exploded);
ftp_directory_listing_parser_vms.cc 156 base::Time::Exploded time_exploded = { 0 }; local
163 if (!base::StringToInt(date_parts[0], &time_exploded.day_of_month))
166 &time_exploded.month))
168 if (!base::StringToInt(date_parts[2], &time_exploded.year))
184 if (!base::StringToInt(time_parts[0], &time_exploded.hour))
186 if (!base::StringToInt(time_parts[1], &time_exploded.minute))
190 *time = base::Time::FromLocalExploded(time_exploded);
  /external/chromium_org/chrome/test/logging/win/
log_file_printer.cc 142 base::Time::Exploded time_exploded = {}; local
145 base::Time::FromFileTime(event_time).LocalExplode(&time_exploded);
148 << std::setw(2) << time_exploded.month
149 << std::setw(2) << time_exploded.day_of_month
151 << std::setw(2) << time_exploded.hour
152 << std::setw(2) << time_exploded.minute
153 << std::setw(2) << time_exploded.second
155 << std::setw(3) << time_exploded.millisecond;

Completed in 235 milliseconds