Searched refs:ProgName (Results 1 - 15 of 15) sorted by relevance

/freebsd-13-stable/contrib/kyua/admin/
H A Dcheck-style.sh34 ProgName="${0##*/}"
42 echo "${ProgName}:" "${@}" 1>&2
/freebsd-13-stable/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp23 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { argument
26 sys::path::append(Path, "." + ProgName + "-history");
198 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, argument
200 : Prompt((ProgName + "> ").str()), HistoryPath(std::string(HistoryPath)),
203 this->HistoryPath = getDefaultHistoryPath(ProgName);
211 Data->EL = ::el_init(ProgName.str().c_str(), In, Out, Err);
286 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, argument
288 : Prompt((ProgName + "> ").str()), Data(new InternalData) {
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp194 static const Target *GetTarget(const char *ProgName) { argument
205 WithColor::error(errs(), ProgName) << Error;
282 static int AssembleInput(const char *ProgName, const Target *TheTarget, argument
292 WithColor::error(errs(), ProgName) local
327 const char *ProgName = argv[0]; local
328 const Target *TheTarget = GetTarget(ProgName);
338 WithColor::error(errs(), ProgName)
364 WithColor::error(errs(), ProgName) local
385 errs() << ProgName << ": Dwarf version " << DwarfVersion
393 errs() << ProgName
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/LineEditor/
H A DLineEditor.h26 /// \param ProgName The name of the current program. Used to form a default
33 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
45 static std::string getDefaultHistoryPath(StringRef ProgName);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DMain.cpp55 static int reportError(const char *ProgName, Twine Msg) { argument
56 errs() << ProgName << ": " << Msg;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/
H A DToolChain.cpp138 static const DriverSuffix *FindDriverSuffix(StringRef ProgName, size_t &Pos) { argument
160 if (ProgName.endswith(Suffix)) {
161 Pos = ProgName.size() - Suffix.size();
171 std::string ProgName = std::string(llvm::sys::path::stem(Argv0)); local
174 std::transform(ProgName.begin(), ProgName.end(), ProgName.begin(), ::tolower);
176 return ProgName;
179 static const DriverSuffix *parseDriverSuffix(StringRef ProgName, size_t &Pos) { argument
187 const DriverSuffix *DS = FindDriverSuffix(ProgName, Po
207 std::string ProgName = normalizeProgramName(PN); local
[all...]
H A DDriver.cpp1784 StringRef ProgName = A->getValue(); local
1787 if (! ProgName.empty())
1788 llvm::outs() << GetProgramPath(ProgName, TC);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp220 const Target *getTarget(const char *ProgName) { argument
230 errs() << ProgName << ": " << Error;
309 const char *ProgName = argv[0];
310 const Target *TheTarget = getTarget(ProgName);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp451 void SMDiagnostic::print(const char *ProgName, raw_ostream &OS, bool ShowColors, argument
458 if (ProgName && ProgName[0])
459 S << ProgName << ": "; local
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp86 static std::string *ProgName; member in namespace:fuzzer
90 auto Prog = ProgName->c_str();
619 ProgName = new std::string(Args[0]);
620 if (Argv0 != *ProgName) {
791 Printf("%s: Running %zd inputs %d time(s) each.\n", ProgName->c_str(),
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h284 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1308 StringRef ProgName(sys::path::filename(argv[0]));
1320 std::string Invocation(ProgName.str() + " " + argv[1]);
1329 << "USAGE: " << ProgName << " <command> [args...]\n"
1330 << "USAGE: " << ProgName << " <command> -help\n\n" local
1338 errs() << ProgName << ": No command specified!\n";
1340 errs() << ProgName << ": Unknown command!\n";
1342 errs() << "USAGE: " << ProgName << " <merge|show|overlap> [args...]\n";
/freebsd-13-stable/contrib/llvm-project/llvm/tools/lli/
H A Dlli.cpp378 static void reportError(SMDiagnostic Err, const char *ProgName) { argument
379 Err.print(ProgName, errs());
384 int runOrcLazyJIT(const char *ProgName);
805 int runOrcLazyJIT(const char *ProgName) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Driver/
H A DToolChain.h263 /// the compiler driver as `ProgName`.
272 /// \param ProgName The name the Clang driver was invoked with (from,
276 static ParsedClangName getTargetAndModeFromProgramName(StringRef ProgName);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp193 const char *ProgName) {
191 GetOutputStream(const char *TargetName, Triple::OSType OS, const char *ProgName) argument

Completed in 194 milliseconds