A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/group__CToolsBridge.html below:

NCBI C++ ToolKit: C/C++ Toolkit Bridge

#define  E_NoMemory   1   #define  E_Programmer   999   #define  MSG_OK   SEV_ERROR   #define  ErrPostStr   ErrPostEx   #define  ErrSetLog   SetLogFile   #define  ErrPostEx(sev, err_code, ...)   #define  Nlm_Message(key, ...)   ErrPostEx((ErrSev)key, 0, __VA_ARGS__)   #define  BEGIN_CTRANSITION_SCOPE   BEGIN_SCOPE(CTRANSITION_NS)   #define  END_CTRANSITION_SCOPE   END_SCOPE(CTRANSITION_NS)   #define  USING_CTRANSITION_SCOPE   USING_SCOPE(CTRANSITION_NS)   #define  OS_UNIX   #define  OS_MSWIN   #define  COMP_GNU   #define  PROTO(x)   x   #define  VPROTO(x)   x   #define  INLINE   inline   #define  Nlm_Malloc   malloc   #define  Nlm_Calloc   calloc   #define  Nlm_Realloc   realloc   #define  Nlm_Free   free   #define  Nlm_MemSet   memset   #define  Nlm_MemCpy   memcpy   #define  Nlm_MemChr   memchr   #define  Nlm_MemCmp   memcmp   #define  Malloc   Nlm_Malloc   #define  Calloc   Nlm_Calloc   #define  Realloc   Nlm_Realloc   #define  Free   Nlm_Free   #define  MemSet   Nlm_MemSet   #define  MemCpy   Nlm_MemCpy   #define  MemChr   Nlm_MemChr   #define  MemCmp   Nlm_MemCmp   #define  MemSearch   Nlm_MemSearch   #define  Nlm_HandNew(a)   Nlm_MemNew(a)   #define  Nlm_HandGet(a, b)   Nlm_MemGet(a,b)   #define  Nlm_HandMore(a, b)   Nlm_MemMore(a,b)   #define  Nlm_HandFree(a)   Nlm_MemFree(a)   #define  Nlm_HandLock(a)   (a)   #define  Nlm_HandUnlock(a)   NULL   #define  MemNew(x)   Nlm_MemGet(x,MGET_CLEAR|MGET_ERRPOST)   #define  MemGet(x, y)   Nlm_MemGet(x,(unsigned int)(y))   #define  MemFree   Nlm_MemFree   #define  MemMore   Nlm_MemMore   #define  MemExtend   Nlm_MemExtend   #define  MemCopy   Nlm_MemCopy   #define  MemMove   Nlm_MemMove   #define  MemFill   Nlm_MemFill   #define  MemDup   Nlm_MemDup   #define  HandNew   Nlm_HandNew   #define  HandGet   Nlm_HandGet   #define  HandMore   Nlm_HandMore   #define  HandFree   Nlm_HandFree   #define  HandLock   Nlm_HandLock   #define  HandUnlock   Nlm_HandUnlock   #define  dll_Malloc(x)   (void*) Nlm_Malloc(x)   #define  dll_Free(x)   Nlm_Free((void*) (x))   #define  MGET_CLEAR   0x0001   #define  MGET_ERRPOST   0x0004   #define  MG_CLEAR   MGET_CLEAR   #define  MG_MAXALLOC   0x0002   #define  MG_ERRPOST   MGET_ERRPOST   #define  Nlm_Int8   Nlm_Int4   #define  Nlm_Int8Ptr   Nlm_Int4Ptr   #define  Nlm_Uint8   Nlm_Uint4   #define  Nlm_Uint8Ptr   Nlm_Uint4Ptr   #define  INT8_MIN   INT4_MIN   #define  INT8_MAX   INT4_MAX   #define  UINT8_MAX   UINT4_MAX   #define  Int8   Nlm_Int8   #define  Uint8   Nlm_Uint8   #define  Int8Ptr   Nlm_Int8Ptr   #define  Uint8Ptr   Nlm_Uint8Ptr   #define  LITTLE_ENDIAN   1234   #define  BIG_ENDIAN   4321   #define  OTHER_ENDIAN   0   #define  BYTE_ORDER   OTHER_ENDIAN   #define  INLINE   #define  PNTR   *   #define  HNDL   *   #define  FnPtr   Nlm_FnPtr   #define  VoidPtr   Nlm_VoidPtr   #define  Pointer   Nlm_VoidPtr   #define  Handle   Nlm_Handle   #define  Char   Nlm_Char   #define  CharPtr   Nlm_CharPtr   #define  Uchar   Nlm_Uchar   #define  UcharPtr   Nlm_UcharPtr   #define  Boolean   Nlm_Boolean   #define  BoolPtr   Nlm_BoolPtr   #define  Byte   Nlm_Byte   #define  BytePtr   Nlm_BytePtr   #define  BYTE_MAX   UCHAR_MAX   #define  Int1   Nlm_Int1   #define  Int1Ptr   Nlm_Int1Ptr   #define  INT1_MIN   SCHAR_MIN   #define  INT1_MAX   SCHAR_MAX   #define  Uint1   Nlm_Uint1   #define  Uint1Ptr   Nlm_Uint1Ptr   #define  UINT1_MAX   UCHAR_MAX   #define  Int2   Nlm_Int2   #define  Int2Ptr   Nlm_Int2Ptr   #define  INT2_MIN   SHRT_MIN   #define  INT2_MAX   SHRT_MAX   #define  Uint2   Nlm_Uint2   #define  Uint2Ptr   Nlm_Uint2Ptr   #define  UINT2_MAX   USHRT_MAX   #define  Int4   Nlm_Int4   #define  Int4Ptr   Nlm_Int4Ptr   #define  INT4_MIN   (-2147483647-1)   #define  INT4_MAX   2147483647   #define  Uint4   Nlm_Uint4   #define  Uint4Ptr   Nlm_Uint4Ptr   #define  UINT4_MAX   4294967295U   #define  TIME_MAX   ULONG_MAX   #define  FloatLo   Nlm_FloatLo   #define  FloatLoPtr   Nlm_FloatLoPtr   #define  FloatHi   Nlm_FloatHi   #define  FloatHiPtr   Nlm_FloatHiPtr   #define  BigScalar   long   #define  SIZE_MAX   MAXALLOC   #define  PATH_MAX   FILENAME_MAX   #define  NULL   ((void *)0)   #define  NULLB   '\0'   #define  TRUE   ((Nlm_Boolean)1)   #define  FALSE   ((Nlm_Boolean)0)   #define  MIN(a, b)   ((a)>(b)?(b):(a))   #define  MAX(a, b)   ((a)>=(b)?(a):(b))   #define  ABS(a)   ((a)>=0?(a):-(a))   #define  SIGN(a)   ((a)>0?1:((a)<0?-1:0))   #define  ROUNDUP(A, B)   (((A)%(B)) != 0 ? (A)+(B)-((A)%(B)) : (A))   #define  DIM(A)   (sizeof(A)/sizeof((A)[0]))   #define  LN2   (0.693147180559945)   #define  LN10   (2.302585092994046)   #define  NEAR   #define  FAR   #define  CDECL   #define  PASCAL   #define  EXPORT   #define  NLM_EXTERN   #define  LIBCALL   FAR PASCAL   #define  LIBCALLBACK   FAR PASCAL   #define  StringPrintable   Nlm_StringPrintable   #define  text2stream   Nlm_text2stream   #define  stream2text   Nlm_stream2text   #define  enumRuleLine   Nlm_enumRuleLine   #define  rule_line   Nlm_rule_line   #define  Nlm_StrLen   strlen   #define  Nlm_StrCpy   strcpy   #define  Nlm_StrNCpy   strncpy   #define  Nlm_StrCat   strcat   #define  Nlm_StrNCat   strncat   #define  Nlm_StrCmp   strcmp   #define  Nlm_StrNCmp   strncmp   #define  Nlm_StrChr   strchr   #define  Nlm_StrRChr   strrchr   #define  Nlm_StrCSpn   strcspn   #define  Nlm_StrNSet   strnset   #define  Nlm_StrPBrk   strpbrk   #define  Nlm_StrSet   strset   #define  Nlm_StrSpn   strspn   #define  Nlm_StrStr   strstr   #define  Nlm_StrTok   strtok   #define  StrLen   Nlm_StrLen   #define  StrCpy   Nlm_StrCpy   #define  StrNCpy   Nlm_StrNCpy   #define  StrCat   Nlm_StrCat   #define  StrNCat   Nlm_StrNCat   #define  StrCmp   Nlm_StrCmp   #define  StrNCmp   Nlm_StrNCmp   #define  StrICmp   Nlm_StrICmp   #define  StrNICmp   Nlm_StrNICmp   #define  StrIPCmp   Nlm_StrIPCmp   #define  StrNIPCmp   Nlm_StrNIPCmp   #define  StrChr   Nlm_StrChr   #define  StrRChr   Nlm_StrRChr   #define  StrCSpn   Nlm_StrCSpn   #define  StrNSet   Nlm_StrNSet   #define  StrPBrk   Nlm_StrPBrk   #define  StrSet   Nlm_StrSet   #define  StrSpn   Nlm_StrSpn   #define  StrStr   Nlm_StrStr   #define  StrTok   Nlm_StrTok   #define  StrMove   Nlm_StrMove   #define  StrSave   Nlm_StrSave   #define  StrCnt   Nlm_StrCnt   #define  StrUpper   Nlm_StrUpper   #define  StrLower   Nlm_StrLower   #define  StringLen   Nlm_StringLen   #define  StringCpy   Nlm_StringCpy   #define  StringNCpy   Nlm_StringNCpy   #define  StringNCpy_0   Nlm_StringNCpy_0   #define  StringCat   Nlm_StringCat   #define  StringNCat   Nlm_StringNCat   #define  StringCmp   Nlm_StringCmp   #define  StringNCmp   Nlm_StringNCmp   #define  StringICmp   Nlm_StringICmp   #define  StringNICmp   Nlm_StringNICmp   #define  StringChr   Nlm_StringChr   #define  StringRChr   Nlm_StringRChr   #define  StringPBrk   Nlm_StringPBrk   #define  StringSpn   Nlm_StringSpn   #define  StringCSpn   Nlm_StringCSpn   #define  StringStr   Nlm_StringStr   #define  StringTok   Nlm_StringTok   #define  StringTokMT   Nlm_StringTokMT   #define  StringMove   Nlm_StringMove   #define  StringSave   Nlm_StringSave   #define  StringSaveNoNull   Nlm_StringSaveNoNull   #define  StringCnt   Nlm_StringCnt   #define  StringUpper   Nlm_StringUpper   #define  StringLower   Nlm_StringLower   #define  NaturalStringCmp   Nlm_NaturalStringCmp   #define  NaturalStringICmp   Nlm_NaturalStringICmp   #define  MeshStringICmp   Nlm_MeshStringICmp   #define  StringSearch   Nlm_StringSearch   #define  StringISearch   Nlm_StringISearch   #define  StringHasNoText   Nlm_StringHasNoText   #define  StringDoesHaveText   Nlm_StringDoesHaveText   #define  TrimSpacesAroundString   Nlm_TrimSpacesAroundString   #define  CompressSpaces   Nlm_CompressSpaces   #define  LabelCopy   Nlm_LabelCopy   #define  LabelCopyExtra   Nlm_LabelCopyExtra   #define  StringIsAllDigits   Nlm_StringIsAllDigits   #define  StringIsAllUpperCase   Nlm_StringIsAllUpperCase   #define  StringIsAllLowerCase   Nlm_StringIsAllLowerCase   #define  StringIsAllPunctuation   Nlm_StringIsAllPunctuation   #define  SubStringData   Nlm_SubStringData   #define  SubStringDataPtr   Nlm_SubStringDataPtr   #define  SetupSubString   Nlm_SetupSubString   #define  SearchSubString   Nlm_SearchSubString   #define  IS_DIGIT(c)   ('0'<=(c) && (c)<='9')   #define  IS_UPPER(c)   ('A'<=(c) && (c)<='Z')   #define  IS_LOWER(c)   ('a'<=(c) && (c)<='z')   #define  IS_ALPHA(c)   (IS_UPPER(c) || IS_LOWER(c))   #define  TO_LOWER(c)   ((Nlm_Char)(IS_UPPER(c) ? (c)+' ' : (c)))   #define  TO_UPPER(c)   ((Nlm_Char)(IS_LOWER(c) ? (c)-' ' : (c)))   #define  IS_WHITESP(c)   (((c) == ' ') || ((c) == '\n') || ((c) == '\r') || ((c) == '\t'))   #define  IS_ALPHANUM(c)   (IS_ALPHA(c) || IS_DIGIT(c))   #define  IS_PRINT(c)   (' '<=(c) && (c)<='~')   #define  FCI_READ(_fci, _buf, _len)   _fci->proc_buf(_fci->data,_buf,_len)   #define  FCI_CLOSE(_fci, _commit)   { _fci->close(_fci->data,_commit); MemFree(_fci); }   enum   ErrSev {
  SEV_NONE =0 , SEV_INFO , SEV_WARNING , SEV_ERROR ,
  SEV_REJECT , SEV_FATAL , SEV_MAX , SEV_NONE = 0 ,
  SEV_INFO , SEV_WARNING , SEV_ERROR , SEV_REJECT ,
  SEV_FATAL , SEV_MAX
}   enum   EMemMapAdvise {
  eMMA_Normal , eMMA_Random , eMMA_Sequential , eMMA_WillNeed ,
  eMMA_DontNeed
}   enum   Nlm_enumRuleLine { RL_Left , RL_Right , RL_Center , RL_Spread }   enum   Nlmzip_rc_t {
  NLMZIP_OKAY = 0 , NLMZIP_INVALIDPARAM = 1 , NLMZIP_BADCRC = 2 , NLMZIP_OUTSMALL = 3 ,
  NLMZIP_NOMEMORY = 4
}   void  SetupCToolkitErrPost (void)   EDiagSev  CTOOLS_CToCxxSeverity (int c_severity)   int  CTOOLS_CxxToCSeverity (EDiagSev cxx_severity)   NCBI_NS_NCBI::Severity  ctransition_ErrSeverity (ErrSev sev)   std::string  ctransition_ErrMessage (const char *format,...)   BEGIN_CTRANSITION_SCOPE NLM_EXTERN void *LIBCALL  Nlm_MemNew (size_t size)   NLM_EXTERN void *LIBCALL  Nlm_MemGet (size_t size, unsigned int flags)   NLM_EXTERN void *LIBCALL  Nlm_MemMore (void *ptr, size_t size)   NLM_EXTERN void *LIBCALL  Nlm_MemExtend (void *ptr, size_t size, size_t oldsize)   NLM_EXTERN void *LIBCALL  Nlm_MemFree (void *ptr)   NLM_EXTERN void *LIBCALL  Nlm_MemCopy (void *dst, const void *src, size_t bytes)   NLM_EXTERN void *LIBCALL  Nlm_MemMove (void *dst, const void *src, size_t bytes)   NLM_EXTERN void *LIBCALL  Nlm_MemFill (void *ptr, int value, size_t bytes)   NLM_EXTERN void *LIBCALL  Nlm_MemDup (const void *orig, size_t size)   NLM_EXTERN size_t LIBCALL  Nlm_MemSearch (const void *where, size_t where_size, const void *what, size_t what_size)   NLM_EXTERN Nlm_Boolean  Nlm_SetHeapLimit (size_t curr, size_t add, size_t max)   NLM_EXTERN void *  Nlm_CallocViaMalloc (size_t n_elem, size_t item_size)   NLM_EXTERN Nlm_Boolean  Nlm_MemMapAvailable (void)   NLM_EXTERN Nlm_MemMapPtr  Nlm_MemMapInit (const Nlm_Char PNTR name)   NLM_EXTERN void  Nlm_MemMapFini (Nlm_MemMapPtr mem_mapp)   Nlm_Boolean  Nlm_MemMapAdvise (void *addr, size_t len, EMemMapAdvise advise)   Nlm_Boolean  Nlm_MemMapAdvisePtr (Nlm_MemMapPtr ptr, EMemMapAdvise advise)   BEGIN_CTRANSITION_SCOPE NLM_EXTERN int LIBCALL Nlm_StrICmp  PROTO ((const char FAR *a, const char FAR *b))   NLM_EXTERN int LIBCALL Nlm_StrNICmp  PROTO ((const char FAR *a, const char FAR *b, size_t max))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StrMove  PROTO ((char FAR *to, const char FAR *from))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StrSave  PROTO ((const char FAR *from))   NLM_EXTERN size_t LIBCALL Nlm_StrCnt  PROTO ((const char FAR *str, const char FAR *x_list))   NLM_EXTERN size_t LIBCALL Nlm_StringLen  PROTO ((const char *str))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StringNCpy  PROTO ((char FAR *to, const char FAR *from, size_t max))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StringChr  PROTO ((const char FAR *str, int chr))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StringPBrk  PROTO ((const char FAR *str1, const char FAR *str2))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StringTok  PROTO ((char FAR *str1, const char FAR *str2))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StringTokMT  PROTO ((char FAR *str1, const char FAR *str2, char FAR **tmp))   NLM_EXTERN char *LIBCALL Nlm_StringUpper  PROTO ((char *string))   NLM_EXTERN int LIBCALL Nlm_NaturalStringCmp  PROTO ((Nlm_CharPtr str1, Nlm_CharPtr str2))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StringSearch  PROTO ((const char FAR *str, const char FAR *sub))   NLM_EXTERN Nlm_Boolean LIBCALL Nlm_StringHasNoText  PROTO ((const char FAR *str))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_TrimSpacesAroundString  PROTO ((Nlm_CharPtr str))   NLM_EXTERN Nlm_Uint1Ptr LIBCALL  Uint8ToBytes (Nlm_Uint8 value)   NLM_EXTERN Nlm_Uint8 LIBCALL  BytesToUint8 (Nlm_Uint1Ptr bytes)   NLM_EXTERN Nlm_Int8 LIBCALL  Nlm_StringToInt8 (const char *str, const char **endptr)   NLM_EXTERN Nlm_Uint8 LIBCALL  Nlm_StringToUint8 (const char *str, const char **endptr)   NLM_EXTERN char *LIBCALL  Nlm_Int8ToString (Nlm_Int8 value, char *str, size_t str_size)   NLM_EXTERN char *LIBCALL  Nlm_Uint8ToString (Nlm_Uint8 value, char *str, size_t str_size)   NLM_EXTERN Nlm_Uint4 LIBCALL Nlm_LabelCopy  PROTO ((Nlm_CharPtr to, Nlm_CharPtr from, Nlm_Uint4 buflen))   NLM_EXTERN Nlm_Uint4 LIBCALL Nlm_LabelCopyExtra  PROTO ((Nlm_CharPtr to, Nlm_CharPtr from, Nlm_Uint4 buflen, Nlm_CharPtr prefix, Nlm_CharPtr suffix))   NLM_EXTERN void LIBCALL Nlm_LabelCopyNext  PROTO ((Nlm_CharPtr PNTR to, Nlm_CharPtr from, Nlm_Uint4 PNTR buflen))   NLM_EXTERN Nlm_CharPtr LIBCALL StrCpyPtr  PROTO ((char FAR *Dest, char FAR *Start, char FAR *Stop))   NLM_EXTERN Nlm_CharPtr LIBCALL StrDupPtr  PROTO ((char FAR *Start, char FAR *Stop))   NLM_EXTERN Nlm_CharPtr LIBCALL SkipSpaces  PROTO ((char FAR *Line))   NLM_EXTERN Nlm_CharPtr LIBCALL SkipToSpace  PROTO ((char FAR *String))   NLM_EXTERN Nlm_CharPtr LIBCALL SkipChar  PROTO ((char FAR *String, char Char))   NLM_EXTERN Nlm_CharPtr LIBCALL SkipToString  PROTO ((char FAR *String, char FAR *Find))   NLM_EXTERN Nlm_CharPtr LIBCALL SkipSet  PROTO ((char FAR *String, char FAR *CharSet))   NLM_EXTERN Nlm_Boolean LIBCALL StringSub  PROTO ((char FAR *String, char Find, char Replace))   NLM_EXTERN Nlm_Boolean LIBCALL StringSubSet  PROTO ((char FAR *String, char FAR *FindSet, char Replace))   NLM_EXTERN Nlm_Boolean LIBCALL StringSubString  PROTO ((char FAR *String, char FAR *Find, char FAR *Replace, Nlm_Int4 MaxLength))   NLM_EXTERN Nlm_Int4 LIBCALL CountSet  PROTO ((char FAR *String, char FAR *Set))   NLM_EXTERN Nlm_Int4 LIBCALL StringDiff  PROTO ((char FAR *This, char FAR *That))   NLM_EXTERN Nlm_Int4 LIBCALL StringDiffNum  PROTO ((char FAR *This, char FAR *That, Nlm_Int4 NumChars))   NLM_EXTERN void LIBCALL TruncateString  PROTO ((char FAR *String, Nlm_Int4 Length))   NLM_EXTERN Nlm_Int4 LIBCALL BreakString  PROTO ((char FAR *String, Nlm_CharPtr PNTR Words))   NLM_EXTERN void LIBCALL DeleteChar  PROTO ((char FAR *String, char Delete))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StringPrintable  PROTO ((const Nlm_Char PNTR str, Nlm_Boolean rn_eol))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_text2stream  PROTO ((const Nlm_Char FAR PNTR str))   NLM_EXTERN size_t Nlm_stream2text  PROTO ((const Nlm_Char FAR PNTR str, size_t max_col, int PNTR dash))   NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_rule_line  PROTO ((const Nlm_Char FAR PNTR str, size_t len, Nlm_enumRuleLine method))   NLM_EXTERN Nlm_Boolean  Nlm_SetupSubString (const char FAR *sub, Nlm_Boolean caseCounts, Nlm_SubStringData PNTR data)   NLM_EXTERN Nlm_CharPtr  Nlm_SearchSubString (const char FAR *str, Nlm_SubStringData PNTR data)   Nlm_Int8 LIBCALL  StringToInt8 (const char *str, const char **endptr)   Nlm_Uint8 LIBCALL  StringToUint8 (const char *str, const char **endptr)   char *LIBCALL  Int8ToString (Nlm_Int8 value, char *str, size_t str_size)   char *LIBCALL  Uint8ToString (Nlm_Uint8 value, char *str, size_t str_size)   Nlmzip_rc_t  Nlmzip_Compress (const void *, Int4, void *, Int4, Int4Ptr)   Nlmzip_rc_t  Nlmzip_Uncompress (const void *, Int4, void *, Int4, Int4Ptr)   Int4  Nlmzip_UncompressedSize (VoidPtr, Int4)   const char *  Nlmzip_ErrMsg (Int4)   Boolean  Nlmzip_CrcMode (Boolean)   fci_t LIBCALL  fci_open (Pointer data, Int4(*proc_buf)(Pointer ptr, CharPtr buf, Int4 count), Int4(*pclose)(Pointer ptr, int commit))   fci_t LIBCALL  cacher_open (fci_t stream, int max_cache_size, int read)   fci_t LIBCALL  compressor_open (fci_t stream, int max_buffer_size, int read)   bool  CT_CompressBuffer (const void *src_buf, size_t src_len, void *dst_buf, size_t dst_size, size_t *dst_len, CCompressStream::EMethod method=CCompressStream::eZip, CCompression::ELevel level=CCompression::eLevel_Default)   Compress data in the buffer. More...
  bool  CT_DecompressBuffer (const void *src_buf, size_t src_len, void *dst_buf, size_t dst_size, size_t *dst_len)   Decompress data in the buffer. More...
  ◆ ABS ◆ BEGIN_CTRANSITION_SCOPE ◆ BIG_ENDIAN ◆ BigScalar ◆ Boolean ◆ BoolPtr ◆ Byte ◆ BYTE_MAX #define BYTE_MAX   UCHAR_MAX

