Home
last modified time | relevance | path

Searched refs:utils (Results 101 - 125 of 1051) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/scripts/gdb/linux/
H A Dmodules.py16 from linux import cpus, utils, lists namespace
19 module_type = utils.CachedType("struct module")
24 modules = utils.gdb_eval_or_none("modules")
65 _module_use_type = utils.CachedType("struct module_use")
73 " " if utils.get_long_type().sizeof == 8 else ""))
H A Dtasks.py16 from linux import utils namespace
19 task_type = utils.CachedType("struct task_struct")
31 t = utils.container_of(t['thread_group']['next'],
36 t = g = utils.container_of(g['tasks']['next'],
87 thread_info_type = utils.CachedType("struct thread_info")
94 if utils.is_target_arch("ia64"):
H A Dlists.py16 from linux import utils namespace
18 list_head = utils.CachedType("struct list_head")
19 hlist_head = utils.CachedType("struct hlist_head")
20 hlist_node = utils.CachedType("struct hlist_node")
38 yield utils.container_of(node, gdbtype, member)
56 yield utils.container_of(node, gdbtype, member)
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dradixtree.py14 from linux import utils namespace
17 radix_tree_root_type = utils.CachedType("struct xarray")
18 radix_tree_node_type = utils.CachedType("struct xa_node")
21 long_type = utils.get_long_type()
25 long_type = utils.get_long_type()
H A Dlists.py16 from linux import utils namespace
18 list_head = utils.CachedType("struct list_head")
19 hlist_head = utils.CachedType("struct hlist_head")
20 hlist_node = utils.CachedType("struct hlist_node")
43 yield utils.container_of(node, gdbtype, member)
61 yield utils.container_of(node, gdbtype, member)
H A Dtasks.py16 from linux import utils namespace
19 task_type = utils.CachedType("struct task_struct")
31 t = utils.container_of(t['thread_group']['next'],
36 t = g = utils.container_of(g['tasks']['next'],
87 thread_info_type = utils.CachedType("struct thread_info")
94 if utils.is_target_arch("ia64"):
H A Dpage_owner.py10 from linux import utils, stackdepot, constants, mm namespace
13 page_ext_t = utils.CachedType('struct page_ext')
14 page_owner_t = utils.CachedType('struct page_owner')
72 if page_ext.cast(utils.get_ulong_type()) & PAGE_EXT_INVALID == PAGE_EXT_INVALID:
77 return (base.cast(utils.get_ulong_type()) + self.page_ext_size * index).cast(page_ext_t.get_type().pointer())
95 addr = page_ext.cast(utils.get_ulong_type()) + gdb.parse_and_eval("page_owner_ops")["offset"].cast(utils.get_ulong_type())
99 page = gdb.Value(struct_page_addr).cast(utils.get_page_type().pointer())
/third_party/node/lib/
H A Dstream.js52 const utils = require('internal/streams/utils');
56 Stream.isDestroyed = utils.isDestroyed;
57 Stream.isDisturbed = utils.isDisturbed;
58 Stream.isErrored = utils.isErrored;
59 Stream.isReadable = utils.isReadable;
60 Stream.isWritable = utils.isWritable;
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dvector_dce.h29 using LiveComponentMap = std::unordered_map<uint32_t, utils::BitVector>;
39 utils::BitVector components;
91 const utils::BitVector& live_components,
117 const utils::BitVector& live_elements,
141 const utils::BitVector& live_elements,
154 utils::BitVector all_components_live_;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dvector_dce.h29 using LiveComponentMap = std::unordered_map<uint32_t, utils::BitVector>;
39 utils::BitVector components;
91 const utils::BitVector& live_components,
117 const utils::BitVector& live_elements,
141 const utils::BitVector& live_elements,
154 utils::BitVector all_components_live_;
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDrawTests.cpp17 #include "utils/ComboRenderPipelineDescriptor.h"
18 #include "utils/WGPUHelpers.h"
27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
29 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"(
35 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"(
40 utils::ComboRenderPipelineDescriptor descriptor;
52 vertexBuffer = utils::CreateBufferFromData<float>(
61 utils::BasicRenderPass renderPass;
H A DMultisampledRenderingTests.cpp18 #include "utils/ComboRenderPipelineDescriptor.h"
19 #include "utils/WGPUHelpers.h"
129 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in EncodeRenderPassForTest()
131 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in EncodeRenderPassForTest()
151 utils::ComboRenderPassDescriptor CreateComboRenderPassDescriptorForTest( in CreateComboRenderPassDescriptorForTest()
162 utils::ComboRenderPassDescriptor renderPass(colorViews); in CreateComboRenderPassDescriptorForTest()
221 utils::ComboRenderPipelineDescriptor pipelineDescriptor; in CreateRenderPipelineForTest()
249 pipelineDescriptor.vertex.module = utils::CreateShaderModule(device, vsFlipped); in CreateRenderPipelineForTest()
251 pipelineDescriptor.vertex.module = utils::CreateShaderModule(device, vs); in CreateRenderPipelineForTest()
254 pipelineDescriptor.cFragment.module = utils in CreateRenderPipelineForTest()
[all...]
H A DDepthStencilSamplingTests.cpp17 #include "utils/ComboRenderPipelineDescriptor.h"
18 #include "utils/WGPUHelpers.h"
120 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in CreateSamplingRenderPipeline()
125 utils::ComboRenderPipelineDescriptor pipelineDescriptor; in CreateSamplingRenderPipeline()
136 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, shaderSource.str().c_str()); in CreateSamplingRenderPipeline()
154 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, shaderSource.str().c_str()); in CreateSamplingComputePipeline()
176 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in CreateComparisonRenderPipeline()
181 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in CreateComparisonRenderPipeline()
193 utils::ComboRenderPipelineDescriptor pipelineDescriptor; in CreateComparisonRenderPipeline()
203 wgpu::ShaderModule csModule = utils in CreateComparisonComputePipeline()
[all...]
H A DDestroyTests.cpp17 #include "utils/ComboRenderPipelineDescriptor.h"
18 #include "utils/WGPUHelpers.h"
30 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
32 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"(
38 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"(
43 utils::ComboRenderPipelineDescriptor descriptor;
55 vertexBuffer = utils::CreateBufferFromData<float>(
66 utils::BasicRenderPass renderPass;
188 wgpu::BindGroupLayout layout = utils::MakeBindGroupLayout( in TEST_P()
190 utils in TEST_P()
[all...]
H A DRenderPassLoadOpTests.cpp17 #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 DVertexOnlyRenderPipelineTests.cpp17 #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...]
/third_party/spirv-tools/source/opt/
H A Dvector_dce.h29 using LiveComponentMap = std::unordered_map<uint32_t, utils::BitVector>;
39 utils::BitVector components;
91 const utils::BitVector& live_components,
117 const utils::BitVector& live_elements,
141 const utils::BitVector& live_elements,
154 utils::BitVector all_components_live_;
/third_party/rust/crates/clap/tests/derive/
H A Drename_all_env.rs3 use crate::utils;
16 let help = utils::get_help::<BehaviorModel>(); in it_works()
28 let help = utils::get_help::<BehaviorModel>(); in default_is_screaming()
44 let help = utils::get_help::<BehaviorModel>(); in overridable()
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dparsed_operand.cpp44 *out << spvtools::utils::FloatProxy<spvtools::utils::Float16>( in EmitNumericLiteral()
48 *out << spvtools::utils::FloatProxy<float>(word); in EmitNumericLiteral()
67 *out << spvtools::utils::FloatProxy<double>(bits); in EmitNumericLiteral()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
H A Dparsed_operand.cpp44 *out << spvtools::utils::FloatProxy<spvtools::utils::Float16>( in EmitNumericLiteral()
48 *out << spvtools::utils::FloatProxy<float>(word); in EmitNumericLiteral()
67 *out << spvtools::utils::FloatProxy<double>(bits); in EmitNumericLiteral()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
H A DShaderRobustnessPerf.cpp17 #include "utils/WGPUHelpers.h"
419 utils::CreateBufferFromData(device, dataA.data(), byteASize, wgpu::BufferUsage::Storage); in SetUp()
425 utils::CreateBufferFromData(device, dataB.data(), byteBSize, wgpu::BufferUsage::Storage); in SetUp()
434 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in SetUp()
441 utils::CreateShaderModule(device, kMatMulFloatOneDimensionalSharedArray.c_str()); in SetUp()
447 utils::CreateShaderModule(device, kMatMulFloatTwoDimensionalSharedArray.c_str()); in SetUp()
453 utils::CreateShaderModule(device, kMatMulVec4OneDimensionalSharedArray.c_str()); in SetUp()
459 utils::CreateShaderModule(device, kMatMulVec4TwoDimensionalSharedArray.c_str()); in SetUp()
469 mBindGroup = utils::MakeBindGroup(device, mPipeline.GetBindGroupLayout(0), in SetUp()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DInternalUsageValidationTests.cpp17 #include "utils/WGPUHelpers.h"
140 wgpu::ImageCopyTexture srcImageCopyTexture = utils::CreateImageCopyTexture(src, 0, {0, 0}); in TEST_F()
141 wgpu::ImageCopyTexture dstImageCopyTexture = utils::CreateImageCopyTexture(dst, 0, {0, 0}); in TEST_F()
152 utils::CreateImageCopyTexture(srcInternal, 0, {0, 0}); in TEST_F()
153 wgpu::ImageCopyTexture dstImageCopyTexture = utils::CreateImageCopyTexture(dst, 0, {0, 0}); in TEST_F()
163 wgpu::ImageCopyTexture srcImageCopyTexture = utils::CreateImageCopyTexture(src, 0, {0, 0}); in TEST_F()
164 wgpu::ImageCopyTexture dstImageCopyTexture = utils::CreateImageCopyTexture(dst, 0, {0, 0}); in TEST_F()
175 utils::CreateImageCopyTexture(srcInternal, 0, {0, 0}); in TEST_F()
176 wgpu::ImageCopyTexture dstImageCopyTexture = utils::CreateImageCopyTexture(dst, 0, {0, 0}); in TEST_F()
H A DExternalTextureTests.cpp17 #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...]
/third_party/node/deps/npm/node_modules/cli-table3/src/
H A Dcell.js2 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 Dsubcommands.rs3 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...]

Completed in 12 milliseconds

12345678910>>...43