ReactOS 0.4.16-dev-109-gf4cb10f
acquire_release.h File Reference
#include "c_locale.h"
Include dependency graph for acquire_release.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

_STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE _Locale_ctype *_STLP_CALL __acquire_ctype (const char *&name, char *buf, _Locale_name_hint *hint, int *__err_code)
 
_Locale_codecvt *_STLP_CALL __acquire_codecvt (const char *&name, char *buf, _Locale_name_hint *hint, int *__err_code)
 
_Locale_numeric *_STLP_CALL __acquire_numeric (const char *&name, char *buf, _Locale_name_hint *hint, int *__err_code)
 
_Locale_collate *_STLP_CALL __acquire_collate (const char *&name, char *buf, _Locale_name_hint *hint, int *__err_code)
 
_Locale_monetary *_STLP_CALL __acquire_monetary (const char *&name, char *buf, _Locale_name_hint *hint, int *__err_code)
 
_Locale_time *_STLP_CALL __acquire_time (const char *&name, char *buf, _Locale_name_hint *, int *__err_code)
 
_Locale_messages *_STLP_CALL __acquire_messages (const char *&name, char *buf, _Locale_name_hint *hint, int *__err_code)
 
void _STLP_CALL __release_ctype (_Locale_ctype *cat)
 
void _STLP_CALL __release_codecvt (_Locale_codecvt *cat)
 
void _STLP_CALL __release_numeric (_Locale_numeric *cat)
 
void _STLP_CALL __release_collate (_Locale_collate *cat)
 
void _STLP_CALL __release_monetary (_Locale_monetary *cat)
 
void _STLP_CALL __release_time (_Locale_time *__time)
 
void _STLP_CALL __release_messages (_Locale_messages *cat)
 

Function Documentation

◆ __acquire_codecvt()

_Locale_codecvt *_STLP_CALL __acquire_codecvt ( const char *&  name,
char buf,
_Locale_name_hint hint,
int __err_code 
)

Definition at line 241 of file locale_catalog.cpp.

241 {
244 codecvt_hash(), __err_code));
245}
#define __REINTERPRET_CAST(__x, __y)
Definition: features.h:586
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
char const * _Locale_extract_ctype_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
static void * __acquire_category(const char *&name, char *buf, _Locale_name_hint *hint, loc_extract_name_func_t extract_name, loc_create_func_t create_obj, loc_default_name_func_t default_name, Category_Map **M, int *__err_code)
static const char * _Loc_ctype_default(char *p)
static Category_Map ** codecvt_hash()
static void * _Loc_codecvt_create(const char *s, _Locale_name_hint *hint, int *__err_code)
Definition: name.c:39
DWORD hint
Definition: vfdcmd.c:88

Referenced by codecvt_byname< wchar_t, char, mbstate_t >::codecvt_byname(), and _Locale_impl::insert_ctype_facets().

◆ __acquire_collate()

_Locale_collate *_STLP_CALL __acquire_collate ( const char *&  name,
char buf,
_Locale_name_hint hint,
int __err_code 
)

Definition at line 256 of file locale_catalog.cpp.

256 {
259 collate_hash(), __err_code));
260}
char const * _Locale_extract_collate_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
static void * _Loc_collate_create(const char *s, _Locale_name_hint *hint, int *__err_code)
static Category_Map ** collate_hash()
static const char * _Loc_collate_default(char *p)

Referenced by collate_byname< char >::collate_byname(), collate_byname< wchar_t >::collate_byname(), and _Locale_impl::insert_collate_facets().

◆ __acquire_ctype()

_STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE _Locale_ctype *_STLP_CALL __acquire_ctype ( const char *&  name,
char buf,
_Locale_name_hint hint,
int __err_code 
)

Definition at line 236 of file locale_catalog.cpp.

236 {
239 ctype_hash(), __err_code));
240}
_STLP_BEGIN_NAMESPACE static _STLP_MOVE_TO_PRIV_NAMESPACE void * _Loc_ctype_create(const char *s, _Locale_name_hint *hint, int *__err_code)
static Category_Map ** ctype_hash()

Referenced by ctype_byname< char >::ctype_byname(), ctype_byname< wchar_t >::ctype_byname(), and _Locale_impl::insert_ctype_facets().

◆ __acquire_messages()

_Locale_messages *_STLP_CALL __acquire_messages ( const char *&  name,
char buf,
_Locale_name_hint hint,
int __err_code 
)

Definition at line 266 of file locale_catalog.cpp.

266 {
267 return __REINTERPRET_CAST(_Locale_messages*, __acquire_category(name, buf, hint,
269 messages_hash(), __err_code));
270}
char const * _Locale_extract_messages_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
static Category_Map ** messages_hash()
static void * _Loc_messages_create(const char *s, _Locale_name_hint *hint, int *__err_code)
static const char * _Loc_messages_default(char *p)

Referenced by _Messages::_Messages(), and _Locale_impl::insert_messages_facets().

◆ __acquire_monetary()

