/external/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 …]
|
/external/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 …]
|
/external/openssh/ |
D | sftp-common.c | 193 struct tm *ltime = localtime(&st->st_mtime); in ls_file() local 211 if (ltime != NULL) { in ls_file() 213 sz = strftime(tbuf, sizeof tbuf, "%b %e %H:%M", ltime); in ls_file() 215 sz = strftime(tbuf, sizeof tbuf, "%b %e %Y", ltime); in ls_file()
|
/external/ipsec-tools/src/libipsec/ |
D | pfkey.c | 908 pfkey_send_spdadd2(so, src, prefs, dst, prefd, proto, ltime, vtime, in pfkey_send_spdadd2() argument 913 u_int64_t ltime, vtime; 922 ltime, vtime, 962 pfkey_send_spdupdate2(so, src, prefs, dst, prefd, proto, ltime, vtime, in pfkey_send_spdupdate2() argument 967 u_int64_t ltime, vtime; 976 ltime, vtime, 1639 ltime, vtime, policy, policylen, seq) in pfkey_send_x4() argument 1643 u_int64_t ltime, vtime; 1712 0, 0, (u_int)ltime, (u_int)vtime);
|
/external/ipsec-tools/src/racoon/ |
D | pfkey.c | 2182 u_int64_t ltime, vtime; local 2184 ltime = iph2->approval->lifetime; 2200 ltime, vtime, 2304 u_int64_t ltime, vtime; local 2306 ltime = iph2->approval->lifetime; 2322 ltime, vtime,
|
/external/icu4c/tools/dumpce/ |
D | dumpce.cpp | 1405 time_t ltime; in outputHTMLHeader() local 1406 time( <ime ); in outputHTMLHeader() 1407 fprintf(OUTPUT_, "<tr><th>Date Generated</th><td class='noborder'>%s</td></tr>", ctime(<ime)); in outputHTMLHeader()
|
/external/chromium_org/third_party/icu/source/tools/dumpce/ |
D | dumpce.cpp | 1406 time_t ltime; in outputHTMLHeader() local 1407 time( <ime ); in outputHTMLHeader() 1408 fprintf(OUTPUT_, "<tr><th>Date Generated</th><td class='noborder'>%s</td></tr>", ctime(<ime)); in outputHTMLHeader()
|