| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | LinkerScript.cpp | 152 if (!Cmd->Provide) in shouldDefineSym() 272 setDot(Cmd->Expression, Cmd->Location, InSec); in assignSymbol() 276 if (!Cmd->Sym) in assignSymbol() 441 Cmd->Sections = computeInputSections(Cmd); in createInputSectionList() 442 Ret.insert(Ret.end(), Cmd->Sections.begin(), Cmd->Sections.end()); in createInputSectionList() 804 Cmd->Size = Dot - Cmd->Addr; in assignOffsets() 840 if (Cmd->Name != "." && !Cmd->Sym) in isDiscardable() 896 Cmd = nullptr; in adjustSectionsBeforeSorting() 988 return Cmd.HasPhdrs || Cmd.HasFilehdr; in allocateHeaders() 1047 Cmd->Size = Dot - Cmd->Addr; in assignAddresses() [all …]
|
| H A D | ScriptParser.cpp | 437 PhdrsCommand Cmd; in readPhdrs() local 438 Cmd.Name = next(); in readPhdrs() 692 return Cmd; in readInputSectionRules() 705 return Cmd; in readInputSectionDescription() 793 OutputSection *Cmd = in readOverlaySectionDescription() local 800 return Cmd; in readOverlaySectionDescription() 866 if (Cmd->LMAExpr && !Cmd->LMARegionName.empty()) in readOutputSectionDescription() 881 return Cmd; in readOutputSectionDescription() 907 return Cmd; in readProvideHidden() 926 if (Cmd) { in readAssignment() [all …]
|
| H A D | MapFile.cpp | 169 if (Cmd->Provide && !Cmd->Sym) in writeMapFile() 172 writeHeader(OS, Cmd->Addr, LMA, Cmd->Size, 1); in writeMapFile() 173 OS << Cmd->CommandString << '\n'; in writeMapFile() 199 if (auto *Cmd = dyn_cast<ByteCommand>(Base)) { in writeMapFile() local 200 writeHeader(OS, OSec->Addr + Cmd->Offset, OSec->getLMA() + Cmd->Offset, in writeMapFile() 201 Cmd->Size, 1); in writeMapFile() 202 OS << Indent8 << Cmd->CommandString << '\n'; in writeMapFile() 207 if (Cmd->Provide && !Cmd->Sym) in writeMapFile() 209 writeHeader(OS, Cmd->Addr, OSec->getLMA() + Cmd->Addr - OSec->getVA(0), in writeMapFile() 210 Cmd->Size, 1); in writeMapFile() [all …]
|
| H A D | Writer.cpp | 1057 static bool shouldSkip(BaseCommand *Cmd) { in shouldSkip() argument 1090 auto IsOutputSec = [](BaseCommand *Cmd) { return isa<OutputSection>(Cmd); }; in findOrphanPos() argument 1366 std::find_if(I, E, [](BaseCommand *Cmd) { return !shouldSkip(Cmd); }); in sortSections() argument 1934 AddHdr(PT_INTERP, Cmd->getPhdrFlags())->add(Cmd); in createPhdrs() 2016 AddHdr(PT_OPENBSD_RANDOMIZE, Cmd->getPhdrFlags())->add(Cmd); in createPhdrs() 2053 return Cmd->Type == SHT_ARM_EXIDX; in addPtArmExid() 2069 if (Cmd && !Cmd->AddrExpr) in fixSectionAlignments() 2070 Cmd->AddrExpr = [=] { in fixSectionAlignments() 2093 OutputSection *Cmd = (*(I + 1)); in fixSectionAlignments() local 2094 if (needsPtLoad(Cmd)) in fixSectionAlignments() [all …]
|
| H A D | LinkerScript.h | 225 void addSymbol(SymbolAssignment *Cmd); 226 void assignSymbol(SymbolAssignment *Cmd, bool InSec); 234 std::vector<InputSection *> createInputSectionList(OutputSection &Cmd);
|
| /freebsd-12.1/contrib/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerDriver.cpp | 216 Command Cmd(BaseCmd); in WorkerThread() local 217 Cmd.setOutputFile(Log); in WorkerThread() 218 Cmd.combineOutAndErr(); in WorkerThread() 235 std::string Cmd; in CloneArgsWithoutX() local 239 Cmd += S + " "; in CloneArgsWithoutX() 241 return Cmd; in CloneArgsWithoutX() 248 Command Cmd(Args); in RunInMultipleProcesses() local 249 Cmd.removeFlag("jobs"); in RunInMultipleProcesses() 313 Command Cmd(Args); in CleanseCrashInput() local 325 Cmd.combineOutAndErr(); in CleanseCrashInput() [all …]
|
| H A D | FuzzerUtilFuchsia.cpp | 366 int ExecuteCommand(const Command &Cmd) { in ExecuteCommand() argument 370 auto Args = Cmd.getArguments(); in ExecuteCommand() 383 if (Cmd.hasOutputFile()) { in ExecuteCommand() 385 if (Cmd.hasFlag("artifact_prefix")) in ExecuteCommand() 386 Path = Cmd.getFlagValue("artifact_prefix") + "/" + Cmd.getOutputFile(); in ExecuteCommand() 388 Path = Cmd.getOutputFile(); in ExecuteCommand() 403 if (Cmd.isOutAndErrCombined()) in ExecuteCommand()
|
| H A D | FuzzerUtilLinux.cpp | 20 int ExecuteCommand(const Command &Cmd) { in ExecuteCommand() argument 21 std::string CmdLine = Cmd.toString(); in ExecuteCommand()
|
| H A D | FuzzerUtilDarwin.cpp | 41 int ExecuteCommand(const Command &Cmd) { in ExecuteCommand() argument 42 std::string CmdLine = Cmd.toString(); in ExecuteCommand()
|
| H A D | FuzzerMerge.cpp | 342 Command Cmd(BaseCmd); in CrashResistantMerge() local 343 Cmd.addFlag("merge_control_file", CFPath); in CrashResistantMerge() 344 Cmd.addFlag("merge_inner", "1"); in CrashResistantMerge() 345 auto ExitCode = ExecuteCommand(Cmd); in CrashResistantMerge()
|
| H A D | FuzzerUtilWindows.cpp | 155 int ExecuteCommand(const Command &Cmd) { in ExecuteCommand() argument 156 std::string CmdLine = Cmd.toString(); in ExecuteCommand()
|
| H A D | FuzzerUtil.h | 60 int ExecuteCommand(const Command &Cmd);
|
| /freebsd-12.1/contrib/ntp/ntpd/ |
| H A D | refclock_oncore.c | 3014 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-12.1/contrib/llvm/tools/clang/lib/Tooling/ |
| H A D | InterpolatingCompilationDatabase.cpp | 126 CompileCommand Cmd; member 135 : Cmd(std::move(C)), Type(guessType(Cmd.Filename)), in TransferableCommand() 136 ClangCLMode(checkIsCLMode(Cmd.CommandLine)) { in TransferableCommand() 137 std::vector<std::string> OldArgs = std::move(Cmd.CommandLine); in TransferableCommand() 138 Cmd.CommandLine.clear(); in TransferableCommand() 154 Cmd.CommandLine.emplace_back(OldArgs.front()); in TransferableCommand() 190 Cmd.CommandLine.insert(Cmd.CommandLine.end(), in TransferableCommand() 204 CompileCommand Result = Cmd; in transferTo()
|
| H A D | CompilationDatabase.cpp | 310 for (const auto &Cmd : Jobs) { in stripPositionalArgs() local 314 if (Cmd.getSource().getKind() == driver::Action::AssembleJobClass || in stripPositionalArgs() 315 Cmd.getSource().getKind() == driver::Action::BackendJobClass || in stripPositionalArgs() 316 Cmd.getSource().getKind() == driver::Action::CompileJobClass) { in stripPositionalArgs() 317 CompileAnalyzer.run(&Cmd.getSource()); in stripPositionalArgs()
|
| H A D | JSONCompilationDatabase.cpp | 378 auto Cmd = CompileCommandRef(Directory, File, *Command, Output); in parse() local 379 IndexByFile[NativeFilePath].push_back(Cmd); in parse() 380 AllCommands.push_back(Cmd); in parse()
|
| H A D | Tooling.cpp | 105 const auto &Cmd = cast<driver::Command>(*Jobs.begin()); in getCC1Arguments() local 106 if (StringRef(Cmd.getCreator().getName()) != "clang") { in getCC1Arguments() 111 return &Cmd.getArguments(); in getCC1Arguments()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | CreateInvocationFromCommandLine.cpp | 91 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-12.1/sys/contrib/dev/acpica/os_specific/service_layers/ |
| H A D | osgendbg.c | 192 char *Cmd = Ptr; in AcpiDbRunRemoteDebugger() local 217 AcpiUtSafeStrncpy (AcpiGbl_DbLineBuf, Cmd, ACPI_DB_LINE_BUFFER_SIZE); in AcpiDbRunRemoteDebugger() 219 Cmd = Ptr; in AcpiDbRunRemoteDebugger()
|
| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | MachOObjectFile.cpp | 74 T Cmd; in getStruct() local 78 return Cmd; in getStruct() 87 T Cmd; in getStructOrErr() local 91 return Cmd; in getStructOrErr() 4448 Cmd.symoff = 0; in getSymtabLoadCommand() 4449 Cmd.nsyms = 0; in getSymtabLoadCommand() 4452 return Cmd; in getSymtabLoadCommand() 4470 Cmd.ntoc = 0; in getDysymtabLoadCommand() 4481 return Cmd; in getDysymtabLoadCommand() 4495 return Cmd; in getDataInCodeLoadCommand() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 729 StringRef Cmd; in printMachOVersionMin() local 732 Cmd = "LC_VERSION_MIN_MACOSX"; in printMachOVersionMin() 735 Cmd = "LC_VERSION_MIN_IPHONEOS"; in printMachOVersionMin() 738 Cmd = "LC_VERSION_MIN_TVOS"; in printMachOVersionMin() 741 Cmd = "LC_VERSION_MIN_WATCHOS"; in printMachOVersionMin() 744 Cmd = "LC_BUILD_VERSION"; in printMachOVersionMin() 754 W.printString("Cmd", Cmd); in printMachOVersionMin() 767 W.printString("Cmd", Cmd); in printMachOVersionMin()
|
| /freebsd-12.1/contrib/llvm/tools/clang/tools/driver/ |
| H A D | cc1gen_reproducer_main.cpp | 128 if (const Command *Cmd = dyn_cast<Command>(&J)) { in generateReproducerForInvocationArguments() local 131 *C, *Cmd, generateReproducerMetaInfo(Info), &Report); in generateReproducerForInvocationArguments()
|
| /freebsd-12.1/sys/dev/hptmv/ |
| H A D | atapi.h | 381 #define mIssueCommand(IOPort,Cmd) OutPort(&IOPort->Command, (UCHAR)(Cmd)) argument
|
| H A D | mvStorageDev.h | 215 MV_BOOLEAN HPTLIBAPI mvReadWrite(MV_SATA_CHANNEL *pSataChannel, LBA_T Lba, UCHAR Cmd, void *tmpBuff…
|
| H A D | global.h | 188 int HPTLIBAPI fDeReadWrite(PDevice pDev, ULONG Lba, UCHAR Cmd, void *tmpBuffer);
|