Lines Matching refs:terms
105 vector<string> terms = base::SplitString(lines[0], in ParseRequest() local
109 CHECK_EQ(terms.size(), static_cast<vector<string>::size_type>(3)); in ParseRequest()
110 CHECK_EQ(terms[0], "GET"); in ParseRequest()
111 request->url = terms[1]; in ParseRequest()
117 terms = base::SplitString(lines[i], in ParseRequest()
122 if (terms[0] == "Range:") { in ParseRequest()
123 CHECK_EQ(terms.size(), static_cast<vector<string>::size_type>(2)); in ParseRequest()
124 string& range = terms[1]; in ParseRequest()
143 } else if (terms[0] == "Host:") { in ParseRequest()
144 CHECK_EQ(terms.size(), static_cast<vector<string>::size_type>(2)); in ParseRequest()
145 request->host = terms[1]; in ParseRequest()
504 terms = base::SplitString( in UrlTerms()
508 CHECK_EQ(terms.size(), num_terms); in UrlTerms()
511 inline const string& Get(const off_t index) const { return terms[index]; } in Get()
521 vector<string> terms; member in chromeos_update_engine::UrlTerms
534 const UrlTerms terms(url, 2); in HandleConnection() local
535 HandleGet(fd, request, terms.GetSizeT(1)); in HandleConnection()
537 const UrlTerms terms(url, 5); in HandleConnection() local
540 terms.GetSizeT(1), in HandleConnection()
541 terms.GetSizeT(2), in HandleConnection()
542 terms.GetInt(3), in HandleConnection()
543 terms.GetInt(4)); in HandleConnection()
550 const UrlTerms terms(url, 3); in HandleConnection() local
551 HandleErrorIfOffset(fd, request, terms.GetSizeT(1), terms.GetInt(2)); in HandleConnection()