Home
last modified time | relevance | path

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

/external/libbrillo/brillo/http/
Dhttp_utils_test.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.cc51 std::string FormField::GetContentType() const { in GetContentType() function in brillo::http::FormField
61 headers.emplace_back(form_header::kContentType, GetContentType()); in GetContentHeader()
145 std::string MultiPartFormField::GetContentType() const { in GetContentType() function in brillo::http::MultiPartFormField
221 std::string FormData::GetContentType() const { in GetContentType() function in brillo::http::FormData
222 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_test.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_test.cc172 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.cpp48 CXFA_Script::Type CXFA_Script::GetContentType() { in GetContentType() function in CXFA_Script
Dcxfa_image.cpp45 WideString CXFA_Image::GetContentType() { in GetContentType() function in CXFA_Image
Dcxfa_document.cpp508 wsContentType = image->GetContentType(); in CreateDataBinding()
Dcxfa_node.cpp476 FXCODEC_IMAGE_TYPE type = XFA_GetImageType(pImage->GetContentType()); in XFA_LoadImageData()
2725 CXFA_Script::Type eScriptType = script->GetContentType(); in ExecuteBoolScript()
3037 wsContentType = image->GetContentType(); in ResetData()
/external/googletest/googletest/scripts/
Dupload.py538 lines.append('Content-Type: %s' % GetContentType(filename))
548 def GetContentType(filename): function