umd/external/protobuf-2.6/gtest/fused-src/gtest/gtest-all.cc
static String FlagToEnvVar(const char* flag) {
  const String full_flag =
      (Message() << GTEST_FLAG_PREFIX_ << flag).GetString();

  Message env_var;
  for (size_t i = 0; i != full_flag.length(); i++) {
    env_var << static_cast<char>(toupper(full_flag.c_str()[i]));
  }

  return env_var.GetString();
}
// Returns the name of the environment variable corresponding to the
// given flag.  For example, FlagToEnvVar("foo") will return
// "GTEST_FOO" in the open-source version.
Returns the name of the environment variable corresponding to the
given flag.  For example, FlagToEnvVar("foo") will return
"GTEST_FOO" in the open-source version.
Returns the name of the environment variable corresponding to the given flag . For example FlagToEnvVar ( " foo " ) will return " GTEST_FOO " in the open - source version .
static String FlagToEnvVar(const char* flag) {
  const String full_flag =
      (Message() << GTEST_FLAG_PREFIX_ << flag).GetString();
  Message env_var;
  for (size_t i = 0; i != full_flag.length(); i++) {
    env_var << static_cast<char>(toupper(full_flag.c_str()[i]));
  }
  return env_var.GetString();
}
static String FlagToEnvVar ( const char * flag ) { const String full_flag = ( Message ( ) << GTEST_FLAG_PREFIX_ << flag ) . GetString ( ) ; Message env_var ; for ( size_t i = 0 ; i != full_flag . length ( ) ; i ++ ) { env_var << static_cast < char > ( toupper ( full_flag . c_str ( ) [ i ] ) ) ; } return env_var . GetString ( ) ; }
Returns the name of the environment variable corresponding to the
given flag.
Returns the name of the environment variable corresponding to the given flag .