Home
last modified time | relevance | path

Searched refs:tool (Results 1 - 25 of 316) sorted by relevance

12345678910>>...13

/third_party/libinput/src/
H A Devdev-tablet.c239 /* tool_id is the identifier for the tool we can use in libwacom in tablet_process_absolute()
320 enum libinput_tablet_tool_type tool, in tablet_update_tool()
323 assert(tool != LIBINPUT_TOOL_NONE); in tablet_update_tool()
326 tablet->current_tool.type = tool; in tablet_update_tool()
353 struct libinput_tablet_tool *tool) in normalize_pressure()
366 int base = tool->pressure.threshold.lower; in normalize_pressure()
485 struct libinput_tablet_tool *tool, in tablet_tool_process_delta()
494 /* When tool contact changes, we probably got a cursor jump. Don't in tablet_tool_process_delta()
521 tool, in tablet_tool_process_delta()
528 struct libinput_tablet_tool *tool) in tablet_update_pressure()
318 tablet_update_tool(struct tablet_dispatch *tablet, struct evdev_device *device, enum libinput_tablet_tool_type tool, bool enabled) tablet_update_tool() argument
352 normalize_pressure(const struct input_absinfo *absinfo, struct libinput_tablet_tool *tool) normalize_pressure() argument
484 tablet_tool_process_delta(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, const struct evdev_device *device, struct tablet_axes *axes, uint64_t time) tablet_tool_process_delta() argument
526 tablet_update_pressure(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool) tablet_update_pressure() argument
704 tablet_check_notify_axes(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool, struct tablet_axes *axes_out, uint64_t time) tablet_check_notify_axes() argument
916 copy_axis_cap(const struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_axis axis) copy_axis_cap() argument
925 copy_button_cap(const struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, uint32_t button) copy_button_cap() argument
936 tool_set_bits_from_libwacom(const struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) tool_set_bits_from_libwacom() argument
1002 tool_set_bits(const struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) tool_set_bits() argument
1081 tool_set_pressure_thresholds(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) tool_set_pressure_thresholds() argument
1137 struct libinput_tablet_tool *tool = NULL, *t; tablet_get_tool() local
1199 tablet_notify_button_mask(struct tablet_dispatch *tablet, struct evdev_device *device, uint64_t time, struct libinput_tablet_tool *tool, const struct button_state *buttons, enum libinput_button_state state) tablet_notify_button_mask() argument
1231 tablet_notify_buttons(struct tablet_dispatch *tablet, struct evdev_device *device, uint64_t time, struct libinput_tablet_tool *tool, enum libinput_button_state state) tablet_notify_buttons() argument
1253 sanitize_pressure_distance(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) sanitize_pressure_distance() argument
1313 sanitize_tablet_axes(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) sanitize_tablet_axes() argument
1321 set_pressure_offset(struct libinput_tablet_tool *tool, int offset) set_pressure_offset() argument
1336 update_pressure_offset(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool) update_pressure_offset() argument
1365 detect_pressure_offset(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool) detect_pressure_offset() argument
1439 detect_tool_contact(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool) detect_tool_contact() argument
1476 tablet_mark_all_axes_changed(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) tablet_mark_all_axes_changed() argument
1489 tablet_update_proximity_state(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool) tablet_update_proximity_state() argument
1609 tablet_send_proximity_in(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, struct tablet_axes *axes, uint64_t time) tablet_send_proximity_in() argument
1635 tablet_send_proximity_out(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, struct tablet_axes *axes, uint64_t time) tablet_send_proximity_out() argument
1662 tablet_send_tip(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, struct tablet_axes *axes, uint64_t time) tablet_send_tip() argument
1708 tablet_send_axes(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, struct tablet_axes *axes, uint64_t time) tablet_send_axes() argument
1738 tablet_send_buttons(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, uint64_t time) tablet_send_buttons() argument
1763 tablet_send_events(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, uint64_t time) tablet_send_events() argument
1962 struct libinput_tablet_tool *tool; tablet_flush() local
2184 struct libinput_tablet_tool *tool; tablet_destroy() local
2300 enum libinput_tablet_tool_type tool; tablet_check_initial_proximity() local
[all...]
H A Devdev-totem.c38 struct libinput_tablet_tool *tool; member
80 struct libinput_tablet_tool *tool; in totem_new_tool() local
82 tool = zalloc(sizeof *tool); in totem_new_tool()
84 *tool = (struct libinput_tablet_tool) { in totem_new_tool()
91 tool->pressure.offset = 0; in totem_new_tool()
92 tool->pressure.has_offset = false; in totem_new_tool()
93 tool->pressure.threshold.lower = 0; in totem_new_tool()
94 tool->pressure.threshold.upper = 1; in totem_new_tool()
96 set_bit(tool in totem_new_tool()
261 totem_slot_fetch_axes(struct totem_dispatch *totem, struct totem_slot *slot, struct libinput_tablet_tool *tool, struct tablet_axes *axes_out, uint64_t time) totem_slot_fetch_axes() argument
332 totem_slot_mark_all_axes_changed(struct totem_dispatch *totem, struct totem_slot *slot, struct libinput_tablet_tool *tool) totem_slot_mark_all_axes_changed() argument
[all...]
/third_party/gn/src/gn/
H A Dninja_toolchain_writer.cc46 for (const auto& tool : toolchain_->tools()) { in Run()
47 if (tool.second->name() == GeneralTool::kGeneralToolAction || in Run()
48 tool.second->AsBuiltin()) { in Run()
51 WriteToolRule(tool.second.get(), rule_prefix); in Run()
82 void NinjaToolchainWriter::WriteToolRule(Tool* tool, in WriteToolRule() argument
84 out_ << "rule " << rule_prefix << tool->name() << std::endl; in WriteToolRule()
90 WriteCommandRulePattern("command", tool->command_launcher(), tool->command(), in WriteToolRule()
93 WriteRulePattern("description", tool->description(), options); in WriteToolRule()
94 WriteRulePattern("rspfile", tool in WriteToolRule()
[all...]
H A Dtoolchain.cc21 // Ensure "phony" tool is part of all toolchains by default. in Toolchain()
55 if (Tool* tool = GetTool(name)) { in GetToolAsGeneral()
56 return tool->AsGeneral(); in GetToolAsGeneral()
62 if (const Tool* tool = GetTool(name)) { in GetToolAsGeneral()
63 return tool->AsGeneral(); in GetToolAsGeneral()
69 if (Tool* tool = GetTool(name)) { in GetToolAsC()
70 return tool->AsC(); in GetToolAsC()
76 if (const Tool* tool = GetTool(name)) { in GetToolAsC()
77 return tool->AsC(); in GetToolAsC()
83 if (Tool* tool in GetToolAsRust()
[all...]
H A Dninja_binary_target_writer.cc199 // the tool if there are more than one. in AddSourceSetFiles()
225 const CTool* tool = source_set->toolchain()->GetToolAsC(CTool::kCToolCc); in AddSourceSetFiles() local
226 if (tool && tool->precompiled_header_type() == CTool::PCH_MSVC) { in AddSourceSetFiles()
232 const CTool* tool = source_set->toolchain()->GetToolAsC(CTool::kCToolCxx); in AddSourceSetFiles() local
233 if (tool && tool->precompiled_header_type() == CTool::PCH_MSVC) { in AddSourceSetFiles()
239 const CTool* tool = in AddSourceSetFiles() local
241 if (tool && tool in AddSourceSetFiles()
247 const CTool* tool = AddSourceSetFiles() local
295 WriteCustomLinkerFlags(std::ostream& out, const Tool* tool) WriteCustomLinkerFlags() argument
305 WriteLibrarySearchPath(std::ostream& out, const Tool* tool) WriteLibrarySearchPath() argument
338 WriteLinkerFlags( std::ostream& out, const Tool* tool, const SourceFile* optional_def_file) WriteLinkerFlags() argument
353 WriteLibs(std::ostream& out, const Tool* tool) WriteLibs() argument
376 WriteFrameworks(std::ostream& out, const Tool* tool) WriteFrameworks() argument
392 WriteSwiftModules( std::ostream& out, const Tool* tool, const std::vector<OutputFile>& swiftmodules) WriteSwiftModules() argument
[all...]
H A Dtarget.cc19 #include "gn/tool.h"
579 const Tool* tool = toolchain_->GetToolForTargetFinalOutput(this); in GetComputedOutputName() local
580 if (tool) { in GetComputedOutputName()
583 if (!output_prefix_override_ && !base::starts_with(name, tool->output_prefix())) in GetComputedOutputName()
584 result = tool->output_prefix(); in GetComputedOutputName()
595 const Tool* tool = toolchain->GetToolForTargetFinalOutput(this); in SetToolchain() local
596 if (tool) in SetToolchain()
602 Err(defined_from(), "This target uses an undefined tool.", in SetToolchain()
607 "which doesn't have the tool \"%s\" defined.\n\n" in SetToolchain()
648 const Tool* tool in GetOutputsAsSourceFiles() local
717 const Tool* tool = toolchain_->GetTool(*computed_tool_type); GetOutputFilesForSource() local
933 const Tool* tool = toolchain_->GetToolForTargetFinalOutput(this); FillOutputFiles() local
[all...]
H A Dswift_values.cc14 #include "gn/tool.h"
35 const Tool* tool = GetTool(target); in GetOutputs() local
37 // Expand tool's outputs(). in GetOutputs()
38 SubstitutionWriter::ApplyListToLinkerAsOutputFile(target, tool, in GetOutputs()
39 tool->outputs(), result); in GetOutputs()
41 // Expand tool's partial_outputs() for each .swift source file. in GetOutputs()
48 target, source, tool->partial_outputs(), result); in GetOutputs()
82 const Tool* tool = GetTool(target); in FillModuleOutputFile() local
83 *err = Err(tool->defined_from(), "Incorrect outputs for tool", in FillModuleOutputFile()
[all...]
H A Dninja_target_command_util.cc24 NOTREACHED() << "Not a valid PCH tool type: " << name; in GetPCHLangSuffixForToolType()
31 // tool type. The tool must support precompiled headers.
65 const CTool* tool = target->toolchain()->GetToolAsC(tool_name); in WriteOneFlag() local
66 if (tool && tool->precompiled_header_type() == CTool::PCH_MSVC) { in WriteOneFlag()
76 } else if (tool && tool->precompiled_header_type() == CTool::PCH_GCC) { in WriteOneFlag()
114 // Compute the tool. This must use the tool typ in GetPCHOutputFiles()
117 const CTool* tool = target->toolchain()->GetToolAsC(tool_name); GetPCHOutputFiles() local
[all...]
H A Djson_project_writer.cc428 const auto& tool = tool_kv.second; in GenerateJSON() local
429 setIfNotEmptry("command", tool->command().AsString()); in GenerateJSON()
430 setIfNotEmptry("command_launcher", tool->command_launcher()); in GenerateJSON()
432 tool->default_output_extension()); in GenerateJSON()
434 tool->default_output_dir().AsString()); in GenerateJSON()
435 setIfNotEmptry("depfile", tool->depfile().AsString()); in GenerateJSON()
436 setIfNotEmptry("description", tool->description().AsString()); in GenerateJSON()
437 setIfNotEmptry("framework_switch", tool->framework_switch()); in GenerateJSON()
438 setIfNotEmptry("weak_framework_switch", tool->weak_framework_switch()); in GenerateJSON()
439 setIfNotEmptry("framework_dir_switch", tool in GenerateJSON()
[all...]
H A Dninja_binary_target_writer.h65 const Tool* tool,
67 void WriteCustomLinkerFlags(std::ostream& out, const Tool* tool);
68 void WriteLibrarySearchPath(std::ostream& out, const Tool* tool);
69 void WriteLibs(std::ostream& out, const Tool* tool);
70 void WriteFrameworks(std::ostream& out, const Tool* tool);
72 const Tool* tool,
H A Dsubstitution_writer_unittest.cc261 const Tool* tool = setup.toolchain()->GetToolForTargetFinalOutput(&target); in TEST() local
266 &target, tool, &SubstitutionOutputExtension)); in TEST()
268 &target, tool, &SubstitutionTargetGenDir)); in TEST()
277 &target, tool, pattern); in TEST()
283 &target, tool, &SubstitutionOutputExtension)); in TEST()
286 &target, tool, &SubstitutionOutputExtension)); in TEST()
295 // This tool has an output directory pattern and uses that for the in TEST()
297 std::unique_ptr<Tool> tool = Tool::CreateTool(CTool::kCToolLink); in TEST() local
301 tool->set_default_output_dir(out_dir_pattern); in TEST()
302 tool in TEST()
[all...]
/third_party/icu/icu4c/source/test/testdata/
H A DBUILDRULES.py65 tool = IcuTool("genrb"),
76 tool = IcuTool("genrb"),
85 tool = IcuTool("genrb"),
94 tool = IcuTool("genrb"),
109 tool = IcuTool("gensprep"),
118 tool = IcuTool("gensprep"),
127 tool = IcuTool("gensprep"),
136 tool = IcuTool("gensprep"),
145 tool = IcuTool("gensprep"),
169 tool
[all...]
/third_party/python/Tools/c-analyzer/c_parser/preprocessor/
H A Dcommon.py47 def preprocess(tool, filename, **kwargs):
48 argv = _build_argv(tool, filename, **kwargs)
57 with converted_error(tool, argv, filename):
66 tool,
76 compiler=compiler or tool,
97 def converted_error(tool, argv, filename):
102 tool,
110 def convert_error(tool, argv, filename, stderr, rc):
114 raise OSMismatchError(filename, _expected, argv, error, tool)
117 raise MissingDependenciesError(filename, (_missing,), argv, error, tool)
[all...]
H A D__init__.py39 tool=True,
45 if tool:
50 _preprocess = _get_preprocessor(tool)
171 def _get_preprocessor(tool):
172 if tool is True:
173 tool = distutils.ccompiler.get_default_compiler()
174 preprocess = _COMPILERS.get(tool)
176 raise ValueError(f'unsupported tool {tool}')
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
H A DLocaleDistanceMapperTest.java3 package org.unicode.icu.tool.cldrtoicu.localedistance;
7 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.DEPRECATED;
8 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.LEGACY;
9 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.MACRO;
10 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasType.LANGUAGE;
11 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasType.TERRITORY;
12 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.alias;
13 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.cldrData;
14 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.deprecatedTerritory;
15 import static org.unicode.icu.tool
[all...]
H A DLikelySubtagsBuilderTest.java3 package org.unicode.icu.tool.cldrtoicu.localedistance;
7 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.DEPRECATED;
8 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.LEGACY;
9 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.OVERLONG;
10 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasType.LANGUAGE;
11 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasType.TERRITORY;
12 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.alias;
13 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.likelySubtag;
14 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.lsr;
/third_party/libinput/tools/
H A Dlibinput-debug-gui.c182 } tool; member
789 if (w->tool.distance > 0) { in draw_tablet()
790 double pos = w->tool.distance * 100; in draw_tablet()
794 if (w->tool.pressure > 0) { in draw_tablet()
795 double pos = w->tool.pressure * 100; in draw_tablet()
796 if (w->tool.is_down) in draw_tablet()
803 /* tablet tool, square for prox-in location */ in draw_tablet()
806 if (w->tool.x_in && w->tool.y_in) { in draw_tablet()
807 cairo_rectangle(cr, w->tool in draw_tablet()
[all...]
H A Dlibinput-debug-events.c390 struct libinput_tablet_tool *tool = libinput_event_tablet_tool_get_tool(t); in print_tablet_axes() local
406 if (libinput_tablet_tool_has_tilt(tool)) { in print_tablet_axes()
414 if (libinput_tablet_tool_has_distance(tool) || in print_tablet_axes()
415 libinput_tablet_tool_has_pressure(tool)) { in print_tablet_axes()
426 if (libinput_tablet_tool_has_rotation(tool)) { in print_tablet_axes()
432 if (libinput_tablet_tool_has_slider(tool)) { in print_tablet_axes()
438 if (libinput_tablet_tool_has_wheel(tool)) { in print_tablet_axes()
446 if (libinput_tablet_tool_has_size(tool)) { in print_tablet_axes()
553 struct libinput_tablet_tool *tool = libinput_event_tablet_tool_get_tool(t); in print_proximity_event() local
558 switch (libinput_tablet_tool_get_type(tool)) { in print_proximity_event()
[all...]
/third_party/node/tools/gyp/pylib/gyp/
H A DMSVSSettings.py20 # Dictionaries of settings validators. The key is the tool name, the value is
26 # A dictionary of settings converters. The key is the tool name, the value is
36 """Represents a tool used by MSVS or MSBuild.
39 msvs_name: The name of the tool in MSVS.
40 msbuild_name: The name of the tool in MSBuild.
48 def _AddTool(tool):
49 """Adds a tool to the four dictionaries used to process settings.
51 This only defines the tool. Each setting also needs to be added.
54 tool: The _Tool object to be added.
56 _msvs_validators[tool
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A DMSVSSettings.py20 # Dictionaries of settings validators. The key is the tool name, the value is
26 # A dictionary of settings converters. The key is the tool name, the value is
36 """Represents a tool used by MSVS or MSBuild.
39 msvs_name: The name of the tool in MSVS.
40 msbuild_name: The name of the tool in MSBuild.
48 def _AddTool(tool):
49 """Adds a tool to the four dictionaries used to process settings.
51 This only defines the tool. Each setting also needs to be added.
54 tool: The _Tool object to be added.
56 _msvs_validators[tool
[all...]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
H A DPluralRangesMapperTest.java3 package org.unicode.icu.tool.cldrtoicu.mapper;
5 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralRangesMapperTest.PluralCount.FEW;
6 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralRangesMapperTest.PluralCount.MANY;
7 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralRangesMapperTest.PluralCount.ONE;
8 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralRangesMapperTest.PluralCount.OTHER;
9 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralRangesMapperTest.PluralCount.TWO;
10 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralRangesMapperTest.PluralCount.ZERO;
11 import static org.unicode.icu.tool.cldrtoicu.testing.IcuDataSubjectFactory.assertThat;
22 import org.unicode.icu.tool.cldrtoicu.IcuData;
23 import org.unicode.icu.tool
[all...]
H A DSupplementalMapperTest.java3 package org.unicode.icu.tool.cldrtoicu.mapper;
6 import static org.unicode.icu.tool.cldrtoicu.testing.IcuDataSubjectFactory.assertThat;
16 import org.unicode.icu.tool.cldrtoicu.IcuData;
17 import org.unicode.icu.tool.cldrtoicu.PathValueTransformer.Result;
18 import org.unicode.icu.tool.cldrtoicu.testing.FakeDataSupplier;
19 import org.unicode.icu.tool.cldrtoicu.testing.FakeResult;
20 import org.unicode.icu.tool.cldrtoicu.testing.FakeTransformer;
H A DRbnfMapperTest.java3 package org.unicode.icu.tool.cldrtoicu.mapper;
5 import static org.unicode.icu.tool.cldrtoicu.mapper.RbnfMapperTest.Access.PRIVATE;
6 import static org.unicode.icu.tool.cldrtoicu.mapper.RbnfMapperTest.Access.PUBLIC;
7 import static org.unicode.icu.tool.cldrtoicu.mapper.RbnfMapperTest.Group.DURATION_RULES;
8 import static org.unicode.icu.tool.cldrtoicu.mapper.RbnfMapperTest.Group.ORDINAL_RULES;
9 import static org.unicode.icu.tool.cldrtoicu.mapper.RbnfMapperTest.Group.SPELLOUT_RULES;
10 import static org.unicode.icu.tool.cldrtoicu.testing.IcuDataSubjectFactory.assertThat;
21 import org.unicode.icu.tool.cldrtoicu.IcuData;
22 import org.unicode.icu.tool.cldrtoicu.RbValue;
/third_party/icu/icu4c/source/data/
H A DBUILDRULES.py126 tool = IcuTool("gencnval"),
146 tool = IcuTool("gencfu"),
167 tool = IcuTool("makeconv"),
190 tool = IcuTool("genbrk"),
212 tool = IcuTool("gensprep"),
242 tool = IcuTool("gendict"),
267 tool = IcuTool("icupkg"),
286 tool = IcuTool("icupkg"),
317 tool = IcuTool("icupkg"),
334 tool
[all...]
/third_party/skia/third_party/externals/icu/source/data/
H A DBUILDRULES.py124 tool = IcuTool("gencnval"),
144 tool = IcuTool("gencfu"),
165 tool = IcuTool("makeconv"),
186 tool = IcuTool("genbrk"),
208 tool = IcuTool("gensprep"),
238 tool = IcuTool("gendict"),
263 tool = IcuTool("icupkg"),
282 tool = IcuTool("icupkg"),
313 tool = IcuTool("icupkg"),
330 tool
[all...]

Completed in 15 milliseconds

12345678910>>...13