Lines Matching refs:dflt
1312 T GetFromEnv(const char *varname, const char* type, T dflt) {
1315 return dflt;
1770 bool BoolFromEnv(const char *v, bool dflt) {
1771 return GetFromEnv(v, "bool", dflt);
1773 int32 Int32FromEnv(const char *v, int32 dflt) {
1774 return GetFromEnv(v, "int32", dflt);
1776 int64 Int64FromEnv(const char *v, int64 dflt) {
1777 return GetFromEnv(v, "int64", dflt);
1779 uint64 Uint64FromEnv(const char *v, uint64 dflt) {
1780 return GetFromEnv(v, "uint64", dflt);
1782 double DoubleFromEnv(const char *v, double dflt) {
1783 return GetFromEnv(v, "double", dflt);
1785 const char *StringFromEnv(const char *varname, const char *dflt) {
1787 return val ? val : dflt;