Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerFork.cpp66 Command Cmd; member
121 Command Cmd(Args); in CreateNewJob() local
122 Cmd.removeFlag("fork"); in CreateNewJob()
123 Cmd.removeFlag("runs"); in CreateNewJob()
126 Cmd.removeArgument(C); in CreateNewJob()
188 Cmd.combineOutAndErr(); in CreateNewJob()
190 Job->Cmd = Cmd; in CreateNewJob()
265 Command Cmd(Args); in CollectDFT() local
266 Cmd.removeFlag("fork"); in CollectDFT()
267 Cmd.removeFlag("runs"); in CollectDFT()
[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 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()
364 Command Cmd(Args); in CleanseCrashInput() local
373 Cmd.combineOutAndErr(); in CleanseCrashInput()
[all …]
H A DFuzzerUtilFuchsia.cpp480 int ExecuteCommand(const Command &Cmd) { in ExecuteCommand() argument
484 auto Args = Cmd.getArguments(); in ExecuteCommand()
501 if (Cmd.hasOutputFile()) { in ExecuteCommand()
502 std::string Path = Cmd.getOutputFile(); in ExecuteCommand()
509 if (!IsAbsolutePath && Cmd.hasFlag("artifact_prefix")) in ExecuteCommand()
510 Path = Cmd.getFlagValue("artifact_prefix") + "/" + Path; in ExecuteCommand()
527 if (Cmd.isOutAndErrCombined()) { in ExecuteCommand()
578 Command Cmd(BaseCmd); in ExecuteCommand() local
579 Cmd.setOutputFile(LogFilePath); in ExecuteCommand()
580 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.cpp25 int ExecuteCommand(const Command &Cmd) { in ExecuteCommand() argument
26 std::string CmdLine = Cmd.toString(); in ExecuteCommand()
H A DFuzzerMerge.cpp501 Command Cmd(BaseCmd); in CrashResistantMerge() local
502 Cmd.addFlag("merge_control_file", CFPath); in CrashResistantMerge()
505 Cmd.addFlag("merge_inner", IsSetCoverMerge ? "2" : "1"); in CrashResistantMerge()
507 Cmd.setOutputFile(getDevNull()); in CrashResistantMerge()
508 Cmd.combineOutAndErr(); in CrashResistantMerge()
510 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-14.2/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 DInterpolatingCompilationDatabase.cpp129 CompileCommand Cmd; member
138 : Cmd(std::move(C)), Type(guessType(Cmd.Filename)) { in TransferableCommand()
139 std::vector<std::string> OldArgs = std::move(Cmd.CommandLine); in TransferableCommand()
140 Cmd.CommandLine.clear(); in TransferableCommand()
160 Cmd.CommandLine.emplace_back(OldArgs.front()); in TransferableCommand()
199 Cmd.CommandLine.insert(Cmd.CommandLine.end(), in TransferableCommand()
215 CompileCommand Result = std::move(Cmd); in transferTo()
542 tooling::CompileCommand transferCompileCommand(CompileCommand Cmd, in transferCompileCommand() argument
544 return TransferableCommand(std::move(Cmd)).transferTo(Filename); in transferCompileCommand()
H A DExpandResponseFilesCompilationDatabase.cpp52 for (auto &Cmd : Cmds) in expand() local
53 tooling::addExpandedResponseFiles(Cmd.CommandLine, Cmd.Directory, in expand()
H A DCompilationDatabase.cpp291 for (const auto &Cmd : Jobs) { in stripPositionalArgs() local
295 if (Cmd.getSource().getKind() == driver::Action::AssembleJobClass || in stripPositionalArgs()
296 Cmd.getSource().getKind() == driver::Action::BackendJobClass || in stripPositionalArgs()
297 Cmd.getSource().getKind() == driver::Action::CompileJobClass || in stripPositionalArgs()
298 Cmd.getSource().getKind() == driver::Action::PrecompileJobClass) { in stripPositionalArgs()
299 CompileAnalyzer.run(&Cmd.getSource()); in stripPositionalArgs()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DCreateInvocationFromCommandLine.cpp93 auto Cmd = llvm::find_if(Jobs, [](const driver::Command &Cmd) { in createInvocation() local
94 return StringRef(Cmd.getCreator().getName()) == "clang"; in createInvocation()
96 if (Cmd == Jobs.end()) { in createInvocation()
101 const ArgStringList &CCArgs = Cmd->getArguments(); in createInvocation()
/freebsd-14.2/contrib/ntp/ntpd/
H A Drefclock_oncore.c3016 u_char Cmd[20]; in oncore_get_timestamp() local
3528 u_char *cp, Cmd[20]; in oncore_load_almanac() local
3616 Cmd[-2+11] = 0; in oncore_load_almanac()
3617 Cmd[-2+12] = 0; in oncore_load_almanac()
3618 Cmd[-2+13] = 0; in oncore_load_almanac()
3634 Cmd[-2+5] = tm->tm_min; in oncore_load_almanac()
3792 u_char Cmd[20]; in oncore_set_posn() local
3811 Cmd[-2+16] = 0; in oncore_set_posn()
3816 Cmd[-2+8] = 0; in oncore_set_posn()
3826 Cmd[-2+16] = 0; in oncore_set_posn()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp159 StringRef InputString, Command &Cmd, in parseCommand() argument
164 Cmd = Command::Code; in parseCommand()
166 Cmd = Command::Data; in parseCommand()
168 Cmd = Command::Frame; in parseCommand()
171 Cmd = Command::Code; in parseCommand()
277 void executeCommand(StringRef ModuleName, const T &ModuleSpec, Command Cmd, in executeCommand() argument
287 if (Cmd == Command::Data) { in executeCommand()
290 } else if (Cmd == Command::Frame) { in executeCommand()
335 Command Cmd; in symbolizeInput() local
355 executeCommand(BuildIDStr, BuildID, Cmd, Symbol, Offset, AdjustVMA, in symbolizeInput()
[all …]
/freebsd-14.2/crypto/openssl/util/perl/OpenSSL/
H A Dconfig.pm19 use IPC::Cmd;
55 return undef unless IPC::Cmd::can_run("$CROSS_COMPILE$CC");
61 return undef unless IPC::Cmd::can_run("$CROSS_COMPILE$CC");
208 return undef unless IPC::Cmd::can_run('uname');
308 next unless IPC::Cmd::can_run("$CROSS_COMPILE$_");
381 if (IPC::Cmd::can_run('cc')) {
409 if (IPC::Cmd::can_run('cl')) {
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp365 llvm::function_ref<bool(const driver::Command &Cmd)> Callback) { in forEachDriverJob()
492 FinalCommandLine, *Diags, *FileMgr, [&](const driver::Command &Cmd) { in computeDependencies() argument
493 if (StringRef(Cmd.getCreator().getName()) != "clang") { in computeDependencies()
497 {Cmd.getExecutable(), in computeDependencies()
498 {Cmd.getArguments().begin(), Cmd.getArguments().end()}}); in computeDependencies()
504 Argv.push_back(Cmd.getExecutable()); in computeDependencies()
505 Argv.insert(Argv.end(), Cmd.getArguments().begin(), in computeDependencies()
506 Cmd.getArguments().end()); in computeDependencies()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp76 T Cmd; in getStruct() local
80 return Cmd; in getStruct()
89 T Cmd; in getStructOrErr() local
93 return Cmd; in getStructOrErr()
4840 Cmd.symoff = 0; in getSymtabLoadCommand()
4841 Cmd.nsyms = 0; in getSymtabLoadCommand()
4844 return Cmd; in getSymtabLoadCommand()
4862 Cmd.ntoc = 0; in getDysymtabLoadCommand()
4873 return Cmd; in getDysymtabLoadCommand()
4887 return Cmd; in getDataInCodeLoadCommand()
[all …]
/freebsd-14.2/sys/contrib/device-tree/Bindings/display/msm/
H A Dmdp4.yaml50 description: DSI1 Cmd / Video
54 description: DSI2 Cmd / Video
H A Dmdp4.txt34 Port 1 -> DSI1 Cmd/Video
35 Port 2 -> DSI2 Cmd/Video
/freebsd-14.2/sys/contrib/openzfs/tests/test-runner/bin/
H A Dtest-runner.py.in158 class Cmd(object): class
405 class Test(Cmd):
472 pretest = Cmd(self.pre, identifier=self.identifier, outputdir=odir,
474 test = Cmd(self.pathname, identifier=self.identifier,
478 failsafe = Cmd(self.failsafe, identifier=self.identifier,
482 posttest = Cmd(self.post, identifier=self.identifier, outputdir=odir,
597 pretest = Cmd(self.pre, outputdir=odir, timeout=self.timeout,
600 posttest = Cmd(self.post, outputdir=odir, timeout=self.timeout,
611 test = Cmd(os.path.join(self.pathname, fname), outputdir=odir,
974 if user in Cmd.verified_users:
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DumpTool/
H A DClangSrcLocDump.cpp131 const auto &Cmd = cast<clang::driver::Command>(*Jobs.begin()); in main() local
132 const llvm::opt::ArgStringList &CC1Args = Cmd.getArguments(); in main()

12