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) {
269 std::error_code Process::FixupStandardFileDescriptors() {
273 std::error_code Process::SafelyCloseFileDescriptor(int FD) {
279 bool Process::StandardInIsUserInput() {
283 bool Process::StandardOutIsDisplayed() {
287 bool Process::StandardErrIsDisplayed() {
291 bool Process::FileDescriptorIsDisplayed(int fd) {
296 unsigned Process::StandardOutColumns() {
304 unsigned Process::StandardErrColumns() {
313 bool Process::FileDescriptorHasColors(int fd) {
317 bool Process::StandardOutHasColors() {
321 bool Process::StandardErrHasColors() {
326 void Process::UseANSIEscapeCodes(bool enable) {
369 bool Process::ColorNeedsFlush() {
373 const char *Process::OutputBold(bool bg) {
385 const char *Process::OutputColor(char code, bool bold, bool bg) {
415 const char *Process::OutputReverse() {
443 const char *Process::ResetColor() {
467 unsigned Process::GetRandomNumber() {
508 void Process::ExitNoCleanup(int RetCode) {