Home
last modified time | relevance | path

Searched refs:lcol (Results 1 – 3 of 3) sorted by relevance

/ndk/sources/cxx-stl/stlport/src/c_locale_win32/
Dc_locale_win32.c812 _Locale_collate_t *lcol = (_Locale_collate_t*)malloc(sizeof(_Locale_collate_t)); in _Locale_collate_create() local
813 if (!lcol) { *__err_code = _STLP_LOC_NO_MEMORY; return lcol; } in _Locale_collate_create()
814 memset(lcol, 0, sizeof(_Locale_collate_t)); in _Locale_collate_create()
816 if (__GetLCIDFromName(name, &lcol->lc.id, lcol->cp, lc_hint) == -1) in _Locale_collate_create()
817 { free(lcol); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; } in _Locale_collate_create()
820 if ( lcol->lc.id == INVARIANT_LCID && name[0] == 'C' && name[1] == 0 ) in _Locale_collate_create()
821 { lcol->lc.id = 0x409; } in _Locale_collate_create()
824 return lcol; in _Locale_collate_create()
924 char const* _Locale_collate_name(const _Locale_collate_t* lcol, char* buf) in _Locale_collate_name() argument
925 { return __GetLocaleName(lcol->lc.id, lcol->cp, buf); } in _Locale_collate_name()
[all …]
Dc_wlocale_win32.c197 static int _WLocale_strcmp_aux(_Locale_collate_t* lcol, in _WLocale_strcmp_aux() argument
204 result = CompareStringW(lcol->lc.id, 0, s1, size1, s2, size2); in _WLocale_strcmp_aux()
213 int _WLocale_strcmp(_Locale_collate_t* lcol, in _WLocale_strcmp() argument
217 result = _WLocale_strcmp_aux(lcol, s1, n1, s2, n2); in _WLocale_strcmp()
221 size_t _WLocale_strxfrm(_Locale_collate_t* lcol, in _WLocale_strxfrm() argument
236 result = LCMapStringW(lcol->lc.id, LCMAP_SORTKEY, src, (int)src_size, dst, (int)dst_size); in _WLocale_strxfrm()
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/
Dc_locale_dummy.c135 char const* _Locale_collate_name(const struct _Locale_collate *lcol, char* buf) in _Locale_collate_name() argument
148 void _Locale_collate_destroy(struct _Locale_collate *lcol) {} in _Locale_collate_destroy() argument
271 int _Locale_strcmp(struct _Locale_collate* lcol, in _Locale_strcmp() argument
291 int _WLocale_strcmp(struct _Locale_collate* lcol, in _WLocale_strcmp() argument
311 size_t _Locale_strxfrm(struct _Locale_collate* lcol, in _Locale_strxfrm() argument
322 size_t _WLocale_strxfrm(struct _Locale_collate* lcol, in _WLocale_strxfrm() argument