Lines Matching full:default_value
704 // the given flag; if it's not set, returns default_value.
707 bool BoolFromGTestEnv(const char* flag, bool default_value) {
711 default_value : strcmp(string_value, "0") != 0;
716 // doesn't represent a valid 32-bit integer, returns default_value.
717 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) {
722 return default_value;
725 Int32 result = default_value;
729 (Message() << default_value).GetString().c_str());
731 return default_value;
738 // the given flag; if it's not set, returns default_value.
739 const char* StringFromGTestEnv(const char* flag, const char* default_value) {
742 return value == NULL ? default_value : value;