Home
last modified time | relevance | path

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

/external/libbrillo/brillo/http/
Dhttp_form_data_fuzzer.cc95 brillo::http::FormData form_data( in LLVMFuzzerTestOneInput() local
100 form_data.AddCustomField(CreateTextFormField(&data_provider)); in LLVMFuzzerTestOneInput()
104 form_data.AddCustomField(CreateFileFormField(&data_provider)); in LLVMFuzzerTestOneInput()
108 form_data.AddCustomField(CreateMultipartFormField(&data_provider, 0)); in LLVMFuzzerTestOneInput()
112 brillo::StreamPtr form_stream = form_data.ExtractDataStream(); in LLVMFuzzerTestOneInput()
Dhttp_form_data_test.cc159 FormData form_data{"boundary1"}; in TEST() local
160 form_data.AddTextField("name", "John Doe"); in TEST()
170 form_data.AddCustomField(std::move(files)); in TEST()
172 form_data.GetContentType()); in TEST()
174 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_test.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.h244 std::unique_ptr<FormData> form_data,
254 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.py641 form_data = self._testServer.get_form_entries()
642 logging.debug(form_data)
643 for e in form_data:
646 self._tmp_keyvals[key] += "_%s" % form_data[e]
648 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);