QUDA  v1.1.0
A library for QCD on GPUs
Typedefs | Functions
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

◆ StatStruct

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

Function Documentation

◆ Abort()

void testing::internal::posix::Abort ( )
inline

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

◆ ChDir()

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

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

◆ Close()

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

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

◆ FClose()

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

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

◆ FDOpen()

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

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

◆ FileNo()

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

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

◆ FOpen()

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

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

◆ FReopen()

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

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

◆ GetEnv()

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

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

◆ IsATTY()

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

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

◆ IsDir()

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

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

◆ Read()

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

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

◆ RmDir()

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

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

◆ Stat()

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

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

◆ StrCaseCmp()

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

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

◆ StrDup()

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

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

◆ StrError()

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

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

◆ StrNCpy()

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

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

◆ Write()

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

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