Definition at line 144 of file ncbistd.hpp.

◆ BYTE_ORDER ◆ BytePtr ◆ Calloc ◆ CDECL ◆ Char ◆ CharPtr ◆ COMP_GNU ◆ CompressSpaces ◆ DIM #define DIM (   A )    (sizeof(A)/sizeof((A)[0]))

Definition at line 261 of file ncbistd.hpp.

◆ dll_Free ◆ dll_Malloc ◆ E_NoMemory ◆ E_Programmer ◆ END_CTRANSITION_SCOPE ◆ enumRuleLine ◆ ErrPostEx #define ErrPostEx (   sev,   err_code,   ...  ) Value:

<< NCBI_NS_NCBI::Endm )

#define DIAG_COMPILE_INFO

Make compile time diagnostic information object to use in CNcbiDiag and CException.

#define ErrCode()

Get the error code for the last failed system function.

Definition at line 78 of file ncbierr.hpp.

◆ ErrPostStr ◆ ErrSetLog ◆ EXPORT ◆ FALSE ◆ FAR ◆ FCI_CLOSE ◆ FCI_READ #define FCI_READ (   _fci,   _buf,   _len  )    _fci->proc_buf(_fci->data,_buf,_len)

Definition at line 146 of file nlmzip.hpp.

◆ FloatHi ◆ FloatHiPtr ◆ FloatLo ◆ FloatLoPtr ◆ FnPtr ◆ Free ◆ HandFree ◆ HandGet ◆ Handle ◆ HandLock ◆ HandMore ◆ HandNew ◆ HandUnlock ◆ HNDL ◆ INLINE [1/2] ◆ INLINE [2/2] ◆ Int1 ◆ INT1_MAX #define INT1_MAX   SCHAR_MAX