_Locale_monetary *_STLP_CALL __acquire_monetary ( const char *&  name,
char buf,
_Locale_name_hint hint,
int __err_code 
)

Definition at line 261 of file locale_catalog.cpp.

261 {
264 monetary_hash(), __err_code));
265}
char const * _Locale_extract_monetary_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
static Category_Map ** monetary_hash()
static void * _Loc_monetary_create(const char *s, _Locale_name_hint *hint, int *__err_code)
static const char * _Loc_monetary_default(char *p)

Referenced by _Locale_impl::insert_monetary_facets(), moneypunct_byname< char, true >::moneypunct_byname(), moneypunct_byname< char, false >::moneypunct_byname(), moneypunct_byname< wchar_t, true >::moneypunct_byname(), and moneypunct_byname< wchar_t, false >::moneypunct_byname().

◆ __acquire_numeric()

_Locale_numeric *_STLP_CALL __acquire_numeric ( const char *&  name,
char buf,
_Locale_name_hint hint,
int __err_code 
)

Definition at line 246 of file locale_catalog.cpp.

246 {
249 numeric_hash(), __err_code));
250}
char const * _Locale_extract_numeric_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
static Category_Map ** numeric_hash()
static void * _Loc_numeric_create(const char *s, _Locale_name_hint *hint, int *__err_code)
static const char * _Loc_numeric_default(char *p)

Referenced by _Locale_impl::insert_numeric_facets(), numpunct_byname< char >::numpunct_byname(), and numpunct_byname< wchar_t >::numpunct_byname().

◆ __acquire_time()

_Locale_time *_STLP_CALL __acquire_time ( const char *&  name,
char buf,
_Locale_name_hint hint,
int __err_code 
)

Definition at line 251 of file locale_catalog.cpp.

251 {
254 time_hash(), __err_code));
255}
char const * _Locale_extract_time_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
static void * _Loc_time_create(const char *s, _Locale_name_hint *hint, int *__err_code)
static Category_Map ** time_hash()
static const char * _Loc_time_default(char *p)

Referenced by _Locale_impl::insert_time_facets(), time_init< char >::time_init(), and time_init< wchar_t >::time_init().

◆ __release_codecvt()

void _STLP_CALL __release_codecvt ( _Locale_codecvt cat)

Definition at line 274 of file locale_catalog.cpp.

static void __release_category(void *cat, loc_destroy_func_t destroy_fun, loc_name_func_t get_name, Category_Map **M)
static void _Loc_codecvt_destroy(void *p)
static char const * _Loc_codecvt_name(void *l, char *s)

Referenced by _Locale_impl::insert_ctype_facets(), and codecvt_byname< wchar_t, char, mbstate_t >::~codecvt_byname().

◆ __release_collate()

void _STLP_CALL __release_collate ( _Locale_collate cat)

Definition at line 280 of file locale_catalog.cpp.

static char const * _Loc_collate_name(void *l, char *s)
static void _Loc_collate_destroy(void *p)

Referenced by _Locale_impl::insert_collate_facets(), collate_byname< char >::~collate_byname(), and collate_byname< wchar_t >::~collate_byname().

◆ __release_ctype()

void _STLP_CALL __release_ctype ( _Locale_ctype cat)

Definition at line 272 of file locale_catalog.cpp.

static char const * _Loc_ctype_name(void *l, char *s)
static void _Loc_ctype_destroy(void *p)

Referenced by _Locale_impl::insert_ctype_facets(), ctype_byname< char >::~ctype_byname(), and ctype_byname< wchar_t >::~ctype_byname().

◆ __release_messages()

void _STLP_CALL __release_messages ( _Locale_messages *  cat)

Definition at line 284 of file locale_catalog.cpp.

static void _Loc_messages_destroy(void *p)
static char const * _Loc_messages_name(void *l, char *s)

Referenced by _Locale_impl::insert_messages_facets(), and _Messages::~_Messages().

◆ __release_monetary()

void _STLP_CALL __release_monetary ( _Locale_monetary cat)

Definition at line 282 of file locale_catalog.cpp.

static char const * _Loc_monetary_name(void *l, char *s)
static void _Loc_monetary_destroy(void *p)

Referenced by _Locale_impl::insert_monetary_facets().

◆ __release_numeric()

void _STLP_CALL __release_numeric ( _Locale_numeric cat)

Definition at line 276 of file locale_catalog.cpp.

static void _Loc_numeric_destroy(void *p)
static char const * _Loc_numeric_name(void *l, char *s)

Referenced by _Locale_impl::insert_numeric_facets(), numpunct_byname< char >::~numpunct_byname(), and numpunct_byname< wchar_t >::~numpunct_byname().

◆ __release_time()

void _STLP_CALL __release_time ( _Locale_time __time)

Definition at line 278 of file locale_catalog.cpp.

static void _Loc_time_destroy(void *p)
static char const * _Loc_time_name(void *l, char *s)

Referenced by _Locale_impl::insert_time_facets(), time_init< char >::time_init(), and time_init< wchar_t >::time_init().