Changeset View
Changeset View
Standalone View
Standalone View
src/util/strencodings.cpp
Show First 20 Lines • Show All 445 Lines • ▼ Show 20 Lines | while (ptr < in.size()) { | ||||
indented = indent; | indented = indent; | ||||
} | } | ||||
ptr = finalspace + 1; | ptr = finalspace + 1; | ||||
} | } | ||||
} | } | ||||
return out.str(); | return out.str(); | ||||
} | } | ||||
std::string i64tostr(int64_t n) { | |||||
return strprintf("%d", n); | |||||
} | |||||
int64_t atoi64(const char *psz) { | int64_t atoi64(const char *psz) { | ||||
#ifdef _MSC_VER | #ifdef _MSC_VER | ||||
return _atoi64(psz); | return _atoi64(psz); | ||||
#else | #else | ||||
return strtoll(psz, nullptr, 10); | return strtoll(psz, nullptr, 10); | ||||
#endif | #endif | ||||
} | } | ||||
▲ Show 20 Lines • Show All 186 Lines • Show Last 20 Lines |