Home
last modified time | relevance | path

Searched refs:__err_code (Results 1 – 13 of 13) sorted by relevance

/external/stlport/src/
Dlocale_catalog.cpp36 static void* _Loc_ctype_create(const char * s, _Locale_name_hint* hint, int *__err_code) in _Loc_ctype_create() argument
37 { return _Locale_ctype_create(s, hint, __err_code); } in _Loc_ctype_create()
38 static void* _Loc_codecvt_create(const char * s, _Locale_name_hint* hint, int *__err_code) in _Loc_codecvt_create() argument
39 { return _Locale_codecvt_create(s, hint, __err_code); } in _Loc_codecvt_create()
40 static void* _Loc_numeric_create(const char * s, _Locale_name_hint* hint, int *__err_code) in _Loc_numeric_create() argument
41 { return _Locale_numeric_create(s, hint, __err_code); } in _Loc_numeric_create()
42 static void* _Loc_time_create(const char * s, _Locale_name_hint* hint, int *__err_code) in _Loc_time_create() argument
43 { return _Locale_time_create(s, hint, __err_code); } in _Loc_time_create()
44 static void* _Loc_collate_create(const char * s, _Locale_name_hint* hint, int *__err_code) in _Loc_collate_create() argument
45 { return _Locale_collate_create(s, hint, __err_code); } in _Loc_collate_create()
[all …]
Dacquire_release.h27 …_STLP_CALL __acquire_ctype(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
28 …TLP_CALL __acquire_codecvt(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
29 …TLP_CALL __acquire_numeric(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
30 …TLP_CALL __acquire_collate(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
31 …LP_CALL __acquire_monetary(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
32 …time* _STLP_CALL __acquire_time(const char* &name, char *buf, _Locale_name_hint*, int *__err_code);
33 …LP_CALL __acquire_messages(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
Dlocale_impl.cpp169 int __err_code; in insert_ctype_facets() local
170 _Locale_ctype *__lct = _STLP_PRIV __acquire_ctype(name, buf, hint, &__err_code); in insert_ctype_facets()
172 locale::_M_throw_on_creation_failure(__err_code, name, "ctype"); in insert_ctype_facets()
190 _Locale_ctype *__lwct = _STLP_PRIV __acquire_ctype(name, buf, hint, &__err_code); in insert_ctype_facets()
192 locale::_M_throw_on_creation_failure(__err_code, name, "ctype"); in insert_ctype_facets()
201 _Locale_codecvt *__lwcvt = _STLP_PRIV __acquire_codecvt(name, buf, hint, &__err_code); in insert_ctype_facets()
252 int __err_code; in insert_numeric_facets() local
253 _Locale_numeric *__lpunct = _STLP_PRIV __acquire_numeric(name, buf, hint, &__err_code); in insert_numeric_facets()
255 locale::_M_throw_on_creation_failure(__err_code, name, "numpunct"); in insert_numeric_facets()
266 _Locale_numeric *__lwpunct = _STLP_PRIV __acquire_numeric(name, buf, hint, &__err_code); in insert_numeric_facets()
[all …]
Dfacets_byname.cpp46 int __err_code; in ctype_byname() local
48 _M_ctype = _STLP_PRIV __acquire_ctype(name, buf, 0, &__err_code); in ctype_byname()
50 locale::_M_throw_on_creation_failure(__err_code, name, "ctype"); in ctype_byname()
117 int __err_code; in ctype_byname() local
119 _M_ctype = _STLP_PRIV __acquire_ctype(name, buf, 0, &__err_code); in ctype_byname()
121 locale::_M_throw_on_creation_failure(__err_code, name, "ctype"); in ctype_byname()
189 int __err_code; in collate_byname() local
191 _M_collate = _STLP_PRIV __acquire_collate(name, buf, 0, &__err_code); in collate_byname()
193 locale::_M_throw_on_creation_failure(__err_code, name, "collate"); in collate_byname()
236 int __err_code; in collate_byname() local
[all …]
Dc_locale.h152 struct _Locale_name_hint* __hint, int *__err_code);
154 struct _Locale_name_hint* __hint, int *__err_code);
156 struct _Locale_name_hint* __hint, int *__err_code);
158 struct _Locale_name_hint* __hint, int *__err_code);
160 struct _Locale_name_hint* __hint, int *__err_code);
162 struct _Locale_name_hint* __hint, int *__err_code);
Dlocale.cpp68 void _STLP_CALL locale::_M_throw_on_creation_failure(int __err_code, in _M_throw_on_creation_failure() argument
71 switch (__err_code) { in _M_throw_on_creation_failure()
196 int __err_code; in _Stl_loc_combine_names_aux() local
198 …) + _Locale_extract_ctype_name((c & locale::ctype) ? ctype_name : name, buf, 0, &__err_code) + ";"; in _Stl_loc_combine_names_aux()
199 …E=") + _Locale_extract_time_name((c & locale::time) ? time_name : name, buf, 0, &__err_code) + ";"; in _Stl_loc_combine_names_aux()
200 …ocale_extract_numeric_name((c & locale::numeric) ? numeric_name : name, buf, 0, &__err_code) + ";"; in _Stl_loc_combine_names_aux()
201 …ocale_extract_collate_name((c & locale::collate) ? collate_name : name, buf, 0, &__err_code) + ";"; in _Stl_loc_combine_names_aux()
202 …le_extract_monetary_name((c & locale::monetary) ? monetary_name : name, buf, 0, &__err_code) + ";"; in _Stl_loc_combine_names_aux()
203 … _Locale_extract_messages_name((c & locale::messages) ? messages_name : name, buf, 0, &__err_code); in _Stl_loc_combine_names_aux()
Dtime_facets.cpp510 int __err_code; in time_init() local
512 _Locale_time *__time = __acquire_time(__name, buf, 0, &__err_code); in time_init()
514 locale::_M_throw_on_creation_failure(__err_code, __name, "time"); in time_init()
535 int __err_code; in time_init() local
537 _Locale_time *__time = __acquire_time(__name, buf, 0, &__err_code); in time_init()
539 locale::_M_throw_on_creation_failure(__err_code, __name, "time"); in time_init()
Dmessages.cpp105 int __err_code; in _Messages() local
107 _M_message_obj = _STLP_PRIV __acquire_messages(name, buf, 0, &__err_code); in _Messages()
109 locale::_M_throw_on_creation_failure(__err_code, name, "messages"); in _Messages()
/external/stlport/src/c_locale_dummy/
Dc_locale_dummy.c78 void* _Locale_create(const char* name, int *__err_code) { in _Locale_create() argument
81 *__err_code = _STLP_LOC_NO_PLATFORM_SUPPORT; return 0; in _Locale_create()
85 struct _Locale_name_hint* hint, int *__err_code) in _Locale_ctype_create() argument
86 { return (struct _Locale_ctype*)_Locale_create(name, __err_code); } in _Locale_ctype_create()
89 struct _Locale_name_hint* hint, int *__err_code) in _Locale_codecvt_create() argument
90 { return (struct _Locale_codecvt*)_Locale_create(name, __err_code); } in _Locale_codecvt_create()
93 struct _Locale_name_hint* hint, int *__err_code) in _Locale_numeric_create() argument
94 { return (struct _Locale_numeric*)_Locale_create(name, __err_code); } in _Locale_numeric_create()
97 struct _Locale_name_hint* hint, int *__err_code) in _Locale_time_create() argument
98 { return (struct _Locale_time*)_Locale_create(name, __err_code); } in _Locale_time_create()
[all …]
/external/stlport/src/c_locale_win32/
Dc_locale_win32.c240 …ar const* __TranslateToSystem(const char* lname, char* buf, _Locale_lcid_t* hint, int *__err_code);
304 _Locale_ctype_t* _Locale_ctype_create(const char * name, _Locale_lcid_t* lc_hint, int *__err_code) { in _Locale_ctype_create() argument
316 if (!ltype) { *__err_code = _STLP_LOC_NO_MEMORY; return ltype; } in _Locale_ctype_create()
320 { free(ltype); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; } in _Locale_ctype_create()
348 if (!BufferSize) { free(ltype); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; } in _Locale_ctype_create()
350 if (!wbuffer) { free(ltype); *__err_code = _STLP_LOC_NO_MEMORY; return NULL; } in _Locale_ctype_create()
364 if (!BufferSize) { free(ltype); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; } in _Locale_ctype_create()
366 if (!wbuffer) { free(ltype); *__err_code = _STLP_LOC_NO_MEMORY; return NULL; } in _Locale_ctype_create()
369 { free(wbuffer); free(ltype); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; } in _Locale_ctype_create()
387 …le_numeric_t* _Locale_numeric_create(const char * name, _Locale_lcid_t* lc_hint, int *__err_code) { in _Locale_numeric_create() argument
[all …]
Dc_wlocale_win32.c61 …le_codecvt_t* _Locale_codecvt_create(const char * name, _Locale_lcid_t* lc_hint, int *__err_code) { in _Locale_codecvt_create() argument
69 if (!lcodecvt) { *__err_code = _STLP_LOC_NO_MEMORY; return lcodecvt; } in _Locale_codecvt_create()
73 { free(lcodecvt); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; } in _Locale_codecvt_create()
/external/stlport/src/c_locale_glibc/
Dc_locale_glibc2.c60 int *__err_code) { in _Locale_ctype_create() argument
61 *__err_code = _STLP_LOC_UNKNOWN_NAME; in _Locale_ctype_create()
66 int *__err_code) { in _Locale_codecvt_create() argument
70 *__err_code = _STLP_LOC_NO_PLATFORM_SUPPORT; return 0; in _Locale_codecvt_create()
74 int *__err_code) { in _Locale_numeric_create() argument
75 *__err_code = _STLP_LOC_UNKNOWN_NAME; in _Locale_numeric_create()
80 int *__err_code) { in _Locale_time_create() argument
81 *__err_code = _STLP_LOC_UNKNOWN_NAME; in _Locale_time_create()
86 int *__err_code) { in _Locale_collate_create() argument
87 *__err_code = _STLP_LOC_UNKNOWN_NAME; in _Locale_collate_create()
[all …]
/external/stlport/stlport/stl/
D_locale.h195 static void _STLP_FUNCTION_THROWS _STLP_CALL _M_throw_on_creation_failure(int __err_code,