Lines Matching refs:result
108 int64_t result = defaultValue;
109 std::string valueStr = GetStringValue(key, std::to_string(result));
111 result = static_cast<int64_t>(std::strtoll(valueStr.c_str(), nullptr, DECIMAL_NOTATION));
113 return result;
124 bool result = defaultValue;
125 std::string valueStr = GetStringValue(key, result ? "1" : "0");
127 result = (valueStr == "1" || valueStr == "true");
129 return result;
134 float result = defaultValue;
135 std::string valueStr = GetStringValue(key, std::to_string(result));
137 result = std::stof(valueStr);
139 return result;