Definition at line 152 of file ncbistd.hpp.

◆ INT1_MIN #define INT1_MIN   SCHAR_MIN

Definition at line 151 of file ncbistd.hpp.

◆ Int1Ptr ◆ Int2 ◆ INT2_MAX ◆ INT2_MIN ◆ Int2Ptr ◆ Int4 ◆ INT4_MAX #define INT4_MAX   2147483647

Definition at line 182 of file ncbistd.hpp.

◆ INT4_MIN #define INT4_MIN   (-2147483647-1)

Definition at line 181 of file ncbistd.hpp.

◆ Int4Ptr ◆ Int8 ◆ INT8_MAX ◆ INT8_MIN ◆ Int8Ptr ◆ IS_ALPHA ◆ IS_ALPHANUM ◆ IS_DIGIT #define IS_DIGIT (   c )    ('0'<=(c) && (c)<='9')

Definition at line 392 of file ncbistr.hpp.

◆ IS_LOWER #define IS_LOWER (   c )    ('a'<=(c) && (c)<='z')

Definition at line 394 of file ncbistr.hpp.

◆ IS_PRINT #define IS_PRINT (   c )    (' '<=(c) && (c)<='~')

Definition at line 400 of file ncbistr.hpp.

◆ IS_UPPER #define IS_UPPER (   c )    ('A'<=(c) && (c)<='Z')

