STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros | Functions | Variables
search.h File Reference
#include <crtdefs.h>
#include <stddef.h>

Go to the source code of this file.

Macros

#define _INC_SEARCH
 
#define _CRT_ALGO_DEFINED
 

Functions

_Check_return_ _CRTIMP void *__cdecl bsearch_s (_In_ const void *_Key, _In_reads_bytes_(_NumOfElements *_SizeOfElements) const void *_Base, _In_ rsize_t _NumOfElements, _In_ rsize_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *), void *_Context)
 
_Check_return_ _CRTIMP void *__cdecl bsearch (_In_ const void *_Key, _In_reads_bytes_(_NumOfElements *_SizeOfElements) const void *_Base, _In_ size_t _NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))
 
_CRTIMP void __cdecl qsort_s (_Inout_updates_bytes_(_NumOfElements *_SizeOfElements) void *_Base, _In_ rsize_t _NumOfElements, _In_ rsize_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *), void *_Context)
 
_CRTIMP void __cdecl qsort (_Inout_updates_bytes_(_NumOfElements *_SizeOfElements) void *_Base, _In_ size_t _NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))
 
_Check_return_ _CRTIMP void *__cdecl _lfind_s (_In_ const void *_Key, _In_reads_bytes_((*_NumOfElements)*_SizeOfElements) const void *_Base, _Inout_ unsigned int *_NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *), void *_Context)
 
_Check_return_ _CRTIMP void *__cdecl _lfind (_In_ const void *_Key, _In_reads_bytes_((*_NumOfElements)*_SizeOfElements) const void *_Base, _Inout_ unsigned int *_NumOfElements, _In_ unsigned int _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))
 
_Check_return_ _CRTIMP void *__cdecl _lsearch_s (_In_ const void *_Key, _Inout_updates_bytes_((*_NumOfElements)*_SizeOfElements) void *_Base, _Inout_ unsigned int *_NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(void *, const void *, const void *), void *_Context)
 
_Check_return_ _CRTIMP void *__cdecl _lsearch (_In_ const void *_Key, _Inout_updates_bytes_((*_NumOfElements)*_SizeOfElements) void *_Base, _Inout_ unsigned int *_NumOfElements, _In_ unsigned int _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))
 
_Check_return_ _CRTIMP _CRT_NONSTDC_DEPRECATE (_lfind) void *__cdecl lfind(_In_ const void *_Key
 
_Check_return_ _CRTIMP _In_reads_bytes_ ((*_NumOfElements)*_SizeOfElements) const void *_Base
 
_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _In_ int (__cdecl *_PtFuncCompare)(const void *
 
_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _In_ const void *_Check_return_ _CRTIMP _CRT_NONSTDC_DEPRECATE (_lsearch) void *__cdecl lsearch(_In_ const void *_Key
 
_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _In_ const void *_Check_return_ _CRTIMP _Inout_updates_bytes_ ((*_NumOfElements)*_SizeOfElements) void *_Base
 

Variables

_Check_return_ _CRTIMP _Inout_ unsigned int_NumOfElements
 
_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _SizeOfElements
 

Macro Definition Documentation

#define _CRT_ALGO_DEFINED
#define _INC_SEARCH

Function Documentation

_Check_return_ _CRTIMP _CRT_NONSTDC_DEPRECATE ( _lfind  ) const
_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _In_ const void* _Check_return_ _CRTIMP _CRT_NONSTDC_DEPRECATE ( _lsearch  ) const
_Check_return_ _CRTIMP _In_reads_bytes_ ( *_NumOfElements _SizeOfElements) const
_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _In_ const void* _Check_return_ _CRTIMP _Inout_updates_bytes_ ( *_NumOfElements _SizeOfElements)
_Check_return_ _CRTIMP void* __cdecl _lfind ( _In_ const void _Key,
_In_reads_bytes_((*_NumOfElements)*_SizeOfElements) const void _Base,
_Inout_ unsigned int _NumOfElements,
_In_ unsigned int  _SizeOfElements,
_In_   int__cdecl *_PtFuncCompare)(const void *, const void * 
)
_Check_return_ _CRTIMP void* __cdecl _lfind_s ( _In_ const void _Key,
_In_reads_bytes_((*_NumOfElements)*_SizeOfElements) const void _Base,
_Inout_ unsigned int _NumOfElements,
_In_ size_t  _SizeOfElements,
_In_   int__cdecl *_PtFuncCompare)(void *, const void *, const void *,
void _Context 
)
_Check_return_ _CRTIMP void* __cdecl _lsearch ( _In_ const void _Key,
_Inout_updates_bytes_((*_NumOfElements)*_SizeOfElements) void _Base,
_Inout_ unsigned int _NumOfElements,
_In_ unsigned int  _SizeOfElements,
_In_   int__cdecl *_PtFuncCompare)(const void *, const void * 
)
_Check_return_ _CRTIMP void* __cdecl _lsearch_s ( _In_ const void _Key,
_Inout_updates_bytes_((*_NumOfElements)*_SizeOfElements) void _Base,
_Inout_ unsigned int _NumOfElements,
_In_ size_t  _SizeOfElements,
_In_   int__cdecl *_PtFuncCompare)(void *, const void *, const void *,
void _Context 
)
_Check_return_ _CRTIMP void* __cdecl bsearch ( _In_ const void _Key,
_In_reads_bytes_(_NumOfElements *_SizeOfElements) const void _Base,
_In_ size_t  _NumOfElements,
_In_ size_t  _SizeOfElements,
_In_   int__cdecl *_PtFuncCompare)(const void *, const void * 
)
_Check_return_ _CRTIMP void* __cdecl bsearch_s ( _In_ const void _Key,
_In_reads_bytes_(_NumOfElements *_SizeOfElements) const void _Base,
_In_ rsize_t  _NumOfElements,
_In_ rsize_t  _SizeOfElements,
_In_   int__cdecl *_PtFuncCompare)(void *, const void *, const void *,
void _Context 
)
_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _In_ int ( __cdecl *  _PtFuncCompare) const
_CRTIMP void __cdecl qsort ( _Inout_updates_bytes_(_NumOfElements *_SizeOfElements) void _Base,
_In_ size_t  _NumOfElements,
_In_ size_t  _SizeOfElements,
_In_   int__cdecl *_PtFuncCompare)(const void *, const void * 
)
_CRTIMP void __cdecl qsort_s ( _Inout_updates_bytes_(_NumOfElements *_SizeOfElements) void _Base,
_In_ rsize_t  _NumOfElements,
_In_ rsize_t  _SizeOfElements,
_In_   int__cdecl *_PtFuncCompare)(void *, const void *, const void *,
void _Context 
)

Variable Documentation

_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _In_ const void *_Check_return_ _CRTIMP _Inout_ unsigned int * _NumOfElements
_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _In_ const void *_Check_return_ _CRTIMP _Inout_ unsigned int _In_ unsigned int _SizeOfElements