| /external/chromium-trace/catapult/devil/devil/android/ |
| D | md5sum_test.py | 3 # Use of this source code is governed by a BSD-style license that can be 14 import mock # pylint: disable=import-error 16 TEST_OUT_DIR = os.path.join('test', 'out', 'directory') 41 test_path = '/test/host/file.dat' 48 self.assertTrue('/test/host/file.dat' in out) 49 self.assertEquals('0123456789abcdef', out['/test/host/file.dat']) 51 [HOST_MD5_EXECUTABLE, "-gz", mock.ANY]) 54 test_paths = ['/test/host/file0.dat', '/test/host/file1.dat'] 61 self.assertTrue('/test/host/file0.dat' in out) 62 self.assertEquals('0123456789abcdef', out['/test/host/file0.dat']) [all …]
|
| /external/golang-protobuf/internal/testprotos/legacy/ |
| D | legacy.proto | 2 // Use of this source code is governed by a BSD-style 8 option go_package = "google.golang.org/protobuf/internal/testprotos/legacy"; 10 // This file imports other files generated from a build of protoc-gen-go 12 // Go v1.13 and protoc v3.11.12. This package is used to test compatibility with 16 // The specific version of protoc-gen-go used is encoded in the file path: 17 // ${NAME}_${COMMIT_DATE}_${COMMIT_HASH}/test.proto 23 // The oldest supported version of protoc-gen-go is 2fc053c5, 25 import "internal/testprotos/legacy/proto2_20160225_2fc053c5/test.proto"; // v0.0.0 26 import "internal/testprotos/legacy/proto3_20160225_2fc053c5/test.proto"; // v0.0.0 29 import "internal/testprotos/legacy/proto2_20160519_a4ab9ec5/test.proto"; // v0.0.0 [all …]
|
| /external/tink/java_src/src/test/java/com/google/crypto/tink/mac/ |
| D | AesCmacParametersTest.java | 7 // http://www.apache.org/licenses/LICENSE-2.0 24 import org.junit.Test; 32 private static final AesCmacParameters.Variant LEGACY = AesCmacParameters.Variant.LEGACY; field in AesCmacParametersTest 55 @Test 57 assertThrows(GeneralSecurityException.class, () -> AesCmacParameters.builder().build()); in testAesCmacParameters_incompleteBuildsFail() 60 () -> AesCmacParameters.builder().setTagSizeBytes(10).build()); in testAesCmacParameters_incompleteBuildsFail() 63 () -> AesCmacParameters.builder().setKeySizeBytes(16).build()); in testAesCmacParameters_incompleteBuildsFail() 66 @Test 70 () -> in testAesCmacParameters_buildWithVariantSetToNull_fails() 78 @Test [all …]
|
| /external/iptables/iptables/ |
| D | Makefile.am | 1 # -*- Makefile -*- 4 AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include -I${top_sr… 9 common_sources = iptables-xml.c xtables-multi.h xshared.c xshared.h 10 common_ldadd = ../extensions/libext.a ../libxtables/libxtables.la -lm 13 common_cflags += -DALL_INCLUSIVE 16 xtables_legacy_multi_SOURCES = ${common_sources} xtables-legacy-multi.c \ 17 iptables-restore.c iptables-save.c 21 xtables_legacy_multi_SOURCES += iptables-standalone.c iptables.c iptables-multi.h 22 xtables_legacy_multi_CFLAGS += -DENABLE_IPV4 26 xtables_legacy_multi_SOURCES += ip6tables-standalone.c ip6tables.c ip6tables-multi.h [all …]
|
| /external/rust/beto-rust/nearby/presence/np_adv/src/legacy/deserialize/tests/ |
| D | error_conditions.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 19 use crate::legacy::data_elements::actions::{ActionBits, ActionsDataElement, ActiveUnlock}; 20 use crate::legacy::data_elements::de_type::{DeEncodedLength, DeTypeCode}; 21 use crate::legacy::data_elements::tx_power::TxPowerDataElement; 22 use crate::legacy::data_elements::{DataElementDeserializeError, DeserializeDataElement}; 23 use crate::legacy::deserialize::intermediate::IntermediateAdvContents; 24 use crate::legacy::serialize::tests::serialize; 25 use crate::legacy::{Ciphertext, PacketFlavorEnum, Plaintext}; 27 #[test] 30 // bogus 6-byte tx power de -- only allows length = 1 in iterate_tx_power_invalid_de_len_error() [all …]
|
| /external/golang-protobuf/ |
| D | Android.gen.bp | 2 …-rewrite google.golang.org/protobuf=golang-protobuf -rewrite github.com/google/go-cmp/cmp=go-cmp -… 5 name: "golang-protobuf-android", 8 "golang-protobuf-internal-detrand", 16 name: "protoc-gen-go", 18 "golang-protobuf-cmd-protoc-gen-go-internal_gengo", 19 "golang-protobuf-compiler-protogen", 20 "golang-protobuf-encoding-prototext", 21 "golang-protobuf-internal-genid", 22 "golang-protobuf-internal-version", 23 "golang-protobuf-proto", [all …]
|
| /external/webrtc/modules/audio_processing/test/ |
| D | apmtest.m | 4 % Use of this source code is governed by a BSD-style license 11 function apmtest(task, testname, filepath, casenumber, legacy) 14 % 'test' Processes the files to produce test output. 15 % 'list' Prints a list of cases in the test set, preceded by their 17 % 'show' Uses spclab to show the test case specified by the 20 % using a set of test files determined by TESTNAME: 22 % 'apm' The standard APM test set (default). 23 % 'apmm' The mobile APM test set. 24 % 'aec' The AEC test set. 25 % 'aecm' The AECM test set. [all …]
|
| /external/rust/beto-rust/nearby/presence/np_adv/src/legacy/data_elements/ |
| D | tests.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 20 use crate::legacy::data_elements::actions::{ActionBits, ActionsDataElement}; 21 use crate::legacy::serialize::{encode_de_header, AdvBuilder, UnencryptedEncoder}; 22 use crate::legacy::Plaintext; 26 #[test] 47 pub(in crate::legacy) mod macros { 50 use crate::legacy::data_elements::de_type::DataElementType; 51 use crate::legacy::deserialize::{DeIterator, DeserializedDataElement}; 52 use crate::legacy::serialize::SerializedDataElement; 53 use crate::legacy::PacketFlavor; [all …]
|
| D | tx_power.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 use crate::legacy::data_elements::de_type::{DeActualLength, DeEncodedLength, DeTypeCode}; 18 use crate::legacy::data_elements::{ 22 use crate::legacy::PacketFlavor; 36 pub fn tx_power_value(&self) -> i8 { in tx_power_value() 42 fn from(tx_power: TxPower) -> Self { in from() 50 fn de_type_code(&self) -> DeTypeCode { in de_type_code() 54 fn map_actual_len_to_encoded_len(&self, actual_len: DeActualLength) -> DeEncodedLength { in map_actual_len_to_encoded_len() 61 ) -> Result<(), DataElementSerializeError> { in serialize_contents() 77 ) -> Result<Self, DataElementDeserializeError> { in deserialize() [all …]
|
| /external/rust/beto-rust/nearby/presence/np_adv/src/legacy/serialize/tests/ |
| D | happy_path.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 19 use crate::legacy::data_elements::actions::{ActionBits, ActionsDataElement, NearbyShare}; 20 use crate::legacy::data_elements::tx_power::TxPowerDataElement; 21 use crate::legacy::serialize::tests::helpers::{LongDataElement, ShortDataElement}; 22 use crate::legacy::serialize::{AdvBuilder, UnencryptedEncoder}; 23 use crate::legacy::{ 28 #[test] 38 #[test] 44 let de2_contents = vec![2; NP_MAX_ADV_CONTENT_LEN - 1 - 10 - 1]; in adv_max_size_multi_de() 60 #[test] [all …]
|
| D | error_conditions.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 23 use crate::legacy::serialize::tests::helpers::{LongDataElement, ShortDataElement}; 24 use crate::legacy::serialize::{ 27 use crate::legacy::{BLE_4_ADV_SVC_MAX_CONTENT_LEN, NP_MAX_DE_CONTENT_LEN}; 29 #[test] 40 #[test] 55 #[test] 61 .add_data_element(LongDataElement::new(vec![1; NP_MAX_DE_CONTENT_LEN - 1].clone())) in add_too_much_de_when_almost_full_error() 65 assert_eq!(BLE_4_ADV_SVC_MAX_CONTENT_LEN - 1, builder.len); in add_too_much_de_when_almost_full_error() 72 #[test] [all …]
|
| D | mod.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 19 use crate::legacy::{ 25 pub(in crate::legacy) mod helpers; 29 ) -> SerializedDataElement { in serialize() 33 pub(in crate::legacy) fn supports_flavor(t: DataElementType, flavor: PacketFlavorEnum) -> bool { in supports_flavor() 48 use crate::legacy::serialize::{ 56 #[test] 61 #[test] 66 #[test] 78 #[test] [all …]
|
| /external/bazelbuild-rules_go/.bazelci/ |
| D | presubmit.yml | 1 --- 4 - ubuntu2004 5 - macos 6 - windows 11 bazel: 5.4.0 # test minimum supported version of bazel 13 - tests/core/cgo/generate_imported_dylib.sh 15 - "//..." 17 - "//..." 21 - tests/core/cgo/generate_imported_dylib.sh 23 - "--config=incompatible" [all …]
|
| /external/golang-protobuf/internal/impl/ |
| D | legacy_test.go | 2 // Use of this source code is governed by a BSD-style 13 "github.com/google/go-cmp/cmp" 14 "github.com/google/go-cmp/cmp/cmpopts" 25 proto2_20180125 "google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180125_92554152" 44 name: "legacy.proto" 61 s := fmt.Sprintf(`name:"test.proto" syntax:"proto2" %s extension:[{%s}]`, fileDesc, extDesc) 95 `package:"fizz.buzz" dependency:"legacy.proto"`, 100 `package:"fizz.buzz" dependency:"legacy.proto"`, 101 …`name:"optional_int32" number:10001 label:LABEL_OPTIONAL type:TYPE_INT32 default_value:"-12345" ex… 105 `package:"fizz.buzz" dependency:"legacy.proto"`, [all …]
|
| /external/tink/java_src/src/test/java/com/google/crypto/tink/signature/ |
| D | Ed25519ParametersTest.java | 7 // http://www.apache.org/licenses/LICENSE-2.0 21 import org.junit.Test; 30 private static final Ed25519Parameters.Variant LEGACY = Ed25519Parameters.Variant.LEGACY; field in Ed25519ParametersTest 32 @Test 39 @Test 46 @Test 53 @Test 60 @Test 62 Ed25519Parameters parameters = Ed25519Parameters.create(LEGACY); in buildParameterAndGetProperties_legacy() 63 assertThat(parameters.getVariant()).isEqualTo(LEGACY); in buildParameterAndGetProperties_legacy() [all …]
|
| /external/robolectric/robolectric/src/test/java/org/robolectric/ |
| D | RuntimeEnvironmentTest.java | 6 import static org.robolectric.annotation.LooperMode.Mode.LEGACY; 14 import androidx.test.core.app.ApplicationProvider; 15 import androidx.test.ext.junit.runners.AndroidJUnit4; 18 import org.junit.Test; 27 @Test 28 @LooperMode(LEGACY) 34 @Test 35 @LooperMode(LEGACY) 42 @Test 43 @LooperMode(LEGACY) [all …]
|
| /external/robolectric/robolectric/src/test/java/org/robolectric/plugins/ |
| D | GraphicsModeTransitionTest.java | 5 import static org.robolectric.annotation.GraphicsMode.Mode.LEGACY; 9 import androidx.test.ext.junit.runners.AndroidJUnit4; 11 import org.junit.Test; 25 * <p>Method order is important to ensure consistent transitions between LEGACY -> NATIVE -> LEGACY 32 @GraphicsMode(LEGACY) 33 @Test 40 @Test 46 @GraphicsMode(LEGACY) 47 @Test
|
| /external/zstd/tests/ |
| D | Makefile | 6 # This source code is licensed under both the BSD-style license (found in the 9 # You may select, at your option, one of the above-listed licenses. 13 # fullbench32: Same as fullbench, but forced to compile in 32-bits mode 14 # fuzzer : Test tool, to check zstd integrity on target platform 15 # fuzzer32: Same as fuzzer, but forced to compile in 32-bits mode 17 # test-zstd-speed.py : script for testing zstd speed difference between commits 18 # versionsTest : compatibility test between zstd versions stored on Github (v0.1+) 19 # zstreamtest : Fuzzer test tool for zstd streaming API 20 # zstreamtest32: Same as zstreamtest, but forced to compile in 32-bits mode 27 export DEBUGLEVEL # transmit value to sub-makefiles [all …]
|
| /external/kotlinx.atomicfu/atomicfu-gradle-plugin/src/test/kotlin/kotlinx/atomicfu/plugin/gradle/test/ |
| D | MppProjectTest.kt | 1 package kotlinx.atomicfu.plugin.gradle.test 7 * Test that ensures correctness of `atomicfu-gradle-plugin` application to the MPP project: 8 * - post-compilation bytecode transformation tasks are created 9 * (legacy transformation is tested here, compiler plugin is not applied). 10 * - original non-transformed classes are not left in compile/runtime classpath. 11 * - no `kotlinx/atomicfu` references are left in the transformed bytecode. 13 class MppLegacyTransformationTest : BaseKotlinGradleTest("mpp-simple") { 17 resolve("projects/mpp-simple/mpp-simple.gradle.kts") in createProject() 20 resolve("projects/mpp-simple/settings.gradle.kts") in createProject() 24 resolve("projects/mpp-simple/src/commonMain/kotlin/IntArithmetic.kt") in createProject() [all …]
|
| /external/iptables/iptables/tests/shell/ |
| D | run-tests.sh | 9 Usage: $(basename $0) [-v|--verbose] [-H|--host] [-V|--valgrind] 10 [[-l|--legacy]|[-n|--nft]] [testscript ...] 12 -v | --verbose Enable verbose mode (do not drop testscript output). 13 -H | --host Run tests against installed binaries in \$PATH, 15 -V | --valgrind Enable leak checking via valgrind. 16 -l | --legacy Test legacy variant only. Conflicts with --nft. 17 -n | --nft Test nft variant only. Conflicts with --legacy. 18 testscript Run only specific test(s). Implies --verbose. 34 if [ "$(id -u)" != "0" ] ; then 39 if [ ! -d "$TESTDIR" ] ; then [all …]
|
| /external/tink/java_src/src/test/java/com/google/crypto/tink/ |
| D | CryptoFormatTest.java | 7 // http://www.apache.org/licenses/LICENSE-2.0 27 import org.junit.Test; 43 @Test 48 @Test 54 @Test 56 assertThat(CryptoFormat.getOutputPrefix(getKey(OutputPrefixType.LEGACY, 0x66AABBCC))) in testLegacyPrefix() 60 @Test 66 @Test 77 @Test 84 byte[] legacyPrefix = CryptoFormat.getOutputPrefix(getKey(OutputPrefixType.LEGACY, 42)); in testConstantsAreConsistentWithGetOutputPrefix() [all …]
|
| /external/bazelbuild-rules_go/third_party/ |
| D | org_golang_google_protobuf-gazelle.patch | 1 diff -urN a/cmd/protoc-gen-go/BUILD.bazel b/cmd/protoc-gen-go/BUILD.bazel 2 --- a/cmd/protoc-gen-go/BUILD.bazel 1970-01-01 00:00:00.000000000 +0000 3 +++ b/cmd/protoc-gen-go/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 4 @@ -0,0 +1,36 @@ 8 + name = "protoc-gen-go_lib", 10 + importpath = "google.golang.org/protobuf/cmd/protoc-gen-go", 13 + "//cmd/protoc-gen-go/internal_gengo", 20 + name = "protoc-gen-go", 21 + embed = [":protoc-gen-go_lib"], 26 + name = "protoc-gen-go_test", [all …]
|
| /external/rust/beto-rust/nearby/presence/np_adv/src/legacy/deserialize/intermediate/tests/ |
| D | happy_path.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 19 use crate::legacy::data_elements::de_type::{DeEncodedLength, DeTypeCode, MAX_DE_ENCODED_LEN}; 20 use crate::legacy::deserialize::intermediate::IntermediateAdvContents; 21 use crate::legacy::serialize::encode_de_header; 22 use crate::legacy::NP_MAX_DE_CONTENT_LEN; 25 #[test] 41 #[test] 64 use crate::legacy::deserialize::intermediate::{IntermediateAdvContents, LdtAdvContents}; 65 use crate::legacy::NP_MAX_ADV_CONTENT_LEN; 70 #[test] [all …]
|
| /external/rust/beto-rust/nearby/presence/np_adv/src/legacy/data_elements/de_type/ |
| D | tests.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 20 use crate::legacy::data_elements::{DeserializeDataElement, LengthMapper}; 21 use crate::legacy::serialize::tests::helpers::{LongDataElement, ShortDataElement}; 22 use crate::legacy::{Ciphertext, PacketFlavor}; 24 legacy::{ 38 #[test] 43 #[test] 48 #[test] 53 #[test] 61 #[test] [all …]
|
| /external/crosvm/e2e_tests/tests/ |
| D | vsock.rs | 2 // Use of this source code is governed by a BSD-style license that can be 27 const ANY_CID: &str = "4294967295"; // -1U 37 fn generate_guest_cid() -> u32 { in generate_guest_cid() 42 fn generate_vhost_port() -> u32 { in generate_vhost_port() 46 #[test] 50 let config = Config::new().extra_args(vec!["--cid".to_string(), guest_cid.to_string()]); in host_to_guest() 55 #[test] 60 .extra_args(vec!["--cid".to_string(), guest_cid.to_string()]) in host_to_guest_disable_sandbox() 66 #[test] 72 "--cid".to_string(), in host_to_guest_snapshot_restore() [all …]
|