Home
last modified time | relevance | path

Searched refs:GetContentType (Results 1 – 22 of 22) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_utils_unittest.cc60 response->GetContentType()); in TEST()
76 response->GetContentType()); in TEST()
111 EXPECT_EQ(brillo::mime::text::kPlain, response->GetContentType()); in TEST()
128 EXPECT_EQ(brillo::mime::text::kPlain, response->GetContentType()); in TEST()
145 EXPECT_EQ(brillo::mime::text::kPlain, response->GetContentType()); in TEST()
201 brillo::mime::RemoveParameters(response->GetContentType())); in TEST()
239 EXPECT_EQ(brillo::mime::text::kPlain, response->GetContentType()); in TEST()
263 EXPECT_EQ(brillo::mime::text::kPlain, response->GetContentType()); in TEST()
327 EXPECT_EQ(brillo::mime::text::kPlain, response->GetContentType()); in TEST()
343 response->GetContentType()); in TEST()
[all …]
Dhttp_form_data.cc49 std::string FormField::GetContentType() const { in GetContentType() function in brillo::http::FormField
59 headers.emplace_back(form_header::kContentType, GetContentType()); in GetContentHeader()
143 std::string MultiPartFormField::GetContentType() const { in GetContentType() function in brillo::http::MultiPartFormField
209 std::string FormData::GetContentType() const { in GetContentType() function in brillo::http::FormData
210 return form_data_.GetContentType(); in GetContentType()
Dhttp_form_data.h62 virtual std::string GetContentType() const;
164 std::string GetContentType() const override;
218 std::string GetContentType() const;
Dhttp_request_unittest.cc70 EXPECT_TRUE(request.GetContentType().empty()); in TEST_F()
85 EXPECT_EQ(mime::image::kJpeg, request.GetContentType()); in TEST_F()
173 EXPECT_EQ(mime::text::kHtml, resp->GetContentType()); in TEST_F()
Dhttp_request.cc173 const std::string& Request::GetContentType() const { in GetContentType() function in brillo::http::Request
203 AddHeader(request_header::kContentType, form_data->GetContentType()); in AddRequestBodyAsFormData()
321 std::string Response::GetContentType() const { in GetContentType() function in brillo::http::Response
Dhttp_request.h230 const std::string& GetContentType() const;
355 std::string GetContentType() const;
Dhttp_form_data_unittest.cc171 form_data.GetContentType()); in TEST()
Dhttp_utils.cc388 auto content_type = RemoveParameters(response->GetContentType()); in ParseJsonResponse()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_script.h24 Type GetContentType();
Dcxfa_image.h26 WideString GetContentType();
Dcxfa_script.cpp50 CXFA_Script::Type CXFA_Script::GetContentType() { in GetContentType() function in CXFA_Script
Dcxfa_image.cpp47 WideString CXFA_Image::GetContentType() { in GetContentType() function in CXFA_Image
Dxfa_document_datamerger_imp.cpp149 wsContentType = image->GetContentType(); in CreateDataBinding()
Dcxfa_node.cpp1995 CXFA_Script::Type eScriptType = script->GetContentType(); in ExecuteBoolScript()
/external/webrtc/webrtc/base/
Dmultipart.h32 void GetContentType(std::string* content_type);
Dmultipart_unittest.cc31 multipart.GetContentType(&content_type); in TEST()
Dmultipart.cc37 void MultipartStream::GetContentType(std::string* content_type) { in GetContentType() function in rtc::MultipartStream
/external/googletest/googletest/scripts/
Dupload.py523 lines.append('Content-Type: %s' % GetContentType(filename))
533 def GetContentType(filename): function
/external/googletest/googlemock/scripts/
Dupload.py523 lines.append('Content-Type: %s' % GetContentType(filename))
533 def GetContentType(filename): function
/external/google-breakpad/src/testing/scripts/
Dupload.py523 lines.append('Content-Type: %s' % GetContentType(filename))
533 def GetContentType(filename): function
/external/google-breakpad/src/testing/gtest/scripts/
Dupload.py523 lines.append('Content-Type: %s' % GetContentType(filename))
533 def GetContentType(filename): function
/external/pdfium/xfa/fxfa/
Dcxfa_widgetacc.cpp168 FXCODEC_IMAGE_TYPE type = XFA_GetImageType(pImage->GetContentType()); in XFA_LoadImageData()
534 wsContentType = image->GetContentType(); in ResetData()