Definition at line 393 of file ncbistr.hpp.

◆ IS_WHITESP #define IS_WHITESP (   c )    (((c) == ' ') || ((c) == '\n') || ((c) == '\r') || ((c) == '\t'))

Definition at line 398 of file ncbistr.hpp.

◆ LabelCopy ◆ LabelCopyExtra ◆ LIBCALL ◆ LIBCALLBACK ◆ LITTLE_ENDIAN #define LITTLE_ENDIAN   1234

Definition at line 69 of file ncbistd.hpp.

◆ LN10 #define LN10   (2.302585092994046)

Definition at line 268 of file ncbistd.hpp.

◆ LN2 #define LN2   (0.693147180559945)

Definition at line 265 of file ncbistd.hpp.

◆ Malloc ◆ MAX ◆ MemChr ◆ MemCmp ◆ MemCopy ◆ MemCpy ◆ MemDup ◆ MemExtend ◆ MemFill ◆ MemFree ◆ MemGet ◆ MemMore ◆ MemMove ◆ MemNew ◆ MemSearch ◆ MemSet ◆ MeshStringICmp ◆ MG_CLEAR ◆ MG_ERRPOST ◆ MG_MAXALLOC #define MG_MAXALLOC   0x0002

Definition at line 191 of file ncbimem.hpp.

