Home
last modified time | relevance | path

Searched defs:headers (Results 1 – 25 of 2647) sorted by relevance

12345678910>>...106

/aosp_15_r20/external/rust/android-crates-io/crates/httparse/src/
Dlib.rs403 pub fn parse_request_with_uninit_headers<'headers, 'buf>( in parse_request_with_uninit_headers()
405 request: &mut Request<'headers, 'buf>, in parse_request_with_uninit_headers()
469 pub fn parse_response_with_uninit_headers<'headers, 'buf>( in parse_response_with_uninit_headers()
471 response: &mut Response<'headers, 'buf>, in parse_response_with_uninit_headers()
513 pub headers: &'headers mut [Header<'buf>] field
579 let headers = core::mem::replace(&mut self.headers, &mut []); in parse_with_config() localVariable
583 let headers: *mut [Header<'_>] = headers; in parse_with_config() localVariable
584 let headers = headers as *mut [MaybeUninit<Header<'_>>]; in parse_with_config() localVariable
661 pub headers: &'headers mut [Header<'buf>] field
682 let headers = core::mem::replace(&mut self.headers, &mut []); in parse_with_config() localVariable
[all …]
/aosp_15_r20/external/cronet/net/http/
H A Dhttp_request_headers_unittest.cc14 HttpRequestHeaders headers; in TEST() local
27 HttpRequestHeaders headers; in TEST() local
33 HttpRequestHeaders headers; in TEST() local
41 HttpRequestHeaders headers; in TEST() local
48 HttpRequestHeaders headers; in TEST() local
55 HttpRequestHeaders headers; in TEST() local
64 HttpRequestHeaders headers; in TEST() local
71 HttpRequestHeaders headers; in TEST() local
79 HttpRequestHeaders headers; in TEST() local
86 HttpRequestHeaders headers; in TEST() local
[all …]
H A Dhttp_response_headers_unittest.cc46 void HeadersToRaw(std::string* headers) { in HeadersToRaw()
69 const scoped_refptr<HttpResponseHeaders>& headers() { return headers_; } in headers() function in net::__anon190a03820111::HttpResponseHeadersCacheControlTest
120 std::string headers = ToSimpleString(parsed); in TEST_P() local
394 std::string headers = test.raw_headers; in TEST_P() local
572 std::string headers = in TEST() local
602 std::string headers = in TEST() local
621 std::string headers = in TEST() local
638 std::string headers = in TEST() local
665 std::string headers = in TEST() local
676 std::string headers = in TEST() local
[all …]
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/balsa/
H A Dbalsa_headers_test.cc46 static void WriteFromFramer(BalsaHeaders* headers, const char* ptr, in WriteFromFramer()
87 BalsaHeaders headers; in CreateHTTPHeaders() local
649 BalsaHeaders headers; in TEST() local
655 BalsaHeaders headers = CreateHTTPHeaders(true, in TEST() local
669 BalsaHeaders headers = CreateHTTPHeaders(true, in TEST() local
683 BalsaHeaders headers; in TEST() local
691 BalsaHeaders headers; in TEST() local
699 BalsaHeaders headers; in TEST() local
756 BalsaHeaders headers; in TEST() local
799 BalsaHeaders headers; in TEST() local
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/http/tests/
Dheader_map.rs6 let mut headers = HeaderMap::new(); in smoke() localVariable
42 let mut headers = HeaderMap::<u32>::with_capacity(32); in reserve_over_capacity() localVariable
62 let mut headers = HeaderMap::<u32>::with_capacity(0); in reserve_overflow() localVariable
68 let mut headers = HeaderMap::new(); in drain() localVariable
124 let mut headers = HeaderMap::new(); in drain_drop_immediately() localVariable
138 let mut headers = HeaderMap::<HeaderValue>::new(); in drain_forget() localVariable
156 let mut headers = HeaderMap::new(); in drain_entry() localVariable
410 let mut headers = HeaderMap::new(); in get_invalid() localVariable
418 let mut headers = HeaderMap::new(); in insert_invalid() localVariable
433 let mut headers = HeaderMap::new(); in remove_multiple_a() localVariable
[all …]
/aosp_15_r20/external/cronet/net/spdy/
H A Dspdy_http_utils_unittest.cc53 void CheckOrdering(const spdy::Http2HeaderBlock& headers) { in CheckOrdering()
100 spdy::Http2HeaderBlock headers; in TEST_P() local
125 spdy::Http2HeaderBlock headers; in TEST_P() local
150 spdy::Http2HeaderBlock headers; in TEST_P() local
172 spdy::Http2HeaderBlock headers; in TEST_P() local
191 spdy::Http2HeaderBlock headers; in TEST() local
295 const spdy::Http2HeaderBlock& headers) { in PerformConversion()
301 spdy::Http2HeaderBlock headers; in TEST_P() local
308 spdy::Http2HeaderBlock headers; in TEST_P() local
317 spdy::Http2HeaderBlock headers; in TEST_P() local
[all …]
/aosp_15_r20/external/libbrillo/brillo/http/
H A Dhttp_utils.cc25 const HeaderList& headers, in GetAndBlock()
33 const HeaderList& headers, in Get()
67 const HeaderList& headers, in PostTextAndBlock()
77 const HeaderList& headers, in PostText()
97 const HeaderList& headers, in SendRequestAndBlock()
115 const HeaderList& headers, in SendRequestWithNoDataAndBlock()
126 const HeaderList& headers, in SendRequest()
152 const HeaderList& headers, in SendRequest()
168 const HeaderList& headers, in SendRequestWithNoData()
187 const HeaderList& headers, in PostBinaryAndBlock()
[all …]
/aosp_15_r20/device/google/cuttlefish/host/libs/web/http_client/
Dhttp_client.cc131 const std::vector<std::string>& headers) override { in GetToString()
137 const std::vector<std::string>& headers) override { in PostToString()
143 const std::vector<std::string>& headers) override { in DeleteToString()
149 const std::vector<std::string>& headers) override { in PostToJson()
155 const std::vector<std::string>& headers) override { in PostToJson()
163 const std::vector<std::string>& headers) { in DownloadToCallback()
169 const std::vector<std::string>& headers) { in DownloadToFile()
185 const std::string& url, const std::vector<std::string>& headers) { in DownloadToJson()
191 const std::vector<std::string>& headers) override { in DeleteToJson()
225 const std::vector<std::string>& headers, in DownloadToJson()
[all …]
/aosp_15_r20/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DHeadersTest.java45 Headers headers = response.headers(); in parseNameValueBlock() local
69 Headers headers = response.headers(); in readNameValueBlockDropsForbiddenHeadersSpdy3() local
80 Headers headers = response.headers(); in readNameValueBlockDropsForbiddenHeadersHttp2() local
137 Headers headers = Headers.of("\t User-Agent \n", " \r OkHttp "); in ofTrims() local
143 Headers headers = new Headers.Builder() in addParsing() local
211 Headers headers = Headers.of("User-Agent", ""); in ofAcceptsEmptyValue() local
220 Headers headers = Headers.of(namesAndValues); in ofMakesDefensiveCopy() local
258 Headers headers = Headers.of(Collections.singletonMap("User-Agent", "")); in ofMapAcceptsEmptyValue() local
263 Headers headers = Headers.of(Collections.singletonMap(" User-Agent ", "OkHttp")); in ofMapTrimsKey() local
268 Headers headers = Headers.of(Collections.singletonMap("User-Agent", " OkHttp ")); in ofMapTrimsValue() local
[all …]
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/rtsp/src/test/java/com/google/android/exoplayer2/source/rtsp/
H A DRtspHeadersTest.java33 RtspHeaders headers = in build_withHeaderLines() local
51 RtspHeaders headers = in build_withHeaderLinesAsMap() local
69 RtspHeaders headers = in buildUpon_createEqualHeaders() local
82 RtspHeaders headers = new RtspHeaders.Builder().add("Content-Length", "707").build(); in buildUpon_buildsUponExistingHeaders() local
94 RtspHeaders headers = in get_getsHeaderValuesCaseInsensitively() local
112 RtspHeaders headers = in get_withMultipleValuesMappedToTheSameName_getsTheMostRecentValue() local
126 RtspHeaders headers = new RtspHeaders.Builder().build(); in values_withNoHeaders_returnsAnEmptyList() local
133 RtspHeaders headers = in values_withMultipleValuesMappedToTheSameName_returnsAllMappedValues() local
152 RtspHeaders headers = in asMultiMap_withoutValuesMappedToTheSameName_getsTheMappedValuesInAdditionOrder() local
172 RtspHeaders headers = in asMultiMap_withMultipleValuesMappedToTheSameName_getsTheMappedValuesInAdditionOrder() local
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/rtsp/src/test/java/com/google/android/exoplayer2/source/rtsp/
H A DRtspHeadersTest.java33 RtspHeaders headers = in build_withHeaderLines() local
51 RtspHeaders headers = in build_withHeaderLinesAsMap() local
69 RtspHeaders headers = in buildUpon_createEqualHeaders() local
82 RtspHeaders headers = new RtspHeaders.Builder().add("Content-Length", "707").build(); in buildUpon_buildsUponExistingHeaders() local
94 RtspHeaders headers = in get_getsHeaderValuesCaseInsensitively() local
112 RtspHeaders headers = in get_withMultipleValuesMappedToTheSameName_getsTheMostRecentValue() local
126 RtspHeaders headers = new RtspHeaders.Builder().build(); in values_withNoHeaders_returnsAnEmptyList() local
133 RtspHeaders headers = in values_withMultipleValuesMappedToTheSameName_returnsAllMappedValues() local
152 RtspHeaders headers = in asMultiMap_withoutValuesMappedToTheSameName_getsTheMappedValuesInAdditionOrder() local
172 RtspHeaders headers = in asMultiMap_withMultipleValuesMappedToTheSameName_getsTheMappedValuesInAdditionOrder() local
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/spdy/core/hpack/
H A Dhpack_encoder_test.cc395 Http2HeaderBlock headers; in TEST_P() local
405 Http2HeaderBlock headers; in TEST_P() local
414 Http2HeaderBlock headers; in TEST_P() local
424 Http2HeaderBlock headers; in TEST_P() local
437 Http2HeaderBlock headers; in TEST_P() local
453 Http2HeaderBlock headers; in TEST_P() local
466 Http2HeaderBlock headers; in TEST_P() local
477 Http2HeaderBlock headers; in TEST_P() local
486 Http2HeaderBlock headers; in TEST_P() local
493 Http2HeaderBlock headers; in TEST_P() local
[all …]
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/quic/core/http/
H A Dspdy_utils_test.cc28 std::unique_ptr<QuicHeaderList> headers(new QuicHeaderList); in FromList() local
42 auto headers = FromList({// All cookie crumbs are joined. in TEST_F() local
81 auto headers = FromList({{"foo", "foovalue"}, {"", "barvalue"}, {"baz", ""}}); in TEST_F() local
89 auto headers = in TEST_F() local
98 auto headers = FromList({{"content-length", "9"}, in TEST_F() local
115 auto headers = FromList({{"content-length", "9"}, in TEST_F() local
127 auto headers = FromList({{"content-length", "9000000000"}, in TEST_F() local
147 auto headers = FromList({{"content-length", "+123"}, in TEST_F() local
158 auto headers = FromList({{"foo", "foovalue"}, in TEST_F() local
175 auto headers = FromList({{"set-cookie", "value1"}, in TEST_F() local
[all …]
H A Dquic_spdy_client_stream_test.cc113 auto headers = AsHeaderList(headers_); in TEST_P() local
124 auto headers = AsHeaderList(std::vector<std::pair<std::string, std::string>>{ in TEST_P() local
138 auto headers = AsHeaderList( in TEST_P() local
151 auto headers = AsHeaderList(headers_); in TEST_P() local
168 auto headers = AsHeaderList(std::vector<std::pair<std::string, std::string>>{ in TEST_P() local
181 auto headers = AsHeaderList(headers_); in TEST_P() local
215 auto headers = AsHeaderList(headers_); in TEST_P() local
249 auto headers = AsHeaderList(headers_); in TEST_P() local
306 auto headers = AsHeaderList(headers_); in TEST_P() local
314 auto headers = AsHeaderList(headers_); in TEST_P() local
[all …]
/aosp_15_r20/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
H A DHttp2ClientStreamTransportStateTest.java81 Metadata headers = new Metadata(); in transportHeadersReceived_notifiesListener() local
95 Metadata headers = new Metadata(); in transportHeadersReceived_doesntRequire200() local
109 Metadata headers = new Metadata(); in transportHeadersReceived_noHttpStatus() local
124 Metadata headers = new Metadata(); in transportHeadersReceived_wrongContentType_200() local
140 Metadata headers = new Metadata(); in transportHeadersReceived_wrongContentType_401() local
165 Metadata headers = new Metadata(); in transportHeadersReceived_handles_1xx() local
179 Metadata headers = new Metadata(); in transportHeadersReceived_twice() local
198 Metadata headers = new Metadata(); in transportHeadersReceived_unknownAndTwiceLogsSecondHeaders() local
229 Metadata headers = new Metadata(); in transportDataReceived_debugData() local
259 Metadata headers = new Metadata(); in transportTrailersReceived_afterHeaders() local
[all …]
/aosp_15_r20/external/python/cpython3/Lib/distutils/command/
Dconfig.py107 def _gen_temp_sourcefile(self, body, headers, lang): argument
119 def _preprocess(self, body, headers, include_dirs, lang): argument
126 def _compile(self, body, headers, include_dirs, lang): argument
135 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
172 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
190 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
218 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
234 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
253 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
278 def check_func(self, func, headers=None, include_dirs=None, argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/distutils/command/
Dconfig.py107 def _gen_temp_sourcefile(self, body, headers, lang): argument
119 def _preprocess(self, body, headers, include_dirs, lang): argument
126 def _compile(self, body, headers, include_dirs, lang): argument
135 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
172 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
190 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
218 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
234 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
253 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
278 def check_func(self, func, headers=None, include_dirs=None, argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/setuptools/_distutils/command/
Dconfig.py104 def _gen_temp_sourcefile(self, body, headers, lang): argument
116 def _preprocess(self, body, headers, include_dirs, lang): argument
123 def _compile(self, body, headers, include_dirs, lang): argument
132 def _link(self, body, headers, include_dirs, libraries, library_dirs, lang): argument
170 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
189 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, lang="c"): argument
216 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
236 headers=None, argument
262 headers=None, argument
295 headers=None, argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/distutils/command/
Dconfig.py107 def _gen_temp_sourcefile(self, body, headers, lang): argument
119 def _preprocess(self, body, headers, include_dirs, lang): argument
126 def _compile(self, body, headers, include_dirs, lang): argument
135 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
172 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
190 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
218 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
234 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
253 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
278 def check_func(self, func, headers=None, include_dirs=None, argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/setuptools/_distutils/command/
Dconfig.py104 def _gen_temp_sourcefile(self, body, headers, lang): argument
116 def _preprocess(self, body, headers, include_dirs, lang): argument
123 def _compile(self, body, headers, include_dirs, lang): argument
132 def _link(self, body, headers, include_dirs, libraries, library_dirs, lang): argument
170 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
189 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, lang="c"): argument
216 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
236 headers=None, argument
262 headers=None, argument
295 headers=None, argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/distutils/command/
Dconfig.py107 def _gen_temp_sourcefile(self, body, headers, lang): argument
119 def _preprocess(self, body, headers, include_dirs, lang): argument
126 def _compile(self, body, headers, include_dirs, lang): argument
135 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
172 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
190 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
218 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
234 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
253 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
278 def check_func(self, func, headers=None, include_dirs=None, argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/setuptools/_distutils/command/
Dconfig.py104 def _gen_temp_sourcefile(self, body, headers, lang): argument
116 def _preprocess(self, body, headers, include_dirs, lang): argument
123 def _compile(self, body, headers, include_dirs, lang): argument
132 def _link(self, body, headers, include_dirs, libraries, library_dirs, lang): argument
170 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
189 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, lang="c"): argument
216 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
236 headers=None, argument
262 headers=None, argument
295 headers=None, argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/distutils/command/
Dconfig.py107 def _gen_temp_sourcefile(self, body, headers, lang): argument
119 def _preprocess(self, body, headers, include_dirs, lang): argument
126 def _compile(self, body, headers, include_dirs, lang): argument
135 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
172 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
190 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
218 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
234 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
253 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
278 def check_func(self, func, headers=None, include_dirs=None, argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/setuptools/_distutils/command/
Dconfig.py104 def _gen_temp_sourcefile(self, body, headers, lang): argument
116 def _preprocess(self, body, headers, include_dirs, lang): argument
123 def _compile(self, body, headers, include_dirs, lang): argument
132 def _link(self, body, headers, include_dirs, libraries, library_dirs, lang): argument
170 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
189 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, lang="c"): argument
216 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
236 headers=None, argument
262 headers=None, argument
295 headers=None, argument
[all …]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/distutils/command/
H A Dconfig.py107 def _gen_temp_sourcefile(self, body, headers, lang): argument
119 def _preprocess(self, body, headers, include_dirs, lang): argument
126 def _compile(self, body, headers, include_dirs, lang): argument
135 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
172 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
190 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
218 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
234 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
253 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
278 def check_func(self, func, headers=None, include_dirs=None, argument
[all …]

12345678910>>...106