Searched refs:ltime (Results 1 – 4 of 4) sorted by relevance
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
D | c_locale_win32.c | 272 _Locale_lcid_t* _Locale_get_time_hint(_Locale_time_t* ltime) in _Locale_get_time_hint() argument 273 { return (ltime != 0) ? <ime->lc : 0; } in _Locale_get_time_hint() 719 _Locale_time_t *ltime = (_Locale_time_t*)malloc(sizeof(_Locale_time_t)); in _Locale_time_create() local 721 if (!ltime) { *__err_code = _STLP_LOC_NO_MEMORY; return ltime; } in _Locale_time_create() 722 memset(ltime, 0, sizeof(_Locale_time_t)); in _Locale_time_create() 724 if (__GetLCIDFromName(name, <ime->lc.id, ltime->cp, lc_hint) == -1) in _Locale_time_create() 725 { free(ltime); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; } in _Locale_time_create() 728 if ( ltime->lc.id == INVARIANT_LCID && name[0] == 'C' && name[1] == 0 ) in _Locale_time_create() 729 { ltime->lc.id = 0x409; } in _Locale_time_create() 733 size = GetLocaleInfoA(ltime->lc.id, month, NULL, 0); in _Locale_time_create() [all …]
|
D | c_wlocale_win32.c | 292 const wchar_t * _WLocale_full_monthname(_Locale_time_t * ltime, int month, in _WLocale_full_monthname() argument 294 { GetLocaleInfoW(ltime->lc.id, LOCALE_SMONTHNAME1 + month, buf, (int)bufSize); return buf; } in _WLocale_full_monthname() 296 const wchar_t * _WLocale_abbrev_monthname(_Locale_time_t * ltime, int month, in _WLocale_abbrev_monthname() argument 298 { GetLocaleInfoW(ltime->lc.id, LOCALE_SABBREVMONTHNAME1 + month, buf, (int)bufSize); return buf; } in _WLocale_abbrev_monthname() 300 const wchar_t * _WLocale_full_dayofweek(_Locale_time_t * ltime, int day, in _WLocale_full_dayofweek() argument 302 { GetLocaleInfoW(ltime->lc.id, LOCALE_SDAYNAME1 + day, buf, (int)bufSize); return buf; } in _WLocale_full_dayofweek() 304 const wchar_t * _WLocale_abbrev_dayofweek(_Locale_time_t * ltime, int day, in _WLocale_abbrev_dayofweek() argument 306 { GetLocaleInfoW(ltime->lc.id, LOCALE_SABBREVDAYNAME1 + day, buf, (int)bufSize); return buf; } in _WLocale_abbrev_dayofweek() 308 const wchar_t* _WLocale_am_str(_Locale_time_t* ltime, in _WLocale_am_str() argument 310 { GetLocaleInfoW(ltime->lc.id, LOCALE_S1159, buf, (int)bufSize); return buf; } in _WLocale_am_str() [all …]
|
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/ |
D | c_locale_dummy.c | 132 char const* _Locale_time_name(const struct _Locale_time *ltime, char* buf) in _Locale_time_name() argument 147 void _Locale_time_destroy(struct _Locale_time *ltime) {} in _Locale_time_destroy() argument 420 const char * _Locale_full_monthname(struct _Locale_time * ltime, int n) in _Locale_full_monthname() argument 426 const char * _Locale_abbrev_monthname(struct _Locale_time * ltime, int n) in _Locale_abbrev_monthname() argument 431 const char * _Locale_full_dayofweek(struct _Locale_time * ltime, int n) in _Locale_full_dayofweek() argument 436 const char * _Locale_abbrev_dayofweek(struct _Locale_time * ltime, int n) in _Locale_abbrev_dayofweek() argument 439 const char* _Locale_d_t_fmt(struct _Locale_time* ltime) in _Locale_d_t_fmt() argument 441 const char* _Locale_d_fmt(struct _Locale_time* ltime) in _Locale_d_fmt() argument 443 const char* _Locale_t_fmt(struct _Locale_time* ltime) in _Locale_t_fmt() argument 445 const char* _Locale_long_d_t_fmt(struct _Locale_time* ltime) in _Locale_long_d_t_fmt() argument [all …]
|
/ndk/sources/host-tools/make-3.81/ |
D | remake.c | 1392 FILE_TIMESTAMP ltime; in name_mtime() local 1412 ltime = FILE_TIMESTAMP_STAT_MODTIME (lpath, st); in name_mtime() 1413 if (ltime > mtime) in name_mtime() 1414 mtime = ltime; in name_mtime()
|