28 #define _CONST_RETURN const
29 #define _CRT_CONST_CORRECT_OVERLOADS
36 #define _WConst_return _CONST_RETURN
39 #ifndef _CRT_MEMORY_DEFINED
40 #define _CRT_MEMORY_DEFINED
50 #if __STDC_WANT_SECURE_LIB__
52 #if defined (__cplusplus) && _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY
55 #ifndef _CRT_ENABLE_IF_DEFINED
56 #define _CRT_ENABLE_IF_DEFINED
57 template<
bool _Enable,
typename _Ty>
60 template<
typename _Ty>
61 struct _CrtEnableIf<
true, _Ty>
66 template <
size_t _Size,
typename _DstType>
70 return memcpy_s(_Dst, _Size *
sizeof(_DstType), _Src, _SrcSize) == 0 ? _Dst : 0;
74 #if defined (__cplusplus) && _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY
77 template <
size_t _Size,
typename _DstType>
81 return memcpy_s(_Dst, _Size *
sizeof(_DstType), _Src, _SrcSize);
99 #ifndef _CPP_MEMCHR_DEFINED
100 #define _CPP_MEMCHR_DEFINED
102 {
return (
void*)
memchr((
const void*)_Pv, _C, _N); }
_Iter_
Definition: memory.h:48
_CRTIMP void *__cdecl _memccpy(_Out_writes_bytes_opt_(_MaxCount) void *_Dst, _In_ const void *_Src, _In_ int _Val, _In_ size_t _MaxCount)
_Post_satisfies_(((unsigned char *) _Dst)[_Iter_]==((unsigned char *) _Src)[_Iter_])) void *__cdecl memcpy(_Out_writes_bytes_all_(_Size) void *_Dst
#define _CRTIMP
Definition: crtdefs.h:23
_In_reads_bytes_(_Size) const void *_Src
_N
Definition: wchar.h:1269
_Check_return_ _CRTIMP int __cdecl _memicmp_l(_In_reads_bytes_opt_(_Size) const void *_Buf1, _In_reads_bytes_opt_(_Size) const void *_Buf2, _In_ size_t _Size, _In_opt_ _locale_t _Locale)
#define _CRT_SECURE_CPP_NOTHROW
Definition: crtdefs.h:475
#define _Out_writes_bytes_all_(size)
Definition: sal.h:368
#define _Out_writes_bytes_opt_(size)
Definition: sal.h:357
_Check_return_ _CRTIMP int __cdecl _memicmp(_In_reads_bytes_opt_(_Size) const void *_Buf1, _In_reads_bytes_opt_(_Size) const void *_Buf2, _In_ size_t _Size)
_Post_equal_to_(_Dst) _At_buffer_((unsigned char *) _Dst
#define _Check_return_
Definition: sal.h:563
_In_ size_t _In_z_ const unsigned char * _Src
Definition: mbstring.h:95
#define _In_
Definition: sal.h:314
_CRTIMP errno_t __cdecl memcpy_s(_Out_writes_bytes_to_opt_(_DstSize, _MaxCount) void *_Dst, _In_ rsize_t _DstSize, _In_reads_bytes_opt_(_MaxCount) const void *_Src, _In_ rsize_t _MaxCount)
_Check_return_ _In_z_ const char * _Locale
Definition: locale.h:117
#define _In_opt_
Definition: sal.h:315
_CRT_NONSTDC_DEPRECATE(_memccpy) _CRTIMP void *__cdecl memccpy(_Out_writes_bytes_opt_(_Size) void *_Dst
_Check_return_ _CRTIMP _CONST_RETURN void *__cdecl memchr(_In_reads_bytes_opt_(_MaxCount) const void *_Buf, _In_ int _Val, _In_ size_t _MaxCount)
_In_reads_bytes_opt_(_Size) const void *_Src
_In_ wchar_t _C
Definition: wchar.h:1295
_In_ wctype_t _Type
Definition: ctype.h:205
int errno_t
Definition: crtdefs.h:563
#define __CRTDECL
Definition: crtdefs.h:622
size_t rsize_t
Definition: crtdefs.h:503
_Size
Definition: memory.h:48
#define _At_buffer_(target, iter, bound, annos)
Definition: sal.h:256
_In_ int _Val
Definition: memory.h:88
#define _CONST_RETURN
Definition: crtdefs.h:590
_In_z_ const unsigned char _In_ size_t _MaxCount
Definition: mbstring.h:154
#define _Out_writes_bytes_to_opt_(size, count)
Definition: sal.h:367
#define true
Definition: stdbool.h:12
_Check_return_ int __cdecl memcmp(_In_reads_bytes_(_Size) const void *_Buf1, _In_reads_bytes_(_Size) const void *_Buf2, _In_ size_t _Size)
Definition: crtdefs.h:2078
#define _CRT_INSECURE_DEPRECATE_MEMORY(_Replacement)
Definition: crtdefs.h:299