OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:lcodecvt
(Results
1 - 2
of
2
) sorted by null
/external/stlport/src/c_locale_win32/
c_wlocale_win32.c
67
_Locale_codecvt_t *
lcodecvt
= (_Locale_codecvt_t*)malloc(sizeof(_Locale_codecvt_t));
local
69
if (!
lcodecvt
) { *__err_code = _STLP_LOC_NO_MEMORY; return
lcodecvt
; }
70
memset(
lcodecvt
, 0, sizeof(_Locale_codecvt_t));
72
if (__GetLCIDFromName(name, &
lcodecvt
->lc.id, cp_name, lc_hint) == -1)
73
{ free(
lcodecvt
); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; }
75
lcodecvt
->cp = atoi(cp_name);
76
if (!GetCPInfo(
lcodecvt
->cp, &CPInfo)) { free(
lcodecvt
); return NULL; }
78
if (
lcodecvt
->cp != CP_UTF7 && lcodecvt->cp != CP_UTF8) {
[
all
...]
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/
c_wlocale_win32.c
67
_Locale_codecvt_t *
lcodecvt
= (_Locale_codecvt_t*)malloc(sizeof(_Locale_codecvt_t));
local
69
if (!
lcodecvt
) { *__err_code = _STLP_LOC_NO_MEMORY; return
lcodecvt
; }
70
memset(
lcodecvt
, 0, sizeof(_Locale_codecvt_t));
72
if (__GetLCIDFromName(name, &
lcodecvt
->lc.id, cp_name, lc_hint) == -1)
73
{ free(
lcodecvt
); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; }
75
lcodecvt
->cp = atoi(cp_name);
76
if (!GetCPInfo(
lcodecvt
->cp, &CPInfo)) { free(
lcodecvt
); return NULL; }
78
if (
lcodecvt
->cp != CP_UTF7 && lcodecvt->cp != CP_UTF8) {
[
all
...]
Completed in 58 milliseconds