Lines Matching refs:attributes
216 // The reason for this complexity is that some attributes may contain trailing
238 void HttpComposeAttributes(const HttpAttributeList& attributes, char separator,
241 for (size_t i=0; i<attributes.size(); ++i) {
245 ss << attributes[i].first;
246 if (!attributes[i].second.empty()) {
247 ss << "=\"" << EscapeAttribute(attributes[i].second) << "\"";
254 HttpAttributeList& attributes) {
262 // End of attributes?
298 attributes.push_back(attribute);
303 bool HttpHasAttribute(const HttpAttributeList& attributes,
306 for (HttpAttributeList::const_iterator it = attributes.begin();
307 it != attributes.end(); ++it) {
318 bool HttpHasNthAttribute(HttpAttributeList& attributes,
322 if (index >= attributes.size())
326 *name = attributes[index].first;
328 *value = attributes[index].second;