Lines Matching refs:string
5 #include <string>
15 #define DECLARE_string(name) extern std::string FLAG(name)
23 std::string FLAG(name) = (default_val)
29 bool ParseInt32(const std::string& src_text, const char* str, int32_t* value);
31 // Parses a bool/Int32/string from the environment variable
38 // Parses a string for a bool flag, in the form of either
49 // Parses a string for an Int32 flag, in the form of
56 // Parses a string for a Double flag, in the form of
63 // Parses a string for a string flag, in the form of
68 bool ParseStringFlag(const char* str, const char* flag, std::string* value);
70 // Returns true if the string matches the flag.
75 // value is the empty string.
76 bool IsTruthyFlagValue(const std::string& value);