Searched defs:content_type (Results 1 - 25 of 61) sorted by relevance

123

/external/webrtc/webrtc/base/
H A Dmultipart_unittest.cc30 std::string content_type; local
31 multipart.GetContentType(&content_type);
32 EXPECT_EQ(kTestContentType, content_type);
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...]
/external/libmicrohttpd/src/microhttpd/
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 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.c87 const char *content_type,
97 key, filename, content_type, transfer_encoding,
107 (mismatch (content_type, want[idx + 2])) ||
83 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
/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/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/webrtc/webrtc/examples/peerconnection/server/
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,
H A Ddata_socket.cc123 const std::string& content_type,
136 if (!content_type.empty())
137 buffer += "Content-Type: " + content_type + "\r\n";
122 Send(const std::string& status, bool connection_close, const std::string& content_type, const std::string& extra_headers, const std::string& data) const argument
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...]
/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_utils.cc388 auto content_type = RemoveParameters(response->GetContentType()); local
389 if (content_type != brillo::mime::application::kJson &&
390 content_type != brillo::mime::text::kPlain) {
393 "Unexpected response content type: " + content_type);
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_record.c138 * @content_type: Content type (TLS_CONTENT_TYPE_*)
150 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf, argument
165 *pos++ = content_type;
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_record.c138 * @content_type: Content type (TLS_CONTENT_TYPE_*)
150 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf, argument
165 *pos++ = content_type;
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_record.c138 * @content_type: Content type (TLS_CONTENT_TYPE_*)
150 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf, argument
165 *pos++ = content_type;
/external/libevent/sample/
H A Dhttp-server.c72 const char *content_type; member in struct:table_entry
101 return ent->content_type;
/external/libmicrohttpd/doc/examples/
H A Dlargepost.c78 const char *filename, const char *content_type,
77 iterate_post(void *coninfo_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 Dsimplepost.c67 const char *filename, const char *content_type,
66 iterate_post(void *coninfo_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/libmicrohttpd/src/testcurl/
H A Dtest_postform.c96 const char *content_type,
92 post_iterator(void *cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, const char *transfer_encoding, const char *value, uint64_t off, size_t size) argument
/external/libmicrohttpd/src/testzzuf/
H A Dtest_post.c91 const char *content_type,
87 post_iterator(void *cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, const char *transfer_encoding, const char *value, uint64_t off, size_t size) argument
H A Dtest_post_form.c88 const char *content_type,
84 post_iterator(void *cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, const char *transfer_encoding, const char *value, uint64_t off, size_t size) argument
/external/python/cpython3/Lib/email/
H A Dheaderregistry.py481 def content_type(self): member in class:ContentTypeHeader
/external/webrtc/webrtc/
H A Dconfig.h112 ContentType content_type; member in struct:webrtc::VideoEncoderConfig

Completed in 441 milliseconds

123