Lines Matching refs:std
48 #include <cstring> // get std::strlen
49 #include <cstdio> // get std::vsnprintf or std::vsprintf
54 _GLIBCXX_BEGIN_NAMESPACE(std)
67 char* __old = std::setlocale(LC_NUMERIC, NULL);
69 if (std::strcmp(__old, "C"))
71 __sav = new char[std::strlen(__old) + 1];
72 std::strcpy(__sav, __old);
73 std::setlocale(LC_NUMERIC, "C");
80 const int __ret = std::vsnprintf(__out, __size, __fmt, __args);
82 const int __ret = std::vsprintf(__out, __fmt, __args);
89 std::setlocale(LC_NUMERIC, __sav);