Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::posix Namespace Reference

Typedefs

typedef struct stat StatStruct
 

Functions

int FileNo (FILE *file)
 
int IsATTY (int fd)
 
int Stat (const char *path, StatStruct *buf)
 
int StrCaseCmp (const char *s1, const char *s2)
 
char * StrDup (const char *src)
 
int RmDir (const char *dir)
 
bool IsDir (const StatStruct &st)
 
const char * StrNCpy (char *dest, const char *src, size_t n)
 
int ChDir (const char *dir)
 
FILE * FOpen (const char *path, const char *mode)
 
FILE * FReopen (const char *path, const char *mode, FILE *stream)
 
FILE * FDOpen (int fd, const char *mode)
 
int FClose (FILE *fp)
 
int Read (int fd, void *buf, unsigned int count)
 
int Write (int fd, const void *buf, unsigned int count)
 
int Close (int fd)
 
const char * StrError (int errnum)
 
const char * GetEnv (const char *name)
 
void Abort ()
 

Typedef Documentation

Definition at line 2348 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2348 of file gtest-port.h

Function Documentation

void testing::internal::posix::Abort ( )
inline
int testing::internal::posix::ChDir ( const char *  dir)
inline

Definition at line 2375 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2375 of file gtest-port.h

int testing::internal::posix::Close ( int  fd)
inline

Definition at line 2394 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2394 of file gtest-port.h

int testing::internal::posix::FClose ( FILE *  fp)
inline

Definition at line 2386 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2386 of file gtest-port.h

References fclose().

+ Here is the call graph for this function:

FILE* testing::internal::posix::FDOpen ( int  fd,
const char *  mode 
)
inline

Definition at line 2384 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2384 of file gtest-port.h

int testing::internal::posix::FileNo ( FILE *  file)
inline

Definition at line 2350 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2350 of file gtest-port.h

Referenced by testing::internal::ColoredPrintf().

+ Here is the caller graph for this function:

FILE* testing::internal::posix::FOpen ( const char *  path,
const char *  mode 
)
inline

Definition at line 2377 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2377 of file gtest-port.h

Referenced by testing::internal::XmlUnitTestResultPrinter::OnTestIterationEnd(), testing::internal::ScopedPrematureExitFile::ScopedPrematureExitFile(), and testing::internal::WriteToShardStatusFileIfNeeded().

+ Here is the caller graph for this function:

FILE* testing::internal::posix::FReopen ( const char *  path,
const char *  mode,
FILE *  stream 
)
inline

Definition at line 2381 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2381 of file gtest-port.h

Referenced by main().

+ Here is the caller graph for this function:

const char* testing::internal::posix::GetEnv ( const char *  name)
inline

Definition at line 2397 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2397 of file gtest-port.h

References conf::env, and perf_headwind::name.

Referenced by testing::internal::BoolFromGTestEnv(), testing::internal::Int32FromEnvOrDie(), testing::internal::Int32FromGTestEnv(), main(), testing::internal::PrettyUnitTestResultPrinter::OnTestIterationStart(), testing::UnitTest::Run(), testing::internal::ShouldUseColor(), testing::internal::StringFromGTestEnv(), testing::internal::TempDir(), and testing::internal::WriteToShardStatusFileIfNeeded().

+ Here is the caller graph for this function:

int testing::internal::posix::IsATTY ( int  fd)
inline

Definition at line 2351 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2351 of file gtest-port.h

Referenced by testing::internal::ColoredPrintf().

+ Here is the caller graph for this function:

bool testing::internal::posix::IsDir ( const StatStruct &  st)
inline

Definition at line 2358 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2358 of file gtest-port.h

Referenced by testing::internal::FilePath::DirectoryExists().

+ Here is the caller graph for this function:

int testing::internal::posix::Read ( int  fd,
void *  buf,
unsigned int  count 
)
inline

Definition at line 2388 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2388 of file gtest-port.h

References ActsExamples::JsonSurfacesReader::read().

+ Here is the call graph for this function:

int testing::internal::posix::RmDir ( const char *  dir)
inline

Definition at line 2357 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2357 of file gtest-port.h

int testing::internal::posix::Stat ( const char *  path,
StatStruct *  buf 
)
inline

Definition at line 2352 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2352 of file gtest-port.h

Referenced by testing::internal::FilePath::DirectoryExists(), and testing::internal::FilePath::FileOrDirectoryExists().

+ Here is the caller graph for this function:

int testing::internal::posix::StrCaseCmp ( const char *  s1,
const char *  s2 
)
inline

Definition at line 2353 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2353 of file gtest-port.h

Referenced by testing::internal::String::CaseInsensitiveCStringEquals().

+ Here is the caller graph for this function:

char* testing::internal::posix::StrDup ( const char *  src)
inline

Definition at line 2356 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2356 of file gtest-port.h

References strdup().

+ Here is the call graph for this function:

const char* testing::internal::posix::StrError ( int  errnum)
inline

Definition at line 2395 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2395 of file gtest-port.h

const char* testing::internal::posix::StrNCpy ( char *  dest,
const char *  src,
size_t  n 
)
inline

Definition at line 2366 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2366 of file gtest-port.h

int testing::internal::posix::Write ( int  fd,
const void *  buf,
unsigned int  count 
)
inline

Definition at line 2391 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 2391 of file gtest-port.h

References write().

+ Here is the call graph for this function: