Home
last modified time | relevance | path

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

12345678910>>...21

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
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 …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DHttp2ClientStreamTransportStateTest.java77 Metadata headers = new Metadata(); in transportHeadersReceived_notifiesListener() local
91 Metadata headers = new Metadata(); in transportHeadersReceived_doesntRequire200() local
105 Metadata headers = new Metadata(); in transportHeadersReceived_noHttpStatus() local
120 Metadata headers = new Metadata(); in transportHeadersReceived_wrongContentType_200() local
136 Metadata headers = new Metadata(); in transportHeadersReceived_wrongContentType_401() local
161 Metadata headers = new Metadata(); in transportHeadersReceived_handles_1xx() local
175 Metadata headers = new Metadata(); in transportHeadersReceived_twice() local
194 Metadata headers = new Metadata(); in transportHeadersReceived_unknownAndTwiceLogsSecondHeaders() local
225 Metadata headers = new Metadata(); in transportDataReceived_debugData() local
255 Metadata headers = new Metadata(); in transportTrailersReceived_afterHeaders() local
[all …]
DCensusModulesTest.java277 Metadata headers = new Metadata(); in testClientInterceptors() local
360 Metadata headers = new Metadata(); in subtestClientBasicStatsDefaultContext() local
430 Metadata headers = new Metadata(); in clientBasicTracingDefaultSpan() local
575 Metadata headers = new Metadata(); in subtestStatsHeadersPropagateTags() local
666 Metadata headers = new Metadata(); in statsHeadersNotPropagateDefaultContext() local
685 Metadata headers = new Metadata(); in statsHeaderMalformed() local
695 Metadata headers = new Metadata(); in traceHeadersPropagateSpanContext() local
722 Metadata headers = new Metadata(); in traceHeaders_propagateSpanContext() local
734 Metadata headers = new Metadata(); in traceHeaders_missingCensusImpl_notPropagateSpanContext() local
747 Metadata headers = new Metadata(); in traceHeaders_clientMissingCensusImpl_preservingHeaders() local
[all …]
DAbstractClientStreamTest.java186 Metadata headers = new Metadata(); in inboundHeadersReceived_notifiesListener() local
210 Metadata headers = new Metadata(); in inboundHeadersReceived_acceptsGzipContentEncoding() local
225 Metadata headers = new Metadata(); in inboundHeadersReceived_contentEncodingIsCaseInsensitive() local
239 Metadata headers = new Metadata(); in inboundHeadersReceived_failsOnUnrecognizedContentEncoding() local
260 Metadata headers = new Metadata(); in inboundHeadersReceived_disallowsContentAndMessageEncoding() local
282 Metadata headers = new Metadata(); in inboundHeadersReceived_acceptsGzipMessageEncoding() local
294 Metadata headers = new Metadata(); in inboundHeadersReceived_acceptsIdentityMessageEncoding() local
306 Metadata headers = new Metadata(); in inboundHeadersReceived_failsOnUnrecognizedMessageEncoding() local
439 Metadata headers = headersCaptor.getValue(); in deadlineTimeoutPopulatedToHeaders() local
514 public void writeHeaders(Metadata headers, byte[] payload) {} in writeHeaders()
DTransportFrameUtilTest.java65 Metadata headers = new Metadata(); in testToHttp2Headers() local
90 Metadata headers = new Metadata(); in testToAndFromHttp2Headers() local
102 private static void assertContains(byte[][] headers, byte[] key, byte[] value) { in assertContains()
/external/libbrillo/brillo/http/
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 …]
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DSendResponseHeadersCommand.java29 private final Http2Headers headers; field in SendResponseHeadersCommand
32 private SendResponseHeadersCommand(StreamIdHolder stream, Http2Headers headers, Status status) { in SendResponseHeadersCommand()
38 static SendResponseHeadersCommand createHeaders(StreamIdHolder stream, Http2Headers headers) { in createHeaders()
43 StreamIdHolder stream, Http2Headers headers, Status status) { in createTrailers()
52 Http2Headers headers() { in headers() method in SendResponseHeadersCommand
DCreateStreamCommand.java27 private final Http2Headers headers; field in CreateStreamCommand
31 CreateStreamCommand(Http2Headers headers, in CreateStreamCommand()
36 CreateStreamCommand(Http2Headers headers, in CreateStreamCommand()
47 Http2Headers headers() { in headers() method in CreateStreamCommand
/external/volley/src/main/java/com/android/volley/
DNetworkResponse.java46 @Nullable Map<String, String> headers, in NetworkResponse() argument
85 @Nullable Map<String, String> headers, in NetworkResponse() argument
114 public NetworkResponse(byte[] data, @Nullable Map<String, String> headers) { in NetworkResponse() argument
126 @Nullable Map<String, String> headers, in NetworkResponse() argument
157 @Nullable public final Map<String, String> headers; field in NetworkResponse
176 Map<String, String> headers = new TreeMap<>(String.CASE_INSENSITIVE_ORDER); in toHeaderMap() local
185 private static List<Header> toAllHeaderList(@Nullable Map<String, String> headers) { in toAllHeaderList() argument
/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 …]
/external/python/cpython2/Lib/distutils/command/
Dconfig.py112 def _gen_temp_sourcefile(self, body, headers, lang): argument
125 def _preprocess(self, body, headers, include_dirs, lang): argument
132 def _compile(self, body, headers, include_dirs, lang): argument
141 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
178 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
196 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
225 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
241 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
260 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
285 def check_func(self, func, headers=None, include_dirs=None, argument
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheControlTest.java128 Headers headers = in parseCacheControlAndPragmaAreCombined() local
137 Headers headers = Headers.of("Cache-Control", value); in parseCacheControlHeaderValueIsRetained() local
143 Headers headers = Headers.of("Cache-Control", "max-age=12", "Pragma", "must-revalidate"); in parseCacheControlHeaderValueInvalidatedByPragma() local
149 Headers headers = Headers.of("Cache-Control", "max-age=12", "Cache-Control", "must-revalidate"); in parseCacheControlHeaderValueInvalidatedByTwoValues() local
155 Headers headers = Headers.of("Pragma", "must-revalidate"); in parsePragmaHeaderValueIsNotRetained() local
/external/volley/src/main/java/com/android/volley/toolbox/
DHttpHeaderParser.java64 Map<String, String> headers = response.headers; in parseCacheHeaders() local
187 @Nullable Map<String, String> headers, String defaultCharset) { in parseCharset()
211 public static String parseCharset(@Nullable Map<String, String> headers) { in parseCharset() argument
221 Map<String, String> headers = new TreeMap<>(String.CASE_INSENSITIVE_ORDER); in toHeaderMap() local
229 static List<Header> toAllHeaderList(Map<String, String> headers) { in toAllHeaderList() argument
288 Map<String, String> headers = new HashMap<>(); in getCacheHeaders() local
DHttpResponse.java40 public HttpResponse(int statusCode, List<Header> headers) { in HttpResponse()
54 int statusCode, List<Header> headers, int contentLength, InputStream content) { in HttpResponse()
70 public HttpResponse(int statusCode, List<Header> headers, byte[] contentBytes) { in HttpResponse()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DTestGrpc.cs244 …Grpc.Testing.Empty EmptyCall(global::Grpc.Testing.Empty request, grpc::Metadata headers = null, gl… in EmptyCall()
266 …esting.Empty> EmptyCallAsync(global::Grpc.Testing.Empty request, grpc::Metadata headers = null, gl… in EmptyCallAsync()
288 …leResponse UnaryCall(global::Grpc.Testing.SimpleRequest request, grpc::Metadata headers = null, gl… in UnaryCall()
310 …onse> UnaryCallAsync(global::Grpc.Testing.SimpleRequest request, grpc::Metadata headers = null, gl… in UnaryCallAsync()
334 …e CacheableUnaryCall(global::Grpc.Testing.SimpleRequest request, grpc::Metadata headers = null, gl… in CacheableUnaryCall()
360 …heableUnaryCallAsync(global::Grpc.Testing.SimpleRequest request, grpc::Metadata headers = null, gl… in CacheableUnaryCallAsync()
385 …putCall(global::Grpc.Testing.StreamingOutputCallRequest request, grpc::Metadata headers = null, gl… in StreamingOutputCall()
408 …bal::Grpc.Testing.StreamingInputCallResponse> StreamingInputCall(grpc::Metadata headers = null, gl… in StreamingInputCall()
431 …global::Grpc.Testing.StreamingOutputCallResponse> FullDuplexCall(grpc::Metadata headers = null, gl… in FullDuplexCall()
456 …global::Grpc.Testing.StreamingOutputCallResponse> HalfDuplexCall(grpc::Metadata headers = null, gl… in HalfDuplexCall()
[all …]
/external/python/oauth2client/oauth2client/
Dtransport.py70 def _initialize_headers(headers): argument
83 def _apply_user_agent(headers, user_agent): argument
104 def clean_headers(headers): argument
147 def new_request(uri, method='GET', body=None, headers=None, argument
217 def new_request(uri, method='GET', body=None, headers=None, argument
/external/libchrome/build/
Dfix_gn_headers.py47 def AddHeadersNextToCC(headers, skip_ambiguous=True): argument
101 def AddHeadersToSources(headers, skip_ambiguous=True): argument
135 def RemoveHeader(headers, skip_ambiguous=True): argument
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DClientAuthInterceptorTest.java117 Metadata headers = new Metadata(); in testCopyCredentialToHeaders() local
135 Metadata headers = new Metadata(); in testCredentialsThrows() local
158 Metadata headers = new Metadata(); in testWithOAuth2Credential() local
186 private Metadata headers; field in ClientAuthInterceptorTest.ClientCallRecorder
194 public void start(ClientCall.Listener<Integer> responseListener, Metadata headers) { in start()
/external/grpc-grpc/tools/run_tests/generated/
Dsources_and_headers.json11 "headers": [], array
26 "headers": [], array
43 "headers": [], array
60 "headers": [], array
77 "headers": [], array
92 "headers": [], array
108 "headers": [], array
126 "headers": [], array
141 "headers": [], array
156 "headers": [], array
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DRequest.java36 private final Headers headers; field in Request
78 public Headers headers() { in headers() method in Request
86 public List<String> headers(String name) { in headers() method in Request
131 private Headers.Builder headers; field in Request.Builder
215 public Builder headers(Headers headers) { in headers() argument
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DRequest.java31 private final Headers headers; field in Request
73 public Headers headers() { in headers() method in Request
81 public List<String> headers(String name) { in headers() method in Request
123 private Headers.Builder headers; field in Request.Builder
207 public Builder headers(Headers headers) { in headers() method in Request.Builder
/external/webrtc/test/scenario/
Dcolumn_printer.cc19 const char* headers, in ColumnPrinter()
24 ColumnPrinter ColumnPrinter::Fixed(const char* headers, std::string fields) { in Fixed()
31 const char* headers, in Lambda()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DGrpcHttp2InboundHeadersTest.java43 Http2Headers headers = new GrpcHttp2RequestHeaders(1); in basicCorrectness() local
67 Http2Headers headers = new GrpcHttp2RequestHeaders(1); in binaryHeadersShouldBeBase64Decoded() local
DNettyServerHandlerTest.java146 public void streamCreated(ServerStream stream, String method, Metadata headers) { in streamCreated()
414 Http2Headers headers = new DefaultHttp2Headers() in headersWithInvalidContentTypeShouldFail() local
434 Http2Headers headers = new DefaultHttp2Headers() in headersWithInvalidMethodShouldFail() local
453 Http2Headers headers = new DefaultHttp2Headers() in headersWithMissingPathShouldFail() local
471 Http2Headers headers = new DefaultHttp2Headers() in headersWithInvalidPathShouldFail() local
490 Http2Headers headers = new DefaultHttp2Headers() in headersSupportExtensionContentType() local
626 Http2Headers headers = Utils.convertServerHeaders(new Metadata()); in keepAliveEnforcer_sendingDataResetsCounters() local
1034 Http2Headers headers = new DefaultHttp2Headers() in createStream() local
/external/rust/crates/csv/examples/
Dtutorial-read-headers-02.rs9 let headers = rdr.headers()?; in run() localVariable
18 let headers = rdr.headers()?; in run() localVariable

12345678910>>...21