Lines Matching refs:Process
1 //===- Win32/Process.cpp - Win32 Process Implementation ------- -*- C++ -*-===//
9 // This file provides the Win32 specific implementation of the Process class.
46 Process::Pid Process::getProcessId() {
48 "Process::Pid should be big enough to store DWORD");
65 Expected<unsigned> Process::getPageSize() {
71 Process::GetMallocUsage()
84 void Process::GetTimeUsage(TimePoint<> &elapsed, std::chrono::nanoseconds &user_time,
100 void Process::PreventCoreFiles() {
120 Optional<std::string> Process::GetEnv(StringRef Name) {
274 std::error_code Process::FixupStandardFileDescriptors() {
278 std::error_code Process::SafelyCloseFileDescriptor(int FD) {
284 bool Process::StandardInIsUserInput() {
288 bool Process::StandardOutIsDisplayed() {
292 bool Process::StandardErrIsDisplayed() {
296 bool Process::FileDescriptorIsDisplayed(int fd) {
301 unsigned Process::StandardOutColumns() {
309 unsigned Process::StandardErrColumns() {
318 bool Process::FileDescriptorHasColors(int fd) {
322 bool Process::StandardOutHasColors() {
326 bool Process::StandardErrHasColors() {
331 void Process::UseANSIEscapeCodes(bool enable) {
374 bool Process::ColorNeedsFlush() {
378 const char *Process::OutputBold(bool bg) {
390 const char *Process::OutputColor(char code, bool bold, bool bg) {
420 const char *Process::OutputReverse() {
448 const char *Process::ResetColor() {
472 unsigned Process::GetRandomNumber() {
512 [[noreturn]] void Process::ExitNoCleanup(int RetCode) {