Home
last modified time | relevance | path

Searched full:command (Results 1 – 25 of 2954) sorted by relevance

12345678910>>...119

/llvm-project/lldb/test/API/commands/command/container/
H A DTestContainerCommands.py19 """This makes sure we can still run the command tree we added."""
27 "command container add process",
28 "Can't replace builtin container command",
29 substrs=["can't replace builtin command"],
33 "command container add process non_such_subcommand",
35 substrs=["Path component: 'process' is not a user command"],
39 "command container add process launch",
41 substrs=["Path component: 'process' is not a user command"],
45 # Now lets make a container command:
46 self.runCmd("command container add -h 'A test container command' test-multi")
[all …]
/llvm-project/lldb/test/Shell/Commands/
H A Dcommand-disassemble.s4 # RUN: %lldb %t -o "settings set interpreter.stop-command-source-on-error false" \
6 # RUN: -s %S/Inputs/command-disassemble.lldbinit -o exit 2>&1 | FileCheck %s
17 # CHECK-NEXT: command-disassemble.s.tmp`foo:
18 # CHECK-NEXT: command-disassemble.s.tmp[0x0] <+0>: jmp 0x2 ; <+2>
19 # CHECK-NEXT: command-disassemble.s.tmp[0x2] <+2>: int $0x11
20 # CHECK-NEXT: command-disassemble.s.tmp[0x4] <+4>: int $0x12
21 # CHECK-NEXT: command-disassemble.s.tmp[0x6] <+6>: int $0x13
22 # CHECK-NEXT: command-disassemble.s.tmp[0x8] <+8>: int $0x14
23 # CHECK-NEXT: command-disassemble.s.tmp[0xa] <+10>: int $0x15
24 # CHECK-NEXT: command
[all...]
/llvm-project/lldb/test/API/python_api/was_interrupted/
H A DTestDebuggerInterruption.py13 """This test runs a command that starts up, rendevous with the test thread
16 The command's first argument is either 'interp' or 'debugger', to test
19 The command has two modes, interrupt and check, the former is the one that
26 """This class is for running a command, and for making a thread to run the command on.
45 """ "This version runs a single command using HandleCommand."""
47 def __init__(self, test, command): argument
49 self.command = command
54 self.command, self.test.result
60 """This version runs the CommandInterpreter and feeds the command to it."""
72 # First write down the command:
[all …]
/llvm-project/lldb/include/lldb/API/
H A DSBCommandInterpreter.h54 /// Return whether a built-in command with the passed in
55 /// name or command path exists.
58 /// The command or command path to search for.
61 /// \b true if the command exists, \b false otherwise.
64 /// Return whether a user defined command with the passed in
65 /// name or command path exists.
68 /// The command or command path to search for.
71 /// \b true if the command exists, \b false otherwise.
74 /// Return whether the passed in name or command path
75 /// exists and is an alias to some other command.
[all …]
/llvm-project/llvm/utils/lit/tests/
H A Dshtest-not.py1 # Check the not command
14 # CHECK: # executed command: ! ! !
16 # CHECK: # error: command failed with exit status: {{.*}}
20 # CHECK: # executed command: !
22 # CHECK: # error: command failed with exit status: {{.*}}
27 # CHECK: # executed command: ! [[PYTHON_BARE:.*]] fail.py
29 # CHECK: # executed command: ! ! [[PYTHON_BARE]] pass.py
31 # CHECK: # executed command: ! ! ! [[PYTHON_BARE]] fail.py
33 # CHECK: # executed command: ! ! ! ! [[PYTHON_BARE]] pass.py
36 # CHECK: # executed command: ! [[PYTHON_BARE]] pass.py
[all …]
H A Dshtest-shell.py24 # CHECK: # .---command stderr{{-*}}
26 # CHECK: # error: command failed with exit status: 127
36 # CHECK: # .---command stdout{{-*}}
44 # CHECK-NEXT: # error: command failed with exit status: 1
52 # CHECK-NEXT: # executed command: diff -u diff-in.bin diff-in.bin
56 # CHECK-NEXT: # executed command: diff -u diff-in.utf16 diff-in.bin
57 # CHECK-NEXT: # .---command stdout{{-*}}
66 # CHECK-NEXT: # error: command failed with exit status: 1
67 # CHECK-NEXT: # executed command: true
70 # CHECK-NEXT: # executed command
[all...]
H A Dshtest-env.py
H A Dshtest-run-at-line.py1 # Check that -a/-v/-vv makes the line number of the failing RUN command clear.
18 # CHECK: Command Output (stderr)
29 # CHECK: Command Output (stderr)
31 # CHECK-NEXT: {{^}}RUN: at line 2 has no command after substitutions{{$}}
41 # trace of the echo command for each 'RUN: at line N: cmd-line'.
43 # CHECK: Command Output (stderr)
53 # CHECK: Command Output (stderr)
63 # CHECK: Command Output (stdout)
67 # CHECK-NEXT: # executed command: true
70 # CHECK-NEXT: # executed command: false
[all …]
/llvm-project/lldb/test/API/commands/command/script/
H A Dpy_import5 command script add welcome --class welcome.WelcomeCommand
6 command script add targetname --class welcome.TargetnameCommand
7 command script add longwait --function welcome.print_wait_impl
8 command script import mysto.py --allow-reload
9 command script add tell_sync --function welcome.check_for_synchro --synchronicity sync
10 command script add tell_async --function welcome.check_for_synchro --synchronicity async
11 command script add tell_curr --function welcome.check_for_synchro --synchronicity curr
12 command script add takes_exe_ctx --function welcome.takes_exe_ctx
13 command script import decorated.py
16 command script import callables.py
[all …]
H A Dcallables.py7 def check(debugger, command, context, result, internal_dict): argument
10 or not isinstance(command, str)
23 def v5foobar(debugger, command, context, result, internal_dict, *args): argument
24 check(debugger, command, context, result, internal_dict)
27 def foobar(debugger, command, context, result, internal_dict): argument
28 check(debugger, command, context, result, internal_dict)
31 def foobar4(debugger, command, result, internal_dict): argument
32 check(debugger, command, None, result, internal_dict)
37 def sfoobar(debugger, command, context, result, internal_dict): argument
38 check(debugger, command, context, result, internal_dict)
[all …]
H A DTestCommandScript.py20 self.runCmd("command source py_import")
42 # Verify command that specifies eCommandRequiresTarget returns failure
54 self.runCmd("command script delete welcome", check=False)
55 self.runCmd("command script delete targetname", check=False)
56 self.runCmd("command script delete longwait", check=False)
57 self.runCmd("command script delete mysto", check=False)
58 self.runCmd("command script delete tell_sync", check=False)
59 self.runCmd("command script delete tell_async", check=False)
60 self.runCmd("command script delete tell_curr", check=False)
61 self.runCmd("command script delete bug11569", check=False)
[all …]
/llvm-project/clang/include/clang/AST/
H A DCommentCommandTraits.h1 //===--- CommentCommandTraits.h - Comment command properties ----*- C++ -*-===//
28 /// Information about a single command.
39 /// Name of the command that ends the verbatim block.
42 /// DRY definition of the number of bits used for a command ID.
45 /// The ID of the command.
48 /// Number of word-like arguments for a given block command, except for
52 /// True if this command is a inline command (of any kind).
56 /// True if this command is a block command (of any kind).
60 /// True if this command is introducing a brief documentation
65 /// True if this command is \\returns or an alias.
[all …]
/llvm-project/lldb/test/API/commands/command/invalid-args/
H A DTestInvalidArgsCommand.py10 "command script add 1 2",
16 "command script add",
18 substrs=["'command script add' requires at least one argument"],
24 "command script clear f",
26 substrs=["'command script clear' doesn't take any arguments"],
32 "command script list f",
34 substrs=["'command script list' doesn't take any arguments"],
40 "command script import",
42 substrs=["command script import needs one or more arguments"],
48 "command alias",
[all …]
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/command/
H A DParseCommand.py7 """Parse a DExTer command. In particular, ensure that only a very limited
20 from dex.command.CommandBase import CommandBase
21 from dex.command.commands.DexCommandLine import DexCommandLine
22 from dex.command.commands.DexDeclareFile import DexDeclareFile
23 from dex.command.commands.DexDeclareAddress import DexDeclareAddress
24 from dex.command.commands.DexExpectProgramState import DexExpectProgramState
25 from dex.command.commands.DexExpectStepKind import DexExpectStepKind
26 from dex.command.commands.DexExpectStepOrder import DexExpectStepOrder
27 from dex.command.commands.DexExpectWatchType import DexExpectWatchType
28 from dex.command
[all...]
/llvm-project/lldb/test/API/commands/command/script/import/
H A DTestImport.py1 """Test custom import command to import files by path."""
23 self.runCmd("command script delete foo2cmd", check=False)
24 self.runCmd("command script delete foocmd", check=False)
25 self.runCmd("command script delete foobarcmd", check=False)
26 self.runCmd("command script delete barcmd", check=False)
27 self.runCmd("command script delete barothercmd", check=False)
28 self.runCmd("command script delete TPcommandA", check=False)
29 self.runCmd("command script delete TPcommandB", check=False)
34 self.runCmd("command script import ./foo/foo.py --allow-reload")
35 self.runCmd("command script import ./foo/foo2.py --allow-reload")
[all …]
/llvm-project/third-party/benchmark/test/
H A DCMakeLists.txt77 benchmark_add_test(NAME benchmark COMMAND benchmark_test --benchmark_min_time=0.01s)
80 benchmark_add_test(NAME spec_arg COMMAND spec_arg_test --benchmark_filter=BM_NotChosen)
83 benchmark_add_test(NAME spec_arg_verbosity COMMAND spec_arg_verbosity_test --v=42)
86 benchmark_add_test(NAME benchmark_setup_teardown COMMAND benchmark_setup_teardown_test)
90 …benchmark_add_test(NAME ${name} COMMAND filter_test --benchmark_min_time=0.01s --benchmark_filter=…
91 …benchmark_add_test(NAME ${name}_list_only COMMAND filter_test --benchmark_list_tests --benchmark_f…
95 benchmark_add_test(NAME min_time_flag_time COMMAND benchmark_min_time_flag_time_test)
98 benchmark_add_test(NAME min_time_flag_iters COMMAND benchmark_min_time_flag_iters_test)
120 benchmark_add_test(NAME options_benchmarks COMMAND options_test --benchmark_min_time=0.01s)
123 benchmark_add_test(NAME basic_benchmark COMMAND basic_test --benchmark_min_time=0.01s)
[all …]
/llvm-project/llvm/utils/lit/tests/unit/
H A DShUtil.py5 from lit.ShUtil import Command, Pipeline, Seq, ShLexer, ShParser
39 self.parse("echo hello"), Pipeline([Command(["echo", "hello"], [])], False)
42 self.parse('echo ""'), Pipeline([Command(["echo", ""], [])], False)
46 Pipeline([Command(["echo", "-DFOO=a"], [])], False),
50 Pipeline([Command(["echo", "-DFOO=a"], [])], False),
56 Pipeline([Command(["echo", "hello"], [(((">"),), "c")])], False),
61 [Command(["echo", "hello"], [((">",), "c"), ((">>",), "d")])], False
65 self.parse("a 2>&1"), Pipeline([Command(["a"], [((">&", 2), "1")])], False)
71 Pipeline([Command(["a"], []), Command(["b"], [])], False),
77 [Command(["a"], []), Command(["b"], []), Command(["c"], [])], False
[all …]
/llvm-project/lldb/source/Commands/
H A DCommandObjectCommands.cpp41 interpreter, "command source", in CommandObjectCommandsSource()
105 // Instance variables to hold the values for command options.
113 void DoExecute(Args &command, CommandReturnObject &result) override { in DoExecute() argument
114 if (command.GetArgumentCount() != 1) { in DoExecute()
125 result.AppendError("command source -C can only be specified " in DoExecute()
126 "from a command file"); in DoExecute()
132 FileSpec cmd_file(command[0].ref()); in DoExecute()
136 result.AppendError("command source -C can only be used " in DoExecute()
158 // Individual silent setting is override for global command echo settings. in DoExecute()
182 "Enter your Python command(
822 DoExecute(Args & command,CommandReturnObject & result) DoExecute() argument
1982 DoExecute(Args & command,CommandReturnObject & result) DoExecute() argument
2209 DoExecute(Args & command,CommandReturnObject & result) DoExecute() argument
2332 DoExecute(Args & command,CommandReturnObject & result) DoExecute() argument
2350 DoExecute(Args & command,CommandReturnObject & result) DoExecute() argument
2379 DoExecute(Args & command,CommandReturnObject & result) DoExecute() argument
2563 DoExecute(Args & command,CommandReturnObject & result) DoExecute() argument
2643 DoExecute(Args & command,CommandReturnObject & result) DoExecute() argument
[all...]
/llvm-project/lldb/test/API/python_api/interpreter/
H A DTestCommandInterpreterAPI.py27 # Retrieve the associated command interpreter from our debugger.
80 """Test command output handling."""
84 # Test that a command which produces no output returns "" instead of
115 # Send a few commands through the command interpreter.
121 ci.HandleCommand("an-unknown-command", res)
131 for command in transcript:
132 self.assertIn("command", command)
135 self.assertIn("output", command)
136 self.assertIn("error", command)
137 self.assertIn("durationInSeconds", command)
[all …]
/llvm-project/lldb/docs/use/
H A Dtutorial.rst5 GDB's command set. We will start with some details on LLDB command structure and
8 Command Structure
18 The command line parsing is done before command execution, so it is the same for
19 all commands. The command syntax for basic commands is very simple.
33 will be passed to the command. So for instance, if ``len`` is a local
34 ``int`` variable with the value ``5``, then the command:
42 Options can be placed anywhere on the command line, but if the arguments begin
44 current command b
[all...]
/llvm-project/libc/docs/dev/
H A Dheader_generation.rst26 2. Once the build is complete, enter in the command line within the build
29 3. Then enter in the command line ``ninja libc`` to generate headers. Headers
37 command line.
39 To add through the command line:
43 2. Enter in the command line:
73 your CMake within the build directory. In the command line, enter the
127 3. Command line: expected arguments
141 command line is requiring more arguments than what you currently have. Ensure
/llvm-project/clang/test/Sema/
H A Dwarn-documentation.cpp114 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
118 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
122 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
127 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
134 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
148 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
153 // expected-warning@+5 {{duplicated command '\brief'}} expected-note@+1 {{previous command '\brief'…
161 // expected-warning@+5 {{duplicated command '\short'}} expected-note@+1 {{previous command '\short'…
169 // expected-warning@+5 {{duplicated command '\brief'}} expected-note@+1 {{previous command '\short'…
207 /// expected-warning@+1 {{empty paragraph passed to '\retval' command}}
[all …]
/llvm-project/llvm/test/Object/
H A Dmacho-invalid.test8 RUN: not llvm-objdump --macho --private-headers %p/Inputs/macho64-invalid-incomplete-load-command 2…
10 INCOMPLETE-LOADC: truncated or malformed object (load command 0 extends past the end all load comma…
12 RUN: not llvm-objdump --macho --private-headers %p/Inputs/macho64-invalid-incomplete-load-command.1…
14 INCOMPLETE-LOADC-1: truncated or malformed object (load command 1 extends past the end all load com…
16 RUN: not llvm-objdump --macho --private-headers %p/Inputs/macho-invalid-too-small-load-command 2>&1…
18 RUN: not llvm-objdump --macho --private-headers %p/Inputs/macho64-invalid-too-small-load-command 2>…
22 RUN: not llvm-objdump --macho --private-headers %p/Inputs/macho64-invalid-too-small-load-command.1 …
24 SMALL-LOADC-SIZE-1: truncated or malformed object (load command 1 with size less than 8 bytes)
26 RUN: not llvm-objdump --private-headers %p/Inputs/macho-invalid-too-small-segment-load-command 2>&1…
28 MULTIPLE-NOT-4: truncated or malformed object (load command 0 cmdsize not a multiple of 4)
[all …]
/llvm-project/lldb/packages/Python/lldbsuite/test/tools/intelpt/
H A Dintelpt_testcase.py25 # It also contains many functions that can test both the SB API or the command line version
106 command = "thread trace start"
108 command += " " + str(thread.GetIndexID())
110 command += " -s " + str(iptTraceSize)
112 command += " --tsc"
114 command += " --psb-period " + str(psbPeriod)
115 self.expect(command, error=error, substrs=substrs)
136 command = "process trace start"
138 command += " -l " + str(processBufferSizeLimit)
140 command += " --tsc"
[all …]
/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerCommand.h8 // FuzzerCommand represents a command to run in a subprocess. It allows callers
9 // to manage command line arguments and output and error streams.
26 class Command final {
28 // This command line flag is used to indicate that the remaining command line
35 Command() : CombinedOutAndErr(false) {} in Command() function
37 explicit Command(const std::vector<std::string> &ArgsToAdd) in Command() function
40 explicit Command(const Command &Other) in Command() function
44 Command &operator=(const Command &Other) {
51 ~Command() {} in ~Command()
60 // Gets all of the current command line arguments, **including** those after
[all …]

12345678910>>...119