◆ MGET_CLEAR ◆ MGET_ERRPOST #define MGET_ERRPOST   0x0004

Definition at line 186 of file ncbimem.hpp.

◆ MIN ◆ MSG_OK ◆ NaturalStringCmp ◆ NaturalStringICmp ◆ NEAR ◆ Nlm_Calloc ◆ NLM_EXTERN ◆ Nlm_Free ◆ Nlm_HandFree ◆ Nlm_HandGet ◆ Nlm_HandLock ◆ Nlm_HandMore ◆ Nlm_HandNew ◆ Nlm_HandUnlock ◆ Nlm_Int8 ◆ Nlm_Int8Ptr ◆ Nlm_Malloc ◆ Nlm_MemChr ◆ Nlm_MemCmp ◆ Nlm_MemCpy ◆ Nlm_MemSet ◆ Nlm_Message ◆ Nlm_Realloc #define Nlm_Realloc   realloc

Definition at line 104 of file ncbimem.hpp.

◆ Nlm_StrCat ◆ Nlm_StrChr ◆ Nlm_StrCmp ◆ Nlm_StrCpy ◆ Nlm_StrCSpn #define Nlm_StrCSpn   strcspn

Definition at line 265 of file ncbistr.hpp.

◆ Nlm_StrLen ◆ Nlm_StrNCat #define Nlm_StrNCat   strncat

