/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | RenderPassLoadOpTests.cpp | 17 #include "utils/ComboRenderPipelineDescriptor.h" 18 #include "utils/WGPUHelpers.h" 29 vsModule = utils::CreateShaderModule(device, vsSource); in DrawQuad() 30 fsModule = utils::CreateShaderModule(device, fsSource); in DrawQuad() 32 pipelineLayout = utils::MakeBasicPipelineLayout(device, nullptr); in DrawQuad() 36 utils::ComboRenderPipelineDescriptor descriptor; in Draw() 114 utils::ComboRenderPassDescriptor renderPassDescriptor({texture.CreateView()}); in TestIntegerClearColor() 127 utils::CreateImageCopyTexture(texture, 0, {0, 0, 0}); in TestIntegerClearColor() 129 utils::CreateImageCopyBuffer(buffer, 0, kTextureBytesPerRowAlignment); in TestIntegerClearColor() 152 utils in TEST_P() [all...] |
H A D | VertexOnlyRenderPipelineTests.cpp | 17 #include "utils/ComboRenderPipelineDescriptor.h" 18 #include "utils/WGPUHelpers.h" 31 utils::CreateBufferFromData<float>(device, wgpu::BufferUsage::Vertex, 63 renderPassDescNoColor = utils::ComboRenderPassDescriptor({}, depthStencilView); 69 utils::ComboRenderPassDescriptor({renderTargetColor.CreateView()}, depthStencilView); 104 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in CreateRenderPipeline() 110 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in CreateRenderPipeline() 115 utils::ComboRenderPipelineDescriptor descriptor; in CreateRenderPipeline() 144 utils::ComboRenderPassDescriptor clearPass = in ClearAttachment() 145 utils in ClearAttachment() [all...] |
H A D | EntryPointTests.cpp | 17 #include "utils/ComboRenderPipelineDescriptor.h" 18 #include "utils/WGPUHelpers.h" 26 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_P() 37 utils::ComboRenderPipelineDescriptor desc; in TEST_P() 47 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, 1, 1); in TEST_P() 80 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_P() 114 wgpu::BindGroup group = utils::MakeBindGroup(device, bindGroupLayout, {{0, buffer}}); in TEST_P()
|
H A D | WindowSurfaceTests.cpp | 20 #include "utils/GLFWUtils.h" 38 # include "utils/ObjCUtils.h" 88 utils::SetupWindowAndGetSurfaceDescriptorForTesting(window); in TEST_F() 130 utils::SetupWindowAndGetSurfaceDescriptorForTesting(window); in TEST_F() 132 utils::SetupWindowAndGetSurfaceDescriptorForTesting(window); in TEST_F() 147 utils::SetupWindowAndGetSurfaceDescriptorForTesting(window); in TEST_F() 183 utils::SetupWindowAndGetSurfaceDescriptorForTesting(window); in TEST_F() 223 utils::SetupWindowAndGetSurfaceDescriptorForTesting(window); in TEST_F() 232 chainedDescriptor.layer = utils::CreateDummyCALayer(); in TEST_F()
|
H A D | MultisampledSamplingTests.cpp | 18 #include "utils/ComboRenderPipelineDescriptor.h" 19 #include "utils/WGPUHelpers.h" 57 utils::ComboRenderPipelineDescriptor desc; 59 desc.vertex.module = utils::CreateShaderModule(device, R"( 65 desc.cFragment.module = utils::CreateShaderModule(device, R"( 98 desc.compute.module = utils::CreateShaderModule(device, R"( 178 wgpu::Buffer vBuffer = utils::CreateBufferFromData( in TEST_P() 200 utils::ComboRenderPassDescriptor renderPass({colorView}, depthView); in TEST_P() 213 0, utils::MakeBindGroup( in TEST_P()
|
H A D | RenderAttachmentTests.cpp | 17 #include "utils/ComboRenderPipelineDescriptor.h" 18 #include "utils/WGPUHelpers.h" 25 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_P() 31 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_P() 50 utils::ComboRenderPipelineDescriptor pipelineDesc; in TEST_P() 67 utils::ComboRenderPassDescriptor renderPass({renderTarget.CreateView()}); in TEST_P()
|
H A D | ClipSpaceTests.cpp | 17 #include "utils/ComboRenderPipelineDescriptor.h" 18 #include "utils/WGPUHelpers.h" 23 utils::ComboRenderPipelineDescriptor pipelineDescriptor; in CreatePipelineForTest() 28 pipelineDescriptor.vertex.module = utils::CreateShaderModule(device, R"( in CreatePipelineForTest() 41 pipelineDescriptor.cFragment.module = utils::CreateShaderModule(device, R"( in CreatePipelineForTest() 73 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateView()}, in TEST_P()
|
H A D | ShaderFloat16Tests.cpp | 18 #include "utils/WGPUHelpers.h" 45 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P() 49 wgpu::Buffer bufferIn = utils::CreateBufferFromData(device, &bufferInData, sizeof(bufferInData), in TEST_P() 74 wgpu::ShaderModule module = utils::CreateShaderModuleFromASM(device, R"( in TEST_P() 153 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P()
|
/third_party/node/deps/npm/node_modules/cli-table3/src/ |
H A D | cell.js | 2 const utils = require('./utils'); 71 this.desiredWidth = utils.strlen(this.content) + this.paddingLeft + this.paddingRight; 89 return this.wrapLines(utils.wordWrap(this.fixedWidth, this.content, wrapOnWordBoundary)); 95 const lines = utils.colorizeLines(computedLines); 97 return lines.map((line) => utils.hyperlink(this.href, line)); 136 let content = utils.truncate(this.content, 10, this.truncate); 172 content.push(utils.repeat(this.chars[this.y == 0 ? 'top' : 'mid'], width)); 176 content.push(utils.repeat(this.chars[this.y == 0 ? 'top' : 'mid'], this.width)); 253 let leftPadding = utils [all...] |
/third_party/rust/crates/clap/tests/builder/ |
H A D | subcommands.rs | 3 use super::utils; 112 utils::assert_output(cmd, "dym subcm", DYM_SUBCMD, true); in subcmd_did_you_mean_output() 134 utils::assert_output(cmd, "dym te", DYM_SUBCMD_AMBIGUOUS, true); in subcmd_did_you_mean_output_ambiguous() 154 utils::assert_output(cmd, "dym --subcmarg subcmd", EXPECTED, true); in subcmd_did_you_mean_output_arg() 172 utils::assert_output(cmd, "dym --subcmarg foo", EXPECTED, true); in subcmd_did_you_mean_output_arg_false_positives() 205 utils::assert_output(cmd, "clap-test --help", VISIBLE_ALIAS_HELP, false); in visible_aliases_help_output() 225 utils::assert_output(cmd, "clap-test --help", INVISIBLE_ALIAS_HELP, false); in invisible_aliases_help_output() 365 utils::assert_output(cmd, "cmd -- subcmd", SUBCMD_AFTER_DOUBLE_DASH, true); in subcommand_used_after_double_dash() 428 utils::assert_output( in subcommand_not_recognized() 511 utils in bad_multicall_command_error() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | ExternalTextureTests.cpp | 17 #include "utils/ComboRenderPipelineDescriptor.h" 18 #include "utils/WGPUHelpers.h" 174 wgpu::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_F() 175 device, {{0, wgpu::ShaderStage::Fragment, &utils::kExternalTextureBindingLayout}}); in TEST_F() 176 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, externalTexture}}); in TEST_F() 183 utils::ComboRenderPassDescriptor renderPass({renderView}, nullptr); in TEST_F() 226 wgpu::BindGroupLayout bgl = utils::MakeBindGroupLayout( in TEST_F() 227 device, {{0, wgpu::ShaderStage::Fragment, &utils::kExternalTextureBindingLayout}}); in TEST_F() 228 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, externalTexture}}); in TEST_F() 235 utils in TEST_F() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
H A D | Makefile | 15 $(TEST_GEN_PROGS): ../harness.c ../utils.c 17 $(OUTPUT)/prot_sao: ../utils.c 25 $(OUTPUT)/stack_expansion_signal: ../utils.c ../pmu/lib.c 28 $(OUTPUT)/stack_expansion_ldst: ../utils.c
|
/kernel/linux/linux-6.6/scripts/gdb/linux/ |
H A D | stackdepot.py | 10 from linux import utils, constants namespace 13 stack_record_type = utils.CachedType('struct stack_record') 38 stack = (pool + gdb.Value(offset).cast(utils.get_size_t_type())).cast(stack_record_type.get_type().pointer()) 39 size = int(stack['size'].cast(utils.get_ulong_type()))
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/ |
H A D | Makefile | 17 $(TEST_GEN_PROGS): ../harness.c ../utils.c 19 $(OUTPUT)/prot_sao: ../utils.c 29 $(OUTPUT)/stack_expansion_signal: ../utils.c ../pmu/lib.c 32 $(OUTPUT)/stack_expansion_ldst: ../utils.c
|
/third_party/skia/infra/bots/ |
H A D | zip_utils_test.py | 16 import utils namespace 23 with utils.tmp_dir(): 43 with utils.tmp_dir(): 68 with utils.tmp_dir():
|
/third_party/spirv-tools/source/ |
H A D | parsed_operand.cpp | 47 *out << spvtools::utils::FloatProxy<spvtools::utils::Float16>( in EmitNumericLiteral() 51 *out << spvtools::utils::FloatProxy<float>(word); in EmitNumericLiteral() 70 *out << spvtools::utils::FloatProxy<double>(bits); in EmitNumericLiteral()
|
/third_party/skia/third_party/externals/libwebp/ |
H A D | Android.mk | 152 src/utils/bit_reader_utils.c \ 153 src/utils/color_cache_utils.c \ 154 src/utils/filters_utils.c \ 155 src/utils/huffman_utils.c \ 156 src/utils/quant_levels_dec_utils.c \ 157 src/utils/random_utils.c \ 158 src/utils/rescaler_utils.c \ 159 src/utils/thread_utils.c \ 160 src/utils/utils [all...] |
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | parser_type.cc | 22 #include "src/utils/map.h" 23 #include "src/utils/hash.h" 54 return utils::Hash(t.type, t.storage_class); in operator ()() 60 return utils::Hash(t.type, t.storage_class); in operator ()() 66 return utils::Hash(t.type, t.size); in operator ()() 72 return utils::Hash(t.type, t.columns, t.rows); in operator ()() 78 return utils::Hash(t.type, t.size, t.stride); in operator ()() 84 return utils::Hash(t.dims, t.type); in operator ()() 90 return utils::Hash(t.dims, t.type); in operator ()() 96 return utils in operator ()() [all...] |
/third_party/typescript/tests/issues_cookbook_tests/ |
H A D | autotest_sdk.py | 45 utils = Utils() variable in SDKLinterTest 56 result = self.utils.run_command(install_cmd, self.project_path) 57 log = result.stdout.decode() + self.utils.get_stderr(result) 64 result = self.utils.run_command(sync_cmd, self.project_path) 65 log = result.stdout.decode() + self.utils.get_stderr(result) 70 clean_result = self.utils.run_command(clean_cmd, self.project_path) 72 build_result = self.utils.run_command(build_cmd, self.project_path) 73 log = build_result.stdout.decode() + self.utils.get_stderr(build_result) 77 self.build_info = self.utils.remove_ansi_colors(log).split('\r\n')
|
/third_party/spirv-tools/tools/objdump/ |
H A D | extract_source.cpp | 60 spvtools::Error(spvtools::utils::CLIMessageConsumer, "", loc, in ExtractStringLiteral() 71 spvtools::Error(spvtools::utils::CLIMessageConsumer, "", loc, in extractOpString() 90 spvtools::Error(spvtools::utils::CLIMessageConsumer, "", loc, in extractOpSourceContinued() 110 spvtools::Error(spvtools::utils::CLIMessageConsumer, "", loc, in extractOpSource() 139 context.SetMessageConsumer(spvtools::utils::CLIMessageConsumer); in ExtractSourceFromModule() 173 spvtools::Error(spvtools::utils::CLIMessageConsumer, "", loc, in ExtractSourceFromModule() 205 spvtools::Error(spvtools::utils::CLIMessageConsumer, "", {}, in ExtractSourceFromModule()
|
/kernel/linux/linux-5.10/tools/gpio/ |
H A D | Makefile | 38 GPIO_UTILS_IN := $(OUTPUT)gpio-utils-in.o 40 $(Q)$(MAKE) $(build)=gpio-utils 46 $(LSGPIO_IN): prepare FORCE $(OUTPUT)gpio-utils-in.o 55 $(GPIO_HAMMER_IN): prepare FORCE $(OUTPUT)gpio-utils-in.o 64 $(GPIO_EVENT_MON_IN): prepare FORCE $(OUTPUT)gpio-utils-in.o
|
/kernel/linux/linux-6.6/tools/gpio/ |
H A D | Makefile | 38 GPIO_UTILS_IN := $(OUTPUT)gpio-utils-in.o 40 $(Q)$(MAKE) $(build)=gpio-utils 46 $(LSGPIO_IN): prepare FORCE $(OUTPUT)gpio-utils-in.o 55 $(GPIO_HAMMER_IN): prepare FORCE $(OUTPUT)gpio-utils-in.o 64 $(GPIO_EVENT_MON_IN): prepare FORCE $(OUTPUT)gpio-utils-in.o
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | vectorize_scalar_matrix_constructors_test.cc | 21 #include "src/utils/string.h" 62 tmpl = utils::ReplaceAll(tmpl, "${matrix}", mat_type); in TEST_P() 63 auto src = utils::ReplaceAll(tmpl, "${values}", scalar_values); in TEST_P() 64 auto expect = utils::ReplaceAll(tmpl, "${values}", vector_values); in TEST_P() 91 tmpl = utils::ReplaceAll(tmpl, "${matrix}", mat_type); in TEST_P() 92 auto src = utils::ReplaceAll(tmpl, "${columns}", columns); in TEST_P()
|
/third_party/skia/infra/bots/assets/valgrind/ |
H A D | create.py | 26 import utils namespace 37 with utils.chdir(TEMP_DIR): 45 with utils.chdir(TEMP_DIR): 60 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)): 67 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
|
/third_party/skia/modules/androidkit/src/ |
H A D | RuntimeShaderBuilder.cpp | 19 SkString(androidkit::utils::CString(env, jsksl))); in ShaderBuilder_Create() 39 builder->uniform(androidkit::utils::CString(env, jname)) = val; in ShaderBuilder_SetUniformFloat() 45 builder->uniform(androidkit::utils::CString(env, jname)) = SkV3{valX, valY, valZ}; in ShaderBuilder_SetUniformFloat3() 52 builder->uniform(androidkit::utils::CString(env, jname)) = *matrix; in ShaderBuilder_SetUniformMatrix()
|