Lines Matching refs:c_str
67 auto ret = std::from_chars(str.c_str() + i, str.c_str() + i + 2, v, 16); in FromHexString()
115 int64_t value = std::strtoll(str.c_str(), &ptr, 10); in Int64FromString()
117 LOG_DEBUG("cannot parse string '%s' with error '%s'", str.c_str(), strerror(errno)); in Int64FromString()
120 if (ptr == str.c_str()) { in Int64FromString()
121 LOG_DEBUG("string '%s' is empty or has wrong format", str.c_str()); in Int64FromString()
124 if (ptr != (str.c_str() + str.size())) { in Int64FromString()
125 LOG_DEBUG("cannot parse whole string '%s'", str.c_str()); in Int64FromString()
137 LOG_DEBUG("string '%s' contains minus sign, this function is for unsigned", str.c_str()); in Uint64FromString()
142 uint64_t value = std::strtoull(str.c_str(), &ptr, 10); in Uint64FromString()
144 LOG_DEBUG("cannot parse string '%s' with error '%s'", str.c_str(), strerror(errno)); in Uint64FromString()
147 if (ptr == str.c_str()) { in Uint64FromString()
148 LOG_DEBUG("string '%s' is empty or has wrong format", str.c_str()); in Uint64FromString()
151 if (ptr != (str.c_str() + str.size())) { in Uint64FromString()
152 LOG_DEBUG("cannot parse whole string '%s'", str.c_str()); in Uint64FromString()
168 LOG_DEBUG("string '%s' is neither true nor false", str.c_str()); in BoolFromString()