Definition at line 260 of file ncbistr.hpp.

◆ Nlm_StrNCmp #define Nlm_StrNCmp   strncmp

Definition at line 262 of file ncbistr.hpp.

◆ Nlm_StrNCpy #define Nlm_StrNCpy   strncpy

Definition at line 258 of file ncbistr.hpp.

◆ Nlm_StrNSet #define Nlm_StrNSet   strnset

Definition at line 266 of file ncbistr.hpp.

◆ Nlm_StrPBrk #define Nlm_StrPBrk   strpbrk

Definition at line 267 of file ncbistr.hpp.

◆ Nlm_StrRChr #define Nlm_StrRChr   strrchr

Definition at line 264 of file ncbistr.hpp.

◆ Nlm_StrSet ◆ Nlm_StrSpn ◆ Nlm_StrStr ◆ Nlm_StrTok ◆ Nlm_Uint8 ◆ Nlm_Uint8Ptr ◆ NULL ◆ NULLB ◆ OS_MSWIN ◆ OS_UNIX ◆ OTHER_ENDIAN ◆ PASCAL ◆ PATH_MAX ◆ PNTR ◆ Pointer ◆ PROTO ◆ Realloc ◆ ROUNDUP ◆ rule_line ◆ SearchSubString ◆ SetupSubString ◆ SIGN #define SIGN (   a )    ((a)>0?1:((a)<0?-1:0))

Definition at line 253 of file ncbistd.hpp.

◆ SIZE_MAX ◆ StrCat ◆ StrChr ◆ StrCmp ◆ StrCnt ◆ StrCpy ◆ StrCSpn ◆ stream2text ◆ StrICmp ◆ StringCat ◆ StringChr ◆ StringCmp ◆ StringCnt ◆ StringCpy ◆ StringCSpn ◆ StringDoesHaveText ◆ StringHasNoText ◆ StringICmp ◆ StringIsAllDigits ◆ StringIsAllLowerCase ◆ StringIsAllPunctuation ◆ StringIsAllUpperCase ◆ StringISearch ◆ StringLen ◆ StringLower ◆ StringMove ◆ StringNCat ◆ StringNCmp ◆ StringNCpy ◆ StringNCpy_0 ◆ StringNICmp ◆ StringPBrk ◆ StringPrintable ◆ StringRChr ◆ StringSave ◆ StringSaveNoNull ◆ StringSearch ◆ StringSpn ◆ StringStr ◆ StringTok ◆ StringTokMT ◆ StringUpper ◆ StrIPCmp ◆ StrLen ◆ StrLower ◆ StrMove ◆ StrNCat ◆ StrNCmp ◆ StrNCpy ◆ StrNICmp ◆ StrNIPCmp ◆ StrNSet ◆ StrPBrk ◆ StrRChr ◆ StrSave ◆ StrSet ◆ StrSpn ◆ StrStr ◆ StrTok ◆ StrUpper ◆ SubStringData ◆ SubStringDataPtr ◆ text2stream ◆ TIME_MAX #define TIME_MAX   ULONG_MAX

Definition at line 193 of file ncbistd.hpp.

◆ TO_LOWER ◆ TO_UPPER ◆ TrimSpacesAroundString ◆ TRUE ◆ Uchar ◆ UcharPtr ◆ Uint1 ◆ UINT1_MAX #define UINT1_MAX   UCHAR_MAX

Definition at line 159 of file ncbistd.hpp.

◆ Uint1Ptr ◆ Uint2 ◆ UINT2_MAX #define UINT2_MAX   USHRT_MAX

Definition at line 174 of file ncbistd.hpp.

