/third_party/python/Lib/test/ |
H A D | test_timeit.py | 239 def run_main(self, seconds_per_increment=1.0, switches=None, timer=None): 242 if switches is None: 245 args = switches[:] 255 s = self.run_main(switches=['--bad-switch']) 270 s = self.run_main(seconds_per_increment=0.0000025, switches=['-n100']) 274 s = self.run_main(seconds_per_increment=2.0, switches=['-n35']) 279 switches=['-n35', '-s', 'print("CustomSetup")']) 285 switches=['-n35', '-s', 'a = "CustomSetup"', '-s', 'print(a)']) 290 s = self.run_main(seconds_per_increment=60.0, switches=['-r9']) 294 s = self.run_main(seconds_per_increment=60.0, switches [all...] |
/third_party/lzma/CPP/7zip/Bundles/SFXSetup/ |
H A D | SfxSetup.cpp | 149 UString archiveName, switches;
in WinMain() local 153 NCommandLineParser::SplitCommandLine(GetCommandLineW(), archiveName, switches);
in WinMain() local 158 switches.Trim();
in WinMain() 160 if (switches.IsPrefixedBy_Ascii_NoCase("-y"))
in WinMain() 163 switches = switches.Ptr(2);
in WinMain() 164 switches.Trim();
in WinMain() 278 if (!switches.IsEmpty())
in WinMain() 281 executeParameters += switches;
in WinMain() 327 if (!switches in WinMain() [all...] |
/third_party/openssl/test/ |
H A D | run_tests.pl | 45 switches => '-w', 277 my @switches = (); 278 if ($self->{switches}) { 279 push @switches, $self->{switches}; 285 # It seems that $switches is getting interpreted with 'eval' 289 push @switches, "-I$l"; 293 $Test::Harness::switches = join(' ', @switches);
|
/third_party/gn/src/gn/ |
H A D | setup.cc | 33 #include "gn/switches.h" 483 scheduler_.set_verbose_logging(cmdline.HasSwitch(switches::kVerbose)); 484 if (cmdline.HasSwitch(switches::kTime) || 485 cmdline.HasSwitch(switches::kTracelog)) 560 if (cmdline.HasSwitch(switches::kFailOnUnusedArgs)) { 591 if (cmdline.HasSwitch(switches::kTime)) 593 if (cmdline.HasSwitch(switches::kTracelog)) 594 SaveTraces(cmdline.GetSwitchValuePath(switches::kTracelog)); 607 auto switch_value = cmdline.GetSwitchValueString(switches::kArgs); 608 if (cmdline.HasSwitch(switches [all...] |
H A D | command_help.cc | 23 #include "gn/switches.h" 98 PrintShortHelp("switches: Show available command-line switches.", in PrintToplevelHelp() 104 bool is_markdown = cmdline->HasSwitch(switches::kMarkdown); in PrintSwitchHelp() 108 // labeled "switches". in PrintSwitchHelp() 109 PrintLongHelp(R"(Available global switches in PrintSwitchHelp() 112 take command-specific switches not listed here. See the help on your specific in PrintSwitchHelp() 120 for (const auto& s : switches::GetSwitches()) in PrintSwitchHelp() 131 bool is_markdown = cmdline->HasSwitch(switches::kMarkdown); in PrintAllHelp() 216 const switches in PrintHelpOnSwitch() 265 const base::CommandLine::SwitchMap& switches = RunHelp() local [all...] |
H A D | ninja_build_writer.cc | 29 #include "gn/switches.h" 75 cmdline.AppendSwitchPath(std::string("--") + switches::kRoot, in GetSelfInvocationCommandLine() 78 cmdline.AppendSwitch(std::string("-") + switches::kQuiet); in GetSelfInvocationCommandLine() 97 cmdline.AppendSwitchPath(std::string("--") + switches::kDotfile, in GetSelfInvocationCommandLine() 103 const base::CommandLine::SwitchMap& switches = our_cmdline.GetSwitches(); in GetSelfInvocationCommandLine() local 104 for (base::CommandLine::SwitchMap::const_iterator i = switches.begin(); in GetSelfInvocationCommandLine() 105 i != switches.end(); ++i) { in GetSelfInvocationCommandLine() 110 if (i->first != switches::kQuiet && i->first != switches::kRoot && in GetSelfInvocationCommandLine() 111 i->first != switches in GetSelfInvocationCommandLine() [all...] |
H A D | setup_unittest.cc | 13 #include "gn/switches.h" 35 cmdline.AppendSwitchPath(switches::kRoot, in_path); in TEST_F() 67 cmdline.AppendSwitchPath(switches::kRoot, in_path); in TEST_F() 98 cmdline.AppendSwitchPath(switches::kRoot, in_path); in TEST_F() 129 cmdline.AppendSwitchPath(switches::kRoot, in_path); in TEST_F() 176 cmdline.AppendSwitch(switches::kRoot, FilePathToUTF8(in_path)); in TEST_F() 179 cmdline.AppendSwitch(switches::kAddExportCompileCommands, in TEST_F() 181 cmdline.AppendSwitch(switches::kAddExportCompileCommands, "//src/gn:*"); in TEST_F() 218 cmdline.AppendSwitch(switches::kRoot, FilePathToUTF8(in_path)); in TEST_F() 253 cmdline.AppendSwitch(switches [all...] |
H A D | command_check.cc | 13 #include "gn/switches.h" 71 Command-specific switches 198 bool default_toolchain_only = cmdline->HasSwitch(switches::kDefaultToolchain); in RunCheck() 250 if (!base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kQuiet)) { in RunCheck()
|
H A D | standard_out.cc | 16 #include "gn/switches.h" 47 if (cmdline->HasSwitch(switches::kMarkdown)) { in EnsureInitialized() 52 if (cmdline->HasSwitch(switches::kNoColor)) { in EnsureInitialized() 66 if (cmdline->HasSwitch(switches::kColor)) in EnsureInitialized()
|
H A D | runtime_deps.cc | 23 #include "gn/switches.h" 137 switches::kRuntimeDepsListFile); in CollectRuntimeDepsFromFlag() 147 std::string("File for --") + switches::kRuntimeDepsListFile + in CollectRuntimeDepsFromFlag() 176 switches::kRuntimeDepsListFile + "=" + deps_target_list_file); in CollectRuntimeDepsFromFlag()
|
H A D | ninja_build_writer_unittest.cc | 13 #include "gn/switches.h" 57 EXPECT_EQ("../..", cmd_out.GetSwitchValueString(switches::kRoot)); in TEST_F() 58 EXPECT_FALSE(cmd_out.HasSwitch(switches::kDotfile)); in TEST_F() 65 EXPECT_EQ("../..", cmd_out.GetSwitchValueString(switches::kRoot)); in TEST_F() 67 cmd_out.GetSwitchValueString(switches::kDotfile)); in TEST_F()
|
H A D | command_clean_stale.cc | 14 #include "gn/switches.h" 82 cmdline->GetSwitchValuePath(switches::kNinjaExecutable); in RunCleanStale()
|
H A D | switches.h | 11 namespace switches { namespace 23 // Returns the mapping of all global switches. 26 // This file contains global switches. If a command takes specific ones only 125 } // namespace switches
|
H A D | command_ls.cc | 13 #include "gn/switches.h" 73 bool default_toolchain_only = cmdline->HasSwitch(switches::kDefaultToolchain);
|
H A D | gn_main.cc | 14 #include "gn/switches.h" 50 } else if (cmdline.HasSwitch(switches::kVersion)) { in main()
|
H A D | switches.cc | 5 #include "gn/switches.h" 7 namespace switches { namespace 45 " and will enable or disable color accordingly. Use of these switches\n" \ 353 } // namespace switches
|
H A D | command_gen.cc | 32 #include "gn/switches.h" 244 bool quiet = command_line->HasSwitch(switches::kQuiet); in RunIdeWriter() 378 bool quiet = command_line->HasSwitch(switches::kQuiet); in RunRustProjectWriter() 404 bool quiet = command_line->HasSwitch(switches::kQuiet); in RunCompileCommandsWriter() 510 See "gn help switches" for the common command-line switches. 743 if (!base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kArgs)) { 761 if (command_line->HasSwitch(switches::kRegeneration)) { 781 if (command_line->HasSwitch(switches::kVerbose)) 806 command_line->GetSwitchValuePath(switches [all...] |
/third_party/alsa-utils/alsamixer/ |
H A D | mixer_display.c | 411 int switches[2]; in display_control() local 511 err = snd_mixer_selem_get_playback_switch(control->elem, control->pswitch_channels[0], &switches[0]); in display_control() 513 err = snd_mixer_selem_get_playback_switch(control->elem, control->pswitch_channels[1], &switches[1]); in display_control() 515 switches[1] = switches[0]; in display_control() 521 switches[0] in display_control() 527 switches[1] in display_control() 535 err = snd_mixer_selem_get_capture_switch(control->elem, control->cswitch_channels[0], &switches[0]); in display_control() 537 err = snd_mixer_selem_get_capture_switch(control->elem, control->cswitch_channels[1], &switches[1]); in display_control() 539 switches[ in display_control() [all...] |
/third_party/icu/icu4c/source/common/unicode/ |
H A D | uconfig.h | 25 * Miscellaneous switches: 35 * The switches are fairly coarse, controlling large modules. 43 * libraries with these switches customized to your needs. 204 /* common/i18n library switches --------------------------------------------- */ 228 # error Contradictory collation switches in uconfig.h. 235 /* common library switches -------------------------------------------------- */ 260 # error Contradictory file io switches in uconfig.h. 335 # error Contradictory collation switches in uconfig.h. 384 /* i18n library switches ---------------------------------------------------- */
|
/third_party/node/deps/icu-small/source/common/unicode/ |
H A D | uconfig.h | 25 * Miscellaneous switches: 35 * The switches are fairly coarse, controlling large modules. 43 * libraries with these switches customized to your needs. 204 /* common/i18n library switches --------------------------------------------- */ 228 # error Contradictory collation switches in uconfig.h. 235 /* common library switches -------------------------------------------------- */ 260 # error Contradictory file io switches in uconfig.h. 345 # error Contradictory collation switches in uconfig.h. 394 /* i18n library switches ---------------------------------------------------- */
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
H A D | uconfig.h | 25 * Miscellaneous switches: 35 * The switches are fairly coarse, controlling large modules. 43 * libraries with these switches customized to your needs. 204 /* common/i18n library switches --------------------------------------------- */ 228 # error Contradictory collation switches in uconfig.h. 235 /* common library switches -------------------------------------------------- */ 260 # error Contradictory file io switches in uconfig.h. 335 # error Contradictory collation switches in uconfig.h. 384 /* i18n library switches ---------------------------------------------------- */
|
/third_party/libinput/test/ |
H A D | test-switch.c | 1397 struct range switches = { LIBINPUT_SWITCH_LID, in TEST_COLLECTION() local 1403 litest_add_ranged(switch_toggle, LITEST_SWITCH, LITEST_ANY, &switches); in TEST_COLLECTION() 1404 litest_add_ranged(switch_toggle_double, LITEST_SWITCH, LITEST_ANY, &switches); in TEST_COLLECTION() 1405 litest_add_ranged(switch_down_on_init, LITEST_SWITCH, LITEST_ANY, &switches); in TEST_COLLECTION() 1407 litest_add_ranged(switch_disable_touchpad, LITEST_SWITCH, LITEST_ANY, &switches); in TEST_COLLECTION() 1408 litest_add_ranged(switch_disable_touchpad_during_touch, LITEST_SWITCH, LITEST_ANY, &switches); in TEST_COLLECTION() 1409 litest_add_ranged(switch_disable_touchpad_edge_scroll, LITEST_SWITCH, LITEST_ANY, &switches); in TEST_COLLECTION() 1410 litest_add_ranged(switch_disable_touchpad_edge_scroll_interrupt, LITEST_SWITCH, LITEST_ANY, &switches); in TEST_COLLECTION() 1411 litest_add_ranged(switch_disable_touchpad_already_open, LITEST_SWITCH, LITEST_ANY, &switches); in TEST_COLLECTION() 1412 litest_add_ranged(switch_dont_resume_disabled_touchpad, LITEST_SWITCH, LITEST_ANY, &switches); in TEST_COLLECTION() [all...] |
/third_party/gn/src/base/ |
H A D | command_line.cc | 76 // Append switches and arguments, keeping switches before arguments 397 // Append the switch and update the switches/arguments divider |begin_args_|. in AppendSwitchNative() 407 const char* const switches[], in CopySwitchesFrom() 410 if (source.HasSwitch(switches[i])) in CopySwitchesFrom() 411 AppendSwitchNative(switches[i], source.GetSwitchValueNative(switches[i])); in CopySwitchesFrom() 464 // Prepend the wrapper and update the switches/arguments |begin_args_|. in PrependWrapper() 505 // Append switches and arguments. in GetArgumentsStringInternal() 406 CopySwitchesFrom(const CommandLine& source, const char* const switches[], size_t count) CopySwitchesFrom() argument
|
/third_party/gn/src/util/ |
H A D | worker_pool.cc | 9 #include "gn/switches.h" 17 switches::kThreads); in GetThreadCount()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | options.c | 980 struct switches { struct 988 static struct switches cmd[] = { in handle_long_options() 995 struct switches *s = cmd; in handle_long_options() 1036 * they're probably gcc switches in handle_switch()
|