Home
last modified time | relevance | path

Searched refs:utils (Results 26 - 50 of 913) sorted by relevance

12345678910>>...37

/third_party/rust/crates/clap/tests/builder/
H A Dhelp.rs5 use super::utils;
88 utils::assert_eq(EXPECTED, err.to_string()); in help_multi_subcommand_error()
115 utils::assert_output(cmd, "example --help", LAST_ARG_REQ_MULT, false); in req_last_arg_usage()
171 utils::assert_output(cmd, "flamegraph --help", LAST_ARG_USAGE, false); in args_with_last_usage()
176 let m = utils::complex_app().try_get_matches_from(vec!["clap-test", "subcmd", "-h"]); in subcommand_short_help()
184 let m = utils::complex_app().try_get_matches_from(vec!["clap-test", "subcmd", "--help"]); in subcommand_long_help()
192 let m = utils::complex_app().try_get_matches_from(vec!["clap-test", "help", "subcmd"]); in subcommand_help_rev()
232 utils::assert_output(utils::complex_app(), "clap-test --help", HELP, false); in complex_help_output()
255 utils in after_and_before_help_output()
[all...]
H A Dhidden_args.rs1 use super::utils;
29 utils::assert_output(cmd, "test --help", HIDDEN_ARGS, false); in hide_args()
64 utils::assert_output(cmd, "test -h", HIDDEN_SHORT_ARGS, false); in hide_short_args()
107 utils::assert_output(cmd, "test --help", HIDDEN_SHORT_ARGS_LONG_HELP, false); in hide_short_args_long_help()
146 utils::assert_output(cmd, "test --help", HIDDEN_LONG_ARGS, false); in hide_long_args()
181 utils::assert_output(cmd, "test -h", HIDDEN_LONG_ARGS_SHORT_HELP, false); in hide_long_args_short_help()
202 utils::assert_output(cmd, "test --help", HIDDEN_POS_ARGS, false); in hide_pos_args()
219 utils::assert_output(cmd, "test --help", HIDDEN_SUBCMDS, false); in hide_subcmds()
239 utils::assert_output(cmd, "test --help", HIDDEN_OPT_ARGS_ONLY, false); in hide_opt_args_only()
259 utils in hide_pos_args_only()
[all...]
H A Dhelp_env.rs7 use super::utils;
96 utils::assert_output(cmd, "ctest --help", HIDE_ENV, false); in hide_env()
113 utils::assert_output(cmd, "ctest --help", SHOW_ENV, false); in show_env()
131 utils::assert_output(cmd, "ctest --help", HIDE_ENV_VALS, false); in hide_env_vals()
148 utils::assert_output(cmd, "ctest --help", SHOW_ENV_VALS, false); in show_env_vals()
165 utils::assert_output(cmd, "ctest --help", HIDE_ENV_FLAG, false); in hide_env_flag()
181 utils::assert_output(cmd, "ctest --help", SHOW_ENV_FLAG, false); in show_env_flag()
198 utils::assert_output(cmd, "ctest --help", HIDE_ENV_VALS_FLAG, false); in hide_env_vals_flag()
214 utils::assert_output(cmd, "ctest --help", SHOW_ENV_VALS_FLAG, false); in show_env_vals_flag()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DShaderTests.cpp17 #include "utils/ComboRenderPipelineDescriptor.h"
18 #include "utils/WGPUHelpers.h"
28 return utils::CreateBufferFromData(device, data.data(), bufferSize, in CreateBuffer()
36 csDesc.compute.module = utils::CreateShaderModule(device, shader.c_str()); in CreateComputePipeline()
86 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer}}); in TEST_P()
111 ASSERT_DEVICE_ERROR(utils::CreateShaderModule(device, shader.c_str())); in TEST_P()
126 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, vertexShader.c_str()); in TEST_P()
133 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, fragmentShader.c_str()); in TEST_P()
135 utils::ComboRenderPipelineDescriptor rpDesc; in TEST_P()
162 wgpu::ShaderModule vsModule = utils in TEST_P()
[all...]
H A DVertexStateTests.cpp19 #include "utils/ComboRenderPipelineDescriptor.h"
20 #include "utils/WGPUHelpers.h"
43 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
69 wgpu::RenderPipeline MakeTestPipeline(const utils::ComboVertexState& vertexState, in MakeTestPipeline()
139 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, vs.str().c_str()); in MakeTestPipeline()
140 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in MakeTestPipeline()
147 utils::ComboRenderPipelineDescriptor descriptor; in MakeTestPipeline()
169 utils::ComboVertexState* vertexState) { in MakeVertexState()
196 return utils::CreateBufferFromData(device, data.data(), in MakeVertexBuffer()
246 utils
[all...]
H A DGpuMemorySynchronizationTests.cpp19 #include "utils/ComboRenderPipelineDescriptor.h"
20 #include "utils/WGPUHelpers.h"
38 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, R"( in CreatePipelineAndBindGroupForCompute()
53 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer}}); in CreatePipelineAndBindGroupForCompute()
60 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in CreatePipelineAndBindGroupForRender()
65 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in CreatePipelineAndBindGroupForRender()
75 utils::ComboRenderPipelineDescriptor rpDesc; in CreatePipelineAndBindGroupForRender()
84 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer}}); in CreatePipelineAndBindGroupForRender()
128 utils::BasicRenderPass renderPass = utils in TEST_P()
[all...]
H A DTexture3DTests.cpp17 #include "utils/ComboRenderPipelineDescriptor.h"
18 #include "utils/TestUtils.h"
19 #include "utils/WGPUHelpers.h"
27 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P()
31 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_P()
45 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_P()
54 utils::ComboRenderPipelineDescriptor pipelineDescriptor; in TEST_P()
74 uint32_t bytesPerRow = utils::GetMinimumBytesPerRow(kFormat, copySize.width); in TEST_P()
76 utils in TEST_P()
[all...]
H A DRenderBundleTests.cpp17 #include "utils/ComboRenderBundleEncoderDescriptor.h"
18 #include "utils/ComboRenderPipelineDescriptor.h"
19 #include "utils/WGPUHelpers.h"
32 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
34 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"(
40 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"(
50 utils::ComboRenderPipelineDescriptor descriptor;
67 wgpu::Buffer buffer0 = utils::CreateBufferFromData(device, colors0, 4 * sizeof(float),
69 wgpu::Buffer buffer1 = utils::CreateBufferFromData(device, colors1, 4 * sizeof(float),
72 bindGroups[0] = utils
[all...]
H A DCreatePipelineAsyncTests.cpp17 #include "utils/ComboRenderPipelineDescriptor.h"
18 #include "utils/WGPUHelpers.h"
48 utils::MakeBindGroup(device, currentTask->computePipeline.GetBindGroupLayout(0), in ValidateCreateComputePipelineAsync()
81 utils::ComboRenderPassDescriptor renderPassDescriptor({outputTexture.CreateView()}); in ValidateCreateRenderPipelineAsync()
113 const utils::ComboRenderPipelineDescriptor& renderPipelineDescriptor) { in DoCreateRenderPipelineAsync()
135 csDesc.compute.module = utils::CreateShaderModule(device, R"( in TEST_P()
165 csDesc.compute.module = utils::CreateShaderModule(device, R"( in TEST_P()
204 csDesc.compute.module = utils::CreateShaderModule(device, R"( in TEST_P()
240 utils::ComboRenderPipelineDescriptor renderPipelineDescriptor; in TEST_P()
241 wgpu::ShaderModule vsModule = utils in TEST_P()
[all...]
H A DTextureZeroInitTests.cpp18 #include "utils/ComboRenderPipelineDescriptor.h"
19 #include "utils/TestUtils.h"
20 #include "utils/WGPUHelpers.h"
69 utils::ComboRenderPipelineDescriptor pipelineDescriptor; in CreatePipelineForTest()
77 pipelineDescriptor.cFragment.module = utils::CreateShaderModule(device, fs); in CreatePipelineForTest()
99 return utils::CreateShaderModule(device, source.c_str()); in CreateBasicVertexShaderForTest()
102 return utils::CreateShaderModule(device, R"( in CreateSampledTextureFragmentShaderForTest()
152 const uint32_t bytesPerRow = utils::GetMinimumBytesPerRow(kColorFormat, kSize); in TEST_P()
156 bufferDescriptor.size = utils::RequiredBytesInCopy(bytesPerRow, rowsPerImage, in TEST_P()
161 utils in TEST_P()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/
H A DMakefile11 CFLAGS += -I../../src/utils
37 OBJS += ../../src/utils/xml-utils.o
45 OBJS += ../../src/utils/eloop.o
46 OBJS += ../../src/utils/wpabuf.o
49 OBJS += ../../src/utils/browser-system.o
51 OBJS += ../../src/utils/browser.o
54 OBJS += ../../src/utils/xml_libxml2.o
55 OBJS += ../../src/utils/http_curl.o
56 OBJS += ../../src/utils/base6
[all...]
/third_party/rust/crates/clap/tests/derive/
H A Ddoc_comments_help.rs15 use crate::utils;
30 let help = utils::get_long_help::<LoremIpsum>(); in doc_comments()
46 let help = utils::get_long_help::<LoremIpsum>(); in help_is_better_than_comments()
61 let help = utils::get_long_help::<LoremIpsum>(); in empty_line_in_doc_comment_is_double_linefeed()
89 let short_help = utils::get_help::<LoremIpsum>(); in field_long_doc_comment_both_help_long_help()
90 let long_help = utils::get_long_help::<LoremIpsum>(); in field_long_doc_comment_both_help_long_help()
121 let short_help = utils::get_help::<LoremIpsum>(); in top_long_doc_comment_both_help_long_help()
122 let long_help = utils::get_subcommand_long_help::<LoremIpsum>("foo"); in top_long_doc_comment_both_help_long_help()
155 let help = utils::get_long_help::<SeeFigure1>(); in verbatim_doc_comment()
188 let help = utils in verbatim_doc_comment_field()
[all...]
H A Dauthor_version_about.rs15 use crate::utils;
23 #[command(help_template = utils::FULL_TEMPLATE)] in no_author_version_about()
26 let output = utils::get_long_help::<Opt>(); in no_author_version_about()
34 #[command(help_template = utils::FULL_TEMPLATE)] in use_env()
37 let output = utils::get_long_help::<Opt>(); in use_env()
49 #[command(help_template = utils::FULL_TEMPLATE)] in explicit_version_not_str_lit()
52 let output = utils::get_long_help::<Opt>(); in explicit_version_not_str_lit()
/third_party/skia/third_party/externals/dawn/examples/
H A DCppHelloTriangle.cpp17 #include "utils/ComboRenderPipelineDescriptor.h"
18 #include "utils/ScopedAutoreleasePool.h"
19 #include "utils/SystemUtils.h"
20 #include "utils/WGPUHelpers.h"
45 utils::CreateBufferFromData(device, indexData, sizeof(indexData), wgpu::BufferUsage::Index); in initBuffers()
50 vertexBuffer = utils::CreateBufferFromData(device, vertexData, sizeof(vertexData), in initBuffers()
74 wgpu::Buffer stagingBuffer = utils::CreateBufferFromData( in initTextures()
77 utils::CreateImageCopyBuffer(stagingBuffer, 0, 4 * 1024); in initTextures()
78 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture(texture, 0, {0, 0, 0}); in initTextures()
99 wgpu::ShaderModule vsModule = utils in init()
[all...]
H A DCubeReflection.cpp17 #include "utils/ComboRenderPipelineDescriptor.h"
18 #include "utils/ScopedAutoreleasePool.h"
19 #include "utils/SystemUtils.h"
20 #include "utils/WGPUHelpers.h"
59 utils::CreateBufferFromData(device, indexData, sizeof(indexData), wgpu::BufferUsage::Index); in initBuffers()
79 vertexBuffer = utils::CreateBufferFromData(device, vertexData, sizeof(vertexData), in initBuffers()
86 planeBuffer = utils::CreateBufferFromData(device, planeData, sizeof(planeData), in initBuffers()
105 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in init()
131 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in init()
137 wgpu::ShaderModule fsReflectionModule = utils in init()
[all...]
H A DAnimometer.cpp17 #include "utils/ComboRenderPipelineDescriptor.h"
18 #include "utils/ScopedAutoreleasePool.h"
19 #include "utils/SystemUtils.h"
20 #include "utils/WGPUHelpers.h"
60 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in init()
115 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in init()
121 wgpu::BindGroupLayout bgl = utils::MakeBindGroupLayout( in init()
124 utils::ComboRenderPipelineDescriptor descriptor; in init()
125 descriptor.layout = utils::MakeBasicPipelineLayout(device, &bgl); in init()
147 bindGroup = utils in init()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
H A DD3D12DescriptorHeapTests.cpp23 #include "utils/ComboRenderPipelineDescriptor.h"
24 #include "utils/WGPUHelpers.h"
42 mSimpleVSModule = utils::CreateShaderModule(device, R"(
55 mSimpleFSModule = utils::CreateShaderModule(device, R"(
66 utils::BasicRenderPass MakeRenderPass(uint32_t width, in MakeRenderPass()
82 return utils::BasicRenderPass(width, height, color); in MakeRenderPass()
129 utils::ComboRenderPipelineDescriptor renderPipelineDescriptor; in TEST_P()
137 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P()
153 wgpu::Buffer uniformBuffer = utils in TEST_P()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DRenderBundleValidationTests.cpp19 #include "utils/ComboRenderBundleEncoderDescriptor.h"
20 #include "utils/ComboRenderPipelineDescriptor.h"
21 #include "utils/WGPUHelpers.h"
30 vsModule = utils::CreateShaderModule(device, R"(
40 fsModule = utils::CreateShaderModule(device, R"(
55 utils::MakeBindGroupLayout(
57 utils::MakeBindGroupLayout(
69 utils::ComboRenderPipelineDescriptor descriptor;
74 wgpu::Buffer buffer = utils::CreateBufferFromData(device, data, 8 * sizeof(float),
79 vertexBuffer = utils
[all...]
H A DQueueWriteTextureValidationTests.cpp18 #include "utils/TestUtils.h"
19 #include "utils/TextureUtils.h"
20 #include "utils/WGPUHelpers.h"
67 utils::CreateImageCopyTexture(texture, texLevel, texOrigin, aspect); in TestWriteTexture()
80 utils::RequiredBytesInCopy(bytesPerRow, rowsPerImage, extent3D, textureFormat); in TestWriteTextureExactDataSize()
95 utils::RequiredBytesInCopy(256, 0, {4, 4, 1}, wgpu::TextureFormat::RGBA8Unorm); in TEST_F()
156 utils::RequiredBytesInCopy(256, 0, {4, 4, 1}, wgpu::TextureFormat::RGBA8Unorm); in TEST_F()
168 // OOB on the data because utils::RequiredBytesInCopy overflows in TEST_F()
173 // but utils::RequiredBytesInCopy * depth does not overflow in TEST_F()
176 utils in TEST_F()
[all...]
H A DVideoViewsValidationTests.cpp17 #include "utils/WGPUHelpers.h"
126 wgpu::ImageCopyTexture copySrc = utils::CreateImageCopyTexture(srcTexture, 0, {0, 0, 0}); in TEST_F()
128 wgpu::ImageCopyTexture copyDst = utils::CreateImageCopyTexture(dstTexture, 0, {0, 0, 0}); in TEST_F()
145 wgpu::ImageCopyTexture copySrc = utils::CreateImageCopyTexture( in TEST_F()
148 wgpu::ImageCopyTexture copyDst = utils::CreateImageCopyTexture( in TEST_F()
159 copySrc = utils::CreateImageCopyTexture(srcTexture, 0, {0, 0, 0}, in TEST_F()
179 wgpu::ImageCopyTexture copySrc = utils::CreateImageCopyTexture(srcTexture, 0, {0, 0, 0}); in TEST_F()
181 wgpu::ImageCopyBuffer copyDst = utils::CreateImageCopyBuffer(dstBuffer, 0, 4); in TEST_F()
200 wgpu::ImageCopyTexture copySrc = utils::CreateImageCopyTexture( in TEST_F()
203 wgpu::ImageCopyBuffer copyDst = utils in TEST_F()
[all...]
H A DShaderModuleValidationTests.cpp21 #include "utils/WGPUHelpers.h"
56 utils::CreateShaderModuleFromASM(device, shader); in TEST_F()
67 ASSERT_DEVICE_ERROR(utils::CreateShaderModule(device, stream.str().c_str())); in TEST_F()
115 ASSERT_DEVICE_ERROR(utils::CreateShaderModuleFromASM(device, shader)); in TEST_F()
156 ASSERT_DEVICE_ERROR(utils::CreateShaderModuleFromASM(device, shader)); in TEST_F()
165 wgpu::ShaderModule shaderModule = utils::CreateShaderModule(device, R"( in TEST_F()
258 utils::CreateShaderModule(device, vertexShader.c_str()); in TEST_F()
266 ASSERT_DEVICE_ERROR(utils::CreateShaderModule(device, vertexShader.c_str())); in TEST_F()
274 utils::CreateShaderModule(device, fragmentShader.c_str()); in TEST_F()
281 ASSERT_DEVICE_ERROR(utils in TEST_F()
[all...]
H A DGetBindGroupLayoutValidationTests.cpp17 #include "utils/ComboRenderPipelineDescriptor.h"
18 #include "utils/WGPUHelpers.h"
23 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in RenderPipelineFromFragmentShader()
28 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, shader); in RenderPipelineFromFragmentShader()
30 utils::ComboRenderPipelineDescriptor descriptor; in RenderPipelineFromFragmentShader()
48 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_F()
61 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_F()
77 utils::ComboRenderPipelineDescriptor descriptor; in TEST_F()
110 ASSERT_DEVICE_ERROR(utils::MakePipelineLayout(device, {pipeline.GetBindGroupLayout(0)})); in TEST_F()
166 wgpu::BindGroupLayout filteringBGL = utils in TEST_F()
[all...]
H A DVertexStateValidationTests.cpp17 #include "utils/ComboRenderPipelineDescriptor.h"
18 #include "utils/WGPUHelpers.h"
23 const utils::ComboVertexState& state, in CreatePipeline()
25 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, vertexSource); in CreatePipeline()
26 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in CreatePipeline()
32 utils::ComboRenderPipelineDescriptor descriptor; in CreatePipeline()
55 utils::ComboVertexState state; in TEST_F()
61 utils::ComboVertexState state; in TEST_F()
90 utils::ComboVertexState state; in TEST_F()
130 utils in TEST_F()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DgenericFunctionsWithOptionalParameters3.js9 var utils: Utils; variable
11 var r3 = utils.mapReduce(c, (x) => { return 1 }, (y) => { return new Date() });
12 var r4 = utils.mapReduce(c, (x: string) => { return 1 }, (y: number) => { return new Date() });
15 var r5 = utils.mapReduce(c, f1, f2);
25 var utils; variable
27 var r3 = utils.mapReduce(c, function (x) { return 1; }, function (y) { return new Date(); });
28 var r4 = utils.mapReduce(c, function (x) { return 1; }, function (y) { return new Date(); });
31 var r5 = utils.mapReduce(c, f1, f2);
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
H A DDrawCallPerf.cpp20 #include "utils/ComboRenderPipelineDescriptor.h"
21 #include "utils/WGPUHelpers.h"
300 mVertexBuffers[0] = utils::CreateBufferFromData( in SetUp()
306 mVertexBuffers[i] = utils::CreateBufferFromData( in SetUp()
318 mVertexBuffers[0] = utils::CreateBufferFromData(device, data.data(), data.size(), in SetUp()
330 mUniformBindGroupLayout = utils::MakeBindGroupLayout( in SetUp()
338 mUniformBindGroupLayout = utils::MakeBindGroupLayout( in SetUp()
351 utils::ComboRenderPipelineDescriptor renderPipelineDesc; in SetUp()
366 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, kVertexShader); in SetUp()
367 wgpu::ShaderModule fsModule = utils in SetUp()
[all...]

Completed in 16 milliseconds

12345678910>>...37