◆ Uint2Ptr ◆ Uint4 ◆ UINT4_MAX ◆ Uint4Ptr ◆ Uint8 ◆ UINT8_MAX ◆ Uint8Ptr ◆ USING_CTRANSITION_SCOPE ◆ VoidPtr ◆ VPROTO ◆ Nlm_Boolean ◆ Nlm_BoolPtr ◆ Nlm_Byte ◆ Nlm_BytePtr ◆ Nlm_Char ◆ Nlm_CharPtr ◆ Nlm_FloatHi ◆ Nlm_FloatHiPtr ◆ Nlm_FloatLo ◆ Nlm_FloatLoPtr ◆ Nlm_FnPtr ◆ Nlm_Handle ◆ Nlm_Int1 ◆ Nlm_Int1Ptr ◆ Nlm_Int2 ◆ Nlm_Int2Ptr ◆ Nlm_Int4 ◆ Nlm_Int4Ptr ◆ Nlm_MemMap ◆ Nlm_MemMapPtr ◆ Nlm_SubStringData ◆ Nlm_SubStringDataPtr ◆ Nlm_Uchar ◆ Nlm_UcharPtr ◆ Nlm_Uint1 ◆ Nlm_Uint1Ptr ◆ Nlm_Uint2 ◆ Nlm_Uint2Ptr ◆ Nlm_Uint4 ◆ Nlm_Uint4Ptr ◆ Nlm_VoidPtr ◆ EMemMapAdvise Enumerator eMMA_Normal  eMMA_Random  eMMA_Sequential  eMMA_WillNeed  eMMA_DontNeed 

Definition at line 233 of file ncbimem.hpp.

◆ ErrSev Enumerator SEV_NONE  SEV_INFO  SEV_WARNING  SEV_ERROR  SEV_REJECT  SEV_FATAL  SEV_MAX  SEV_NONE  SEV_INFO  SEV_WARNING  SEV_ERROR  SEV_REJECT  SEV_FATAL  SEV_MAX 

Definition at line 63 of file ncbierr.hpp.

◆ Nlm_enumRuleLine Enumerator RL_Left  RL_Right  RL_Center  RL_Spread 

Definition at line 239 of file ncbistr.hpp.

◆ Nlmzip_rc_t Enumerator NLMZIP_OKAY  NLMZIP_INVALIDPARAM  NLMZIP_BADCRC  NLMZIP_OUTSMALL  NLMZIP_NOMEMORY 

Definition at line 128 of file nlmzip.hpp.

◆ BytesToUint8() ◆ cacher_open() ◆ compressor_open() ◆ CT_CompressBuffer()

Compress data in the buffer.

Use specified method to.compress data.

Parameters
src_buf Source buffer. src_len Size of data in source buffer. dst_buf Destination buffer. dst_size Size of destination buffer. In some cases, small source data or bad compressed data for example, it should be a little more then size of the source buffer. dst_len Size of compressed data in destination buffer. method Compression method, zip/deflate by default.
See also
CT_DecompressBuffer, CCompression
Returns
Return TRUE if operation was successfully or FALSE otherwise. On success, 'dst_buf' contains compressed data of 'dst_len' size.

Definition at line 560 of file ct_nlmzip_dcompr.cpp.

References CBZip2Compression::CompressBuffer(), CLZOCompression::CompressBuffer(), CZipCompression::CompressBuffer(), CCompressStream::eBZip2, CCompressStream::eConcatenatedGZipFile, CCompressStream::eGZipFile, CCompressStream::eLZO, CCompressStream::eNone, CCompressStream::eZip, CZipCompression::fGZip, CCompression::GetFlags(), kHeaderSize, kMagic, n, NCBI_THROW, and CCompression::SetFlags().

◆ CT_DecompressBuffer() bool CT_DecompressBuffer ( const void *  src_buf, size_t  src_len, void *  dst_buf, size_t  dst_size, size_t *  dst_len  )

Decompress data in the buffer.

Automatically detects format of data, written by CT_CompressBuffer. If it cannot recognize format, assumes that this is an NlMZIP.

Note
The decompressor stops and returns TRUE, if it find logical end in the compressed data, even not all compressed data was processed.
Parameters
src_buf Source buffer. src_len Size of data in source buffer. dst_buf Destination buffer. It must be large enough to hold all of the uncompressed data for the operation to complete. dst_size Size of destination buffer. dst_len Size of decompressed data in destination buffer.
See also
CT_CompressBuffer, CCompression
Returns
Return TRUE if operation was successfully or FALSE otherwise. On success, 'dst_buf' contains decompressed data of dst_len size.

Definition at line 644 of file ct_nlmzip_dcompr.cpp.

References CBZip2Compression::DecompressBuffer(), CLZOCompression::DecompressBuffer(), CZipCompression::DecompressBuffer(), CCompressStream::eBZip2, CCompressStream::eConcatenatedGZipFile, CCompressStream::eGZipFile, CCompressStream::eLZO, CCompressStream::eNone, CCompressStream::eZip, CZipCompression::fGZip, CCompression::GetFlags(), kHeaderSize, kMagic, kMax_I4, n, NCBI_THROW, NLMZIP_OKAY, Nlmzip_Uncompress(), and CCompression::SetFlags().

◆ CTOOLS_CToCxxSeverity()

Definition at line 42 of file ctools.cpp.

References eDiag_Critical, eDiag_Error, eDiag_Fatal, eDiag_Info, eDiag_Trace, eDiag_Warning, SEV_ERROR, SEV_FATAL, SEV_INFO, SEV_NONE, SEV_REJECT, and SEV_WARNING.

Referenced by s_c2cxxErrorHandler().

◆ CTOOLS_CxxToCSeverity()

Definition at line 71 of file ctools.cpp.

References eDiag_Critical, eDiag_Error, eDiag_Fatal, eDiag_Info, eDiag_Trace, eDiag_Warning, SEV_ERROR, SEV_FATAL, SEV_INFO, SEV_NONE, SEV_REJECT, and SEV_WARNING.

◆ ctransition_ErrMessage() ◆ ctransition_ErrSeverity() NCBI_NS_NCBI::Severity ctransition_ErrSeverity ( ErrSev  sev )

Definition at line 44 of file ct_ncbierr.cpp.

