| /external/grpc-grpc/test/core/util/ |
| D | cmdline_test.cc | 9 // http://www.apache.org/licenses/LICENSE-2.0 19 #include "test/core/util/cmdline.h" 28 #include "test/core/util/test_config.h" 30 #define LOG_TEST() gpr_log(GPR_INFO, "test at %s:%d", __FILE__, __LINE__) 32 TEST(CmdlineTest, SimpleInt) { in TEST() function 34 gpr_cmdline* cl; in TEST() local 35 char* args[] = {const_cast<char*>(__FILE__), const_cast<char*>("-foo"), in TEST() 40 cl = gpr_cmdline_create(nullptr); in TEST() 41 gpr_cmdline_add_int(cl, "foo", nullptr, &x); in TEST() 43 gpr_cmdline_parse(cl, GPR_ARRAY_SIZE(args), args); in TEST() [all …]
|
| /external/llvm/unittests/Support/ |
| D | CommandLineTest.cpp | 1 //===- llvm/unittest/Support/CommandLineTest.cpp - CommandLine tests ------===// 8 //===----------------------------------------------------------------------===// 40 (void)name; // Suppress -Wunused-private-field. in ~TempEnvVar() 49 class StackOption : public cl::opt<T> { 50 typedef cl::opt<T> Base; 69 ~StackOption() override { this->removeArgument(); } in ~StackOption() 72 this->setValue(V); in operator =() 77 class StackSubCommand : public cl::SubCommand { 89 cl::OptionCategory TestCategory("Test Options", "Description"); 90 TEST(CommandLineTest, ModifyExisitingOption) { in TEST() function [all …]
|
| /external/cronet/base/ |
| D | command_line_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 31 #include "base/test/bind.h" 32 #include "base/test/task_environment.h" 38 // To test Windows quoting behavior, we use a string that has some backslashes 40 // Consider the command-line argument: q\"bs1\bs2\\bs3q\\\" 41 // Here it is with C-style escapes. 47 // Here that is with C-style escapes. 51 TEST(CommandLineTest, CommandLineConstructor) { in TEST() function 54 FILE_PATH_LITERAL("--foo="), in TEST() 55 FILE_PATH_LITERAL("-bAr"), in TEST() [all …]
|
| /external/libchrome/base/ |
| D | command_line_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 19 // To test Windows quoting behavior, we use a string that has some backslashes 21 // Consider the command-line argument: q\"bs1\bs2\\bs3q\\\" 22 // Here it is with C-style escapes. 26 // Here that is with C-style escapes. 30 TEST(CommandLineTest, CommandLineConstructor) { in TEST() function 33 FILE_PATH_LITERAL("--foo="), in TEST() 34 FILE_PATH_LITERAL("-bAr"), in TEST() 35 FILE_PATH_LITERAL("-spaetzel=pierogi"), in TEST() 36 FILE_PATH_LITERAL("-baz"), in TEST() [all …]
|
| /external/cronet/base/android/javatests/src/org/chromium/base/ |
| D | CommandLineTest.java | 2 // Use of this source code is governed by a BSD-style license that can be 7 import androidx.test.filters.MediumTest; 11 import org.junit.Test; 15 import org.chromium.base.test.BaseJUnit4ClassRunner; 16 import org.chromium.base.test.util.DoNotBatch; 17 import org.chromium.base.test.util.Feature; 19 /** Test class for command lines. */ 21 @DoNotBatch(reason = "Tests java -> native transition") 27 "--switch", 29 "--switch2=brea\\d", [all …]
|
| /external/cronet/base/android/junit/src/org/chromium/base/ |
| D | CommandLineTest.java | 2 // Use of this source code is governed by a BSD-style license that can be 7 import androidx.test.filters.SmallTest; 11 import org.junit.Test; 15 import org.chromium.base.test.BaseRobolectricTestRunner; 16 import org.chromium.base.test.util.Feature; 28 "--SWITCH", 30 "--switch2=brea\\d", 31 "--switch3=and \"butter\"", 32 "--switch4=a \"quoted\" 'food'!", 33 "--", [all …]
|
| /external/libchrome/base/android/javatests/src/org/chromium/base/ |
| D | CommandLineTest.java | 2 // Use of this source code is governed by a BSD-style license that can be 7 import android.support.test.filters.SmallTest; 11 import org.junit.Test; 14 import org.chromium.base.test.BaseJUnit4ClassRunner; 15 import org.chromium.base.test.util.Feature; 19 * TODO(bauerb): Convert to local JUnit test 25 static final String INIT_SWITCHES[] = { "init_command", "--SWITCH", "Arg", 26 "--switch2=brea\\d", "--switch3=and \"butter\"", 27 "--switch4=a \"quoted\" 'food'!", 28 "--", "--actually_an_arg" }; [all …]
|
| /external/crosvm/kernel_cmdline/src/ |
| D | kernel_cmdline.rs | 2 // Use of this source code is governed by a BSD-style license that can be 22 /// Operation would have resulted in a non-printable ASCII character. 23 #[error("string contains non-printable ASCII character")] 33 fn valid_char(c: char) -> bool { in valid_char() 37 fn valid_str(s: &str) -> Result<()> { in valid_str() 45 fn valid_element(s: &str) -> Result<()> { in valid_element() 67 pub fn new(capacity: usize) -> Cmdline { in new() 75 fn has_capacity(&self, more: usize) -> Result<()> { in has_capacity() 97 pub fn insert<T: AsRef<str>>(&mut self, key: T, val: T) -> Result<()> { in insert() 115 pub fn insert_str<T: AsRef<str>>(&mut self, slug: T) -> Result<()> { in insert_str() [all …]
|
| /external/clang/test/Driver/ |
| D | cl-inputs.c | 1 // Note: %s must be preceded by --, otherwise it may be interpreted as a 2 // command-line option, e.g. on Mac where %s is commonly under /Users. 4 // RUN: %clang_cl /TC -### -- %s 2>&1 | FileCheck -check-prefix=TC %s 5 // TC: "-x" "c" 6 // TC-NOT: warning 7 // TC-NOT: note 9 // RUN: %clang_cl /TP -### -- %s 2>&1 | FileCheck -check-prefix=TP %s 10 // TP: "-x" "c++" 11 // TP-NOT: warning 12 // TP-NOT: note [all …]
|
| /external/llvm/test/CodeGen/X86/ |
| D | legalize-shift-64.ll | 1 ; RUN: llc -mcpu=generic -mtriple=i686-unknown-unknown < %s | FileCheck %s 2 define i64 @test1(i32 %xx, i32 %test) nounwind { 4 %and = and i32 %test, 7 8 ; CHECK-LABEL: test1: 9 ; CHECK: shll %cl, %eax 12 ; CHECK: shrl %cl, %edx 15 define i64 @test2(i64 %xx, i32 %test) nounwind { 16 %and = and i32 %test, 7 20 ; CHECK-LABEL: test2: 21 ; CHECK: shll %cl, %esi [all …]
|
| /external/grpc-grpc-java/api/src/test/java/io/grpc/ |
| D | ServiceProvidersTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 import org.junit.Test; 53 "META-INF/services/io.grpc.ServiceProvidersTestAbstractProvider"; 55 @Test 59 ClassLoader cl = new ReplacingClassLoader( in contextClassLoaderProvider() local 62 "io/grpc/ServiceProvidersTestAbstractProvider-multipleProvider.txt"); in contextClassLoaderProvider() 64 // test that the context classloader is used as fallback in contextClassLoaderProvider() 68 "io/grpc/ServiceProvidersTestAbstractProvider-empty.txt"); in contextClassLoaderProvider() 73 ServiceProvidersTestAbstractProvider.class, NO_HARDCODED, cl, ACCESSOR).getClass()); in contextClassLoaderProvider() 79 @Test [all …]
|
| /external/wayland/tests/ |
| D | test-compositor.c | 40 #include "test-runner.h" 41 #include "test-compositor.h" 43 int client_log_fd = -1; 45 /* --- Protocol --- */ 59 "test", 1, 87 * for each test, otherwise the test can fail on wl_display_add_socket. */ 95 snprintf(retval, sizeof retval, "wayland-test-%d-%ld%ld", in get_socket_name() 108 d = ci->display; in handle_client_destroy() 110 assert(waitid(P_PID, ci->pid, &status, WEXITED) != -1); in handle_client_destroy() 116 ci->name, status.si_status); in handle_client_destroy() [all …]
|
| /external/rust/crates/libz-sys/src/zlib/contrib/masmx86/ |
| D | inffas32.asm | 1 ;/* inffas32.asm is a hand tuned assembler version of inffast.c -- fast decoding 5 ; * Copyright (C) 1995-2003 Mark Adler 11 ; * Mar-13-2003 -- Most of this is derived from inffast.S which is derived from 12 ; * the gcc -S output of zlib-1.2.0/inffast.c. Zlib-1.2.0 is in beta release at 15 ; * compiled with gcc -DNO_MMX, but inffast.S is still faster on the P3 with MMX 136 mode_state equ 0 ;/* state->mode */ 137 wsize_state equ (32+zlib1222sup) ;/* state->wsize */ 138 write_state equ (36+4+zlib1222sup) ;/* state->write */ 139 window_state equ (40+4+zlib1222sup) ;/* state->window */ 140 hold_state equ (44+4+zlib1222sup) ;/* state->hold */ [all …]
|
| /external/skia/site/docs/dev/contrib/ |
| D | submit.md | 1 --- 4 --- 8 <!--?prettify lang=sh?--> 10 git config --global user.name "Your Name" 11 git config --global user.email you@example.com 17 <!--?prettify lang=sh?--> 20 git checkout -b my_feature origin/main 24 <!--?prettify lang=sh?--> 31 <!--?prettify lang=sh?--> 34 python3 tools/git-sync-deps [all …]
|
| /external/ComputeLibrary/docs/contributor_guide/ |
| D | adding_operator.dox | 2 /// Copyright (c) 2018-2022 Arm Limited. 4 /// SPDX-License-Identifier: MIT 36 - The core library consists of a low-level collection of algorithms implemented in C++ and optimize… 37 - The runtime library is a wrapper of the core library and provides other additional features like … 41 … get linked into the application, the sources also include the validation test suite and the C++ r… 47 - Add new data types (if required) 48 - Add the kernel to the core library. 49 - Add the function to the runtime library. 50 - Add validation tests. 51 - Add the reference implementation. [all …]
|
| /external/jazzer-api/src/test/java/com/code_intelligence/jazzer/mutation/mutator/lang/ |
| D | EnumMutatorTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 import org.junit.jupiter.api.Test; 39 @Test 45 TestEnum cl; in testBoxed() local 47 cl = mutator.init(prng); in testBoxed() 49 assertThat(cl).isEqualTo(TestEnum.A); in testBoxed() 52 cl = mutator.mutate(cl, prng); in testBoxed() 54 assertThat(cl).isEqualTo(TestEnum.B); in testBoxed() 57 cl = mutator.mutate(cl, prng); in testBoxed() 59 assertThat(cl).isEqualTo(TestEnum.A); in testBoxed() [all …]
|
| /external/angle/doc/ |
| D | TestingAndProcesses.md | 1 # Handling Test Failures 3 ANGLE is tested by a number of test suites, including by the ANGLE CI and Try testers, and by the 7 We run a large number of tests for each ANGLE CL, both in ANGLE standalone and Chromium 8 configurations, both pre- and post- commit. Some tests will fail, crash, or timeout. If these 9 cannot be addressed in a timely manner, file a bug and update test expectations files. Timeliness 11 suppress failures immediately; where a developer will typically delay landing their CL in favor of 12 fixing test failures. 17 as VVL). Validation errors will cause an otherwise-passing test to fail. 19 The [vulkan-deps into ANGLE AutoRoller](https://autoroll.skia.org/r/vulkan-deps-angle-autoroll) 20 updates ANGLE to the top-of-tree (ToT) upstream Vulkan tools and SDK. Sometimes validation errors [all …]
|
| /external/rust/crates/libz-sys/src/zlib/contrib/masmx64/ |
| D | inffasx64.asm | 1 ; inffasx64.asm is a hand tuned assembler version of inffast.c - fast decoding 26 ; http://msdn.microsoft.com/library/en-us/kmarch/hh/kmarch/64bitAMD_8e951dd2-ee77-4728-8702-55ce4b5… 29 ; rax, rcx, rdx, r8, r-9, r10, and r11, which are scratch. 32 mov [rsp-8],rsi 33 mov [rsp-16],rdi 34 mov [rsp-24],r12 35 mov [rsp-32],r13 36 mov [rsp-40],r14 37 mov [rsp-48],r15 38 mov [rsp-56],rbx [all …]
|
| /external/mesa3d/src/gallium/drivers/llvmpipe/ci/ |
| D | gitlab-ci-inc.yml | 1 .llvmpipe-rules: 2 stage: software-renderer 4 - !reference [.test, rules] 5 - if: $FORCE_KERNEL_TAG != null 7 - !reference [.gl-rules, rules] 8 - changes: &llvmpipe_file_list 9 - src/gallium/drivers/llvmpipe/**/* 10 - src/gallium/winsys/sw/**/* 13 .llvmpipe-manual-rules: 14 stage: software-renderer [all …]
|
| /external/OpenCL-CLHPP/examples/src/ |
| D | trivial.cpp | 6 #include <CL/opencl.hpp> 17 std::vector<cl::Platform> platforms; in main() 18 cl::Platform::get(&platforms); in main() 19 cl::Platform plat; in main() 29 return -1; in main() 32 cl::Platform newP = cl::Platform::setDefault(plat); in main() 35 return -1; in main() 38 // Test command queue property construction in main() 39 cl::CommandQueue q5(cl::QueueProperties::Profiling | cl::QueueProperties::OutOfOrder); in main() 42 cl::Program errorProgram( in main() [all …]
|
| /external/grpc-grpc/test/core/iomgr/ |
| D | fd_posix_test.cc | 9 // http://www.apache.org/licenses/LICENSE-2.0 22 #include "test/core/util/test_config.h" 24 // This test won't work except with posix sockets enabled 60 // Create a test socket with the right properties for testing. 76 // Make fd non-blocking in create_test_socket() 81 // Use local address for test in create_test_socket() 82 sin->sin_family = AF_INET; in create_test_socket() 83 sin->sin_addr.s_addr = htonl(0x7f000001); in create_test_socket() 86 sin->sin_port = htons(static_cast<uint16_t>(port)); in create_test_socket() 92 // =======An upload server to test notify_on_read=========== [all …]
|
| /external/toolchain-utils/llvm_tools/ |
| D | update_packages_and_run_tests.py | 3 # Use of this source code is governed by a BSD-style license that can be 22 VALID_CQ_TRYBOTS = ("llvm", "llvm-next") 25 def GetCommandLineArgs() -> argparse.Namespace: 39 # Create parser and add optional command-line arguments. 47 "--extra_change_lists", 57 "--chromeos_path", 64 "--chroot_name", 73 "--chroot_out", 81 # Add argument to choose between llvm and llvm-next. 83 "--is_llvm_next", [all …]
|
| /external/javassist/src/test/scoped/ |
| D | ScopedRepositoryTestCase.java | 2 * Javassist, a Java-bytecode translator toolkit. 3 * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved. 60 ClassLoader cl = getURLClassLoader("test-classes14-jar1"); in testScopedClasses() local 61 ClassPool pool1 = repository.findClassPool(cl); in testScopedClasses() 83 ClassLoader cl = getURLClassLoader("test-classes14-jar1"); in testScopedAnnotationUsage() local 84 CtClass clazz = getCtClass("scoped.jar1.ScopedAnnotationUsage", cl); in testScopedAnnotationUsage() 90 ClassLoader cl = getURLClassLoader("test-classes14-jar1"); in testScopedAnnotationDefaultUsage() local 91 CtClass clazz = getCtClass("scoped.jar1.ScopedAnnotationDefaultUsage", cl); in testScopedAnnotationDefaultUsage() 97 ClassLoader cl = getURLClassLoader("test-classes14-jar1"); in testFullyScopedAnnotationUsage() local 98 CtClass clazz = getCtClass("scoped.jar1.FullyScopedAnnotationUsage", cl); in testFullyScopedAnnotationUsage() [all …]
|
| /external/armnn/src/backends/cl/ |
| D | backend.mk | 3 # SPDX-License-Identifier: MIT 10 # The variable to enable/disable the CL backend (ARMNN_COMPUTE_CL_ENABLED is declared in android-nn… 14 # Include the source files for the CL backend 97 # No source file will be compiled for the CL backend 104 # in the Android unit test build (armnn-tests) and it is picked 107 # The variable to enable/disable the CL backend (ARMNN_COMPUTE_CL_ENABLED is declared in android-nn… 111 # Include the source files for the CL backend tests 114 test/ClBackendTests.cpp \ 115 test/ClContextSerializerTests.cpp \ 116 test/ClCreateWorkloadTests.cpp \ [all …]
|
| /external/crosvm/tools/tests/ |
| D | cl_tests.py | 3 # Use of this source code is governed by a BSD-style license that can be 18 cl = cmd(f"{TOOLS_ROOT}/cl") variable 34 git("checkout -d HEAD").fg(quiet=True) 38 git("branch -D", branch).fg(quiet=True) 41 git("remote set-url origin https://chromium.googlesource.com/crosvm/crosvm").fg(quiet=True) 42 git("fetch -q origin main").fg(quiet=True) 43 git("fetch -q origin chromeos").fg(quiet=True) 45 def tearDown(self) -> None: 49 git("checkout -b", branch, "--track", upstream).fg(quiet=True) 52 git("commit -a -m", quoted(message)).fg(quiet=True) [all …]
|