This commit is contained in:
romkazvo
2023-08-07 19:29:24 +08:00
commit 34d6c5d489
4832 changed files with 1389451 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# include _STLP_NATIVE_HEADER(complex)
# if defined (_STLP_USE_OWN_NAMESPACE)
_STLP_BEGIN_NAMESPACE
using _STLP_COMPLEX_NAMESPACE::complex;
using _STLP_COMPLEX_NAMESPACE::real;
using _STLP_COMPLEX_NAMESPACE::imag;
using _STLP_COMPLEX_NAMESPACE::abs;
using _STLP_COMPLEX_NAMESPACE::arg;
using _STLP_COMPLEX_NAMESPACE::norm;
using _STLP_COMPLEX_NAMESPACE::conj;
using _STLP_COMPLEX_NAMESPACE::polar;
using _STLP_COMPLEX_NAMESPACE::cos;
using _STLP_COMPLEX_NAMESPACE::cosh;
using _STLP_COMPLEX_NAMESPACE::exp;
using _STLP_COMPLEX_NAMESPACE::log;
using _STLP_COMPLEX_NAMESPACE::log10;
using _STLP_COMPLEX_NAMESPACE::pow;
using _STLP_COMPLEX_NAMESPACE::sin;
using _STLP_COMPLEX_NAMESPACE::sinh;
using _STLP_COMPLEX_NAMESPACE::sqrt;
using _STLP_COMPLEX_NAMESPACE::tan;
using _STLP_COMPLEX_NAMESPACE::tanh;
_STLP_END_NAMESPACE
# endif /* USE_OWN_NAMESPACE */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,13 @@
./complex
./export
./fstream
./iomanip
./ios
./iosfwd
./iostream
./istream
./locale
./ostream
./sstream
./streambuf
./strstream

View File

@@ -0,0 +1,25 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# if defined (_STLP_USE_NEW_IOSTREAMS)
# include _STLP_NATIVE_HEADER(fstream)
# if defined (_STLP_USE_OWN_NAMESPACE)
_STLP_BEGIN_NAMESPACE
# include <using/fstream>
_STLP_END_NAMESPACE
# endif /* _STLP_OWN_NAMESPACE */
# else
# include <wrap_std/h/fstream.h>
# endif /* _STLP_USE_NEW_IOSTREAMS */

View File

@@ -0,0 +1,7 @@
# include _STLP_NATIVE_OLD_STREAMS_HEADER(fstream.h)
# if defined (_STLP_USE_NAMESPACES) && ! defined (_STLP_BROKEN_USING_DIRECTIVE)
_STLP_BEGIN_NAMESPACE
# include <using/h/fstream.h>
_STLP_END_NAMESPACE
# endif /* _STLP_OWN_NAMESPACE */

View File

@@ -0,0 +1,11 @@
// # ifndef _STLP_NO_WCHAR_T
// # include <wchar.h>
// # endif
# include _STLP_NATIVE_OLD_STREAMS_HEADER(iostream.h)
# if defined (_STLP_USE_OWN_NAMESPACE)
_STLP_BEGIN_NAMESPACE
# include <using/h/iostream.h>
_STLP_END_NAMESPACE
# endif /* _STLP_USE_OWN_NAMESPACE */

View File

@@ -0,0 +1,9 @@
//*TY 02/11/2000 - added missing header file
# include _STLP_NATIVE_OLD_STREAMS_HEADER(iostream.h)
# if defined (_STLP_USE_OWN_NAMESPACE)
_STLP_BEGIN_NAMESPACE
# include <using/h/streambuf.h>
_STLP_END_NAMESPACE
# endif /* _STLP_USE_OWN_NAMESPACE */

View File

