| /external/jemalloc_new/ |
| D | Android.bp | 8 // http://www.apache.org/licenses/LICENSE-2.0 21 // Added automatically by a large-scale-change that took the approach of 34 // See: http://go/android-license-faq 39 "SPDX-license-identifier-Apache-2.0", 40 "SPDX-license-identifier-BSD", 41 "SPDX-license-identifier-ISC", 42 "SPDX-license-identifier-MIT", 51 "-D_GNU_SOURCE", 52 "-D_REENTRANT", 53 "-Wall", [all …]
|
| D | Makefile.in | 6 # Clear the default suffixes, so that built-in rules are not used. 27 CPPFLAGS := @CPPFLAGS@ -I$(objroot)include -I$(srcroot)include 90 BINS := $(objroot)bin/jemalloc-config $(objroot)bin/jemalloc.sh $(objroot)bin/jeprof 138 LJEMALLOC := -Wl,--whole-archive -L$(objroot)lib -l$(LIBJEMALLOC) -Wl,--no-whole-archive 148 C_TESTLIB_SRCS := $(srcroot)test/src/btalloc.c $(srcroot)test/src/btalloc_0.c \ 149 $(srcroot)test/src/btalloc_1.c $(srcroot)test/src/math.c \ 150 $(srcroot)test/src/mtx.c $(srcroot)test/src/mq.c \ 151 $(srcroot)test/src/SFMT.c $(srcroot)test/src/test.c \ 152 $(srcroot)test/src/thd.c $(srcroot)test/src/timer.c 161 $(srcroot)test/unit/a0.c \ [all …]
|
| /external/googletest/googletest/ |
| D | Android.mk | 8 # http://www.apache.org/licenses/LICENSE-2.0 20 # If we're being invoked from ndk-build, we'll have NDK_ROOT defined. 23 LOCAL_PATH := $(call my-dir) 25 # Defines a test module. 29 # a test running script. 31 # $(1): Test name. test/$(1).cc will automatically be added to sources. 35 # Use -Wno-unnamed-type-template-args because gtest_unittest.cc wants anonymous enum type. 36 define gtest-unit-test 40 $(eval LOCAL_SRC_FILES := test/$(strip $(1)).cc $(2)) \ 43 $(eval LOCAL_CFLAGS := -Wall -Werror -Wno-sign-compare -Wno-unnamed-type-template-args) \ [all …]
|
| /external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/ |
| D | SchedulerTest.kt | 2 …* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… in <lambda>() 14 import org.junit.Test in <lambda>() 19 import kotlin.test.* in <lambda>() 24 … ignoreLostThreads("RxCachedThreadScheduler-", "RxCachedWorkerPoolEvictor-", "RxSchedulerPurge-") in <lambda>() 27 @Test in <lambda>() 28 fun testIoScheduler(): Unit = runTest { in <lambda>() 44 @Test in <lambda>() 57 private fun runSchedulerTest(nThreads: Int = 1, action: (Scheduler) -> Unit) { in <lambda>() 58 val future = CompletableFuture<Unit>() in <lambda>() 60 newFixedThreadPoolContext(nThreads, "test").use { dispatcher -> in <lambda>() [all …]
|
| /external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/ |
| D | SchedulerTest.kt | 2 …* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… in <lambda>() 14 import org.junit.Test in <lambda>() 19 import kotlin.test.* in <lambda>() 24 … ignoreLostThreads("RxCachedThreadScheduler-", "RxCachedWorkerPoolEvictor-", "RxSchedulerPurge-") in <lambda>() 27 @Test in <lambda>() 28 fun testIoScheduler(): Unit = runTest { in <lambda>() 44 @Test in <lambda>() 57 private fun runSchedulerTest(nThreads: Int = 1, action: (Scheduler) -> Unit) { in <lambda>() 58 val future = CompletableFuture<Unit>() in <lambda>() 60 newFixedThreadPoolContext(nThreads, "test").use { dispatcher -> in <lambda>() [all …]
|
| /external/webrtc/test/pc/e2e/analyzer/video/ |
| D | default_video_quality_analyzer_metric_names_test.cc | 4 * Use of this source code is governed by a BSD-style license 17 #include "api/test/create_frame_generator.h" 18 #include "api/test/metrics/metric.h" 19 #include "api/test/metrics/metrics_logger.h" 20 #include "api/test/metrics/stdout_metrics_exporter.h" 27 #include "test/gmock.h" 28 #include "test/gtest.h" 29 #include "test/pc/e2e/analyzer/video/default_video_quality_analyzer.h" 38 using ::webrtc::test::DefaultMetricsLogger; 39 using ::webrtc::test::ImprovementDirection; [all …]
|
| /external/tink/java_src/src/test/java/com/google/crypto/tink/integration/gcpkms/ |
| D | GcpKmsClientTest.java | 7 // http://www.apache.org/licenses/LICENSE-2.0 38 import org.junit.Test; 42 /** Unit tests for {@link GcpKmsClient}.*/ 58 @Test 61 String keyUri = "gcp-kms://register"; in registerWithKeyUriAndCredentials_success() 71 @Test 77 String keyUri = "gcp-kms://register-unbound"; in registerOnlyWithCredentials_success() 85 @Test 89 () -> GcpKmsClient.register(Optional.of("blah"), Optional.of(CREDENTIAL_FILE_PATH))); in registerWithCredentialsAndBadKeyUri_fail() 102 @Test [all …]
|
| /external/curl/tests/unit/ |
| D | README.md | 1 <!-- 4 SPDX-License-Identifier: curl 5 --> 7 # Unit tests 12 ## Build Unit Tests 14 `./configure --enable-debug` is required for the unit tests to build. To 15 enable unit tests, there will be a separate static libcurl built that will be 16 used exclusively for linking unit test programs. Just build everything as 17 normal, and then you can run the unit test cases as well. 19 ## Run Unit Tests [all …]
|
| /external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
| D | ReusableCancellableContinuationTest.kt | 2 …* Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… 9 import org.junit.Test 11 import kotlin.test.* 14 @Test 19 @Test 27 suspender: suspend ((CancellableContinuation<Unit>) -> Unit) -> Unit in testContinuationsCount() 31 val channel = Channel<Continuation<Unit>>(1) in testContinuationsCount() 36 it.resumeWith(Result.success(Unit)) in testContinuationsCount() 46 assertEquals(expectedInstances, result.size - 1) in testContinuationsCount() 49 @Test [all …]
|
| /external/sdv/vsomeip/third_party/boost/spirit/classic/phoenix/test/ |
| D | Jamfile | 10 # Phoenix examples boost-jam file 14 unit-test binary_tests 19 unit-test binders_tests 24 unit-test functors_tests 29 unit-test iostream_tests 35 unit-test mixed_binary_tests 41 unit-test more_expressions_tests 47 unit-test primitives_tests 53 unit-test statements_tests 59 unit-test stl_tests [all …]
|
| /external/antlr/runtime/Ruby/ |
| D | rakefile | 2 # encoding: utf-8 18 "test/unit/test-dfa.rb", 19 "test/unit/test-tree-wizard.rb", 20 "test/unit/test-streams.rb", 21 "test/unit/test-recognizers.rb", 22 "test/unit/test-trees.rb", 23 "test/unit/test-exceptions.rb", 24 "test/unit/test-scope.rb", 25 "test/unit/test-scheme.rb", 26 "test/unit/test-template.rb", [all …]
|
| /external/kotlinpoet/kotlinpoet/src/commonTest/kotlin/com/squareup/kotlinpoet/ |
| D | LambdaTypeNameTest.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 21 import kotlin.test.Test 32 @Test fun receiverWithoutAnnotationHasNoParens() { in receiverWithoutAnnotationHasNoParens() 36 returnType = Unit::class.asTypeName(), in receiverWithoutAnnotationHasNoParens() 38 assertThat(typeName.toString()).isEqualTo("kotlin.Int.() -> kotlin.Unit") in receiverWithoutAnnotationHasNoParens() 41 @Test fun receiverWithAnnotationHasParens() { in receiverWithAnnotationHasParens() 48 returnType = Unit::class.asTypeName(), in receiverWithAnnotationHasParens() 51 … "(@com.squareup.kotlinpoet.LambdaTypeNameTest.HasSomeAnnotation kotlin.Int).() -> kotlin.Unit", in receiverWithAnnotationHasParens() 55 @Test fun contextReceiver() { in contextReceiver() 59 returnType = Unit::class.asTypeName(), in contextReceiver() [all …]
|
| /external/webrtc/rtc_tools/frame_analyzer/ |
| D | video_quality_analysis_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 15 #include "api/test/metrics/metric.h" 16 #include "api/test/metrics/metrics_logger.h" 18 #include "test/gmock.h" 19 #include "test/gtest.h" 20 #include "test/testsupport/file_utils.h" 23 namespace test { namespace 32 Unit unit; member 38 return a.name == b.name && a.test_case == b.test_case && a.unit == b.unit && in operator ==() 44 << "; unit=" << test::ToString(m.unit) in operator <<() [all …]
|
| /external/sdv/vsomeip/third_party/boost/spirit/classic/phoenix/example/ |
| D | Jamfile | 10 # Phoenix examples boost-jam file 14 #unit-test sample1 20 unit-test sample2 26 unit-test sample3 32 unit-test sample4 38 unit-test sample5 44 unit-test sample6 50 unit-test sample7 56 unit-test sample8 62 unit-test sample9 [all …]
|
| /external/webrtc/test/pc/e2e/ |
| D | peer_connection_quality_test_metric_names_test.cc | 4 * Use of this source code is governed by a BSD-style license 15 #include "api/test/create_network_emulation_manager.h" 16 #include "api/test/create_peer_connection_quality_test_frame_generator.h" 17 #include "api/test/metrics/metrics_logger.h" 18 #include "api/test/metrics/stdout_metrics_exporter.h" 19 #include "api/test/network_emulation_manager.h" 20 #include "api/test/pclf/media_configuration.h" 21 #include "api/test/pclf/media_quality_test_params.h" 22 #include "api/test/pclf/peer_configurer.h" 23 #include "api/test/peerconnection_quality_test_fixture.h" [all …]
|
| /external/federated-compute/fcp/base/ |
| D | result_test.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 46 TEST(ResultTest, Constructor) { in TEST() function 51 TEST(ResultTest, CombinatorsToValue) { in TEST() function 53 .Then([](int i) -> Result<bool> { return i != 123; }) in TEST() 54 .Map([](bool b) -> bool { return !b; }); in TEST() 58 TEST(ResultTest, CombinatorsToValue_MoveOnly) { in TEST() function 61 .Then([](UniqueValue<int> i) -> Result<UniqueValue<bool>> { in TEST() 64 .Map([](UniqueValue<bool> b) -> UniqueValue<bool> { in TEST() 67 .Map([](UniqueValue<bool> b) -> bool { return std::move(b).Take(); }); in TEST() 71 TEST(ResultTest, MapToValue_MoveOnly_Const) { in TEST() function [all …]
|
| /external/accompanist/permissions/src/androidTest/java/com/google/accompanist/permissions/ |
| D | FakeTests.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 19 import androidx.test.filters.SdkSuppress 20 import org.junit.Test 28 @Test 29 fun fakeTestToAvoidNoTestsFoundErrorInAPI22AndBelow() = Unit 31 // More Fake tests to help with sharding: https://github.com/android/android-test/issues/973 32 @Test 33 fun fake1() = Unit 35 @Test 36 fun fake2() = Unit [all …]
|
| /external/accompanist/pager-indicators/src/sharedTest/kotlin/com/google/accompanist/insets/ |
| D | FakeTests.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 19 import org.junit.Test 24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973 28 @Test 29 fun fake1() = Unit 31 @Test 32 fun fake2() = Unit 34 @Test 35 fun fake3() = Unit 37 @Test [all …]
|
| /external/accompanist/placeholder/src/sharedTest/kotlin/com/google/accompanist/placeholder/ |
| D | FakeTests.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 19 import org.junit.Test 24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973 28 @Test 29 fun fake1() = Unit 31 @Test 32 fun fake2() = Unit 34 @Test 35 fun fake3() = Unit 37 @Test [all …]
|
| /external/accompanist/testharness/src/sharedTest/kotlin/com/google/accompanist/testharness/ |
| D | FakeTests.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 19 import org.junit.Test 24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973 28 @Test 29 fun fake1() = Unit 31 @Test 32 fun fake2() = Unit 34 @Test 35 fun fake3() = Unit 37 @Test [all …]
|
| /external/accompanist/appcompat-theme/src/sharedTest/kotlin/com/google/accompanist/appcompattheme/ |
| D | FakeTests.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 19 import org.junit.Test 24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973 28 @Test 29 fun fake1() = Unit 31 @Test 32 fun fake2() = Unit 34 @Test 35 fun fake3() = Unit 37 @Test [all …]
|
| /external/accompanist/swiperefresh/src/sharedTest/kotlin/com/google/accompanist/swiperefresh/ |
| D | FakeTests.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 19 import org.junit.Test 24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973 28 @Test 29 fun fake1() = Unit 31 @Test 32 fun fake2() = Unit 34 @Test 35 fun fake3() = Unit 37 @Test [all …]
|
| /external/accompanist/systemuicontroller/src/sharedTest/kotlin/com/google/accompanist/systemuicontroller/ |
| D | FakeTests.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 19 import org.junit.Test 24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973 28 @Test 29 fun fake1() = Unit 31 @Test 32 fun fake2() = Unit 34 @Test 35 fun fake3() = Unit 37 @Test [all …]
|
| /external/accompanist/web/src/androidTest/kotlin/com/google/accompanist/web/ |
| D | FakeTests.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 19 import org.junit.Test 24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973 28 @Test 29 fun fake1() = Unit 31 @Test 32 fun fake2() = Unit 34 @Test 35 fun fake3() = Unit 37 @Test [all …]
|
| /external/accompanist/themeadapter-appcompat/src/sharedTest/kotlin/com/google/accompanist/themeadapter/appcompat/ |
| D | FakeTests.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 19 import org.junit.Test 24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973 28 @Test 29 fun fake1() = Unit 31 @Test 32 fun fake2() = Unit 34 @Test 35 fun fake3() = Unit 37 @Test [all …]
|