ReactOS 0.4.16-dev-297-gc569aee
iostream.cpp File Reference
#include "stlport_prefix.h"
#include <memory>
#include <istream>
#include <fstream>
#include "stdio_streambuf.h"
#include "aligned_buffer.h"
#include "_stdio_file.h"
#include "c_locale.h"
Include dependency graph for iostream.cpp:

Go to the source code of this file.

Macros

#define cin   _STLP_cin
 
#define cout   _STLP_cout
 
#define cerr   _STLP_cerr
 
#define clog   _STLP_clog
 

Functions

static int _Stl_extract_open_param (FILE *f)
 
template<class _Tp >
static filebuf_Stl_create_filebuf (_Tp x, ios_base::openmode mode)
 
static wfilebuf_Stl_create_wfilebuf (FILE *f, ios_base::openmode mode)
 

Variables

_STLP_BEGIN_NAMESPACE _STLP_DECLSPEC _Stl_aligned_buffer< istreamcin
 
_STLP_DECLSPEC _Stl_aligned_buffer< ostreamcout
 
_STLP_DECLSPEC _Stl_aligned_buffer< ostreamcerr
 
_STLP_DECLSPEC _Stl_aligned_buffer< ostreamclog
 
_STLP_DECLSPEC _Stl_aligned_buffer< wistreamwcin
 
_STLP_DECLSPEC _Stl_aligned_buffer< wostreamwcout
 
_STLP_DECLSPEC _Stl_aligned_buffer< wostreamwcerr
 
_STLP_DECLSPEC _Stl_aligned_buffer< wostreamwclog
 

Macro Definition Documentation

◆ cerr

#define cerr   _STLP_cerr

Definition at line 39 of file iostream.cpp.

◆ cin

#define cin   _STLP_cin

Definition at line 37 of file iostream.cpp.

◆ clog

#define clog   _STLP_clog

Definition at line 40 of file iostream.cpp.

◆ cout

#define cout   _STLP_cout

Definition at line 38 of file iostream.cpp.

Function Documentation

◆ _Stl_create_filebuf()

template<class _Tp >
static filebuf * _Stl_create_filebuf ( _Tp  x,
ios_base::openmode  mode 
)
static

Definition at line 168 of file iostream.cpp.

168 {
171
172 if (result->is_open())
173 return result.release();
174
175 return 0;
176}
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLenum mode
Definition: glext.h:6217
GLuint64EXT * result
Definition: glext.h:11304
static int _Stl_extract_open_param(FILE *f)
Definition: iostream.cpp:158

Referenced by ios_base::_S_initialize(), and ios_base::sync_with_stdio().

◆ _Stl_create_wfilebuf()

static wfilebuf * _Stl_create_wfilebuf ( FILE f,
ios_base::openmode  mode 
)
static

Definition at line 180 of file iostream.cpp.

180 {
182 result->_M_open(_FILE_fd(f), mode);
183
184 if (result->is_open())
185 return result.release();
186
187 return 0;
188}
_STLP_BEGIN_NAMESPACE int _FILE_fd(const FILE *__f)
Definition: _stdio_file.h:107
GLfloat f
Definition: glext.h:7540

Referenced by ios_base::_S_initialize().

◆ _Stl_extract_open_param()

static int _Stl_extract_open_param ( FILE f)
static

Definition at line 158 of file iostream.cpp.

159{ return _FILE_fd(f); }

Referenced by _Stl_create_filebuf().

Variable Documentation

◆ cerr

Definition at line 102 of file iostream.cpp.

◆ cin

◆ clog

Definition at line 103 of file iostream.cpp.

◆ cout

Definition at line 101 of file iostream.cpp.

◆ wcerr

◆ wcin

◆ wclog

◆ wcout