Searched defs:content_type (Results 1 - 25 of 68) 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/bison/src/
H A Dsymlist.h39 } content_type; member in struct:symbol_list
43 * <tt>symbol_list::content_type = SYMLIST_SYMBOL</tt>.
47 * The semantic type iff <tt>symbol_list::content_type = SYMLIST_TYPE</tt>.
98 \pre For every node \c n in the list, <tt>n->content_type =
/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,
/external/boringssl/src/crypto/x509/
H A Dpkcs7.c40 CBS in, content_info, content_type, wrapped_signed_data, signed_data; local
56 !CBS_get_asn1(&content_info, &content_type, CBS_ASN1_OBJECT)) {
60 if (OBJ_cbs2nid(&content_type) != NID_pkcs7_signed) {
/external/chromium-trace/catapult/third_party/apiclient/googleapiclient/
H A Dmodel.py94 content_type: The value to use for the HTTP Content-type header.
101 content_type = None variable in class:BaseModel
148 headers['content-type'] = self.content_type
243 content_type = 'application/json' variable in class:JsonModel
283 content_type = 'application/json' variable in class:RawModel
302 content_type = 'application/json' variable in class:MediaModel
320 content_type = 'application/x-protobuf' variable in class:ProtocolBufferModel
/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.cc387 auto content_type = RemoveParameters(response->GetContentType()); local
388 if (content_type != brillo::mime::application::kJson &&
389 content_type != brillo::mime::text::kPlain) {
392 "Unexpected response content type: " + content_type);
/external/libweave/examples/provider/
H A Dcurl_http_client.cc24 std::string GetContentType() const override { return content_type; }
28 std::string content_type; member in struct:weave::examples::__anon11639::ResponseImpl
119 response->content_type = header.second;
/external/libweave/src/privet/
H A Dprivet_manager.cc117 std::string content_type = local
121 return PrivetRequestHandlerWithData(request, content_type == http::kJson
/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudsearch/
H A Dtest_search.py49 content_type = "text/xml" variable in class:CloudSearchSearchBaseTest
67 content_type=self.content_type,
370 content_type = 'text/xml' variable in class:CloudSearchNonJsonTest
382 content_type = 'text/html' variable in class:CloudSearchUnauthorizedTest
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudsearch2/
H A Dtest_search.py74 content_type = "text/xml" variable in class:CloudSearchSearchBaseTest
92 content_type=self.content_type,
316 content_type = 'text/xml' variable in class:CloudSearchNonJsonTest
328 content_type = 'text/html' variable in class:CloudSearchUnauthorizedTest
/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

Completed in 756 milliseconds

123