Lines Matching refs:Process
1 //===- Unix/Process.cpp - Unix Process Implementation --------- -*- C++ -*-===//
10 // This file provides the generic Unix implementation of the Process class.
76 unsigned Process::getPageSize() {
87 size_t Process::GetMallocUsage() {
116 void Process::GetTimeUsage(TimePoint<> &elapsed, std::chrono::nanoseconds &user_time,
129 void Process::PreventCoreFiles() {
168 Optional<std::string> Process::GetEnv(StringRef Name) {
195 std::error_code Process::FixupStandardFileDescriptors() {
229 std::error_code Process::SafelyCloseFileDescriptor(int FD) {
264 bool Process::StandardInIsUserInput() {
268 bool Process::StandardOutIsDisplayed() {
272 bool Process::StandardErrIsDisplayed() {
276 bool Process::FileDescriptorIsDisplayed(int fd) {
305 unsigned Process::StandardOutColumns() {
312 unsigned Process::StandardErrColumns() {
388 bool Process::FileDescriptorHasColors(int fd) {
394 bool Process::StandardOutHasColors() {
398 bool Process::StandardErrHasColors() {
402 void Process::UseANSIEscapeCodes(bool /*enable*/) {
406 bool Process::ColorNeedsFlush() {
411 const char *Process::OutputColor(char code, bool bold, bool bg) {
415 const char *Process::OutputBold(bool bg) {
419 const char *Process::OutputReverse() {
423 const char *Process::ResetColor() {
452 unsigned llvm::sys::Process::GetRandomNumber() {