Home
last modified time | relevance | path

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

/reactos/sdk/lib/ucrt/locale/
H A Dinittime.cpp86 if (!lc_time) in get_or_create_lc_time()
97 lc_time.get()->refcount = 1; in get_or_create_lc_time()
99 return lc_time.detach(); in get_or_create_lc_time()
109 if (!lc_time) in __acrt_locale_initialize_time()
151 if (!lc_time) in __acrt_locale_free_time()
157 free_crt_array(lc_time->wday); in __acrt_locale_free_time()
159 free_crt_array(lc_time->month); in __acrt_locale_free_time()
160 free_crt_array(lc_time->ampm); in __acrt_locale_free_time()
162 _free_crt(lc_time->ww_sdatefmt); in __acrt_locale_free_time()
163 _free_crt(lc_time->ww_ldatefmt); in __acrt_locale_free_time()
[all …]
H A Dlocale_refcounting.cpp315 __crt_lc_time_data const* const lc_time in __acrt_locale_add_lc_time_reference() argument
318 if (lc_time == nullptr || lc_time == &__lc_time_c) in __acrt_locale_add_lc_time_reference()
323 return _InterlockedIncrement(&const_cast<__crt_lc_time_data*>(lc_time)->refcount); in __acrt_locale_add_lc_time_reference()
327 __crt_lc_time_data const* const lc_time in __acrt_locale_release_lc_time_reference() argument
330 if (lc_time == nullptr || lc_time == &__lc_time_c) in __acrt_locale_release_lc_time_reference()
335 return _InterlockedDecrement(&const_cast<__crt_lc_time_data*>(lc_time)->refcount); in __acrt_locale_release_lc_time_reference()
339 __crt_lc_time_data const* const lc_time in __acrt_locale_free_lc_time_if_unreferenced() argument
342 if (lc_time == nullptr || lc_time == &__lc_time_c) in __acrt_locale_free_lc_time_if_unreferenced()
347 if (__crt_interlocked_read(&lc_time->refcount) != 0) in __acrt_locale_free_lc_time_if_unreferenced()
352 __acrt_locale_free_time(const_cast<__crt_lc_time_data*>(lc_time)); in __acrt_locale_free_lc_time_if_unreferenced()
[all …]
/reactos/sdk/lib/ucrt/time/
H A Dwcsftime.cpp413 format = lc_time->_W_ww_sdatefmt; in _Success_()
417 format = lc_time->_W_ww_ldatefmt; in _Success_()
422 format = lc_time->_W_ww_timefmt; in _Success_()
426 if (lc_time->ww_caltype != 1) in _Success_()
584 ? lc_time->_W_ampm[0] in _Success_()
585 : lc_time->_W_ampm[1]; in _Success_()
663 __crt_lc_time_data const* const lc_time, in expand_time() argument
704 if (lc_time == &__lc_time_c && !alternate_form) in expand_time()
841 ? lc_time->_W_ampm[0] in expand_time()
842 : lc_time->_W_ampm[1]; in expand_time()
[all …]
/reactos/sdk/lib/ucrt/inc/
H A Dcorecrt_internal.h663 _In_opt_ __crt_lc_time_data const* lc_time
667 _In_opt_ __crt_lc_time_data const* lc_time
671 _In_opt_ __crt_lc_time_data const* lc_time