Home
last modified time | relevance | path

Searched refs:form_data (Results 1 – 9 of 9) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_form_data_unittest.cc158 FormData form_data{"boundary1"}; in TEST() local
159 form_data.AddTextField("name", "John Doe"); in TEST()
169 form_data.AddCustomField(std::move(files)); in TEST()
171 form_data.GetContentType()); in TEST()
173 StreamPtr stream = form_data.ExtractDataStream(); in TEST()
Dhttp_request.cc201 bool Request::AddRequestBodyAsFormData(std::unique_ptr<FormData> form_data, in AddRequestBodyAsFormData() argument
203 AddHeader(request_header::kContentType, form_data->GetContentType()); in AddRequestBodyAsFormData()
206 return connection_->SetRequestData(form_data->ExtractDataStream(), error); in AddRequestBodyAsFormData()
Dhttp_utils_unittest.cc352 std::unique_ptr<FormData> form_data{new FormData{"boundary123"}}; in TEST() local
353 form_data->AddTextField("key1", "value1"); in TEST()
354 form_data->AddTextField("key2", "value2"); in TEST()
355 std::string expected_content_type = form_data->GetContentType(); in TEST()
357 kFakeUrl, std::move(form_data), {}, transport, nullptr); in TEST()
Dhttp_utils.cc254 std::unique_ptr<FormData> form_data, in PostFormDataAndBlock() argument
260 if (!request.AddRequestBodyAsFormData(std::move(form_data), error)) in PostFormDataAndBlock()
283 std::unique_ptr<FormData> form_data, in PostFormData() argument
291 if (!request.AddRequestBodyAsFormData(std::move(form_data), &error)) { in PostFormData()
Dhttp_utils.h243 std::unique_ptr<FormData> form_data,
253 std::unique_ptr<FormData> form_data,
Dhttp_request.h246 bool AddRequestBodyAsFormData(std::unique_ptr<FormData> form_data,
/external/autotest/client/site_tests/power_LoadTest/
Dpower_LoadTest.py629 form_data = self._testServer.get_form_entries()
630 logging.debug(form_data)
631 for e in form_data:
634 self._tmp_keyvals[key] += "_%s" % form_data[e]
636 self._tmp_keyvals[key] = form_data[e]
/external/pdfium/fpdfsdk/
Dcpdfsdk_formfillenvironment.cpp308 void CPDFSDK_FormFillEnvironment::SubmitForm(pdfium::span<uint8_t> form_data, in SubmitForm() argument
316 form_data.data(), form_data.size(), in SubmitForm()
Dcpdfsdk_formfillenvironment.h197 void SubmitForm(pdfium::span<uint8_t> form_data, const WideString& URL);