| /external/rust/crates/coset/src/header/ |
| D | tests.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 31 concat!( in test_header_encode() 32 "a3", // 3-map in test_header_encode() 34 "04", "43", "010203", // 4 (kid) => 3-bstr in test_header_encode() 35 "06", "43", "010203", // 6 (partial-iv) => 3-bstr in test_header_encode() 43 concat!( in test_header_encode() 44 "a1", // 1-map in test_header_encode() 46 "3b7fffffffffffffff", // 1 (alg) => -lots in test_header_encode() 62 concat!( in test_header_encode() 63 "a7", // 7-map in test_header_encode() [all …]
|
| /external/rust/crates/coset/src/key/ |
| D | tests.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 concat!( in test_cose_key_encode() 31 "a2", // 2-map in test_cose_key_encode() 33 "02", "43", "010203" // 2 (kid) => 3-bstr in test_cose_key_encode() 41 concat!( in test_cose_key_encode() 42 "a1", // 1-map in test_cose_key_encode() 51 concat!( in test_cose_key_encode() 52 "a1", // 1-map in test_cose_key_encode() 62 concat!( in test_cose_key_encode() 63 "a2", // 2-map in test_cose_key_encode() [all …]
|
| /external/rust/crates/coset/src/cwt/ |
| D | tests.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 29 concat!( in test_cwt_encode() 30 "a1", // 1-map in test_cwt_encode() 31 "01", "63", "616263" // 1 (iss) => 3-tstr in test_cwt_encode() 34 (ClaimsSetBuilder::new().build(), concat!("a0")), in test_cwt_encode() 44 .private_claim(-70_000, Value::Integer(0.into())) in test_cwt_encode() 46 concat!( in test_cwt_encode() 47 "a8", // 8-map in test_cwt_encode() 50 "616161", // 1 (iss) => 3-tstr in test_cwt_encode() 53 "6262", // 2 (sub) => 2-tstr in test_cwt_encode() [all …]
|
| /external/rust/crates/coset/src/sign/ |
| D | tests.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 33 concat!( in test_cose_signature_encode() 34 "83", // 3-tuple in test_cose_signature_encode() 35 "40", // 0-bstr (special case for empty protected headers, rather than 41a0) in test_cose_signature_encode() 36 "a0", // 0-map in test_cose_signature_encode() 37 "40", // 0-bstr in test_cose_signature_encode() 45 concat!( in test_cose_signature_encode() 46 "83", // 3-tuple in test_cose_signature_encode() 47 "40", // 0-bstr (special case for empty protected headers, rather than 41a0) in test_cose_signature_encode() 48 "a0", // 0-map in test_cose_signature_encode() [all …]
|
| /external/rust/crates/coset/src/encrypt/ |
| D | tests.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 33 concat!( in test_cose_recipient_decode() 34 "83", // 3-tuple in test_cose_recipient_decode() 35 "40", // 0-bstr (special case for empty protected headers, rather than 41a0) in test_cose_recipient_decode() 36 "a0", // 0-map in test_cose_recipient_decode() 42 concat!( in test_cose_recipient_decode() 43 "83", // 3-tuple in test_cose_recipient_decode() 44 "40", // 0-bstr (special case for empty protected headers, rather than 41a0) in test_cose_recipient_decode() 45 "a0", // 0-map in test_cose_recipient_decode() 46 "40", // 0-bstr in test_cose_recipient_decode() [all …]
|
| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/internal/update/ |
| D | UpdateExpressionConverter.java | 21 import java.util.Map; 46 …* - The same attribute MAY NOT be chosen for updates in more than one action expression. This is c… 47 * attribute only has one representation in the AttributeNames map. 48 …* - The same attribute MAY NOT have more than one value. This is checked by verifying that attribu… 49 * representation in the AttributeValues map. 82 Map<String, AttributeValue> expressionValues = mergeExpressionValues(expression); in toExpression() 83 Map<String, String> expressionNames = mergeExpressionNames(expression); in toExpression() 117 … .map(a -> String.format("%s = %s", a.path(), a.value())) in groupExpressions() 122 .map(RemoveAction::path) in groupExpressions() 127 … .map(a -> String.format("%s %s", a.path(), a.value())) in groupExpressions() [all …]
|
| /external/rust/crates/coset/src/mac/ |
| D | tests.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 33 concat!( in test_cose_mac_decode() 34 "85", // 5-tuple in test_cose_mac_decode() 35 "40", // 0-bstr (special case for empty protected headers, rather than 41a0) in test_cose_mac_decode() 36 "a0", // 0-map in test_cose_mac_decode() 38 "40", // 0-bstr in test_cose_mac_decode() 39 "80", // 0-arr in test_cose_mac_decode() 44 concat!( in test_cose_mac_decode() 45 "85", // 5-tuple in test_cose_mac_decode() 46 "40", // 0-bstr (special case for empty protected headers, rather than 41a0) in test_cose_mac_decode() [all …]
|
| /external/rust/crates/nix/test/ |
| D | test_sendfile.rs | 60 ["HTTP/1.1 200 OK\n", "Content-Type: text/plain\n", "\n"]; in test_sendfile_freebsd() 71 header_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_freebsd() 73 trailer_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_freebsd() 93 let expected_string = header_strings.concat() in test_sendfile_freebsd() 95 + &trailer_strings.concat(); in test_sendfile_freebsd() 111 ["HTTP/1.1 200 OK\n", "Content-Type: text/plain\n", "\n"]; in test_sendfile_dragonfly() 122 header_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_dragonfly() 124 trailer_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_dragonfly() 142 let expected_string = header_strings.concat() in test_sendfile_dragonfly() 144 + &trailer_strings.concat(); in test_sendfile_dragonfly() [all …]
|
| /external/oss-fuzz/infra/cifuzz/ |
| D | package-lock.json | 16 "resolved": "https://registry.npmjs.org/@actions/artifact/-/artifact-0.5.2.tgz", 17 …"integrity": "sha512-q/r8WSqyxBJ0ffLCRrtjCBTGnAYqP+ID4yG7f7YSlhrQ4thNg/d+Tq9f1YkLPKX46ZR97OWtGDY+o… 20 "@actions/http-client": "^1.0.11", 23 "tmp-promise": "^2.0.2" 28 "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.6.0.tgz", 29 …"integrity": "sha512-NB1UAZomZlCV/LmJqkLhNTqtKfFXJZAUPcfl/zqG7EfsQdeUJtaWO98SGbuQ3pydJ3fHl2CvI/51O… 31 "@actions/http-client": "^1.0.11" 34 "node_modules/@actions/http-client": { 36 "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz", 37 …"integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvn… [all …]
|
| /external/rust/crates/coset/src/context/ |
| D | tests.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 26 concat!( in test_context_encode() 27 "84", // 4-tuple in test_context_encode() 29 "83", "f6f6f6", // 3-tuple: [nil, nil, nil] in test_context_encode() 30 "83", "f6f6f6", // 3-tuple: [nil, nil, nil] in test_context_encode() 31 "82", "0040", // 2-tuple: [0, 0-bstr] in test_context_encode() 38 concat!( in test_context_encode() 39 "84", // 4-tuple in test_context_encode() 40 "01", // int : AES-128-GCM in test_context_encode() 41 "83", "f6f6f6", // 3-tuple: [nil, nil, nil] in test_context_encode() [all …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/shadycss/tests/ |
| D | runner.html | 2 <!-- 10 --> 12 <meta charset="utf-8"> 14 <script src="../node_modules/wct-browser-legacy/browser.js"></script> 19 'css-parse.html', 20 'apply-shim.html', 21 'async-loading.html', 22 'placeholder-ordering.html', 24 'mixin-ordering.html', 26 'style-transformer.html', [all …]
|
| /external/libwebsockets/lib/jose/jwe/ |
| D | jwe-ecdh-es-aeskw.c | 2 * libwebsockets - small server side websockets and web server implementation 4 * Copyright (C) 2010 - 2020 Andy Green <andy@warmcat.com> 25 #include "private-lib-core.h" 26 #include "private-lib-jose-jwe.h" 31 * 4.6. Key Agreement with Elliptic Curve Diffie-Hellman Ephemeral Static 32 * (ECDH-ES) 35 * Curve Diffie-Hellman Ephemeral Static [RFC6090], in combination with 36 * the Concat KDF, as defined in Section 5.8.1 of [NIST.800-56A]. The 49 * In Direct Key Agreement mode, the output of the Concat KDF MUST be a 52 * value. The "alg" (algorithm) Header Parameter value "ECDH-ES" is [all …]
|
| /external/clang/utils/ |
| D | clang-completion-mode.el | 1 ;;; Clang Code-Completion minor mode, for use with C/Objective-C/C++. 6 ;; completion to provide code completion results for C, Objective-C, 8 ;; code-completion results in a secondary buffer based on the code 11 ;; the current scope. After typing "p->" (triggered via the ">"), 20 ;; clang-completion-mode.el somewhere in your Emacs load path. You can 24 ;; (setq load-path (cons "~/.emacs.d" load-path)) 28 ;; M-x load-library 33 ;; (load-library "clang-completion-mode") 37 ;; M-x customize-group RET clang-completion-mode RET 39 ;; Finally, to try Clang-based code completion in a particular buffer, [all …]
|
| /external/antlr/runtime/Ruby/lib/antlr3/ |
| D | task.rb | 2 # encoding: utf-8 14 A rake task-generating utility concerning ANTLR grammar file 15 compilation. This is a general utility -- the grammars do 52 @name = options.fetch( :name, 'antlr-grammars' ) 60 list.concat( set.target_files ) 95 desc( "trash all ANTLR-generated source code" ) 121 @load_path = grammar_files.map { | f | File.dirname( f ) } 130 @grammars = grammar_files.map do | file | 153 @grammars.map { | gram | gram.target_files }.flatten 178 if test( ?d, output_directory ) and ( Dir.entries( output_directory ) - %w( . .. ) ).empty? [all …]
|
| /external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/ |
| D | ecdh.rs | 27 /// Private key used in a elliptic curve Diffie-Hellman. 29 /// An EcKey containing the private-public key pair 39 /// The Diffie-Hellman key exchange failed. 52 ) -> Result<SharedSecret<OUTPUT_SIZE>, Error> { in diffie_hellman() 59 .map(|_| SharedSecret(output)) in diffie_hellman() 63 /// Generate a new private key for use in a Diffie-Hellman key exchange. 64 pub fn generate() -> Self { in generate() 76 /// Returns an error if the given bytes is not a valid representation of a P-256 private key. 77 pub fn from_private_bytes(private_key_bytes: &[u8]) -> Result<Self, Error> { in from_private_bytes() 79 .map(|eckey| Self { in from_private_bytes() [all …]
|
| /external/armnn/src/backends/backendsCommon/test/ |
| D | ConcatEndToEndTestImpl.hpp | 3 // SPDX-License-Identifier: MIT 38 IConnectableLayer* concat = net->AddConcatLayer(descriptor, "concat"); in CreateConcatNetwork() local 43 IConnectableLayer* input = net->AddInputLayer(armnn::numeric_cast<LayerBindingId>(i)); in CreateConcatNetwork() 44 Connect(input, concat, inputTensorInfo, 0, i); in CreateConcatNetwork() 48 IConnectableLayer* output = net->AddOutputLayer(0, "output"); in CreateConcatNetwork() 49 Connect(concat, output, outputTensorInfo, 0, 0); in CreateConcatNetwork() 112 std::map<int, std::vector<T>> inputTensorData = {{ 0,inputData }, { 1,inputData }}; in ConcatDim0EndToEnd() 113 std::map<int, std::vector<T>> expectedOutputData = {{ 0,expectedOutput }}; in ConcatDim0EndToEnd() 174 std::map<int, std::vector<T>> inputTensorData = {{ 0,inputData }, { 1,inputData }}; in ConcatDim1EndToEnd() 175 std::map<int, std::vector<T>> expectedOutputData = {{ 0,expectedOutput }}; in ConcatDim1EndToEnd() [all …]
|
| /external/auto/value/src/main/java/com/google/auto/value/processor/ |
| D | Nullables.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 45 * If set to a non-empty string, defines which {@code @Nullable} type annotation should be used by 51 // We write this using .concat in order to hide it from rewriting rules. 52 private static final String DEFAULT_NULLABLE = "org".concat(".jspecify.nullness.Nullable"); 74 method -> in fromMethods() 75 Stream.concat( in fromMethods() 77 method.getParameters().stream().map(Element::asType))) in fromMethods() 78 .map(Nullables::nullableIn) in fromMethods() 81 .orElseGet(() -> defaultNullableTypeAnnotation(processingEnv)); in fromMethods() 87 * {@code @Nullable} type-annotation. [all …]
|
| /external/jazzer-api/src/main/java/com/code_intelligence/jazzer/junit/ |
| D | SeedArgumentsProvider.java | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 import java.util.Map; 48 // libFuzzer always runs on the file-based seeds first anyway and the additional visual in provideArguments() 57 Stream<Map.Entry<String, byte[]>> rawSeeds = in provideArguments() 59 rawSeeds = Stream.concat(rawSeeds, walkInputs(testClass, testMethod)); in provideArguments() 63 rawSeeds = Stream.concat(rawSeeds, in provideArguments() 69 .map(entry -> { in provideArguments() 74 .onClose(() -> { in provideArguments() 80 + "non-empty value."); in provideArguments() 109 private Stream<Map.Entry<String, byte[]>> walkInputs(Class<?> testClass, Method testMethod) in walkInputs() [all …]
|
| /external/guava/android/guava/src/com/google/common/collect/ |
| D | FluentIterable.java | 7 * http://www.apache.org/licenses/LICENSE-2.0 40 …* "https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html#package.descrip… 56 * <p>Several lesser-used features are currently available only as static methods on the {@link 68 * <li>A stream is <i>single-use</i>; it becomes invalid as soon as any "terminal operation" such 71 * actually do so, to avoid implying repeat-iterability.) {@code FluentIterable}, on the other 72 * hand, is multiple-use, and does implement {@link Iterable}. 74 * {@code reduce}, {@code sorted}, the very powerful {@code collect}, and built-in support for 78 * <li>Streams include primitive-specialized variants such as {@code IntStream}, the use of which 80 * <li>Streams are standard Java, not requiring a third-party dependency (but do render your code 106 * .map(Object::toString) [all …]
|
| /external/guava/guava/src/com/google/common/collect/ |
| D | FluentIterable.java | 7 * http://www.apache.org/licenses/LICENSE-2.0 55 * <p>Several lesser-used features are currently available only as static methods on the {@link 66 * <li>A stream is <i>single-use</i>; it becomes invalid as soon as any "terminal operation" such 69 * actually do so, to avoid implying repeat-iterability.) {@code FluentIterable}, on the other 70 * hand, is multiple-use, and does implement {@link Iterable}. 72 * {@code reduce}, {@code sorted}, the very powerful {@code collect}, and built-in support for 76 * <li>Streams include primitive-specialized variants such as {@code IntStream}, the use of which 78 * <li>Streams are standard Java, not requiring a third-party dependency. 103 * .map(Object::toString) 190 * <p><b>{@code Stream} equivalent:</b> {@link Stream#concat}. [all …]
|
| /external/wayland/doc/publican/ |
| D | merge-mapcoords.xsl | 3 <xsl:output method="xml" encoding="utf-8" indent="yes"/> 4 <!-- --> 5 <!-- Template for the root so we can add a DOCTYPE --> 7 …<xsl:text disable-output-escaping="yes"><![CDATA[<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook X… 12 <xsl:apply-templates select="@*|node()"/> 14 <!-- --> 17 <xsl:apply-templates select="@*|node()"/> 20 <!-- --> 21 <!-- suppress existing image map areas --> 23 <!-- --> [all …]
|
| /external/tensorflow/tensorflow/compiler/tests/ |
| D | concat_ops_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 """Functional tests for XLA Concat Op.""" 36 c = array_ops.concat([p1, p2], 0) 52 c = array_ops.concat([p1, p2], 1) 70 c = array_ops.concat([x1, x2], 0) 80 # Random dim to concat on 103 c = array_ops.concat(concat_inputs, concat_dim) 142 c = array_ops.concat(inp_tensors, 1) 148 concated_grad = array_ops.concat(grad, 1) 169 c = array_ops.concat(inp_tensors, 0) [all …]
|
| /external/rust/crates/uniffi_macros/src/ |
| D | fnsig.rs | 38 ) -> syn::Result<Self> { in new_function() 47 ) -> syn::Result<Self> { in new_method() 62 ) -> syn::Result<Self> { in new_constructor() 78 ) -> syn::Result<Self> { in new_trait_method() 94 ) -> syn::Result<Self> { in new() 107 .map(|a| Arg::new(a, &mut defaults)) in new() 112 .map(|a| match a { in new() 120 .map(|a| { in new() 152 pub fn lower_return_impl(&self) -> TokenStream { in lower_return_impl() 159 pub fn lift_return_impl(&self) -> TokenStream { in lift_return_impl() [all …]
|
| /external/rust/crates/uniffi_core/src/ |
| D | ffi_converter_impls.rs | 6 /// - Simple privitive types: u8, i32, String, Arc<T>, etc 7 /// - Composite types: Vec<T>, Option<T>, etc. 8 /// - SystemTime and Duration, which maybe shouldn`t be built-in, but have been historically and 12 /// https://mozilla.github.io/uniffi-rs/internals/lifting_and_lowering.html#code-generation-and-the… 15 /// - Each UniFFIed crate defines a unit struct named `UniFfiTag` 16 /// - We define an `impl FFIConverter<UniFfiTag> for Type` for each type that we want to pass 18 /// - When generating the code, we use the `<T as ::uniffi::FFIConverter<crate::UniFfiTag>>` impl 42 /// Numeric primitives have a straightforward mapping into C-compatible numeric types, 43 /// sice they are themselves a C-compatible numeric type! 50 fn lower(obj: $T) -> Self::FfiType { [all …]
|
| /external/kotlinx.coroutines/benchmarks/src/jmh/java/benchmarks/flow/scrabble/ |
| D | RxJava2PlaysScrabbleOpt.java | 2 …* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… 8 import java.util.Map.Entry; 30 // return Flowable.range(0, word.length()).map(i -> (int)word.charAt(i)); in chars() 39 Function<Integer, Integer> scoreOfALetter = letter -> letterScores[letter - 'a']; in play() 43 entry -> in play() 44 letterScores[entry.getKey() - 'a'] * in play() 47 scrabbleAvailableLetters[entry.getKey() - 'a'] in play() 53 string -> chars(string); in play() 55 Map<String, Single<HashMap<Integer, MutableLong>>> histoCache = new HashMap<>(); in play() 58 word -> { Single<HashMap<Integer, MutableLong>> s = histoCache.get(word); in play() [all …]
|