Home
last modified time | relevance | path

Searched refs:type_end (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/net/http/
Dhttp_content_disposition.cc351 std::string::const_iterator type_end = delimiter; in ConsumeDispositionType() local
352 HttpUtil::TrimLWS(&type_begin, &type_end); in ConsumeDispositionType()
357 if (!HttpUtil::IsToken(type_begin, type_end)) in ConsumeDispositionType()
362 DCHECK(std::find(type_begin, type_end, '=') == type_end); in ConsumeDispositionType()
364 if (LowerCaseEqualsASCII(type_begin, type_end, "inline")) { in ConsumeDispositionType()
366 } else if (LowerCaseEqualsASCII(type_begin, type_end, "attachment")) { in ConsumeDispositionType()
Dhttp_util.cc92 size_t type_end = content_type_str.find_first_of(HTTP_LWS ";(", type_val); in ParseContentType() local
93 if (type_end == std::string::npos) in ParseContentType()
94 type_end = content_type_str.length(); in ParseContentType()
101 size_t param_start = content_type_str.find_first_of(';', type_end); in ParseContentType()
164 begin + type_end, in ParseContentType()
167 mime_type->assign(begin + type_val, begin + type_end); in ParseContentType()
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
Ddata_socket.cc263 const char* type_end = strstr(headers, "\r\n"); in ParseContentLengthAndType() local
264 if (type_end == NULL) in ParseContentLengthAndType()
265 type_end = end; in ParseContentLengthAndType()
266 content_type_.assign(headers, type_end); in ParseContentLengthAndType()