• Home
  • Raw
  • Download

Lines Matching refs:it

69   HeaderVector::const_iterator it = FindHeader(key);  in GetHeader()  local
70 if (it == headers_.end()) in GetHeader()
72 out->assign(it->value); in GetHeader()
82 HeaderVector::iterator it = FindHeader(key); in SetHeader() local
83 if (it != headers_.end()) in SetHeader()
84 it->value = value.as_string(); in SetHeader()
91 HeaderVector::iterator it = FindHeader(key); in SetHeaderIfMissing() local
92 if (it == headers_.end()) in SetHeaderIfMissing()
97 HeaderVector::iterator it = FindHeader(key); in RemoveHeader() local
98 if (it != headers_.end()) in RemoveHeader()
99 headers_.erase(it); in RemoveHeader()
153 for (std::vector<std::string>::const_iterator it = header_line_vector.begin(); in AddHeadersFromString() local
154 it != header_line_vector.end(); ++it) { in AddHeadersFromString()
155 if (!it->empty()) in AddHeadersFromString()
156 AddHeaderFromString(*it); in AddHeadersFromString()
161 for (HeaderVector::const_iterator it = other.headers_.begin(); in MergeFrom() local
162 it != other.headers_.end(); ++it ) { in MergeFrom()
163 SetHeader(it->key, it->value); in MergeFrom()
169 for (HeaderVector::const_iterator it = headers_.begin(); in ToString() local
170 it != headers_.end(); ++it) { in ToString()
171 if (!it->value.empty()) { in ToString()
173 it->key.c_str(), it->value.c_str()); in ToString()
175 base::StringAppendF(&output, "%s:\r\n", it->key.c_str()); in ToString()
184 for (HeaderVector::iterator it = headers_.begin(); in FindHeader() local
185 it != headers_.end(); ++it) { in FindHeader()
186 if (key.length() == it->key.length() && in FindHeader()
187 !base::strncasecmp(key.data(), it->key.data(), key.length())) in FindHeader()
188 return it; in FindHeader()
196 for (HeaderVector::const_iterator it = headers_.begin(); in FindHeader() local
197 it != headers_.end(); ++it) { in FindHeader()
198 if (key.length() == it->key.length() && in FindHeader()
199 !base::strncasecmp(key.data(), it->key.data(), key.length())) in FindHeader()
200 return it; in FindHeader()