Home | History | Annotate | Download | only in internal

Lines Matching defs:Int

179 //   TypeWithSize   - maps an integer to an int type.
833 // int foo;
1000 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line);
1006 int line);
1026 GTestLog(GTestLogSeverity severity, const char* file, int line);
1073 if (const int gtest_error = (posix_call)) \
1188 inline void SleepMilliseconds(int n) {
1264 // void ThreadFunc(int param) { /* Do things with param */ }
1268 // ThreadWithParam<int> thread(&ThreadFunc, 5, &thread_can_start);
1446 // ThreadLocal<int> tl(100); // 100 is the default value for each thread.
1654 // isspace(int ch) and friends accept an unsigned char or EOF. char
1707 inline int IsATTY(int fd) { return isatty(fd); }
1708 inline int StrCaseCmp(const char* s1, const char* s2) {
1714 inline int IsATTY(int /* fd */) { return 0; }
1716 inline int IsATTY(int fd) { return _isatty(fd); }
1718 inline int StrCaseCmp(const char* s1, const char* s2) {
1725 inline int FileNo(FILE* file) { return reinterpret_cast<int>(_fileno(file)); }
1729 inline int FileNo(FILE* file) { return _fileno(file); }
1730 inline int Stat(const char* path, StatStruct* buf) { return _stat(path, buf); }
1731 inline int RmDir(const char* dir) { return _rmdir(dir); }
1741 inline int FileNo(FILE* file) { return fileno(file); }
1742 inline int IsATTY(int fd) { return isatty(fd); }
1743 inline int Stat(const char* path, StatStruct* buf) { return stat(path, buf); }
1744 inline int StrCaseCmp(const char* s1, const char* s2) {
1748 inline int RmDir(const char* dir) { return rmdir(dir); }
1770 inline int ChDir(const char* dir) { return chdir(dir); }
1779 inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); }
1781 inline int FClose(FILE* fp) { return fclose(fp); }
1783 inline int Read(int fd, void* buf, unsigned int count) {
1784 return static_cast<int>(read(fd, buf, count));
1786 inline int Write(int fd, const void* buf, unsigned int count) {
1787 return static_cast<int>(write(fd, buf, count));
1789 inline int Close(int fd) { return close(fd); }
1790 inline const char* StrError(int errnum) { return strerror(errnum); }
1854 // is typedef-ed to be unsigned int (unsigned integer made up of 4
1863 // For now it only handles UInt (unsigned int) as that's all Google Test
1878 // unsigned int has size 4 in both gcc and MSVC.
1882 typedef int Int;
1883 typedef unsigned int UInt;
1891 typedef __int64 Int;
1894 typedef long long Int; // NOLINT
1900 typedef TypeWithSize<4>::Int Int32;
1902 typedef TypeWithSize<8>::Int Int64;
1904 typedef TypeWithSize<8>::Int TimeInMillis; // Represents time in milliseconds.