Lines Matching refs:Process

1 //===- Win32/Process.cpp - Win32 Process Implementation ------- -*- C++ -*-===//
9 // This file provides the Win32 specific implementation of the Process class.
47 Process::Pid Process::getProcessId() {
49 "Process::Pid should be big enough to store DWORD");
66 Expected<unsigned> Process::getPageSize() {
71 size_t Process::GetMallocUsage() {
83 void Process::GetTimeUsage(TimePoint<> &elapsed,
101 void Process::PreventCoreFiles() {
120 std::optional<std::string> Process::GetEnv(StringRef Name) {
273 std::error_code Process::FixupStandardFileDescriptors() {
277 std::error_code Process::SafelyCloseFileDescriptor(int FD) {
283 bool Process::StandardInIsUserInput() { return FileDescriptorIsDisplayed(0); }
285 bool Process::StandardOutIsDisplayed() { return FileDescriptorIsDisplayed(1); }
287 bool Process::StandardErrIsDisplayed() { return FileDescriptorIsDisplayed(2); }
289 bool Process::FileDescriptorIsDisplayed(int fd) {
294 unsigned Process::StandardOutColumns() {
302 unsigned Process::StandardErrColumns() {
311 bool Process::FileDescriptorHasColors(int fd) {
315 bool Process::StandardOutHasColors() { return FileDescriptorHasColors(1); }
317 bool Process::StandardErrHasColors() { return FileDescriptorHasColors(2); }
320 void Process::UseANSIEscapeCodes(bool enable) {
362 bool Process::ColorNeedsFlush() { return !UseANSI; }
364 const char *Process::OutputBold(bool bg) {
377 const char *Process::OutputColor(char code, bool bold, bool bg) {
408 const char *Process::OutputReverse() {
436 const char *Process::ResetColor() {
461 unsigned Process::GetRandomNumber() {
524 [[noreturn]] void Process::ExitNoCleanup(int RetCode) {