Lines Matching refs:flag_value
7903 string flag_value; in FindBoolFlag() local
7904 if (!FlagNameMatch(str, name, &flag_value)) continue; in FindBoolFlag()
7906 if (flag_value == "") *retval = true; in FindBoolFlag()
7907 else if (flag_value == "1") *retval = true; in FindBoolFlag()
7908 else if (flag_value == "true") *retval = true; in FindBoolFlag()
7909 else if (flag_value == "yes") *retval = true; in FindBoolFlag()
7910 else if (flag_value == "0") *retval = false; in FindBoolFlag()
7911 else if (flag_value == "false") *retval = false; in FindBoolFlag()
7912 else if (flag_value == "no") *retval = false; in FindBoolFlag()
7938 string flag_value; in FindIntFlag() local
7939 if (!FlagNameMatch(str, name, &flag_value)) continue; in FindIntFlag()
7941 const char *beg_ptr = flag_value.c_str(); in FindIntFlag()
7943 if (flag_value.empty() || beg_ptr + flag_value.size() != end_ptr) in FindIntFlag()
7974 string flag_value; in FindStringFlag() local
7975 if (!FlagNameMatch(str, name, &flag_value)) continue; in FindStringFlag()
7976 retval->push_back(flag_value); in FindStringFlag()
7978 Printf("%40s => %s\n", name, flag_value.c_str()); in FindStringFlag()