Home
last modified time | relevance | path

Searched refs:date_parts (Results 1 – 5 of 5) sorted by relevance

/external/chromium/net/ftp/
Dftp_directory_listing_parser_windows.cc25 std::vector<string16> date_parts; in WindowsDateListingToTime() local
26 base::SplitString(columns[0], '-', &date_parts); in WindowsDateListingToTime()
27 if (date_parts.size() != 3) in WindowsDateListingToTime()
29 if (!base::StringToInt(date_parts[0], &time_exploded.month)) in WindowsDateListingToTime()
31 if (!base::StringToInt(date_parts[1], &time_exploded.day_of_month)) in WindowsDateListingToTime()
33 if (!base::StringToInt(date_parts[2], &time_exploded.year)) in WindowsDateListingToTime()
Dftp_directory_listing_parser_vms.cc145 std::vector<string16> date_parts; in VmsDateListingToTime() local
146 base::SplitString(columns[2], '-', &date_parts); in VmsDateListingToTime()
147 if (date_parts.size() != 3) in VmsDateListingToTime()
149 if (!base::StringToInt(date_parts[0], &time_exploded.day_of_month)) in VmsDateListingToTime()
151 if (!FtpUtil::AbbreviatedMonthToNumber(date_parts[1], in VmsDateListingToTime()
154 if (!base::StringToInt(date_parts[2], &time_exploded.year)) in VmsDateListingToTime()
/external/chromium_org/net/ftp/
Dftp_directory_listing_parser_ls.cc25 std::vector<base::string16> date_parts; in TwoColumnDateListingToTime() local
26 base::SplitString(date, '-', &date_parts); in TwoColumnDateListingToTime()
27 if (date_parts.size() != 3) in TwoColumnDateListingToTime()
29 if (!base::StringToInt(date_parts[0], &time_exploded.year)) in TwoColumnDateListingToTime()
31 if (!base::StringToInt(date_parts[1], &time_exploded.month)) in TwoColumnDateListingToTime()
33 if (!base::StringToInt(date_parts[2], &time_exploded.day_of_month)) in TwoColumnDateListingToTime()
Dftp_directory_listing_parser_vms.cc159 std::vector<base::string16> date_parts; in VmsDateListingToTime() local
160 base::SplitString(columns[2], '-', &date_parts); in VmsDateListingToTime()
161 if (date_parts.size() != 3) in VmsDateListingToTime()
163 if (!base::StringToInt(date_parts[0], &time_exploded.day_of_month)) in VmsDateListingToTime()
165 if (!FtpUtil::AbbreviatedMonthToNumber(date_parts[1], in VmsDateListingToTime()
168 if (!base::StringToInt(date_parts[2], &time_exploded.year)) in VmsDateListingToTime()
Dftp_util.cc297 std::vector<base::string16> date_parts; in WindowsDateListingToTime() local
298 base::SplitString(date, '-', &date_parts); in WindowsDateListingToTime()
299 if (date_parts.size() != 3) in WindowsDateListingToTime()
301 if (!base::StringToInt(date_parts[0], &time_exploded.month)) in WindowsDateListingToTime()
303 if (!base::StringToInt(date_parts[1], &time_exploded.day_of_month)) in WindowsDateListingToTime()
305 if (!base::StringToInt(date_parts[2], &time_exploded.year)) in WindowsDateListingToTime()