|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <corecrt_internal.h>#include <corecrt_internal_simd.h>#include <stdlib.h>#include <string.h>

Go to the source code of this file.
Enumerations | |
| enum | strnlen_mode { bounded , unbounded } |
Functions | |
| template<strnlen_mode Mode> | |
| static __forceinline bool __cdecl | last_reached (void const *const it, void const *const last) throw () |
| template<> | |
| __forceinline bool __cdecl | last_reached< unbounded > (void const *const it, void const *const last) throw () |
| template<strnlen_mode Mode, typename Element > | |
| _Check_return_ | _When_ (maximum_count > _String_length_(string), _Post_satisfies_(return==_String_length_(string))) _When_(maximum_count< = _String_length_(string) |
| _Check_return_ | _Post_satisfies_ (return==maximum_count)) static __forceinline size_t __cdecl common_strnlen_c(Element const *const string |
| _Check_return_ size_t const maximum_count | throw () |
| size_t __cdecl | strnlen (char const *const string, size_t const maximum_count) |
| size_t __cdecl | wcsnlen (wchar_t const *const string, size_t const maximum_count) |
| size_t __cdecl | wcslen (wchar_t const *const string) |
| _Check_return_ _Post_satisfies_ | ( | return | = = maximum_count | ) | const |
| _Check_return_ _When_ | ( | maximum_count | , |
| _String_length_(string) | , | ||
| _Post_satisfies_(return==_String_length_(string)) | |||
| ) | = _String_length_(string) |
|
static | ||||||||||||||||||||
Definition at line 37 of file strnlen.cpp.
| __forceinline bool __cdecl last_reached< unbounded > | ( | void const *const | it, |
| void const *const | last | ||
| ) | |||
| throw | ( | ||
| ) | |||
Definition at line 46 of file strnlen.cpp.
Definition at line 206 of file strnlen.cpp.
Referenced by _mbslwr_s_l(), _mbsnlen_l(), _mbsupr_s_l(), _strlwr_s_l_stat(), _strupr_s_l_stat(), _tzset(), BmfdQueryFont(), BmfdQueryFontFile(), FtfdQueryFont(), if(), KdbPrompt(), KdbPuts(), streamout(), and __crt_stdio_output::output_processor< Character, OutputAdapter, ProcessorBase >::type_case_s_compute_narrow_string_length().
| _Check_return_ size_t const maximum_count throw | ( | ) |
Definition at line 67 of file strnlen.cpp.
Definition at line 224 of file strnlen.cpp.
Definition at line 214 of file strnlen.cpp.
Referenced by __acrt_CompareStringW(), __acrt_copy_locale_name(), __acrt_DownlevelLCIDToLocaleName(), __acrt_LCMapStringW(), _Success_(), _wcslwr_s_l_stat(), _wcsupr_s_l_stat(), EfiInitpCreateApplicationEntry(), PathCchAddExtension(), PathCchRemoveBackslashEx(), SetCurrentConsoleFontEx(), streamout(), and __crt_stdio_output::output_processor< Character, OutputAdapter, ProcessorBase >::type_case_s().