Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/stlport/src/c_locale_win32/
Dc_locale_win32.c202 char *dayofweek[7]; member
714 int size, month, dayofweek; in _Locale_time_create() local
748 for (dayofweek = LOCALE_SDAYNAME1; dayofweek <= LOCALE_SDAYNAME7; ++dayofweek) { in _Locale_time_create()
749 int dayindex = ( dayofweek != LOCALE_SDAYNAME7 ) ? dayofweek - LOCALE_SDAYNAME1 + 1 : 0; in _Locale_time_create()
750 size = GetLocaleInfoA(ltime->lc.id, dayofweek, NULL, 0); in _Locale_time_create()
751 ltime->dayofweek[dayindex] = (char*)malloc(size); in _Locale_time_create()
752 if (!ltime->dayofweek[dayindex]) in _Locale_time_create()
754 …__GetLocaleInfoUsingACP(ltime->lc.id, ltime->cp, dayofweek, ltime->dayofweek[dayindex], size, wbuf… in _Locale_time_create()
757 for (dayofweek = LOCALE_SABBREVDAYNAME1; dayofweek <= LOCALE_SABBREVDAYNAME7; ++dayofweek) { in _Locale_time_create()
758 …int dayindex = ( dayofweek != LOCALE_SABBREVDAYNAME7 ) ? dayofweek - LOCALE_SABBREVDAYNAME1 + 1 : … in _Locale_time_create()
[all …]