@@ -0,0 +1,31 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# if defined (_MSC_VER) && (_MSC_VER <= 1200)
# include _STLP_NATIVE_OLD_STREAMS_HEADER(strstrea.h)
# else
# include _STLP_NATIVE_OLD_STREAMS_HEADER(strstream.h)
# endif
# ifdef _STLP_USE_OWN_NAMESPACE
_STLP_BEGIN_NAMESPACE
# include <using/h/strstream.h>
_STLP_END_NAMESPACE
#endif /* _STLP_OWN_NAMESPACE */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,40 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# if defined (_STLP_USE_NEW_IOSTREAMS)
# include _STLP_NATIVE_HEADER(iomanip)
# ifdef _STLP_USE_OWN_NAMESPACE
_STLP_BEGIN_NAMESPACE
# include <using/iomanip>
_STLP_END_NAMESPACE
# endif /* _STLP_OWN_NAMESPACE */
# else
# include _STLP_NATIVE_OLD_STREAMS_HEADER(iomanip.h)
# if defined (_STLP_USE_NAMESPACES) && ! defined (_STLP_BROKEN_USING_DIRECTIVE)
_STLP_BEGIN_NAMESPACE
# include <using/h/iomanip.h>
_STLP_END_NAMESPACE
# endif /* _STLP_USE_OWN_NAMESPACE */
# endif /* _STLP_USE_NEW_IOSTREAMS */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,29 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# if defined (_STLP_USE_NEW_IOSTREAMS)
# include _STLP_NATIVE_HEADER(ios)
# ifdef _STLP_USE_OWN_NAMESPACE
_STLP_BEGIN_NAMESPACE
# include <using/ios>
_STLP_END_NAMESPACE
#endif /* _STLP_OWN_NAMESPACE */
# else
# include <wrap_std/h/iostream.h>
# endif /* USE_NEW_IOSTREAMS */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,94 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# ifndef _STLP_CSTDDEF
# include <cstddef> /* wchar_t */
# endif
# ifndef _STLP_CSTRING
# include <cstring>
# endif
# if defined (_STLP_USE_NEW_IOSTREAMS)
# include _STLP_NATIVE_HEADER(iosfwd)
# if defined ( __MWERKS__ ) || defined (__KCC)
// MSL leaves a few important things out of <iosfwd>.
// We expect this to be fixed in later MSL implementations
# if !defined( __MSL_CPP__ ) || __MSL_CPP__ <= 0x4105
# ifdef MSIPL_USING_NAMESPACE
namespace std {
# endif
// A few things that seem to be missing from CodeWarrior's <iosfwd>
# ifdef __MWERKS__
template <class charT, class traits = char_traits<charT> >
class istreambuf_iterator;
template <class charT, class traits = char_traits<charT> >
class ostreambuf_iterator;
# endif /* __MWERKS__ */
# if defined (_STLP_NO_NATIVE_WIDE_STREAMS)
class streampos;
# endif
# ifdef MSIPL_USING_NAMESPACE
} // namespace std
# endif
# endif /* __MSL__ version */
# endif /* MWERKS */
# else
_STLP_BEGIN_NAMESPACE
template <class _Tp> class allocator;
_STLP_END_NAMESPACE
// use old-style iostreams
# include <iostream.h>
# include <fstream.h>
#ifndef _STLP_CHAR_TRAITS_H
// that defines char_traits or imports std::char_traits
# include <stl/char_traits.h>
#endif
# endif /* _STLP_USE_NEW_IOSTREAMS */
# ifdef _STLP_USE_ABBREVS
# define istream_iterator _iS__It
# define ostream_iterator _oS__It
# endif
# if defined (_STLP_USE_OWN_NAMESPACE)
_STLP_BEGIN_NAMESPACE
# include <using/iosfwd>
_STLP_END_NAMESPACE
# endif
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,35 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# if defined (_STLP_MSVC) && (_STLP_MSVC < 1200)
# include <cwchar>
// lower ifdef level
# include <ios>
# endif
# if defined (_STLP_USE_NEW_IOSTREAMS)
# include _STLP_NATIVE_HEADER(iostream)
# if defined (_STLP_USE_OWN_NAMESPACE)
_STLP_BEGIN_NAMESPACE
# include <using/iostream>
_STLP_END_NAMESPACE
# endif
# else
# include <wrap_std/h/iostream.h>
# endif /* _STLP_USE_NEW_STYLE_IOSTREAMS */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,47 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# if defined (_STLP_MSVC) && (_STLP_MSVC < 1200)
// # include <cwchar>
// lower ifdef level
# include <ios>
# endif
# if defined (_STLP_USE_NEW_IOSTREAMS)
# include _STLP_NATIVE_HEADER(istream)
# if defined (_STLP_USE_OWN_NAMESPACE)
_STLP_BEGIN_NAMESPACE
# include <using/istream>
_STLP_END_NAMESPACE
# endif /* _STLP_OWN_NAMESPACE */
# else
# include _STLP_NATIVE_OLD_STREAMS_HEADER(iostream.h)
# if defined (_STLP_USE_NAMESPACES)
_STLP_BEGIN_NAMESPACE
using ::istream;
// using ::ws;
_STLP_END_NAMESPACE
# endif /* NAMESPACES */
# endif /* if defined (_STLP_USE_NEW_IOSTREAMS) */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,30 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# ifndef _STLP_CSTDLIB
# include <cstdlib>
# endif
# include _STLP_NATIVE_HEADER(locale)
# ifdef _STLP_USE_OWN_NAMESPACE
_STLP_BEGIN_NAMESPACE
# include <using/locale>
_STLP_END_NAMESPACE
#endif /* _STLP_OWN_NAMESPACE */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,44 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# if defined (_STLP_MSVC) && (_STLP_MSVC < 1200)
// # include <cwchar>
// lower ifdef level
# include <ios>
# endif
# if defined (_STLP_USE_NEW_IOSTREAMS) || defined (__IN_STLPORT_OSTREAM)
# include _STLP_NATIVE_HEADER(ostream)
# if defined (_STLP_USE_OWN_NAMESPACE)
_STLP_BEGIN_NAMESPACE
# include <using/ostream>
_STLP_END_NAMESPACE
# endif /* _STLP_OWN_NAMESPACE */
# else
# include _STLP_NATIVE_OLD_STREAMS_HEADER(iostream.h)
# if defined (_STLP_USE_NAMESPACES) && ! defined (_STLP_BROKEN_USING_DIRECTIVE)
_STLP_BEGIN_NAMESPACE
# include <using/h/ostream.h>
_STLP_END_NAMESPACE
# endif /* _STLP_NAMESPACE */
# endif /* if defined (_STLP_USE_NEW_IOSTREAMS) */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,25 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# include _STLP_NATIVE_HEADER(sstream)
# ifdef _STLP_USE_OWN_NAMESPACE
_STLP_BEGIN_NAMESPACE
# include <using/sstream>
_STLP_END_NAMESPACE
#endif /* _STLP_OWN_NAMESPACE */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,30 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# if defined (_STLP_USE_NEW_IOSTREAMS)
# include _STLP_NATIVE_HEADER(streambuf)
# else
# include <wrap_std/h/streambuf.h>
# endif
# if defined (_STLP_USE_OWN_NAMESPACE) && defined (_STLP_USE_NEW_IOSTREAMS)
_STLP_BEGIN_NAMESPACE
# include <using/streambuf>
_STLP_END_NAMESPACE
# endif /* _STLP_OWN_NAMESPACE */
// Local Variables:
// mode:C++
// End:

View File

@@ -0,0 +1,27 @@
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
# include _STLP_NATIVE_HEADER(strstream)
# ifdef _STLP_USE_OWN_NAMESPACE
_STLP_BEGIN_NAMESPACE
# include <using/strstream>
_STLP_END_NAMESPACE
#endif /* _STLP_OWN_NAMESPACE */
// Local Variables:
// mode:C++
// End: