Home
last modified time | relevance | path

Searched refs:Cmd (Results 1 – 25 of 39) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerFork.cpp66 Command Cmd; member
118 Command Cmd(Args); in CreateNewJob() local
119 Cmd.removeFlag("fork"); in CreateNewJob()
120 Cmd.removeFlag("runs"); in CreateNewJob()
123 Cmd.removeArgument(C); in CreateNewJob()
171 Cmd.combineOutAndErr(); in CreateNewJob()
173 Job->Cmd = Cmd; in CreateNewJob()
238 Command Cmd(Args); in CollectDFT() local
239 Cmd.removeFlag("fork"); in CollectDFT()
240 Cmd.removeFlag("runs"); in CollectDFT()
[all …]
H A DFuzzerDriver.cpp236 Command Cmd(BaseCmd); in WorkerThread() local
237 Cmd.setOutputFile(Log); in WorkerThread()
238 Cmd.combineOutAndErr(); in WorkerThread()
277 std::string Cmd; in CloneArgsWithoutX() local
281 Cmd += S + " "; in CloneArgsWithoutX()
283 return Cmd; in CloneArgsWithoutX()
290 Command Cmd(Args); in RunInMultipleProcesses() local
291 Cmd.removeFlag("jobs"); in RunInMultipleProcesses()
360 Command Cmd(Args); in CleanseCrashInput() local
369 Cmd.combineOutAndErr(); in CleanseCrashInput()
[all …]
H A DFuzzerDataFlowTrace.cpp270 Command Cmd; in CollectDataFlow() local
271 Cmd.addArgument(DFTBinary); in CollectDataFlow()
272 Cmd.addArgument(F.File); in CollectDataFlow()
273 Cmd.addArgument(OutPath); in CollectDataFlow()
274 Printf("CMD: %s\n", Cmd.toString().c_str()); in CollectDataFlow()
275 ExecuteCommand(Cmd); in CollectDataFlow()
280 Command Cmd; in CollectDataFlow() local
281 Cmd.addArgument(DFTBinary); in CollectDataFlow()
282 Cmd.setOutputFile(FunctionsTxtPath); in CollectDataFlow()
283 ExecuteCommand(Cmd); in CollectDataFlow()
H A DFuzzerUtilFuchsia.cpp425 int ExecuteCommand(const Command &Cmd) { in ExecuteCommand() argument
429 auto Args = Cmd.getArguments(); in ExecuteCommand()
446 if (Cmd.hasOutputFile()) { in ExecuteCommand()
447 std::string Path = Cmd.getOutputFile(); in ExecuteCommand()
454 if (!IsAbsolutePath && Cmd.hasFlag("artifact_prefix")) in ExecuteCommand()
455 Path = Cmd.getFlagValue("artifact_prefix") + "/" + Path; in ExecuteCommand()
472 if (Cmd.isOutAndErrCombined()) { in ExecuteCommand()
523 Command Cmd(BaseCmd); in ExecuteCommand() local
524 Cmd.setOutputFile(LogFilePath); in ExecuteCommand()
525 int Ret = ExecuteCommand(Cmd); in ExecuteCommand()
H A DFuzzerUtilWindows.cpp167 int ExecuteCommand(const Command &Cmd) { in ExecuteCommand() argument
168 std::string CmdLine = Cmd.toString(); in ExecuteCommand()
172 bool ExecuteCommand(const Command &Cmd, std::string *CmdOutput) { in ExecuteCommand() argument
173 FILE *Pipe = _popen(Cmd.toString().c_str(), "r"); in ExecuteCommand()
H A DFuzzerUtilLinux.cpp23 int ExecuteCommand(const Command &Cmd) { in ExecuteCommand() argument
24 std::string CmdLine = Cmd.toString(); in ExecuteCommand()
H A DFuzzerMerge.cpp371 Command Cmd(BaseCmd); in CrashResistantMerge() local
372 Cmd.addFlag("merge_control_file", CFPath); in CrashResistantMerge()
373 Cmd.addFlag("merge_inner", "1"); in CrashResistantMerge()
375 Cmd.setOutputFile(getDevNull()); in CrashResistantMerge()
376 Cmd.combineOutAndErr(); in CrashResistantMerge()
378 auto ExitCode = ExecuteCommand(Cmd); in CrashResistantMerge()
H A DFuzzerUtilDarwin.cpp41 int ExecuteCommand(const Command &Cmd) { in ExecuteCommand() argument
42 std::string CmdLine = Cmd.toString(); in ExecuteCommand()
H A DFuzzerUtil.h59 int ExecuteCommand(const Command &Cmd);
60 bool ExecuteCommand(const Command &Cmd, std::string *CmdOutput);
H A DFuzzerUtilPosix.cpp93 bool ExecuteCommand(const Command &Cmd, std::string *CmdOutput) { in ExecuteCommand() argument
94 FILE *Pipe = popen(Cmd.toString().c_str(), "r"); in ExecuteCommand()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DGuessTargetAndModeCompilationDatabase.cpp40 for (auto &Cmd : Cmds) { in addTargetAndMode() local
41 if (Cmd.CommandLine.empty()) in addTargetAndMode()
43 addTargetAndModeForProgramName(Cmd.CommandLine, Cmd.CommandLine.front()); in addTargetAndMode()
H A DExpandResponseFilesCompilationDatabase.cpp51 for (auto &Cmd : Cmds) { in expand() local
54 Argv.reserve(Cmd.CommandLine.size()); in expand()
55 for (auto &Arg : Cmd.CommandLine) { in expand()
65 llvm::StringRef(Cmd.Directory), *FS); in expand()
68 Cmd.CommandLine = std::move(ExpandedArgv); in expand()
H A DInterpolatingCompilationDatabase.cpp130 CompileCommand Cmd; member
139 : Cmd(std::move(C)), Type(guessType(Cmd.Filename)) { in TransferableCommand()
140 std::vector<std::string> OldArgs = std::move(Cmd.CommandLine); in TransferableCommand()
141 Cmd.CommandLine.clear(); in TransferableCommand()
161 Cmd.CommandLine.emplace_back(OldArgs.front()); in TransferableCommand()
201 Cmd.CommandLine.insert(Cmd.CommandLine.end(), in TransferableCommand()
217 CompileCommand Result = std::move(Cmd); in transferTo()
545 tooling::CompileCommand transferCompileCommand(CompileCommand Cmd, in transferCompileCommand() argument
547 return TransferableCommand(std::move(Cmd)).transferTo(Filename); in transferCompileCommand()
H A DCompilationDatabase.cpp290 for (const auto &Cmd : Jobs) { in stripPositionalArgs() local
294 if (Cmd.getSource().getKind() == driver::Action::AssembleJobClass || in stripPositionalArgs()
295 Cmd.getSource().getKind() == driver::Action::BackendJobClass || in stripPositionalArgs()
296 Cmd.getSource().getKind() == driver::Action::CompileJobClass) { in stripPositionalArgs()
297 CompileAnalyzer.run(&Cmd.getSource()); in stripPositionalArgs()
/freebsd-13.1/contrib/ntp/ntpd/
H A Drefclock_oncore.c3014 u_char Cmd[20]; in oncore_get_timestamp() local
3526 u_char *cp, Cmd[20]; in oncore_load_almanac() local
3613 Cmd[-2+11] = 0; in oncore_load_almanac()
3614 Cmd[-2+12] = 0; in oncore_load_almanac()
3615 Cmd[-2+13] = 0; in oncore_load_almanac()
3631 Cmd[-2+5] = tm->tm_min; in oncore_load_almanac()
3787 u_char Cmd[20]; in oncore_set_posn() local
3806 Cmd[-2+16] = 0; in oncore_set_posn()
3811 Cmd[-2+8] = 0; in oncore_set_posn()
3821 Cmd[-2+16] = 0; in oncore_set_posn()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp105 StringRef InputString, Command &Cmd, in parseCommand() argument
110 Cmd = Command::Code; in parseCommand()
112 Cmd = Command::Data; in parseCommand()
114 Cmd = Command::Frame; in parseCommand()
117 Cmd = Command::Code; in parseCommand()
154 Command Cmd; in symbolizeInput() local
158 StringRef(InputString), Cmd, ModuleName, Offset)) { in symbolizeInput()
164 if (Cmd == Command::Data) { in symbolizeInput()
168 } else if (Cmd == Command::Frame) { in symbolizeInput()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DCreateInvocationFromCommandLine.cpp91 const driver::Command &Cmd = cast<driver::Command>(*Jobs.begin()); in createInvocationFromCommandLine() local
92 if (StringRef(Cmd.getCreator().getName()) != "clang") { in createInvocationFromCommandLine()
97 const ArgStringList &CCArgs = Cmd.getArguments(); in createInvocationFromCommandLine()
/freebsd-13.1/sys/contrib/dev/acpica/os_specific/service_layers/
H A Dosgendbg.c192 char *Cmd = Ptr; in AcpiDbRunRemoteDebugger() local
217 AcpiUtSafeStrncpy (AcpiGbl_DbLineBuf, Cmd, ACPI_DB_LINE_BUFFER_SIZE); in AcpiDbRunRemoteDebugger()
219 Cmd = Ptr; in AcpiDbRunRemoteDebugger()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp72 T Cmd; in getStruct() local
76 return Cmd; in getStruct()
85 T Cmd; in getStructOrErr() local
89 return Cmd; in getStructOrErr()
4487 Cmd.symoff = 0; in getSymtabLoadCommand()
4488 Cmd.nsyms = 0; in getSymtabLoadCommand()
4491 return Cmd; in getSymtabLoadCommand()
4509 Cmd.ntoc = 0; in getDysymtabLoadCommand()
4520 return Cmd; in getDysymtabLoadCommand()
4534 return Cmd; in getDataInCodeLoadCommand()
[all …]
/freebsd-13.1/sys/contrib/openzfs/tests/test-runner/bin/
H A Dtest-runner.py.in156 class Cmd(object): class
368 class Test(Cmd):
435 pretest = Cmd(self.pre, identifier=self.identifier, outputdir=odir,
437 test = Cmd(self.pathname, identifier=self.identifier,
441 failsafe = Cmd(self.failsafe, identifier=self.identifier,
445 posttest = Cmd(self.post, identifier=self.identifier, outputdir=odir,
560 pretest = Cmd(self.pre, outputdir=odir, timeout=self.timeout,
563 posttest = Cmd(self.post, outputdir=odir, timeout=self.timeout,
574 test = Cmd(os.path.join(self.pathname, fname), outputdir=odir,
931 if user in Cmd.verified_users:
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp55 const driver::Command *Cmd = cast<driver::Command>(&(*Jobs.begin())); in GetCC1Arguments() local
56 if (llvm::StringRef(Cmd->getCreator().getName()) != "clang") in GetCC1Arguments()
60 return &Cmd->getArguments(); in GetCC1Arguments()
/freebsd-13.1/sys/contrib/device-tree/Bindings/display/msm/
H A Dmdp4.txt34 Port 1 -> DSI1 Cmd/Video
35 Port 2 -> DSI2 Cmd/Video
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/DumpTool/
H A DClangSrcLocDump.cpp135 const auto &Cmd = cast<driver::Command>(*Jobs.begin()); in main() local
136 const llvm::opt::ArgStringList &CC1Args = Cmd.getArguments(); in main()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp751 StringRef Cmd; in printMachOVersionMin() local
754 Cmd = "LC_VERSION_MIN_MACOSX"; in printMachOVersionMin()
757 Cmd = "LC_VERSION_MIN_IPHONEOS"; in printMachOVersionMin()
760 Cmd = "LC_VERSION_MIN_TVOS"; in printMachOVersionMin()
763 Cmd = "LC_VERSION_MIN_WATCHOS"; in printMachOVersionMin()
766 Cmd = "LC_BUILD_VERSION"; in printMachOVersionMin()
776 W.printString("Cmd", Cmd); in printMachOVersionMin()
789 W.printString("Cmd", Cmd); in printMachOVersionMin()
/freebsd-13.1/contrib/llvm-project/clang/tools/driver/
H A Dcc1gen_reproducer_main.cpp128 if (const Command *Cmd = dyn_cast<Command>(&J)) { in generateReproducerForInvocationArguments() local
131 *C, *Cmd, generateReproducerMetaInfo(Info), &Report); in generateReproducerForInvocationArguments()

12