| /third_party/vk-gl-cts/external/openglcts/modules/gl/ |
| D | gl4cEnhancedLayoutsTests.hpp | 3 /*------------------------------------------------------------------------- 4 * OpenGL Conformance Test Suite 5 * ----------------------------- 7 * Copyright (c) 2015-2016 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 28 * \brief Declares test classes for "Enhanced Layouts" functionality. 29 */ /*-------------------------------------------------------------------*/ 44 namespace Utils namespace 997 } /* Utils namespace */ [all …]
|
| D | gl4cShadingLanguage420PackTests.hpp | 3 /*------------------------------------------------------------------------- 4 * OpenGL Conformance Test Suite 5 * ----------------------------- 7 * Copyright (c) 2014-2016 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 28 * \brief Declares test classes for "Shading Language 420Pack" functionality. 29 */ /*-------------------------------------------------------------------*/ 44 class Utils class 360 typedef std::vector<Utils::QUALIFIERS> qualifierSet; [all …]
|
| D | gl4cEnhancedLayoutsTests.cpp | 1 /*------------------------------------------------------------------------- 2 * OpenGL Conformance Test Suite 3 * ----------------------------- 5 * Copyright (c) 2015-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 27 */ /*-------------------------------------------------------------------*/ 53 /* Texture test base */ 72 namespace Utils namespace 104 const GLint rand = GetRandUint() - s_rand_max_half; in GetRandInt() [all …]
|
| D | gl3cGPUShader5Tests.cpp | 1 /*------------------------------------------------------------------------- 2 * OpenGL Conformance Test Suite 3 * ----------------------------- 5 * Copyright (c) 2015-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 27 */ /*-------------------------------------------------------------------*/ 51 * @param context Test context 53 Utils::programInfo::programInfo(deqp::Context& context) in programInfo() 62 Utils::programInfo::~programInfo() in ~programInfo() [all …]
|
| D | gl4cShadingLanguage420PackTests.cpp | 1 /*------------------------------------------------------------------------- 2 * OpenGL Conformance Test Suite 3 * ----------------------------- 5 * Copyright (c) 2014-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 27 */ /*-------------------------------------------------------------------*/ 61 bool Utils::checkUniformBinding(Utils::program& program, const glw::GLchar* name, glw::GLint expect… in checkUniformBinding() 64 if (-1 == uniform_location) in checkUniformBinding() 82 bool Utils::checkUniformArrayBinding(Utils::program& program, const glw::GLchar* name, glw::GLuint … in checkUniformArrayBinding() [all …]
|
| D | gl4cShaderSubroutineTests.cpp | 1 /*------------------------------------------------------------------------- 2 * OpenGL Conformance Test Suite 3 * ----------------------------- 5 * Copyright (c) 2014-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 27 */ /*-------------------------------------------------------------------*/ 48 Utils::buffer::buffer(deqp::Context& context) : m_id(0), m_context(context) in buffer() 55 Utils::buffer::~buffer() in ~buffer() 73 void Utils::buffer::bindRange(glw::GLenum target, glw::GLuint index, glw::GLintptr offset, glw::GLs… in bindRange() [all …]
|
| /third_party/python/Lib/test/test_email/ |
| D | test_utils.py | 2 from email import utils 3 import test.support 13 offsetstring = ' -0700' 14 utcoffset = datetime.timedelta(hours=-7) 20 self.assertEqual(utils.format_datetime(self.naive_dt), 21 self.datestring + ' -0000') 24 self.assertEqual(utils.format_datetime(self.aware_dt), 30 self.assertEqual(utils.format_datetime(utc_dt, usegmt=True), 35 utils.format_datetime(self.naive_dt, usegmt=True) 39 utils.format_datetime(self.aware_dt, usegmt=True) [all …]
|
| /third_party/rust/crates/clap/tests/builder/ |
| D | help.rs | 5 use super::utils; 7 fn setup() -> Command { in setup() 8 Command::new("test") in setup() 14 fn empty_args() -> impl IntoIterator<Item = String> { in empty_args() 18 #[test] 20 let m = setup().try_get_matches_from(vec!["myprog", "-h"]); in help_short() 26 #[test] 28 let m = setup().try_get_matches_from(vec!["myprog", "--help"]); in help_long() 34 #[test] 42 #[test] [all …]
|
| D | hidden_args.rs | 1 use super::utils; 8 Usage: test [OPTIONS] 11 -F, --flag2 some other flag 12 --option <opt> some option 13 -h, --help Print help 14 -V, --version Print version 17 #[test] 19 let cmd = Command::new("test") in hide_args() 24 arg!(-f --flag "some flag").hide(true), in hide_args() 25 arg!(-F --flag2 "some other flag"), in hide_args() [all …]
|
| D | template_help.rs | 1 use super::utils; 5 #[cfg(not(feature = "unstable-v5"))] 12 {all-args}"; 14 #[cfg(feature = "unstable-v5")] 21 {all-args}"; 23 #[cfg(not(feature = "unstable-v5"))] 37 #[cfg(feature = "unstable-v5")] 58 -c, --config <FILE> Sets a custom config file 59 -d... Turn debugging information on 60 -h, --help Print help [all …]
|
| D | derive_order.rs | 1 use super::utils; 7 #[test] 10 Usage: test [OPTIONS] in no_derive_order() 13 --flag_a second flag in no_derive_order() 14 --flag_b first flag in no_derive_order() 15 -h, --help Print help in no_derive_order() 16 --option_a <option_a> second option in no_derive_order() 17 --option_b <option_b> first option in no_derive_order() 18 -V, --version Print version in no_derive_order() 21 let cmd = Command::new("test") in no_derive_order() [all …]
|
| D | version.rs | 3 use crate::utils; 5 fn common() -> Command { in common() 6 Command::new("foo").help_template(utils::FULL_TEMPLATE) in common() 9 fn with_version() -> Command { in with_version() 13 fn with_long_version() -> Command { in with_long_version() 17 fn with_both() -> Command { in with_both() 21 fn with_subcommand() -> Command { in with_subcommand() 25 #[test] 27 let res = common().try_get_matches_from("foo -V".split(' ')); in version_short_flag_no_version() 34 #[test] [all …]
|
| /third_party/alsa-utils/ |
| D | BUILD.gn | 6 # http://www.apache.org/licenses/LICENSE-2.0 22 "-Wno-sign-compare", 23 "-Wno-implicit-function-declaration", 24 "-Wno-parentheses", 25 "-Wno-string-conversion", 26 "-Wno-string-plus-int", 27 "-Wno-asm-operand-widths", 28 "-Wno-pointer-sign", 29 "-Wno-deprecated-declarations", 30 "-Wno-implicit-int", [all …]
|
| /third_party/libabigail/relicensing-scripts/ |
| D | files-with-lgplv3.txt | 1 # This is extracted from file-licenses.orig.txt with: 2 # awk -F: '{print $1}' file-licenses.orig.txt 5 ./bash-completion/Makefile.am 6 ./bash-completion/abicompat 7 ./bash-completion/abidiff 8 ./bash-completion/abidw 9 ./bash-completion/abilint 10 ./bash-completion/abinilint 11 ./bash-completion/abipkgdiff 12 ./bash-completion/abisym [all …]
|
| /third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
| D | RenderBundleValidationTests.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 19 #include "utils/ComboRenderBundleEncoderDescriptor.h" 20 #include "utils/ComboRenderPipelineDescriptor.h" 21 #include "utils/WGPUHelpers.h" 30 vsModule = utils::CreateShaderModule(device, R"( in SetUp() 36 … [[stage(vertex)]] fn main([[location(0)]] pos : vec2<f32>) -> [[builtin(position)]] vec4<f32> { in SetUp() 40 fsModule = utils::CreateShaderModule(device, R"( in SetUp() 55 utils::MakeBindGroupLayout( in SetUp() 57 utils::MakeBindGroupLayout( in SetUp() 69 utils::ComboRenderPipelineDescriptor descriptor; in SetUp() [all …]
|
| D | CopyCommandsValidationTests.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 19 #include "utils/TestUtils.h" 20 #include "utils/TextureUtils.h" 21 #include "utils/WGPUHelpers.h" 76 uint32_t bytesPerPixel = utils::GetTexelBlockSizeInBytes(format); in BufferSizeForTextureCopy() 78 return (bytesPerRow * (height - 1) + width * bytesPerPixel) * depth; in BufferSizeForTextureCopy() 81 void ValidateExpectation(wgpu::CommandEncoder encoder, utils::Expectation expectation) { in ValidateExpectation() 82 if (expectation == utils::Expectation::Success) { in ValidateExpectation() 89 void TestB2TCopy(utils::Expectation expectation, in TestB2TCopy() 100 utils::CreateImageCopyBuffer(srcBuffer, srcOffset, srcBytesPerRow, srcRowsPerImage); in TestB2TCopy() [all …]
|
| D | ResourceUsageTrackingTests.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 #include "utils/ComboRenderPipelineDescriptor.h" 18 #include "utils/WGPUHelpers.h" 46 // We create a no-op render or compute pipeline without any bindings, and set bind groups 50 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in CreateNoOpRenderPipeline() 51 [[stage(vertex)]] fn main() -> [[builtin(position)]] vec4<f32> { in CreateNoOpRenderPipeline() 55 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in CreateNoOpRenderPipeline() 58 utils::ComboRenderPipelineDescriptor pipelineDescriptor; in CreateNoOpRenderPipeline() 62 pipelineDescriptor.layout = utils::MakeBasicPipelineLayout(device, nullptr); in CreateNoOpRenderPipeline() 67 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, R"( in CreateNoOpComputePipeline() [all …]
|
| D | BindGroupValidationTests.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 19 #include "utils/ComboRenderPipelineDescriptor.h" 20 #include "utils/WGPUHelpers.h" 41 // Create objects to use as resources inside test bind groups. in SetUp() 82 // Test the validation of BindGroupDescriptor::nextInChain 84 wgpu::BindGroupLayout layout = utils::MakeBindGroupLayout(device, {}); in TEST_F() 104 wgpu::BindGroupLayout layout = utils::MakeBindGroupLayout( in TEST_F() 108 utils::MakeBindGroup(device, layout, {{0, mSampler}}); in TEST_F() 111 ASSERT_DEVICE_ERROR(utils::MakeBindGroup(device, layout, {})); in TEST_F() 116 wgpu::BindGroupLayout layout = utils::MakeBindGroupLayout( in TEST_F() [all …]
|
| /third_party/vk-gl-cts/external/openglcts/modules/common/ |
| D | glcViewportArrayTests.hpp | 3 /*------------------------------------------------------------------------- 4 * OpenGL Conformance Test Suite 5 * ----------------------------- 7 * Copyright (c) 2014-2016 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 28 * \brief Declares test classes for "Viewport Array" functionality. 29 */ /*-------------------------------------------------------------------*/ 46 class Utils class 276 /** Implements test APIErrors, description follows: [all …]
|
| /third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
| D | DrawIndexedTests.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 #include "utils/ComboRenderPipelineDescriptor.h" 18 #include "utils/WGPUHelpers.h" 27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp() 29 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in SetUp() 31 fn main([[location(0)]] pos : vec4<f32>) -> [[builtin(position)]] vec4<f32> { in SetUp() 35 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in SetUp() 36 [[stage(fragment)]] fn main() -> [[location(0)]] vec4<f32> { in SetUp() 40 utils::ComboRenderPipelineDescriptor descriptor; in SetUp() 53 vertexBuffer = utils::CreateBufferFromData<float>( in SetUp() [all …]
|
| D | ObjectCachingTests.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 #include "utils/ComboRenderPipelineDescriptor.h" 18 #include "utils/WGPUHelpers.h" 22 // Test that BindGroupLayouts are correctly deduplicated. 24 wgpu::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_P() 26 wgpu::BindGroupLayout sameBgl = utils::MakeBindGroupLayout( in TEST_P() 28 wgpu::BindGroupLayout otherBgl = utils::MakeBindGroupLayout( in TEST_P() 35 // Test that two similar bind group layouts won't refer to the same one if they differ by dynamic. 37 wgpu::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_P() 39 wgpu::BindGroupLayout sameBgl = utils::MakeBindGroupLayout( in TEST_P() [all …]
|
| D | DrawIndirectTests.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 #include "utils/ComboRenderPipelineDescriptor.h" 18 #include "utils/WGPUHelpers.h" 27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp() 29 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in SetUp() 31 fn main([[location(0)]] pos : vec4<f32>) -> [[builtin(position)]] vec4<f32> { in SetUp() 35 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in SetUp() 36 [[stage(fragment)]] fn main() -> [[location(0)]] vec4<f32> { in SetUp() 40 utils::ComboRenderPipelineDescriptor descriptor; in SetUp() 53 vertexBuffer = utils::CreateBufferFromData<float>( in SetUp() [all …]
|
| /third_party/grpc/test/cpp/naming/ |
| D | resolver_component_tests_runner_invoker.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 43 #include "test/core/test_util/port.h" 44 #include "test/core/test_util/test_config.h" 45 #include "test/cpp/util/subprocess.h" 46 #include "test/cpp/util/test_config.h" 48 #include "test/cpp/util/windows/manifest_file.h" 53 "True if this test is running under bazel. " 54 "False indicates that this test is running under run_tests.py. " 55 "Child process test binaries are located differently based on this flag. "); 58 "Name, without the preceding path, of the test binary"); [all …]
|
| /third_party/rust/crates/clap/tests/derive/ |
| D | doc_comments_help.rs | 5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license 7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your 15 use crate::utils; 19 #[test] 30 let help = utils::get_long_help::<LoremIpsum>(); in doc_comments() 35 #[test] 39 #[command(name = "lorem-ipsum", about = "Dolor sit amet")] in help_is_better_than_comments() 46 let help = utils::get_long_help::<LoremIpsum>(); in help_is_better_than_comments() 52 #[test] [all …]
|
| /third_party/alsa-utils/.github/workflows/ |
| D | build.yml | 1 name: Build alsa-utils 7 runs-on: ubuntu-latest 11 - name: Prepare environment 13 dnf -y upgrade 14 dnf -y install @development-tools libtool bzip2 gettext-devel ncurses-devel 16 - name: Checkout alsa-lib 19 repository: alsa-project/alsa-lib 21 path: alsa-lib 22 - name: Configure alsa-lib 24 cd alsa-lib [all …]
|