/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | event_update.c | 11 #include "tool.h" 15 static int process_event_unit(struct perf_tool *tool __maybe_unused, in process_event_unit() 28 static int process_event_scale(struct perf_tool *tool __maybe_unused, in process_event_scale() 45 struct perf_tool tool; member 49 static int process_event_name(struct perf_tool *tool, in process_event_name() argument 54 struct event_name *tmp = container_of(tool, struct event_name, tool); in process_event_name() 63 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus() 115 !perf_event__synthesize_event_update_name(&tmp.tool, evsel, process_event_name)); in test__event_update() 120 !perf_event__synthesize_event_update_cpus(&tmp.tool, evse in test__event_update() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | event_update.c | 11 #include "tool.h" 15 static int process_event_unit(struct perf_tool *tool __maybe_unused, in process_event_unit() 28 static int process_event_scale(struct perf_tool *tool __maybe_unused, in process_event_scale() 42 struct perf_tool tool; member 46 static int process_event_name(struct perf_tool *tool, in process_event_name() argument 51 struct event_name *tmp = container_of(tool, struct event_name, tool); in process_event_name() 60 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus() 109 !perf_event__synthesize_event_update_name(&tmp.tool, evsel, process_event_name)); in test__event_update() 114 !perf_event__synthesize_event_update_cpus(&tmp.tool, evse in test__event_update() [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
H A D | LikelySubtagsBuilderTest.java | 3 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/node/tools/gyp/pylib/gyp/ |
H A D | MSVSSettings.py | 20 # 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 D | MSVSSettings.py | 20 # 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 D | PluralRangesMapperTest.java | 3 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 D | SupplementalMapperTest.java | 3 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 D | RbnfMapperTest.java | 3 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;
|
H A D | PluralsMapperTest.java | 3 package org.unicode.icu.tool.cldrtoicu.mapper; 5 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralsMapperTest.PluralCount.FEW; 6 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralsMapperTest.PluralCount.MANY; 7 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralsMapperTest.PluralCount.ONE; 8 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralsMapperTest.PluralCount.OTHER; 9 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralsMapperTest.PluralCount.TWO; 10 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralsMapperTest.PluralCount.ZERO; 11 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralsMapperTest.PluralType.CARDINAL; 12 import static org.unicode.icu.tool.cldrtoicu.mapper.PluralsMapperTest.PluralType.ORDINAL; 13 import static org.unicode.icu.tool [all...] |
H A D | BreakIteratorMapperTest.java | 3 package org.unicode.icu.tool.cldrtoicu.mapper; 5 import static org.unicode.icu.tool.cldrtoicu.mapper.BreakIteratorMapperTest.BoundaryType.GRAPHEME; 6 import static org.unicode.icu.tool.cldrtoicu.mapper.BreakIteratorMapperTest.BoundaryType.SENTENCE; 7 import static org.unicode.icu.tool.cldrtoicu.mapper.BreakIteratorMapperTest.SegmentationType.LINE_BREAK; 8 import static org.unicode.icu.tool.cldrtoicu.mapper.BreakIteratorMapperTest.SegmentationType.SENTENCE_BREAK; 9 import static org.unicode.icu.tool.cldrtoicu.testing.IcuDataSubjectFactory.assertThat; 20 import org.unicode.icu.tool.cldrtoicu.IcuData; 21 import org.unicode.icu.tool.cldrtoicu.RbValue;
|
/third_party/gn/src/gn/ |
H A D | swift_values.cc | 14 #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 D | ninja_target_command_util.cc | 24 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 D | ninja_binary_target_writer.h | 65 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 D | json_project_writer.cc | 428 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 D | substitution_writer_unittest.cc | 261 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...] |
H A D | function_toolchain.cc | 20 #include "gn/tool.h" 84 tool() 85 The tool() function call specifies the commands to run for a given step. See 86 "gn help tool". 140 tool("cc") { 152 tool("cc") { 269 // tool ------------------------------------------------------------------------ 271 const char kTool[] = "tool"; 272 const char kTool_HelpShort[] = "tool: Specify arguments to a toolchain tool [all...] |
/third_party/icu/icu4c/source/data/ |
H A D | BUILDRULES.py | 126 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/python/Tools/c-analyzer/c_parser/preprocessor/ |
H A D | __init__.py | 39 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/libinput/tools/ |
H A D | libinput-debug-events.c | 390 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/skia/third_party/externals/icu/source/data/ |
H A D | BUILDRULES.py | 124 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...] |
/third_party/vixl/tools/ |
H A D | clang_format.py | 52 description = '''This tool runs `clang-format` on C++ files. 72 def is_supported(tool): 73 if not shutil.which(tool): 76 cmd = '%s -version' % tool 87 util.abort("Failed to get clang tool version: %s" % version) 95 def detect_clang_tool(tool): 96 supported_tools = [tool] + [tool + '-' + str(ver) for ver in CLANG_TOOL_SUPPORTED_VERSIONS] 97 for tool in supported_tools: 98 if is_supported(tool) [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/ |
H A D | SupplementalMapper.java | 3 package org.unicode.icu.tool.cldrtoicu.mapper; 14 import org.unicode.icu.tool.cldrtoicu.IcuData; 15 import org.unicode.icu.tool.cldrtoicu.PathValueTransformer; 16 import org.unicode.icu.tool.cldrtoicu.PathValueTransformer.Result; 17 import org.unicode.icu.tool.cldrtoicu.RbPath;
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | LdmlConverter.java | 3 package org.unicode.icu.tool.cldrtoicu; 14 import static org.unicode.icu.tool.cldrtoicu.LdmlConverterConfig.IcuLocaleDir.BRKITR; 15 import static org.unicode.icu.tool.cldrtoicu.LdmlConverterConfig.IcuLocaleDir.COLL; 16 import static org.unicode.icu.tool.cldrtoicu.LdmlConverterConfig.IcuLocaleDir.CURR; 17 import static org.unicode.icu.tool.cldrtoicu.LdmlConverterConfig.IcuLocaleDir.LANG; 18 import static org.unicode.icu.tool.cldrtoicu.LdmlConverterConfig.IcuLocaleDir.LOCALES; 19 import static org.unicode.icu.tool.cldrtoicu.LdmlConverterConfig.IcuLocaleDir.RBNF; 20 import static org.unicode.icu.tool.cldrtoicu.LdmlConverterConfig.IcuLocaleDir.REGION; 21 import static org.unicode.icu.tool.cldrtoicu.LdmlConverterConfig.IcuLocaleDir.UNIT; 22 import static org.unicode.icu.tool [all...] |
/third_party/skia/third_party/externals/spirv-tools/utils/ |
H A D | generate_registry_tables.py | 15 """Generates the vendor tool table from the SPIR-V XML registry.""" 55 if 'tool' in an_id.attrib: 56 tool = an_id.attrib['tool'] 57 vendor_tool = vendor + ' ' + tool 59 tool = '' 63 tool,
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
H A D | generate_registry_tables.py | 15 """Generates the vendor tool table from the SPIR-V XML registry.""" 55 if 'tool' in an_id.attrib: 56 tool = an_id.attrib['tool'] 57 vendor_tool = vendor + ' ' + tool 59 tool = '' 63 tool,
|