Lines Matching full:default_value
794 // the given flag; if it's not set, returns default_value.
797 bool BoolFromGTestEnv(const char* flag, bool default_value) {
801 default_value : strcmp(string_value, "0") != 0;
806 // doesn't represent a valid 32-bit integer, returns default_value.
807 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) {
812 return default_value;
815 Int32 result = default_value;
819 (Message() << default_value).GetString().c_str());
821 return default_value;
828 // the given flag; if it's not set, returns default_value.
829 const char* StringFromGTestEnv(const char* flag, const char* default_value) {
832 return value == NULL ? default_value : value;