| /external/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ |
| D | IdentityPoolCredentialSource.java | 4 * Redistribution and use in source and binary forms, with or without 8 * * Redistributions of source code must retain the above copyright 36 import java.util.Map; 40 * The IdentityPool credential source. Dictates the retrieval method of the external credential, 45 private static final long serialVersionUID = -745855247050085694L; 50 @Nullable Map<String, String> headers; 53 * The source of the 3P credential. 58 * <p>If this is URL-based 3p credential, the metadata server URL can be retrieved using the `url` 62 * format can be specified using the `format` header, which returns a map with keys `type` and 69 public IdentityPoolCredentialSource(Map<String, Object> credentialSourceMap) { in IdentityPoolCredentialSource() [all …]
|
| D | InternalAwsSecurityCredentialsSupplier.java | 4 * Redistribution and use in source and binary forms, with or without 8 * * Redistributions of source code must retain the above copyright 49 import java.util.Map; 67 static final String AWS_IMDSV2_SESSION_TOKEN_HEADER = "x-aws-ec2-metadata-token"; 68 static final String AWS_IMDSV2_SESSION_TOKEN_TTL_HEADER = "x-aws-ec2-metadata-token-ttl-seconds"; 78 * @param awsCredentialSource the credential source to use. 102 Map<String, Object> metadataRequestHeaders = createMetadataRequestHeaders(awsCredentialSource); in getCredentials() 104 // Credentials not retrievable from environment variables - call metadata server. in getCredentials() 107 if (awsCredentialSource.url == null || awsCredentialSource.url.isEmpty()) { in getCredentials() 109 "Unable to determine the AWS IAM role name. The credential source does not contain the" in getCredentials() [all …]
|
| D | AwsRequestSignature.java | 4 * Redistribution and use in source and binary forms, with or without 8 * * Redistributions of source code must retain the above copyright 36 import java.util.Map; 45 private Map<String, String> canonicalHeaders; 49 private String url; field in AwsRequestSignature 57 Map<String, String> canonicalHeaders, in AwsRequestSignature() 60 String url, in AwsRequestSignature() argument 69 this.url = url; in AwsRequestSignature() 81 /** Returns the credential scope. e.g. 20150830/us-east-1/iam/aws4_request */ 91 /** Returns the request URL. */ [all …]
|
| D | AwsCredentialSource.java | 4 * Redistribution and use in source and binary forms, with or without 8 * * Redistributions of source code must retain the above copyright 34 import java.util.Map; 38 /** The AWS credential source. Stores data required to retrieve the AWS credential. */ 42 static final long serialVersionUID = -4180558200808134436L; 45 final String url; field in AwsCredentialSource 50 * The source of the AWS credential. The credential source map must contain the 53 * <p>The `regional_cred_verification_url` is the regional GetCallerIdentity action URL, used to 61 * <p>The `url` locates the metadata server used to retrieve the AWS credentials. Optional. 63 public AwsCredentialSource(Map<String, Object> credentialSourceMap) { in AwsCredentialSource() [all …]
|
| /external/autotest/frontend/client/src/autotest/common/ |
| D | Utils.java | 5 import com.google.gwt.http.client.URL; 20 import java.util.Map; 84 public static JSONObject mapToJsonObject(Map<String, String> map) { in mapToJsonObject() argument 86 for (Map.Entry<String, String> entry : map.entrySet()) { in mapToJsonObject() 92 public static Map<String, String> jsonObjectToMap(JSONObject object) { in jsonObjectToMap() 93 Map<String, String> result = new HashMap<String, String>(); in jsonObjectToMap() 116 public static JSONObject copyJSONObject(JSONObject source) { in copyJSONObject() argument 118 for(String key : source.keySet()) { in copyJSONObject() 119 dest.put(key, source.get(key)); in copyJSONObject() 133 for (int i = escapeMappings.length - 1; i >= 0; i--) { in unescape() [all …]
|
| /external/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/ |
| D | ExternalAccountCredentialsTest.java | 4 * Redistribution and use in source and binary forms, with or without 8 * * Redistributions of source code must retain the above copyright 58 import java.util.Map; 71 private static final Map<String, Object> FILE_CREDENTIAL_SOURCE_MAP = 317 PluggableAuthCredentialSource source = in fromJson_pluggableAuthCredentials() local 319 assertEquals("command", source.getCommand()); in fromJson_pluggableAuthCredentials() 320 assertEquals(30000, source.getTimeoutMs()); // Default timeout is 30s. in fromJson_pluggableAuthCredentials() 321 assertNull(source.getOutputFilePath()); in fromJson_pluggableAuthCredentials() 342 PluggableAuthCredentialSource source = in fromJson_pluggableAuthCredentialsWorkforce() local 344 assertEquals("command", source.getCommand()); in fromJson_pluggableAuthCredentialsWorkforce() [all …]
|
| D | IdentityPoolCredentialsTest.java | 4 * Redistribution and use in source and binary forms, with or without 8 * * Redistributions of source code must retain the above copyright 52 import java.util.Map; 64 private static final Map<String, Object> FILE_CREDENTIAL_SOURCE_MAP = 86 (ExternalAccountSupplierContext context) -> "testSubjectToken"; 144 Map<String, Object> credentialSourceMap = new HashMap<>(); in retrieveSubjectToken_fileSourced() 170 Map<String, Object> credentialSourceMap = new HashMap<>(); in retrieveSubjectToken_fileSourcedWithJsonFormat() 171 Map<String, String> formatMap = new HashMap<>(); in retrieveSubjectToken_fileSourcedWithJsonFormat() 206 Map<String, Object> credentialSourceMap = new HashMap<>(); in retrieveSubjectToken_fileSourcedWithNullFormat_throws() 207 Map<String, String> formatMap = new HashMap<>(); in retrieveSubjectToken_fileSourcedWithNullFormat_throws() [all …]
|
| /external/bcc/examples/networking/http_filter/ |
| D | http-parse-complete.py | 3 # Bertrone Matteo - Polytechnic of Turin 7 # and extracts (and prints on screen) the URL 16 # line of the HTTP GET/POST request containing the url 28 MAX_URL_STRING_LEN = 8192 # max url string len (usually 8K) 29 MAX_AGE_SECONDS = 30 # max age entry in bpf_sessions map 42 # timestap == 0 --> update with current timestamp 43 # AGE > MAX_AGE_SECONDS --> delete item 52 if (current_time - current_leaf.timestamp > MAX_AGE_SECONDS): 61 print("USAGE: %s [-i <if_name>]" % argv[0]) 63 print("Try '%s -h' for more options." % argv[0]) [all …]
|
| /external/aws-sdk-java-v2/codegen/src/main/resources/software/amazon/awssdk/codegen/rules/ |
| D | Value.java.resource | 4 import java.util.Map; 47 … return new Array(node.asArray().stream().map(Value::fromNode).collect(Collectors.toList())); 56 node.asObject().forEach((k, v) -> out.put(Identifier.of(k), fromNode(v))); 64 public static Endpoint endpointFromNode(JsonNode source) { 65 return Endpoint.fromNode(source); 235 * A record (map) value. 238 private final Map<Identifier, Value> value; 240 private Record(Map<Identifier, Value> value) { 248 public Map<Identifier, Value> getValue() { 289 private static final String URL = "url"; [all …]
|
| /external/rust/crates/miette/src/ |
| D | miette_diagnostic.rs | 32 /// URL to visit for a more detailed explanation/help about this 35 pub url: Option<String>, field 42 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() 50 fn code<'a>(&'a self) -> Option<Box<dyn Display + 'a>> { in code() 53 .map(Box::new) in code() 54 .map(|c| c as Box<dyn Display>) in code() 57 fn severity(&self) -> Option<Severity> { in severity() 61 fn help<'a>(&'a self) -> Option<Box<dyn Display + 'a>> { in help() 64 .map(Box::new) in help() 65 .map(|c| c as Box<dyn Display>) in help() [all …]
|
| /external/aws-sdk-java-v2/services/kms/target/generated-sources/sdk/software/amazon/awssdk/services/kms/endpoints/internal/ |
| D | Value.java | 19 import java.util.Map; 62 … return new Array(node.asArray().stream().map(Value::fromNode).collect(Collectors.toList())); in fromNode() 71 node.asObject().forEach((k, v) -> out.put(Identifier.of(k), fromNode(v))); in fromNode() 79 public static Endpoint endpointFromNode(JsonNode source) { in endpointFromNode() argument 80 return Endpoint.fromNode(source); in endpointFromNode() 246 * A record (map) value. 249 private final Map<Identifier, Value> value; 251 private Record(Map<Identifier, Value> value) { in Record() 259 public Map<Identifier, Value> getValue() { in getValue() 298 private static final String URL = "url"; field in Value.Endpoint [all …]
|
| /external/cronet/net/reporting/ |
| D | reporting_cache_impl.h | 2 // Use of this source code is governed by a BSD-style license that can be 8 #include <map> 30 #include "third_party/abseil-cpp/absl/types/optional.h" 31 #include "url/gurl.h" 32 #include "url/origin.h" 48 const GURL& url, 66 base::flat_map<url::Origin, std::vector<ReportingEndpoint>> 69 const GURL& url, 88 const url::Origin& origin, 94 std::set<url::Origin> GetAllOrigins() const override; [all …]
|
| /external/cronet/net/url_request/ |
| D | url_request_throttler_manager.h | 2 // Use of this source code is governed by a BSD-style license that can be 8 #include <map> 18 #include "url/gurl.h" 25 // Class that registers URL request throttler entries for URLs being accessed 26 // in order to supervise traffic. URL requests for HTTP contents should 29 // URLRequestThrottlerManager maintains a map of URL IDs to URL request 30 // throttler entries. It creates URL request throttler entries when new URLs 32 // clean out outdated entries. URL ID consists of lowercased scheme, host, port 46 // Must be called for every request, returns the URL request throttler entry 47 // associated with the URL. The caller must inform this entry of some events. [all …]
|
| /external/python/setuptools/setuptools/ |
| D | package_index.py | 33 EGG_FRAGMENT = re.compile(r'^egg=([-A-Za-z0-9_.+!]+)$') 37 r'href="[^?]+\?:action=show_md5&digest=([0-9a-f]{32})">md5</a>\)' 39 URL_SCHEME = re.compile('([-+.a-z0-9]{2,}):', re.I).match 49 _tmpl = "setuptools/{setuptools.__version__} Python-urllib/{py_major}" 59 "Not a URL, existing file, or requirement spec: %r" % (spec,) 71 base = name[:-10] 73 elif lower.startswith('.win32-py', -16): 74 py_ver = name[-7:-4] 75 base = name[:-16] 77 elif lower.endswith('.win-amd64.exe'): [all …]
|
| /external/google-cloud-java/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ |
| D | UrlMapsValidateRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 17 // source: google/cloud/compute/v1/compute.proto 30 …URL map references. If that can not be inferred (for example, this URL map only references backend… 43 …URL map references. If that can not be inferred (for example, this URL map only references backend… 56 …URL map references. If that can not be inferred (for example, this URL map only references backend… 70 …URL map references. If that can not be inferred (for example, this URL map only references backend…
|
| D | AttachedDiskInitializeParamsOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 17 // source: google/cloud/compute/v1/compute.proto 144 …* Specifies the size of the disk in base-2 GB. The size must be at least 10 GB. If you specify a s… 156 …* Specifies the size of the disk in base-2 GB. The size must be at least 10 GB. If you specify a s… 169 …-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projec… 181 …-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projec… 193 …-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projec… 209 * <code>map<string, string> labels = 500195327;</code> 219 * <code>map<string, string> labels = 500195327;</code> 224 java.util.Map<java.lang.String, java.lang.String> getLabels(); in getLabels() [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/src/ |
| D | splicing.rs | 50 fn from_str(s: &str) -> Result<Self, Self::Err> { in from_str() 56 pub(crate) fn try_from_path<T: AsRef<Path>>(path: T) -> Result<Self> { in try_from_path() 61 pub(crate) fn resolve(self, workspace_dir: &Path, output_base: &Path) -> Self { in resolve() 74 .map(|(path, label)| { in resolve() 84 let cargo_config = cargo_config.map(|path| { in resolve() 116 fn try_from(value: SplicingManifest) -> Result<Self, Self::Error> { in try_from() 122 .map(|(path, label)| { in try_from() 155 /// A url where to a `.crate` file. 156 pub(crate) url: String, field 165 /// A mapping of crates to information about where their source can be downloaded [all …]
|
| /external/cronet/net/base/ |
| D | host_mapping_rules_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 11 #include "url/gurl.h" 12 #include "url/third_party/mozilla/url_parse.h" 13 #include "url/url_canon.h" 14 #include "url/url_util.h" 23 "map *.com baz , map *.net bar:60, EXCLUDE *.foo.com"); in TEST() 49 "map *.com:80 baz:111 , map *.com:443 blat:333, EXCLUDE *.foo.com"); in TEST() 92 rules.AddRuleFromString("MAP initial.test replacement.test:1000"); in TEST() 94 GURL url("http://initial.test:111"); in TEST() local 95 EXPECT_EQ(rules.RewriteUrl(url), HostMappingRules::RewriteResult::kRewritten); in TEST() [all …]
|
| /external/perfetto/src/traced/probes/ftrace/test/ |
| D | explorer.html | 2 # Loading... <!-- 3 # Copyright (C) 2017 The Android Open Source Project 9 # http://www.apache.org/licenses/LICENSE-2.0 18 python3 -m webbrowser -t "http://localhost:8000/$(basename $0)" 19 python3 -m http.server 21 <<-EOF 22 --> 26 box-sizing: border-box; 31 …font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "L… 32 font-weight: 300; [all …]
|
| /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/ |
| D | Util.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 3 * Copyright (C) 2012 The Android Open Source Project 9 * http://www.apache.org/licenses/LICENSE-2.0 36 import java.util.Map; 41 import com.android.okhttp.okio.Source; 50 /** A cheap and type-safe constant for the UTF-8 Charset. */ 52 public static final Charset UTF_8 = Charset.forName("UTF-8"); 58 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) { in checkOffsetAndCount() 63 /** Returns true if two possibly-null objects are equal. */ 141 * Attempts to exhaust {@code source}, returning true if successful. This is useful when reading [all …]
|
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
| D | Util.java | 2 * Copyright (C) 2012 The Android Open Source Project 8 * http://www.apache.org/licenses/LICENSE-2.0 35 import java.util.Map; 40 import okio.Source; 47 /** A cheap and type-safe constant for the UTF-8 Charset. */ 48 public static final Charset UTF_8 = Charset.forName("UTF-8"); 54 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) { in checkOffsetAndCount() 59 /** Returns true if two possibly-null objects are equal. */ 135 * Attempts to exhaust {@code source}, returning true if successful. This is useful when reading 136 * a complete source is helpful, such as when doing so completes a cache body or frees a socket [all …]
|
| /external/owasp/java-encoder/core/src/main/java/org/owasp/encoder/ |
| D | Encoders.java | 4 // Redistribution and use in source and binary forms, with or without 8 // * Redistributions of source code must retain the above 37 import java.util.Map; 40 * Encoders -- Public factory method for obtaining instances of Encoders. 49 * All encoders returned by the factory are thread-safe.</p> 62 public static final String HTML_CONTENT = "html-content"; 67 public static final String HTML_ATTRIBUTE = "html-attribute"; 73 public static final String HTML_UNQUOTED_ATTRIBUTE = "html-attribute-unquoted"; 81 public static final String XML_CONTENT = "xml-content"; 86 public static final String XML_ATTRIBUTE = "xml-attribute"; [all …]
|
| /external/tensorflow/tensorflow/lite/tools/cmake/modules/ |
| D | OverridableFetchContent.cmake | 8 # https://www.apache.org/licenses/LICENSE-2.0 18 # Pairs of regex --> replacement strings that map Git repositories to archive 30 "https://gitlab.com/\\1/\\2/-/archive/GIT_COMMIT/\\2-GIT_COMMIT.tar.gz" 38 # List of prefixes for regex match and replacement variables that map Git 46 # Pairs of regex --> replacement strings that map Git repositories to raw file 58 "https://gitlab.com/\\1/\\2/-/raw/GIT_COMMIT/FILE_PATH" 69 # List of prefixes for regex match and replacement variables that map Git 83 # OUTPUT_VAR: Name of the variable to store the URL if successful. If 105 # Try to convert a Git repository to an archive URL. 107 # GIT_REPOSITORY: Repository URL to convert. [all …]
|
| /external/google-breakpad/src/common/windows/ |
| D | http_upload.h | 3 // Redistribution and use in source and binary forms, with or without 7 // * Redistributions of source code must retain the above copyright 43 #include <map> 49 using std::map; 54 // URL. 56 // If the request is successful and response_body is non-NULL, 58 // If response_code is non-NULL, it will be set to the HTTP response code 61 const wstring& url, 67 // Sends a GET request to the given URL. 69 // If the request is successful and response_body is non-NULL, [all …]
|
| /external/oauth/core/src/main/java/net/oauth/ |
| D | ConsumerProperties.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 import java.net.URL; 24 import java.util.Map; 39 public static URL getResource(String name, ClassLoader loader) in getResource() 41 URL resource = loader.getResource(name); in getResource() 48 public static Properties getProperties(URL source) throws IOException { in getProperties() argument 49 InputStream input = source.openStream(); in getProperties() 70 private final Map<String, OAuthConsumer> pool = new HashMap<String, OAuthConsumer>(); 100 URL baseURL = (base == null) ? null : new URL(base); in newConsumer() 113 for (Map.Entry prop : consumerProperties.entrySet()) { in newConsumer() [all …]
|