References eDiag_Critical, eDiag_Error, eDiag_Fatal, eDiag_Info, eDiag_Trace, eDiag_Warning, SEV_ERROR, SEV_FATAL, SEV_INFO, SEV_NONE, SEV_REJECT, and SEV_WARNING.

◆ fci_open() ◆ Int8ToString() ◆ Nlm_CallocViaMalloc() NLM_EXTERN void* Nlm_CallocViaMalloc ( size_t  n_elem, size_t  item_size  ) ◆ Nlm_Int8ToString() ◆ Nlm_MemCopy() ◆ Nlm_MemDup() ◆ Nlm_MemExtend() ◆ Nlm_MemFill() ◆ Nlm_MemFree()

Definition at line 298 of file ct_ncbimem.cpp.

References free(), and NULL.

Referenced by cacher_close(), cacher_open(), cacher_read(), compressor_close(), compressor_read(), compressor_write(), Nlm_MemMapFini(), Nlm_MemMapInit(), Nlm_rule_line(), s_IdLabel(), s_MemAllocator(), and StringSubString().

◆ Nlm_MemGet() ◆ Nlm_MemMapAdvise() ◆ Nlm_MemMapAdvisePtr() ◆ Nlm_MemMapAvailable() ◆ Nlm_MemMapFini() ◆ Nlm_MemMapInit()

Definition at line 742 of file ct_ncbimem.cpp.

References _T_XCSTRING, close(), FALSE, _nlm_mem_map::file_size, HANDLE, INVALID_HANDLE_VALUE, _nlm_mem_map::mmp_begin, Nlm_MemFree(), Nlm_MemMapAvailable(), Nlm_MemNew(), Nlm_StringNCpy_0(), NULL, and str().

◆ Nlm_MemMore() ◆ Nlm_MemMove() ◆ Nlm_MemNew()

Definition at line 271 of file ct_ncbimem.cpp.

References eA_Calloc, MGET_ERRPOST, s_MemAllocator(), and ncbi::grid::netcache::search::fields::size.

Referenced by cacher_open(), cacher_read(), compressor_open(), compressor_read(), compressor_write(), fci_open(), Nlm_MemMapInit(), Nlm_rule_line(), and Nlm_text2stream().

◆ Nlm_MemSearch() ◆ Nlm_SearchSubString() ◆ Nlm_SetHeapLimit() ◆ Nlm_SetupSubString() ◆ Nlm_StringToInt8() ◆ Nlm_StringToUint8() ◆ Nlm_Uint8ToString() ◆ Nlmzip_Compress()

Definition at line 344 of file ct_nlmzip_dcompr.cpp.

References BINARY, iInCurPos, iInDataSize, iOutCurPos, iOutDataSize, MAGIC_KEY, Nlmzip_bi_init(), Nlmzip_ct_init(), Nlmzip_deflate(), NLMZIP_DEFLATED, Nlmzip_level, Nlmzip_lm_init(), Nlmzip_method, NLMZIP_OKAY, Nlmzip_updcrc(), Nlmzip_WriteByte(), Nlmzip_WriteLong(), NULL, OS_CODE, pInBuffer, pOutBuffer, theErrJumper, and ulCrc.

Referenced by compressor_write().

◆ Nlmzip_CrcMode() ◆ Nlmzip_ErrMsg() ◆ Nlmzip_Uncompress()

Definition at line 422 of file ct_nlmzip_dcompr.cpp.

References iInCurPos, iInDataSize, iOutCurPos, iOutDataSize, LG, MAGIC_KEY, NLMZIP_DEFLATED, Nlmzip_inflate(), Nlmzip_method, NLMZIP_OKAY, Nlmzip_ReadByte(), Nlmzip_ReadData(), Nlmzip_updcrc(), NULL, pInBuffer, pOutBuffer, theErrJumper, and URCOMPRERR.

Referenced by compressor_read(), and CT_DecompressBuffer().

◆ Nlmzip_UncompressedSize() ◆ PROTO() [1/39] ◆ PROTO() [2/39] ◆ PROTO() [3/39] ◆ PROTO() [4/39] ◆ PROTO() [5/39] ◆ PROTO() [6/39] ◆ PROTO() [7/39] ◆ PROTO() [8/39] ◆ PROTO() [9/39] ◆ PROTO() [10/39] ◆ PROTO() [11/39] ◆ PROTO() [12/39] ◆ PROTO() [13/39] ◆ PROTO() [14/39] ◆ PROTO() [15/39] ◆ PROTO() [16/39] ◆ PROTO() [17/39] ◆ PROTO() [18/39] ◆ PROTO() [19/39] ◆ PROTO() [20/39] ◆ PROTO() [21/39] ◆ PROTO() [22/39] ◆ PROTO() [23/39] ◆ PROTO() [24/39] ◆ PROTO() [25/39] ◆ PROTO() [26/39] ◆ PROTO() [27/39] ◆ PROTO() [28/39] ◆ PROTO() [29/39] ◆ PROTO() [30/39] ◆ PROTO() [31/39] ◆ PROTO() [32/39] ◆ PROTO() [33/39] ◆ PROTO() [34/39] ◆ PROTO() [35/39] ◆ PROTO() [36/39] ◆ PROTO() [37/39] ◆ PROTO() [38/39] ◆ PROTO() [39/39] ◆ SetupCToolkitErrPost() void SetupCToolkitErrPost ( void  ) ◆ StringToInt8() ◆ StringToUint8() ◆ Uint8ToBytes() ◆ Uint8ToString() ◆ caseCounts ◆ close ◆ d ◆ data ◆ file_size ◆ initialized ◆ mmp_begin ◆ proc_buf ◆ sub ◆ subLen size_t substringdata::subLen

Definition at line 366 of file ncbistr.hpp.

◆ USING_NCBI_SCOPE

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4