Home
last modified time | relevance | path

Searched +full:x +full:- +full:forwarded +full:- +full:for (Results 1 – 25 of 1056) sorted by relevance

12345678910>>...43

/aosp_15_r20/prebuilts/go/linux-x86/src/net/http/httputil/
Dreverseproxy.go2 // Use of this source code is governed by a BSD-style
26 "golang.org/x/net/http/httpguts"
37 // Hop-by-hop headers are removed from this request
44 // request was for "/dir", the target request will be for "/base/dir".
59 // SetXForwarded sets the X-Forwarded-For, X-Forwarded-Host, and
60 // X-Forwarded-Proto headers of the outbound request.
62 // - The X-Forwarded-For header is set to the client IP address.
63 // - The X-Forwarded-Host header is set to the host name requested
65 // - The X-Forwarded-Proto header is set to "http" or "https", depending
66 // on whether the inbound request was made on a TLS-enabled connection.
[all …]
Dreverseproxy_test.go2 // Use of this source code is governed by a BSD-style
33 const fakeHopHeader = "X-Fake-Hop-Header-For-Test"
52 if r.Header.Get("X-Forwarded-For") == "" {
53 t.Errorf("didn't get X-Forwarded-For header")
64 if c := r.Header.Get("Proxy-Connection"); c != "" {
65 t.Errorf("handler got Proxy-Connection header value %q", c)
67 if g, e := r.Host, "some-name"; g != e {
71 w.Header().Set("Trailer", "X-Trailer")
72 w.Header().Set("X-Foo", "bar")
75 w.Header().Add("X-Multi-Value", "foo")
[all …]
/aosp_15_r20/external/guava/guava/src/com/google/common/net/
H A DHttpHeaders.java7 * http://www.apache.org/licenses/LICENSE-2.0
11 * or implied. See the License for the specific language governing permissions and limitations under
20 * Contains constant definitions for the HTTP header field names. See:
40 /** The HTTP {@code Cache-Control} header field name. */
41 public static final String CACHE_CONTROL = "Cache-Control";
42 /** The HTTP {@code Content-Length} header field name. */
43 public static final String CONTENT_LENGTH = "Content-Length";
44 /** The HTTP {@code Content-Type} header field name. */
45 public static final String CONTENT_TYPE = "Content-Type";
59 /** The HTTP {@code Accept-Charset} header field name. */
[all …]
/aosp_15_r20/external/guava/android/guava/src/com/google/common/net/
H A DHttpHeaders.java7 * http://www.apache.org/licenses/LICENSE-2.0
11 * or implied. See the License for the specific language governing permissions and limitations under
20 * Contains constant definitions for the HTTP header field names. See:
40 /** The HTTP {@code Cache-Control} header field name. */
41 public static final String CACHE_CONTROL = "Cache-Control";
42 /** The HTTP {@code Content-Length} header field name. */
43 public static final String CONTENT_LENGTH = "Content-Length";
44 /** The HTTP {@code Content-Type} header field name. */
45 public static final String CONTENT_TYPE = "Content-Type";
59 /** The HTTP {@code Accept-Charset} header field name. */
[all …]
/aosp_15_r20/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DInputView.java8 * http://www.apache.org/licenses/LICENSE-2.0
13 * See the License for the specific language governing permissions and
73 final int x = (int)me.getX(index) + rect.left; in onInterceptTouchEvent() local
76 // The touch events that hit the top padding of keyboard should be forwarded to in onInterceptTouchEvent()
78 if (mKeyboardTopPaddingForwarder.onInterceptTouchEvent(x, y, me)) { in onInterceptTouchEvent()
85 if (mMoreSuggestionsViewCanceler.onInterceptTouchEvent(x, y, me)) { in onInterceptTouchEvent()
103 final int x = (int)me.getX(index) + rect.left; in onTouchEvent() local
105 return mActiveForwarder.onTouchEvent(x, y, me); in onTouchEvent()
113 * @param <ReceiverView> a {@link View} that receives forwarded {@link MotionEvent} from
129 // Return true if a touch event of global coordinate x, y needs to be forwarded.
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/axum/src/extract/
Dhost.rs7 header::{HeaderMap, FORWARDED},
11 const X_FORWARDED_HOST_HEADER_KEY: &str = "X-Forwarded-Host";
16 /// - `Forwarded` header
17 /// - `X-Forwarded-Host` header
18 /// - `Host` header
19 /// - request target / URI
21 /// Note that user agents can set `X-Forwarded-Host` and `Host` headers to arbitrary values so make
27 impl<S> FromRequestParts<S> for Host
33 async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result<Self, Self::Rejection> { in from_request_parts()
63 fn parse_forwarded(headers: &HeaderMap) -> Option<&str> { in parse_forwarded()
[all …]
/aosp_15_r20/external/pigweed/pw_fuzzer/
H A Ddomain_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
12 // License for the specific language governing permissions and limitations under
36 /// Generates a target function and fuzz test for a specific type.
40 /// is preferred for readability, but this macro can be useful for templated
41 /// domains that are tested for many repetitive numerical types.
50 /// Generates target functions and fuzz tests for a integral types.
63 /// Generates target functions and fuzz tests for a floating point types.
68 /// Generates target functions and fuzz tests for a all arithmetic types.
92 // Arbitrary domains forwarded or stubbed from FuzzTest
121 // Numerical domains forwarded or stubbed from FuzzTest
[all …]
/aosp_15_r20/external/AFLplusplus/dictionaries/
H A Dhttp.dict19 "A-IM"
21 "Accept-Charset"
22 "Accept-Datetime"
23 "Accept-Encoding"
24 "Accept-Language"
25 "Accept-Patch"
26 "Accept-Ranges"
27 "Access-Control-Allow-Credentials"
28 "Access-Control-Allow-Headers"
29 "Access-Control-Allow-Methods"
[all …]
/aosp_15_r20/external/cldr/tools/scripts/ansible/
H A Dnginx-playbook.yml1 - hosts: surveytool
4 - vars/main.yml
5 - local-vars/local.yml
7 - { role: geerlingguy.nginx }
9 - name: Setup stapler.conf
11 src: templates/nginx-stapler.conf
17 - name: Setup reverse proxy
19 path: /etc/nginx/sites-enabled/default
21 # proxy /cldr-apps/ to openliberty, with generous timeouts
25 location /cldr-apps/ {
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/support/iterators/detail/
Dcombine_policies.hpp1 // Copyright (c) 2001-2012 Hartmut Kaiser
41 multi_pass_unique(T& x) : Input(x) {} in multi_pass_unique()
42 multi_pass_unique(T const& x) : Input(x) {} in multi_pass_unique()
53 void swap(multi_pass_unique& x) in swap()
55 this->Ownership::swap(x); in swap()
56 this->Checking::swap(x); in swap()
57 this->Input::swap(x); in swap()
58 this->Storage::swap(x); in swap()
88 void swap(multi_pass_unique& x) in swap()
90 this->Ownership::swap(x); in swap()
[all …]
/aosp_15_r20/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/extensions/filters/network/http_connection_manager/v3/
H A Dhttp_connection_manager.proto33 option go_package = "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/http_c…
36 // [#protodoc-title: HTTP connection manager]
40 // [#next-free-field: 57]
46 // For every new connection, the connection manager will determine which
47 // codec to use. This mode supports both ALPN for TLS listeners as well as
48 // protocol inference for plaintext listeners. If ALPN data is available, it
50 // this is the right option to choose for this setting.
61 // [#not-implemented-hide:] QUIC implementation is not production ready yet. Use this enum with
80 // How to handle the :ref:`config_http_conn_man_headers_x-forwarded-client-cert` (XFCC) HTTP
103 // Determines the action for request that contain %2F, %2f, %5C or %5c sequences in the URI path.
[all …]
/aosp_15_r20/external/libchrome/base/
H A Dbind_unittest.nc2 // Use of this source code is governed by a BSD-style license that can be
6 // http://dev.chromium.org/developers/testing/no-compile-tests
78 int x;
85 …static_assert failed .*\"Bound argument \|i\| of type \|Arg\| cannot be forwarded as \|Unwrapped\|…
87 // Method bound to const-object.
101 // Method bound to non-refcounted object.
113 // Const Method bound to non-refcounted object.
123 …static_assert failed .*\"Bound argument \|i\| of type \|Arg\| cannot be forwarded as \|Unwrapped\|…
125 // Const argument used with non-const pointer parameter of same type.
127 // This is just a const-correctness check.
[all …]
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/balsa/
H A Dbalsa_headers_test.cc2 // Use of this source code is governed by a BSD-style license that can be
48 headers->WriteFromFramer(ptr, size); in WriteFromFramer()
67 char* storage = buffer_->Reserve(sp.size(), block_buffer_idx); in Write()
120 EXPECT_EQ(BalsaBuffer::kDefaultBlocksize, buffer_->blocksize()); in TEST_F()
122 EXPECT_EQ(1024u, buffer_->blocksize()); in TEST_F()
127 EXPECT_EQ(0u, buffer_->GetTotalBytesUsed()); in TEST_F()
128 EXPECT_EQ(0u, buffer_->GetTotalBufferBlockSize()); in TEST_F()
130 buffer_->Reserve(1024, &index); in TEST_F()
131 EXPECT_EQ(10u + 1024u, buffer_->GetTotalBufferBlockSize()); in TEST_F()
132 EXPECT_EQ(1024u, buffer_->GetTotalBytesUsed()); in TEST_F()
[all …]
/aosp_15_r20/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/config/filter/network/http_connection_manager/v2/
H A Dhttp_connection_manager.proto27 option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/filter/network/http_connec…
32 // [#protodoc-title: HTTP connection manager]
36 // [#next-free-field: 37]
39 // For every new connection, the connection manager will determine which
40 // codec to use. This mode supports both ALPN for TLS listeners as well as
41 // protocol inference for plaintext listeners. If ALPN data is available, it
43 // this is the right option to choose for this setting.
54 // [#not-implemented-hide:] QUIC implementation is not production ready yet. Use this enum with
73 // How to handle the :ref:`config_http_conn_man_headers_x-forwarded-client-cert` (XFCC) HTTP
96 // [#next-free-field: 10]
[all …]
/aosp_15_r20/external/curl/tests/data/
H A Dtest240411 # Server-side
17 Content-Length: 47
19 file contents should appear once for each file
25 Content-Length: 47
27 file contents should appear once for each file
33 Content-Length: 47
35 file contents should appear once for each file
41 Content-Length: 47
43 file contents should appear once for each file
47 # Client-side
[all …]
H A Dtest240211 # Server-side
17 Content-Length: 47
19 file contents should appear once for each file
25 Content-Length: 47
27 file contents should appear once for each file
33 Content-Length: 47
35 file contents should appear once for each file
41 Content-Length: 47
43 file contents should appear once for each file
47 # Client-side
[all …]
/aosp_15_r20/external/google-cloud-java/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/
H A DQueryParametersOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
13 * See the License for the specific language governing permissions and
31 * [time zone database](https://www.iana.org/time-zones), e.g.,
46 * [time zone database](https://www.iana.org/time-zones), e.g.,
53 * @return The bytes for timeZone.
169 * for the session of this query.
181 * for the session of this query.
193 * for the session of this query.
205 * for the session of this query.
218 * for the session of this query.
[all …]
/aosp_15_r20/external/google-cloud-java/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/
H A DQueryParametersOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
13 * See the License for the specific language governing permissions and
31 * database](https://www.iana.org/time-zones), e.g., America/New_York,
46 * database](https://www.iana.org/time-zones), e.g., America/New_York,
53 * @return The bytes for timeZone.
97 * with. The entity synonyms apply to all languages and persist for the
111 * with. The entity synonyms apply to all languages and persist for the
124 * with. The entity synonyms apply to all languages and persist for the
137 * with. The entity synonyms apply to all languages and persist for the
151 * with. The entity synonyms apply to all languages and persist for the
[all …]
/aosp_15_r20/external/google-cloud-java/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/
H A DQueryParametersOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
13 * See the License for the specific language governing permissions and
31 * database](https://www.iana.org/time-zones), e.g., America/New_York,
46 * database](https://www.iana.org/time-zones), e.g., America/New_York,
53 * @return The bytes for timeZone.
97 * with. The entity synonyms apply to all languages and persist for the
110 * with. The entity synonyms apply to all languages and persist for the
123 * with. The entity synonyms apply to all languages and persist for the
136 * with. The entity synonyms apply to all languages and persist for the
150 * with. The entity synonyms apply to all languages and persist for the
[all …]
/aosp_15_r20/external/google-cloud-java/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/
H A DQueryParametersOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
13 * See the License for the specific language governing permissions and
31 * [time zone database](https://www.iana.org/time-zones), e.g.,
46 * [time zone database](https://www.iana.org/time-zones), e.g.,
53 * @return The bytes for timeZone.
169 * for the session of this query.
182 * for the session of this query.
195 * for the session of this query.
208 * for the session of this query.
222 * for the session of this query.
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/services/sagemakerruntime/src/main/resources/codegen-resources/
H A Dservice-2.json4 "apiVersion":"2017-05-13",
7 "protocol":"rest-json",
12 "uid":"runtime.sagemaker-2017-05-13"
31For an overview of Amazon SageMaker, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg…
37 "requestUri":"/endpoints/{EndpointName}/async-invocations",
47for asynchronous processing. The processing of the inference request may or may not complete befor…
53 "requestUri":"/endpoints/{EndpointName}/invocations-response-stream"
65for that model must support inference streaming.</p> <p>For more information that can help you use…
89 "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*"
100 "pattern":"^[a-zA-Z0-9]([\\-a-zA-Z0-9]*[a-zA-Z0-9])?$"
[all …]
/aosp_15_r20/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/config/route/v3/
H A Droute_components.proto32 option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/route/v3;routev3";
35 // [#protodoc-title: HTTP route components]
44 // [#next-free-field: 24]
49 // No TLS requirement for the virtual host.
66 // statistics but is not relevant for routing.
74 // 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``.
75 // 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``.
81 // e.g. ``*-bar.foo.com`` will match ``baz-bar.foo.com`` but not ``-bar.foo.com``.
92 // The list of routes that will be matched, in order, for incoming requests.
97 // [#next-major-version: This should be included in a oneof with routes wrapped in a message.]
[all …]
/aosp_15_r20/external/elfutils/tests/
H A Drun-debuginfod-x-forwarded-for.sh13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
19 . $srcdir/debuginfod-subr.sh
21 # for test case debugging, uncomment:
22 set -x
26 # This variable is essential and ensures no time-race for claiming ports occurs
27 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
31 # Test when debuginfod hitting X-Forwarded-For hops limit.
36 …:$PORT2 ${abs_builddir}/../debuginfod/debuginfod $VERBOSE -d :memory: --forwarded-ttl-limit 0 -p $…
41 …:$PORT1 ${abs_builddir}/../debuginfod/debuginfod $VERBOSE -d :memory: --forwarded-ttl-limit 1 -p $…
[all …]
/aosp_15_r20/external/grpc-grpc/src/core/lib/channel/
H A Dpromise_based_filter.h7 // http://www.apache.org/licenses/LICENSE-2.0
12 // See the License for the specific language governing permissions and
18 // Scaffolding to allow the per-call part of a filter to be authored in a
19 // promise-style. Most of this will be removed once the promises conversion is
103 // Perform post-initialization step (if any).
106 // Construct a promise for one call.
113 // TODO(ctiller): design a new API for this - we probably don't want big op
120 // TODO(ctiller): design a new API for this
131 // TODO(ctiller): remove once per-channel-stack EventEngines land
139 // the promise. If so, we need to allocate a latch for the generated promise for
[all …]
/aosp_15_r20/external/pytorch/torch/testing/_internal/
H A Dcommon_fsdp.py1 # mypy: allow-untyped-defs
72 # TODO: FSDP non-recursive wrapping
86 """This defines the interface expected from all models used commonly for
90 def get_input(self, device) -> Tuple[torch.Tensor, ...]:
91 """Returns an input for the model as as tuple."""
95 def get_loss(self, input, output) -> torch.Tensor:
100 def run_backward(self, loss) -> None:
106 def init(*args: Any, **kwargs: Any) -> nn.Module:
117 All-gathers module states across ranks and calls ``assert_fn`` on each pair
118 of corresponding states from rank 0 and a nonzero rank. For example, if
[all …]

12345678910>>...43