/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/chrome_cleaner/http/ |
H A D | internet_helpers.cc | 60 void ParseContentType(const std::wstring& content_type_str, in ParseContentType() argument 65 const std::wstring::const_iterator begin = content_type_str.begin(); in ParseContentType() 70 size_t type_val = content_type_str.find_first_not_of(kHttpLws); in ParseContentType() 71 type_val = std::min(type_val, content_type_str.length()); in ParseContentType() 75 type_end = content_type_str.length(); in ParseContentType() 82 size_t param_start = content_type_str.find_first_of(';', type_end); in ParseContentType() 85 tokenizer(begin + param_start, content_type_str.end(), L";"); in ParseContentType() 123 wchar_t first_char = content_type_str[charset_val]; in ParseContentType() 129 charset_end = std::min(content_type_str.find_first_of( in ParseContentType() 141 if (content_type_str.length() != 0 && content_type_str != L"*/*" && in ParseContentType() [all …]
|
H A D | internet_helpers.h | 26 void ParseContentType(const std::wstring& content_type_str,
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/http/ |
H A D | http_util.cc | 106 type_end = content_type_str.length(); in ParseContentType() 118 while (offset < content_type_str.size()) { in ParseContentType() 119 DCHECK_EQ(';', content_type_str[offset]); in ParseContentType() 140 DCHECK_EQ('=', content_type_str[offset]); in ParseContentType() 168 value_end = content_type_str.size(); in ParseContentType() 181 DCHECK_EQ('"', content_type_str[offset]); in ParseContentType() 184 while (offset < content_type_str.size() && in ParseContentType() 185 content_type_str[offset] != '"') { in ParseContentType() 189 if (content_type_str[offset] == '\\' && in ParseContentType() 193 param_value += content_type_str[offset]; in ParseContentType() [all …]
|
H A D | http_util.h | 55 static void ParseContentType(const std::string& content_type_str,
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/http/ |
H A D | http_util.cc | 108 type_end = content_type_str.length(); in ParseContentType() 120 while (offset < content_type_str.size()) { in ParseContentType() 121 DCHECK_EQ(';', content_type_str[offset]); in ParseContentType() 142 DCHECK_EQ('=', content_type_str[offset]); in ParseContentType() 170 value_end = content_type_str.size(); in ParseContentType() 183 DCHECK_EQ('"', content_type_str[offset]); in ParseContentType() 186 while (offset < content_type_str.size() && in ParseContentType() 187 content_type_str[offset] != '"') { in ParseContentType() 191 if (content_type_str[offset] == '\\' && in ParseContentType() 195 param_value += content_type_str[offset]; in ParseContentType() [all …]
|
/dports/www/flickcurl/flickcurl-1.26/src/ |
H A D | prefs-api.c | 56 char* content_type_str = NULL; in flickcurl_prefs_getContentType() local 78 content_type_str = flickcurl_xpath_eval(fc, xpathCtx, in flickcurl_prefs_getContentType() 80 if(content_type_str) { in flickcurl_prefs_getContentType() 81 content_type = atoi(content_type_str); in flickcurl_prefs_getContentType() 82 free(content_type_str); in flickcurl_prefs_getContentType()
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-multipart.c | 548 gchar *content_type_str = NULL; 669 content_type_str = wmem_ascii_strdown(pinfo->pool, value_str, -1); 672 proto_item_append_text(ti, " (%s)", content_type_str); 677 if(strncmp(content_type_str, "application/octet-stream", 684 … && (is_raw_data || g_ascii_strncasecmp(content_type_str, m_info->protocol, 764 content_type_str = m_info->orig_content_type; 773 content_type_str) { 789 …e64_decode(pinfo, tmp_tvb, filename ? filename : (mimetypename ? mimetypename : content_type_str)); 814 content_type_str, tmp_tvb, pinfo, subtree, &message_info); 820 content_type_str, tmp_tvb, pinfo, subtree, &message_info); [all …]
|
H A D | packet-imf.c | 723 const guint8 *content_type_str = NULL; 850 &content_type_str, ¶meters); 878 if(content_type_str && media_type_dissector_table) { 894 …dissector_try_string(media_type_dissector_table, content_type_str, next_tvb, pinfo, tree, (void*)&…
|
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-multipart.c | 548 gchar *content_type_str = NULL; in process_body_part() local 669 content_type_str = wmem_ascii_strdown(pinfo->pool, value_str, -1); in process_body_part() 672 proto_item_append_text(ti, " (%s)", content_type_str); in process_body_part() 677 if(strncmp(content_type_str, "application/octet-stream", in process_body_part() 684 … && (is_raw_data || g_ascii_strncasecmp(content_type_str, m_info->protocol, in process_body_part() 764 content_type_str = m_info->orig_content_type; in process_body_part() 773 content_type_str) { in process_body_part() 789 …e64_decode(pinfo, tmp_tvb, filename ? filename : (mimetypename ? mimetypename : content_type_str)); in process_body_part() 814 content_type_str, tmp_tvb, pinfo, subtree, &message_info); in process_body_part() 820 content_type_str, tmp_tvb, pinfo, subtree, &message_info); in process_body_part() [all …]
|
H A D | packet-imf.c | 723 const guint8 *content_type_str = NULL; in dissect_imf() local 850 &content_type_str, ¶meters); in dissect_imf() 878 if(content_type_str && media_type_dissector_table) { in dissect_imf() 894 …dissector_try_string(media_type_dissector_table, content_type_str, next_tvb, pinfo, tree, (void*)&… in dissect_imf()
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-multipart.c | 548 gchar *content_type_str = NULL; in process_body_part() local 669 content_type_str = wmem_ascii_strdown(pinfo->pool, value_str, -1); in process_body_part() 672 proto_item_append_text(ti, " (%s)", content_type_str); in process_body_part() 677 if(strncmp(content_type_str, "application/octet-stream", in process_body_part() 684 … && (is_raw_data || g_ascii_strncasecmp(content_type_str, m_info->protocol, in process_body_part() 764 content_type_str = m_info->orig_content_type; in process_body_part() 773 content_type_str) { in process_body_part() 789 …e64_decode(pinfo, tmp_tvb, filename ? filename : (mimetypename ? mimetypename : content_type_str)); in process_body_part() 814 content_type_str, tmp_tvb, pinfo, subtree, &message_info); in process_body_part() 820 content_type_str, tmp_tvb, pinfo, subtree, &message_info); in process_body_part() [all …]
|
H A D | packet-imf.c | 723 const guint8 *content_type_str = NULL; in dissect_imf() local 850 &content_type_str, ¶meters); in dissect_imf() 878 if(content_type_str && media_type_dissector_table) { in dissect_imf() 894 …dissector_try_string(media_type_dissector_table, content_type_str, next_tvb, pinfo, tree, (void*)&… in dissect_imf()
|
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-multipart.c | 548 gchar *content_type_str = NULL; in process_body_part() local 669 content_type_str = wmem_ascii_strdown(pinfo->pool, value_str, -1); in process_body_part() 672 proto_item_append_text(ti, " (%s)", content_type_str); in process_body_part() 677 if(strncmp(content_type_str, "application/octet-stream", in process_body_part() 684 … && (is_raw_data || g_ascii_strncasecmp(content_type_str, m_info->protocol, in process_body_part() 764 content_type_str = m_info->orig_content_type; in process_body_part() 773 content_type_str) { in process_body_part() 789 …e64_decode(pinfo, tmp_tvb, filename ? filename : (mimetypename ? mimetypename : content_type_str)); in process_body_part() 814 content_type_str, tmp_tvb, pinfo, subtree, &message_info); in process_body_part() 820 content_type_str, tmp_tvb, pinfo, subtree, &message_info); in process_body_part() [all …]
|
H A D | packet-imf.c | 723 const guint8 *content_type_str = NULL; in dissect_imf() local 850 &content_type_str, ¶meters); in dissect_imf() 878 if(content_type_str && media_type_dissector_table) { in dissect_imf() 894 …dissector_try_string(media_type_dissector_table, content_type_str, next_tvb, pinfo, tree, (void*)&… in dissect_imf()
|
/dports/devel/py-azure-core/azure-core-1.20.1/azure/core/rest/ |
H A D | _http_response_impl_async.py | 137 content_type_str = ( 141 self.status_code, self.reason, content_type_str
|
H A D | _rest_py3.py | 370 content_type_str = ( 374 self.status_code, self.reason, content_type_str
|
H A D | _http_response_impl.py | 340 content_type_str = ( 344 self.status_code, self.reason, content_type_str
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/api/content_settings/ |
H A D | content_settings_api.cc | 60 std::string content_type_str; in RemoveContentType() local 61 if (!args->GetString(0, &content_type_str)) in RemoveContentType() 68 content_type_str); in RemoveContentType()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/extensions/api/content_settings/ |
H A D | content_settings_api.cc | 62 std::string content_type_str; in RemoveContentType() local 63 if (!args->GetString(0, &content_type_str)) in RemoveContentType() 70 content_type_str); in RemoveContentType()
|
/dports/devel/csoap/libsoap-1.1.0/nanohttp/ |
H A D | nanohttp-common.c | 484 content_type_new(const char *content_type_str) in content_type_new() argument 498 len = strlen(content_type_str); in content_type_new() 502 ch = content_type_str[i++]; in content_type_new()
|
H A D | nanohttp-common.h | 506 content_type_t *content_type_new(const char *content_type_str);
|
/dports/mail/evolution-ews/evolution-ews-3.42.1/src/Microsoft365/camel/ |
H A D | camel-m365-utils.c | 436 gchar *content_type_str; in m365_utils_add_file_attachment_content() local 441 content_type_str = camel_content_type_format (ct); in m365_utils_add_file_attachment_content() 444 e_m365_attachment_add_content_type (builder, content_type_str); in m365_utils_add_file_attachment_content() 456 content_type_unfolded = camel_header_unfold (content_type_str); in m365_utils_add_file_attachment_content() 467 g_free (content_type_str); in m365_utils_add_file_attachment_content()
|
/dports/devel/py-azure-core/azure-core-1.20.1/azure/core/pipeline/transport/ |
H A D | _base.py | 434 content_type_str = ( 438 type(self).__name__, self.status_code, self.reason, content_type_str
|
/dports/www/trafficserver/trafficserver-9.1.1/iocore/net/quic/ |
H A D | QUICTLS.cc | 36 content_type_str(int type) in content_type_str() function 528 …Debug(tag, "%s (%d), %s (%d) len=%zu", content_type_str(content_type), content_type, hs_type_str(m… in _print_hs_message()
|
/dports/mail/libetpan/libetpan-1.9.4/src/engine/ |
H A D | mailprivacy_tools.c | 521 char * content_type_str; in mailprivacy_new_file_part() local 533 content_type_str = "application/octet-stream"; in mailprivacy_new_file_part() 535 content_type_str = default_content_type; in mailprivacy_new_file_part() 537 content = mailmime_content_new_with_str(content_type_str); in mailprivacy_new_file_part()
|