OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:time_exploded
(Results
1 - 6
of
6
) 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
);
Completed in 161 milliseconds