Lines Matching refs:Process
1 //===- Unix/Process.cpp - Unix Process Implementation --------- -*- C++ -*-===//
9 // This file provides the generic Unix implementation of the Process class.
68 Process::Pid Process::getProcessId() {
70 "Process::Pid should be big enough to store pid_t");
76 Expected<unsigned> Process::getPageSize() {
90 size_t Process::GetMallocUsage() {
123 void Process::GetTimeUsage(TimePoint<> &elapsed, std::chrono::nanoseconds &user_time,
136 void Process::PreventCoreFiles() {
175 Optional<std::string> Process::GetEnv(StringRef Name) {
202 std::error_code Process::FixupStandardFileDescriptors() {
236 std::error_code Process::SafelyCloseFileDescriptor(int FD) {
271 bool Process::StandardInIsUserInput() {
275 bool Process::StandardOutIsDisplayed() {
279 bool Process::StandardErrIsDisplayed() {
283 bool Process::FileDescriptorIsDisplayed(int fd) {
305 unsigned Process::StandardOutColumns() {
312 unsigned Process::StandardErrColumns() {
389 bool Process::FileDescriptorHasColors(int fd) {
395 bool Process::StandardOutHasColors() {
399 bool Process::StandardErrHasColors() {
403 void Process::UseANSIEscapeCodes(bool /*enable*/) {
407 bool Process::ColorNeedsFlush() {
412 const char *Process::OutputColor(char code, bool bold, bool bg) {
416 const char *Process::OutputBold(bool bg) {
420 const char *Process::OutputReverse() {
424 const char *Process::ResetColor() {
453 unsigned llvm::sys::Process::GetRandomNumber() {
463 [[noreturn]] void Process::ExitNoCleanup(int RetCode) { _Exit(RetCode); }