Lines Matching refs:progName
465 /// from the caller (as PROGNAME) and its command-line arguments from
468 void cl::ParseEnvironmentOptions(const char *progName, const char *envVar,
471 assert(progName && "Program name not specified");
482 newArgv.push_back(strdup(progName));
553 // Copy the program name into ProgName, making sure not to overflow it.
554 std::string ProgName = sys::path::filename(argv[0]);
555 size_t Len = std::min(ProgName.size(), size_t(79));
556 memcpy(ProgramName, ProgName.data(), Len);