Home | History | Annotate | Download | only in internal

Lines Matching defs:Int

170 //   TypeWithSize   - maps an integer to a int type.
722 // int foo;
889 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
895 int line);
915 GTestLog(GTestLogSeverity severity, const char* file, int line);
962 if (const int gtest_error = (posix_call)) \
1076 inline void SleepMilliseconds(int n) {
1137 // void ThreadFunc(int param) { /* Do things with param */ }
1141 // ThreadWithParam<int> thread(&ThreadFunc, 5, &thread_can_start);
1305 // ThreadLocal<int> tl(100); // 100 is the default value for each thread.
1511 // isspace(int ch) and friends accept an unsigned char or EOF. char
1560 inline int IsATTY(int fd) { return isatty(fd); }
1561 inline int StrCaseCmp(const char* s1, const char* s2) {
1567 inline int IsATTY(int /* fd */) { return 0; }
1569 inline int IsATTY(int fd) { return _isatty(fd); }
1571 inline int StrCaseCmp(const char* s1, const char* s2) {
1578 inline int FileNo(FILE* file) { return reinterpret_cast<int>(_fileno(file)); }
1582 inline int FileNo(FILE* file) { return _fileno(file); }
1583 inline int Stat(const char* path, StatStruct* buf) { return _stat(path, buf); }
1584 inline int RmDir(const char* dir) { return _rmdir(dir); }
1594 inline int FileNo(FILE* file) { return fileno(file); }
1595 inline int IsATTY(int fd) { return isatty(fd); }
1596 inline int Stat(const char* path, StatStruct* buf) { return stat(path, buf); }
1597 inline int StrCaseCmp(const char* s1, const char* s2) {
1601 inline int RmDir(const char* dir) { return rmdir(dir); }
1623 inline int ChDir(const char* dir) { return chdir(dir); }
1632 inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); }
1634 inline int FClose(FILE* fp) { return fclose(fp); }
1636 inline int Read(int fd, void* buf, unsigned int count) {
1637 return static_cast<int>(read(fd, buf, count));
1639 inline int Write(int fd, const void* buf, unsigned int count) {
1640 return static_cast<int>(write(fd, buf, count));
1642 inline int Close(int fd) { return close(fd); }
1643 inline const char* StrError(int errnum) { return strerror(errnum); }
1690 // is typedef-ed to be unsigned int (unsigned integer made up of 4
1699 // For now it only handles UInt (unsigned int) as that's all Google Test
1714 // unsigned int has size 4 in both gcc and MSVC.
1718 typedef int Int;
1719 typedef unsigned int UInt;
1728 typedef __int64 Int;
1731 typedef long long Int; // NOLINT
1737 typedef TypeWithSize<4>::Int Int32;
1739 typedef TypeWithSize<8>::Int Int64;
1741 typedef TypeWithSize<8>::Int TimeInMillis; // Represents time in milliseconds.