Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions | Variables
gtest-port.cc File Reference
#include "gtest/internal/gtest-port.h"
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cstdint>
#include <fstream>
#include <memory>
#include <unistd.h>
#include "gtest/gtest-spi.h"
#include "gtest/gtest-message.h"
#include "gtest/internal/gtest-internal.h"
#include "gtest/internal/gtest-string.h"
#include "src/gtest-internal-inl.h"
Include dependency graph for gtest-port.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 testing
 
 testing::internal
 

Functions

GTEST_API_ size_t testing::internal::GetThreadCount ()
 
GTEST_API_::std::string testing::internal::FormatFileLocation (const char *file, int line)
 
GTEST_API_::std::string testing::internal::FormatCompilerIndependentFileLocation (const char *file, int line)
 
GTEST_API_ size_t testing::internal::GetFileSize (FILE *file)
 
GTEST_API_ std::string testing::internal::ReadEntireFile (FILE *file)
 
static std::string testing::internal::FlagToEnvVar (const char *flag)
 
GTEST_API_ bool testing::internal::ParseInt32 (const Message &src_text, const char *str, int32_t *value)
 
bool testing::internal::BoolFromGTestEnv (const char *flag, bool default_val)
 
GTEST_API_ int32_t testing::internal::Int32FromGTestEnv (const char *flag, int32_t default_val)
 
std::string testing::internal::OutputFlagAlsoCheckEnvVar ()
 
const char * testing::internal::StringFromGTestEnv (const char *flag, const char *default_val)
 

Variables

const int testing::internal::kStdOutFileno = STDOUT_FILENO
 
const int testing::internal::kStdErrFileno = STDERR_FILENO
 
const char testing::internal::kUnknownFile [] = "unknown file"