Searched refs:content_type (Results 1 - 25 of 118) sorted by relevance

12345

/external/webrtc/webrtc/base/
H A Dmultipart.h32 void GetContentType(std::string* content_type);
34 // Note: If content_disposition and/or content_type are the empty string,
38 const std::string& content_type);
41 const std::string& content_type);
47 const std::string& content_type) const;
H A Dmultipart.cc37 void MultipartStream::GetContentType(std::string* content_type) { argument
38 ASSERT(NULL != content_type);
39 content_type->assign(type_);
40 content_type->append("; boundary=");
41 content_type->append(boundary_);
46 const std::string& content_type) {
47 if (!AddPart("", content_disposition, content_type))
56 const std::string& content_type) {
69 if (!content_type.empty()) {
71 << content_type << "\
44 AddPart(StreamInterface* data_stream, const std::string& content_disposition, const std::string& content_type) argument
54 AddPart(const std::string& data, const std::string& content_disposition, const std::string& content_type) argument
[all...]
H A Dmultipart_unittest.cc30 std::string content_type; local
31 multipart.GetContentType(&content_type);
32 EXPECT_EQ(kTestContentType, content_type);
/external/libbrillo/brillo/http/
H A Dhttp_form_data.cc34 const std::string& content_type,
38 content_type_{content_type},
77 const std::string& content_type,
81 content_type, local
95 const std::string& content_type,
97 : FormField{name, content_disposition, content_type, transfer_encoding},
116 const std::string& content_type,
120 content_type.empty() ? mime::multipart::kMixed : content_type,
160 const std::string& content_type,
32 FormField(const std::string& name, const std::string& content_disposition, const std::string& content_type, const std::string& transfer_encoding) argument
75 TextFormField(const std::string& name, const std::string& data, const std::string& content_type, const std::string& transfer_encoding) argument
91 FileFormField(const std::string& name, StreamPtr stream, const std::string& file_name, const std::string& content_disposition, const std::string& content_type, const std::string& transfer_encoding) argument
115 MultiPartFormField(const std::string& name, const std::string& content_type, const std::string& boundary) argument
157 AddFileField(const std::string& name, const base::FilePath& file_path, const std::string& content_disposition, const std::string& content_type, brillo::ErrorPtr* error) argument
172 content_type, local
201 AddFileField(const std::string& name, const base::FilePath& file_path, const std::string& content_type, brillo::ErrorPtr* error) argument
[all...]
H A Dhttp_form_data.h46 // |content_type| = the content type ("text/plain;charset=windows-1250")
51 const std::string& content_type,
100 // content_type: the data content type. Empty if not specified.
105 const std::string& content_type = {},
124 // content_type: valid content type of the file.
131 const std::string& content_type,
155 // content_type: valid content type. If omitted, "multipart/mixed" is used.
159 const std::string& content_type = {},
179 const std::string& content_type,
214 const std::string& content_type,
[all...]
/external/webrtc/webrtc/examples/peerconnection/server/
H A Dpeer_channel.cc113 ds->Send("200 OK", true, ds->content_type(), extra_headers,
118 peer->QueueResponse("200 OK", ds->content_type(), extra_headers,
132 const std::string& content_type,
138 bool ok = waiting_socket_->Send(status, true, content_type, extra_headers,
148 qr.content_type = content_type;
160 ds->Send(response.status, true, response.content_type,
257 std::string content_type; local
258 std::string response = BuildResponseForNewMember(*new_guy, &content_type);
259 ds->Send("200 Added", true, content_type, new_gu
131 QueueResponse(const std::string& status, const std::string& content_type, const std::string& extra_headers, const std::string& data) argument
349 BuildResponseForNewMember(const ChannelMember& member, std::string* content_type) argument
[all...]
H A Dpeer_channel.h48 void QueueResponse(const std::string& status, const std::string& content_type,
55 std::string status, content_type, extra_headers, data; member in struct:ChannelMember::QueuedResponse
114 std::string* content_type);
H A Ddata_socket.h83 const std::string& content_type() const { return content_type_; } function in class:DataSocket
108 // header will be included. |content_type| is the mime content type, not
115 const std::string& content_type,
/external/llvm/include/llvm/Object/
H A DSymbolicFile.h56 template <class content_type>
58 : public std::iterator<std::forward_iterator_tag, content_type> {
59 content_type Current;
62 content_iterator(content_type symb) : Current(std::move(symb)) {}
64 const content_type *operator->() const { return &Current; }
66 const content_type &operator*() const { return Current; }
/external/libmicrohttpd/src/microhttpd/
H A Dtest_postprocessor_large.c40 const char *content_type,
49 key, filename, content_type, transfer_encoding, size, data);
36 value_checker(void *cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, const char *transfer_encoding, const char *data, uint64_t off, size_t size) argument
H A Dtest_postprocessor_amp.c10 const char* filename, const char* content_type,
9 check_post(void *cls, enum MHD_ValueKind kind, const char* key, const char* filename, const char* content_type, const char* content_encoding, const char* data, uint64_t off, size_t size) argument
H A Dpostprocessor.c160 char *content_type; member in struct:MHD_PostProcessor
675 try_match_header ("Content-type: ", buf, &pp->content_type);
773 pp->content_type,
799 if ((NULL != pp->content_type) && (0 == (pp->have & NE_content_type)))
801 free (pp->content_type);
802 pp->content_type = NULL;
970 if ((pp->content_type != NULL) &&
971 (MHD_str_equal_caseless_n_ (pp->content_type,
975 pp->nested_boundary = strstr (pp->content_type, "boundary=");
991 free (pp->content_type);
[all...]
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
H A Dgenerate.py149 def __init__(self, script_id=None, text_content=None, content_type=None):
154 self.content_type = content_type
161 if self.content_type:
162 attrs.append('content-type="%s"' % self.content_type)
/external/harfbuzz_ng/src/
H A Dhb-buffer.cc236 content_type = HB_BUFFER_CONTENT_TYPE_INVALID;
671 assert (content_type == HB_BUFFER_CONTENT_TYPE_UNICODE ||
672 (!len && content_type == HB_BUFFER_CONTENT_TYPE_INVALID));
856 * @content_type: the type of buffer contents to set
865 hb_buffer_content_type_t content_type)
867 buffer->content_type = content_type;
884 return buffer->content_type;
1335 buffer->content_type = HB_BUFFER_CONTENT_TYPE_INVALID;
1517 assert (buffer->content_type
864 hb_buffer_set_content_type(hb_buffer_t *buffer, hb_buffer_content_type_t content_type) argument
[all...]
H A Dhb-shape.cc136 buffer->content_type = HB_BUFFER_CONTENT_TYPE_GLYPHS;
/external/boringssl/src/crypto/pkcs7/
H A Dpkcs7.c45 CBS in, content_info, content_type, wrapped_signed_data, signed_data; local
61 !CBS_get_asn1(&content_info, &content_type, CBS_ASN1_OBJECT)) {
65 if (!CBS_mem_equal(&content_type, kPKCS7SignedData,
/external/python/cpython3/Lib/distutils/
H A Dconfig.py116 content_type = response.getheader('content-type', 'text/plain')
117 encoding = cgi.parse_header(content_type)[1].get('charset', 'ascii')
/external/webrtc/webrtc/
H A Dconfig.cc88 : content_type(ContentType::kRealtimeVideo),
105 ss << ", content_type: ";
106 switch (content_type) {
/external/webrtc/webrtc/video/
H A Dsend_statistics_proxy.cc35 const char* GetUmaPrefix(VideoEncoderConfig::ContentType content_type) { argument
36 switch (content_type) {
71 VideoEncoderConfig::ContentType content_type)
74 content_type_(content_type),
162 VideoEncoderConfig::ContentType content_type) {
164 if (content_type_ != content_type) {
165 uma_container_.reset(new UmaSamplesContainer(GetUmaPrefix(content_type)));
166 content_type_ = content_type;
68 SendStatisticsProxy( Clock* clock, const VideoSendStream::Config& config, VideoEncoderConfig::ContentType content_type) argument
161 SetContentType( VideoEncoderConfig::ContentType content_type) argument
/external/curl/src/
H A Dtool_metalink.h129 * Returns nonzero if content_type includes "application/metalink+xml"
132 int check_metalink_content_type(const char *content_type);
/external/skia/tools/skiaserve/urlhandlers/
H A DPostHandler.cpp20 const char* content_type, const char* transfer_encoding,
18 process_upload_data(void* cls, enum MHD_ValueKind kind, const char* key, const char* filename, const char* content_type, const char* transfer_encoding, const char* data, uint64_t off, size_t size) argument
/external/skqp/tools/skiaserve/urlhandlers/
H A DPostHandler.cpp20 const char* content_type, const char* transfer_encoding,
18 process_upload_data(void* cls, enum MHD_ValueKind kind, const char* key, const char* filename, const char* content_type, const char* transfer_encoding, const char* data, uint64_t off, size_t size) argument
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_record.h64 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf,
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dhttp-utils.h52 const char *content_type, const char *ext_hdr,
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_record.h64 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf,

Completed in 4138 milliseconds

12345