NCBI C++ ToolKit
Classes | Macros | Typedefs | Enumerations | Enumerator | Functions | Variables
C/C++ Toolkit Bridge
+ Collaboration diagram for C/C++ Toolkit Bridge:

Classes

struct  _nlm_mem_map
 
struct  substringdata
 
struct  fci_t
 

Macros

#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); }
 

Typedefs

typedef struct _nlm_mem_map Nlm_MemMap
 
typedef struct _nlm_mem_map Nlm_MemMapPtr
 
typedef int(* Nlm_FnPtr) (void)
 
typedef void * Nlm_VoidPtr
 
typedef void * Nlm_Handle
 
typedef char Nlm_Char
 
typedef char * Nlm_CharPtr
 
typedef unsigned char Nlm_Uchar
 
typedef unsigned char * Nlm_UcharPtr
 
typedef unsigned char Nlm_Boolean
 
typedef unsigned char * Nlm_BoolPtr
 
typedef unsigned char Nlm_Byte
 
typedef unsigned char * Nlm_BytePtr
 
typedef signed char Nlm_Int1
 
typedef signed char * Nlm_Int1Ptr
 
typedef unsigned char Nlm_Uint1
 
typedef unsigned char * Nlm_Uint1Ptr
 
typedef short Nlm_Int2
 
typedef short * Nlm_Int2Ptr
 
typedef unsigned short Nlm_Uint2
 
typedef unsigned short * Nlm_Uint2Ptr
 
typedef signed int Nlm_Int4
 
typedef signed intNlm_Int4Ptr
 
typedef unsigned int Nlm_Uint4
 
typedef unsigned intNlm_Uint4Ptr
 
typedef float Nlm_FloatLo
 
typedef float * Nlm_FloatLoPtr
 
typedef double Nlm_FloatHi
 
typedef double * Nlm_FloatHiPtr
 
typedef struct substringdata Nlm_SubStringData
 
typedef struct substringdata Nlm_SubStringDataPtr
 

Enumerations

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
}
 

Functions

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...
 

Variables

Nlm_Int8 _nlm_mem_map::file_size
 
Nlm_CharPtr _nlm_mem_map::mmp_begin
 
int substringdata::d [256]
 
size_t substringdata::subLen
 
Nlm_Boolean substringdata::caseCounts
 
Nlm_Boolean substringdata::initialized
 
const char FARsubstringdata::sub
 
BEGIN_CTRANSITION_SCOPE USING_NCBI_SCOPE
 
Pointer fci_t::data
 
Int4(* fci_t::proc_buf )(Pointer ptr, CharPtr buf, Int4 count)
 
Int4(* fci_t::close )(Pointer ptr, int commit)
 

Detailed Description

Macro Definition Documentation

◆ ABS

#define ABS (   a)    ((a)>=0?(a):-(a))

Definition at line 249 of file ncbistd.hpp.

◆ BEGIN_CTRANSITION_SCOPE

#define BEGIN_CTRANSITION_SCOPE   BEGIN_SCOPE(CTRANSITION_NS)

Definition at line 49 of file ncbilcl.hpp.

◆ BIG_ENDIAN

#define BIG_ENDIAN   4321

Definition at line 70 of file ncbistd.hpp.

◆ BigScalar

#define BigScalar   long

Definition at line 209 of file ncbistd.hpp.

◆ Boolean

#define Boolean   Nlm_Boolean

Definition at line 136 of file ncbistd.hpp.

◆ BoolPtr

#define BoolPtr   Nlm_BoolPtr

Definition at line 137 of file ncbistd.hpp.

◆ Byte

#define Byte   Nlm_Byte

Definition at line 142 of file ncbistd.hpp.

◆ BYTE_MAX

#define BYTE_MAX   UCHAR_MAX

Definition at line 144 of file ncbistd.hpp.

◆ BYTE_ORDER

#define BYTE_ORDER   OTHER_ENDIAN

Definition at line 81 of file ncbistd.hpp.

◆ BytePtr

#define BytePtr   Nlm_BytePtr

Definition at line 143 of file ncbistd.hpp.

◆ Calloc

#define Calloc   Nlm_Calloc

Definition at line 120 of file ncbimem.hpp.

◆ CDECL

#define CDECL

Definition at line 281 of file ncbistd.hpp.

◆ Char

#define Char   Nlm_Char

Definition at line 124 of file ncbistd.hpp.

◆ CharPtr

#define CharPtr   Nlm_CharPtr

Definition at line 125 of file ncbistd.hpp.

◆ COMP_GNU

#define COMP_GNU

Definition at line 93 of file ncbilcl.hpp.

◆ CompressSpaces

#define CompressSpaces   Nlm_CompressSpaces

Definition at line 343 of file ncbistr.hpp.

◆ DIM

#define DIM (   A)    (sizeof(A)/sizeof((A)[0]))

Definition at line 261 of file ncbistd.hpp.

◆ dll_Free

#define dll_Free (   x)    Nlm_Free((void*) (x))

Definition at line 180 of file ncbimem.hpp.

◆ dll_Malloc

#define dll_Malloc (   x)    (void*) Nlm_Malloc(x)

Definition at line 179 of file ncbimem.hpp.

◆ E_NoMemory

#define E_NoMemory   1

Definition at line 48 of file ncbierr.hpp.

◆ E_Programmer

#define E_Programmer   999

Definition at line 49 of file ncbierr.hpp.

◆ END_CTRANSITION_SCOPE

#define END_CTRANSITION_SCOPE   END_SCOPE(CTRANSITION_NS)

Definition at line 50 of file ncbilcl.hpp.

◆ enumRuleLine

#define enumRuleLine   Nlm_enumRuleLine

Definition at line 246 of file ncbistr.hpp.

◆ ErrPostEx

#define ErrPostEx (   sev,
  err_code,
  ... 
)
Value:
( NCBI_NS_NCBI::CNcbiDiag(DIAG_COMPILE_INFO).GetRef() \
<< NCBI_NS_NCBI::ErrCode(err_code) \
<< ctransition_ErrMessage(__VA_ARGS__) \
<< NCBI_NS_NCBI::Endm )
std::string ctransition_ErrMessage(const char *format,...)
Definition: ct_ncbierr.cpp:72
NCBI_NS_NCBI::Severity ctransition_ErrSeverity(ErrSev sev)
Definition: ct_ncbierr.cpp:44
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
Definition: ncbidiag.hpp:170
#define ErrCode()
Get the error code for the last failed system function.
Definition: mdb.c:377

Definition at line 78 of file ncbierr.hpp.

◆ ErrPostStr

#define ErrPostStr   ErrPostEx

Definition at line 68 of file ncbierr.hpp.

◆ ErrSetLog

#define ErrSetLog   SetLogFile

Definition at line 69 of file ncbierr.hpp.

◆ EXPORT

#define EXPORT

Definition at line 287 of file ncbistd.hpp.

◆ FALSE

#define FALSE   ((Nlm_Boolean)0)

Definition at line 237 of file ncbistd.hpp.

◆ FAR

#define FAR

Definition at line 278 of file ncbistd.hpp.

◆ FCI_CLOSE

#define FCI_CLOSE (   _fci,
  _commit 
)    { _fci->close(_fci->data,_commit); MemFree(_fci); }

Definition at line 147 of file nlmzip.hpp.

◆ FCI_READ

#define FCI_READ (   _fci,
  _buf,
  _len 
)    _fci->proc_buf(_fci->data,_buf,_len)

Definition at line 146 of file nlmzip.hpp.

◆ FloatHi

#define FloatHi   Nlm_FloatHi

Definition at line 204 of file ncbistd.hpp.

◆ FloatHiPtr

#define FloatHiPtr   Nlm_FloatHiPtr

Definition at line 205 of file ncbistd.hpp.

◆ FloatLo

#define FloatLo   Nlm_FloatLo

Definition at line 198 of file ncbistd.hpp.

◆ FloatLoPtr

#define FloatLoPtr   Nlm_FloatLoPtr

Definition at line 199 of file ncbistd.hpp.

◆ FnPtr

#define FnPtr   Nlm_FnPtr

Definition at line 106 of file ncbistd.hpp.

◆ Free

#define Free   Nlm_Free

Definition at line 122 of file ncbimem.hpp.

◆ HandFree

#define HandFree   Nlm_HandFree

Definition at line 156 of file ncbimem.hpp.

◆ HandGet

#define HandGet   Nlm_HandGet

Definition at line 154 of file ncbimem.hpp.

◆ Handle

#define Handle   Nlm_Handle

Definition at line 119 of file ncbistd.hpp.

◆ HandLock

#define HandLock   Nlm_HandLock

Definition at line 157 of file ncbimem.hpp.

◆ HandMore

#define HandMore   Nlm_HandMore

Definition at line 155 of file ncbimem.hpp.

◆ HandNew

#define HandNew   Nlm_HandNew

Definition at line 153 of file ncbimem.hpp.

◆ HandUnlock

#define HandUnlock   Nlm_HandUnlock

Definition at line 158 of file ncbimem.hpp.

◆ HNDL

#define HNDL   *

Definition at line 101 of file ncbistd.hpp.

◆ INLINE [1/2]

#define INLINE   inline

Definition at line 186 of file ncbilcl.hpp.

◆ INLINE [2/2]

#define INLINE

Definition at line 90 of file ncbistd.hpp.

◆ Int1

#define Int1   Nlm_Int1

Definition at line 149 of file ncbistd.hpp.

◆ 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

#define Int1Ptr   Nlm_Int1Ptr

Definition at line 150 of file ncbistd.hpp.

◆ Int2

#define Int2   Nlm_Int2

Definition at line 164 of file ncbistd.hpp.

◆ INT2_MAX

#define INT2_MAX   SHRT_MAX

Definition at line 167 of file ncbistd.hpp.

◆ INT2_MIN

#define INT2_MIN   SHRT_MIN

Definition at line 166 of file ncbistd.hpp.

◆ Int2Ptr

#define Int2Ptr   Nlm_Int2Ptr

Definition at line 165 of file ncbistd.hpp.

◆ Int4

#define Int4   Nlm_Int4

Definition at line 179 of file ncbistd.hpp.

◆ 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

#define Int4Ptr   Nlm_Int4Ptr

Definition at line 180 of file ncbistd.hpp.

◆ Int8

#define Int8   Nlm_Int8

Definition at line 245 of file ncbiopt.hpp.

◆ INT8_MAX

#define INT8_MAX   INT4_MAX

Definition at line 237 of file ncbiopt.hpp.

◆ INT8_MIN

#define INT8_MIN   INT4_MIN

Definition at line 236 of file ncbiopt.hpp.

◆ Int8Ptr

#define Int8Ptr   Nlm_Int8Ptr

Definition at line 247 of file ncbiopt.hpp.

◆ IS_ALPHA

#define IS_ALPHA (   c)    (IS_UPPER(c) || IS_LOWER(c))

Definition at line 395 of file ncbistr.hpp.

◆ IS_ALPHANUM

#define IS_ALPHANUM (   c)    (IS_ALPHA(c) || IS_DIGIT(c))

Definition at line 399 of file ncbistr.hpp.

◆ 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

#define LabelCopy   Nlm_LabelCopy

Definition at line 345 of file ncbistr.hpp.

◆ LabelCopyExtra

#define LabelCopyExtra   Nlm_LabelCopyExtra

Definition at line 346 of file ncbistr.hpp.

◆ LIBCALL

#define LIBCALL   FAR PASCAL

Definition at line 297 of file ncbistd.hpp.

◆ LIBCALLBACK

#define LIBCALLBACK   FAR PASCAL

Definition at line 302 of file ncbistd.hpp.

◆ 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

#define Malloc   Nlm_Malloc

Definition at line 119 of file ncbimem.hpp.

◆ MAX

#define MAX (   a,
  b 
)    ((a)>=(b)?(a):(b))

Definition at line 245 of file ncbistd.hpp.

◆ MemChr

#define MemChr   Nlm_MemChr

Definition at line 125 of file ncbimem.hpp.

◆ MemCmp

#define MemCmp   Nlm_MemCmp

Definition at line 126 of file ncbimem.hpp.

◆ MemCopy

#define MemCopy   Nlm_MemCopy

Definition at line 148 of file ncbimem.hpp.

◆ MemCpy

#define MemCpy   Nlm_MemCpy

Definition at line 124 of file ncbimem.hpp.

◆ MemDup

#define MemDup   Nlm_MemDup

Definition at line 151 of file ncbimem.hpp.

◆ MemExtend

#define MemExtend   Nlm_MemExtend

Definition at line 147 of file ncbimem.hpp.

◆ MemFill

#define MemFill   Nlm_MemFill

Definition at line 150 of file ncbimem.hpp.

◆ MemFree

#define MemFree   Nlm_MemFree

Definition at line 145 of file ncbimem.hpp.

◆ MemGet

#define MemGet (   x,
 
)    Nlm_MemGet(x,(unsigned int)(y))

Definition at line 144 of file ncbimem.hpp.

◆ MemMore

#define MemMore   Nlm_MemMore

Definition at line 146 of file ncbimem.hpp.

◆ MemMove

#define MemMove   Nlm_MemMove

Definition at line 149 of file ncbimem.hpp.

◆ MemNew

#define MemNew (   x)    Nlm_MemGet(x,MGET_CLEAR|MGET_ERRPOST)

Definition at line 143 of file ncbimem.hpp.

◆ MemSearch

#define MemSearch   Nlm_MemSearch

Definition at line 127 of file ncbimem.hpp.

◆ MemSet

#define MemSet   Nlm_MemSet

Definition at line 123 of file ncbimem.hpp.

◆ MeshStringICmp

#define MeshStringICmp   Nlm_MeshStringICmp

Definition at line 335 of file ncbistr.hpp.

◆ MG_CLEAR

#define MG_CLEAR   MGET_CLEAR

Definition at line 190 of file ncbimem.hpp.

◆ MG_ERRPOST

#define MG_ERRPOST   MGET_ERRPOST

Definition at line 192 of file ncbimem.hpp.

◆ MG_MAXALLOC

#define MG_MAXALLOC   0x0002

Definition at line 191 of file ncbimem.hpp.

◆ MGET_CLEAR

#define MGET_CLEAR   0x0001

Definition at line 185 of file ncbimem.hpp.

◆ MGET_ERRPOST

#define MGET_ERRPOST   0x0004

Definition at line 186 of file ncbimem.hpp.

◆ MIN

#define MIN (   a,
  b 
)    ((a)>(b)?(b):(a))

Definition at line 241 of file ncbistd.hpp.

◆ MSG_OK

#define MSG_OK   SEV_ERROR

Definition at line 65 of file ncbierr.hpp.

◆ NaturalStringCmp

#define NaturalStringCmp   Nlm_NaturalStringCmp

Definition at line 332 of file ncbistr.hpp.

◆ NaturalStringICmp

#define NaturalStringICmp   Nlm_NaturalStringICmp

Definition at line 333 of file ncbistr.hpp.

◆ NEAR

#define NEAR

Definition at line 275 of file ncbistd.hpp.

◆ Nlm_Calloc

#define Nlm_Calloc   calloc

Definition at line 103 of file ncbimem.hpp.

◆ NLM_EXTERN

#define NLM_EXTERN

Definition at line 290 of file ncbistd.hpp.

◆ Nlm_Free

#define Nlm_Free   free

Definition at line 105 of file ncbimem.hpp.

◆ Nlm_HandFree

#define Nlm_HandFree (   a)    Nlm_MemFree(a)

Definition at line 137 of file ncbimem.hpp.

◆ Nlm_HandGet

#define Nlm_HandGet (   a,
  b 
)    Nlm_MemGet(a,b)

Definition at line 135 of file ncbimem.hpp.

◆ Nlm_HandLock

#define Nlm_HandLock (   a)    (a)

Definition at line 138 of file ncbimem.hpp.

◆ Nlm_HandMore

#define Nlm_HandMore (   a,
  b 
)    Nlm_MemMore(a,b)

Definition at line 136 of file ncbimem.hpp.

◆ Nlm_HandNew

#define Nlm_HandNew (   a)    Nlm_MemNew(a)

Definition at line 134 of file ncbimem.hpp.

◆ Nlm_HandUnlock

#define Nlm_HandUnlock (   a)    NULL

Definition at line 139 of file ncbimem.hpp.

◆ Nlm_Int8

#define Nlm_Int8   Nlm_Int4

Definition at line 231 of file ncbiopt.hpp.

◆ Nlm_Int8Ptr

#define Nlm_Int8Ptr   Nlm_Int4Ptr

Definition at line 232 of file ncbiopt.hpp.

◆ Nlm_Malloc

#define Nlm_Malloc   malloc

Definition at line 102 of file ncbimem.hpp.

◆ Nlm_MemChr

#define Nlm_MemChr   memchr

Definition at line 108 of file ncbimem.hpp.

◆ Nlm_MemCmp

#define Nlm_MemCmp   memcmp

Definition at line 109 of file ncbimem.hpp.

◆ Nlm_MemCpy

#define Nlm_MemCpy   memcpy

Definition at line 107 of file ncbimem.hpp.

◆ Nlm_MemSet

#define Nlm_MemSet   memset

Definition at line 106 of file ncbimem.hpp.

◆ Nlm_Message

#define Nlm_Message (   key,
  ... 
)    ErrPostEx((ErrSev)key, 0, __VA_ARGS__)

Definition at line 87 of file ncbierr.hpp.

◆ Nlm_Realloc

#define Nlm_Realloc   realloc

Definition at line 104 of file ncbimem.hpp.

◆ Nlm_StrCat

#define Nlm_StrCat   strcat

Definition at line 259 of file ncbistr.hpp.

◆ Nlm_StrChr

#define Nlm_StrChr   strchr

Definition at line 263 of file ncbistr.hpp.

◆ Nlm_StrCmp

#define Nlm_StrCmp   strcmp

Definition at line 261 of file ncbistr.hpp.

◆ Nlm_StrCpy

#define Nlm_StrCpy   strcpy

Definition at line 257 of file ncbistr.hpp.

◆ Nlm_StrCSpn

#define Nlm_StrCSpn   strcspn

Definition at line 265 of file ncbistr.hpp.

◆ Nlm_StrLen

#define Nlm_StrLen   strlen

Definition at line 256 of file ncbistr.hpp.

◆ 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

#define Nlm_StrSet   strset

Definition at line 268 of file ncbistr.hpp.

◆ Nlm_StrSpn

#define Nlm_StrSpn   strspn

Definition at line 269 of file ncbistr.hpp.

◆ Nlm_StrStr

#define Nlm_StrStr   strstr

Definition at line 270 of file ncbistr.hpp.

◆ Nlm_StrTok

#define Nlm_StrTok   strtok

Definition at line 271 of file ncbistr.hpp.

◆ Nlm_Uint8

#define Nlm_Uint8   Nlm_Uint4

Definition at line 233 of file ncbiopt.hpp.

◆ Nlm_Uint8Ptr

#define Nlm_Uint8Ptr   Nlm_Uint4Ptr

Definition at line 234 of file ncbiopt.hpp.

◆ NULL

#define NULL   ((void *)0)

◆ NULLB

#define NULLB   '\0'

Definition at line 229 of file ncbistd.hpp.

◆ OS_MSWIN

#define OS_MSWIN

Definition at line 63 of file ncbilcl.hpp.

◆ OS_UNIX

#define OS_UNIX

Definition at line 59 of file ncbilcl.hpp.

◆ OTHER_ENDIAN

#define OTHER_ENDIAN   0

Definition at line 71 of file ncbistd.hpp.

◆ PASCAL

#define PASCAL

Definition at line 284 of file ncbistd.hpp.

◆ PATH_MAX

#define PATH_MAX   FILENAME_MAX

Definition at line 221 of file ncbistd.hpp.

◆ PNTR

#define PNTR   *

Definition at line 98 of file ncbistd.hpp.

◆ Pointer

#define Pointer   Nlm_VoidPtr

Definition at line 114 of file ncbistd.hpp.

◆ PROTO

#define PROTO (   x)    x

Definition at line 183 of file ncbilcl.hpp.

◆ Realloc

#define Realloc   Nlm_Realloc

Definition at line 121 of file ncbimem.hpp.

◆ ROUNDUP

#define ROUNDUP (   A,
 
)    (((A)%(B)) != 0 ? (A)+(B)-((A)%(B)) : (A))

Definition at line 257 of file ncbistd.hpp.

◆ rule_line

#define rule_line   Nlm_rule_line

Definition at line 252 of file ncbistr.hpp.

◆ SearchSubString

#define SearchSubString   Nlm_SearchSubString

Definition at line 385 of file ncbistr.hpp.

◆ SetupSubString

#define SetupSubString   Nlm_SetupSubString

Definition at line 384 of file ncbistr.hpp.

◆ SIGN

#define SIGN (   a)    ((a)>0?1:((a)<0?-1:0))

Definition at line 253 of file ncbistd.hpp.

◆ SIZE_MAX

#define SIZE_MAX   MAXALLOC

Definition at line 217 of file ncbistd.hpp.

◆ StrCat

#define StrCat   Nlm_StrCat

Definition at line 284 of file ncbistr.hpp.

◆ StrChr

#define StrChr   Nlm_StrChr

Definition at line 292 of file ncbistr.hpp.

◆ StrCmp

#define StrCmp   Nlm_StrCmp

Definition at line 286 of file ncbistr.hpp.

◆ StrCnt

#define StrCnt   Nlm_StrCnt

Definition at line 303 of file ncbistr.hpp.

◆ StrCpy

#define StrCpy   Nlm_StrCpy

Definition at line 282 of file ncbistr.hpp.

◆ StrCSpn

#define StrCSpn   Nlm_StrCSpn

Definition at line 294 of file ncbistr.hpp.

◆ stream2text

#define stream2text   Nlm_stream2text

Definition at line 231 of file ncbistr.hpp.

◆ StrICmp

#define StrICmp   Nlm_StrICmp

Definition at line 288 of file ncbistr.hpp.

◆ StringCat

#define StringCat   Nlm_StringCat

Definition at line 311 of file ncbistr.hpp.

◆ StringChr

#define StringChr   Nlm_StringChr

Definition at line 317 of file ncbistr.hpp.

◆ StringCmp

#define StringCmp   Nlm_StringCmp

Definition at line 313 of file ncbistr.hpp.

◆ StringCnt

#define StringCnt   Nlm_StringCnt

Definition at line 328 of file ncbistr.hpp.

◆ StringCpy

#define StringCpy   Nlm_StringCpy

Definition at line 308 of file ncbistr.hpp.

◆ StringCSpn

#define StringCSpn   Nlm_StringCSpn

Definition at line 321 of file ncbistr.hpp.

◆ StringDoesHaveText

#define StringDoesHaveText   Nlm_StringDoesHaveText

Definition at line 341 of file ncbistr.hpp.

◆ StringHasNoText

#define StringHasNoText   Nlm_StringHasNoText

Definition at line 340 of file ncbistr.hpp.

◆ StringICmp

#define StringICmp   Nlm_StringICmp

Definition at line 315 of file ncbistr.hpp.

◆ StringIsAllDigits

#define StringIsAllDigits   Nlm_StringIsAllDigits

Definition at line 357 of file ncbistr.hpp.

◆ StringIsAllLowerCase

#define StringIsAllLowerCase   Nlm_StringIsAllLowerCase

Definition at line 359 of file ncbistr.hpp.

◆ StringIsAllPunctuation

#define StringIsAllPunctuation   Nlm_StringIsAllPunctuation

Definition at line 360 of file ncbistr.hpp.

◆ StringIsAllUpperCase

#define StringIsAllUpperCase   Nlm_StringIsAllUpperCase

Definition at line 358 of file ncbistr.hpp.

◆ StringISearch

#define StringISearch   Nlm_StringISearch

Definition at line 338 of file ncbistr.hpp.

◆ StringLen

#define StringLen   Nlm_StringLen

Definition at line 307 of file ncbistr.hpp.

◆ StringLower

#define StringLower   Nlm_StringLower

Definition at line 330 of file ncbistr.hpp.

◆ StringMove

#define StringMove   Nlm_StringMove

Definition at line 325 of file ncbistr.hpp.

◆ StringNCat

#define StringNCat   Nlm_StringNCat

Definition at line 312 of file ncbistr.hpp.

◆ StringNCmp

#define StringNCmp   Nlm_StringNCmp

Definition at line 314 of file ncbistr.hpp.

◆ StringNCpy

#define StringNCpy   Nlm_StringNCpy

Definition at line 309 of file ncbistr.hpp.

◆ StringNCpy_0

#define StringNCpy_0   Nlm_StringNCpy_0

Definition at line 310 of file ncbistr.hpp.

◆ StringNICmp

#define StringNICmp   Nlm_StringNICmp

Definition at line 316 of file ncbistr.hpp.

◆ StringPBrk

#define StringPBrk   Nlm_StringPBrk

Definition at line 319 of file ncbistr.hpp.

◆ StringPrintable

#define StringPrintable   Nlm_StringPrintable

Definition at line 213 of file ncbistr.hpp.

◆ StringRChr

#define StringRChr   Nlm_StringRChr

Definition at line 318 of file ncbistr.hpp.

◆ StringSave

#define StringSave   Nlm_StringSave

Definition at line 326 of file ncbistr.hpp.

◆ StringSaveNoNull

#define StringSaveNoNull   Nlm_StringSaveNoNull

Definition at line 327 of file ncbistr.hpp.

◆ StringSearch

#define StringSearch   Nlm_StringSearch

Definition at line 337 of file ncbistr.hpp.

◆ StringSpn

#define StringSpn   Nlm_StringSpn

Definition at line 320 of file ncbistr.hpp.

◆ StringStr

#define StringStr   Nlm_StringStr

Definition at line 322 of file ncbistr.hpp.

◆ StringTok

#define StringTok   Nlm_StringTok

Definition at line 323 of file ncbistr.hpp.

◆ StringTokMT

#define StringTokMT   Nlm_StringTokMT

Definition at line 324 of file ncbistr.hpp.

◆ StringUpper

#define StringUpper   Nlm_StringUpper

Definition at line 329 of file ncbistr.hpp.

◆ StrIPCmp

#define StrIPCmp   Nlm_StrIPCmp

Definition at line 290 of file ncbistr.hpp.

◆ StrLen

#define StrLen   Nlm_StrLen

Definition at line 281 of file ncbistr.hpp.

◆ StrLower

#define StrLower   Nlm_StrLower

Definition at line 305 of file ncbistr.hpp.

◆ StrMove

#define StrMove   Nlm_StrMove

Definition at line 301 of file ncbistr.hpp.

◆ StrNCat

#define StrNCat   Nlm_StrNCat

Definition at line 285 of file ncbistr.hpp.

◆ StrNCmp

#define StrNCmp   Nlm_StrNCmp

Definition at line 287 of file ncbistr.hpp.

◆ StrNCpy

#define StrNCpy   Nlm_StrNCpy

Definition at line 283 of file ncbistr.hpp.

◆ StrNICmp

#define StrNICmp   Nlm_StrNICmp

Definition at line 289 of file ncbistr.hpp.

◆ StrNIPCmp

#define StrNIPCmp   Nlm_StrNIPCmp

Definition at line 291 of file ncbistr.hpp.

◆ StrNSet

#define StrNSet   Nlm_StrNSet

Definition at line 295 of file ncbistr.hpp.

◆ StrPBrk

#define StrPBrk   Nlm_StrPBrk

Definition at line 296 of file ncbistr.hpp.

◆ StrRChr

#define StrRChr   Nlm_StrRChr

Definition at line 293 of file ncbistr.hpp.

◆ StrSave

#define StrSave   Nlm_StrSave

Definition at line 302 of file ncbistr.hpp.

◆ StrSet

#define StrSet   Nlm_StrSet

Definition at line 297 of file ncbistr.hpp.

◆ StrSpn

#define StrSpn   Nlm_StrSpn

Definition at line 298 of file ncbistr.hpp.

◆ StrStr

#define StrStr   Nlm_StrStr

Definition at line 299 of file ncbistr.hpp.

◆ StrTok

#define StrTok   Nlm_StrTok

Definition at line 300 of file ncbistr.hpp.

◆ StrUpper

#define StrUpper   Nlm_StrUpper

Definition at line 304 of file ncbistr.hpp.

◆ SubStringData

#define SubStringData   Nlm_SubStringData

Definition at line 382 of file ncbistr.hpp.

◆ SubStringDataPtr

#define SubStringDataPtr   Nlm_SubStringDataPtr

Definition at line 383 of file ncbistr.hpp.

◆ text2stream

#define text2stream   Nlm_text2stream

Definition at line 220 of file ncbistr.hpp.

◆ TIME_MAX

#define TIME_MAX   ULONG_MAX

Definition at line 193 of file ncbistd.hpp.

◆ TO_LOWER

#define TO_LOWER (   c)    ((Nlm_Char)(IS_UPPER(c) ? (c)+' ' : (c)))

Definition at line 396 of file ncbistr.hpp.

◆ TO_UPPER

#define TO_UPPER (   c)    ((Nlm_Char)(IS_LOWER(c) ? (c)-' ' : (c)))

Definition at line 397 of file ncbistr.hpp.

◆ TrimSpacesAroundString

#define TrimSpacesAroundString   Nlm_TrimSpacesAroundString

Definition at line 342 of file ncbistr.hpp.

◆ TRUE

#define TRUE   ((Nlm_Boolean)1)

Definition at line 233 of file ncbistd.hpp.

◆ Uchar

#define Uchar   Nlm_Uchar

Definition at line 130 of file ncbistd.hpp.

◆ UcharPtr

#define UcharPtr   Nlm_UcharPtr

Definition at line 131 of file ncbistd.hpp.

◆ Uint1

#define Uint1   Nlm_Uint1

Definition at line 157 of file ncbistd.hpp.

◆ UINT1_MAX

#define UINT1_MAX   UCHAR_MAX

Definition at line 159 of file ncbistd.hpp.

◆ Uint1Ptr

#define Uint1Ptr   Nlm_Uint1Ptr

Definition at line 158 of file ncbistd.hpp.

◆ Uint2

#define Uint2   Nlm_Uint2

Definition at line 172 of file ncbistd.hpp.

◆ UINT2_MAX

#define UINT2_MAX   USHRT_MAX

Definition at line 174 of file ncbistd.hpp.

◆ Uint2Ptr

#define Uint2Ptr   Nlm_Uint2Ptr

Definition at line 173 of file ncbistd.hpp.

◆ Uint4

#define Uint4   Nlm_Uint4

Definition at line 187 of file ncbistd.hpp.

◆ UINT4_MAX

#define UINT4_MAX   4294967295U

Definition at line 189 of file ncbistd.hpp.

◆ Uint4Ptr

#define Uint4Ptr   Nlm_Uint4Ptr

Definition at line 188 of file ncbistd.hpp.

◆ Uint8

#define Uint8   Nlm_Uint8

Definition at line 246 of file ncbiopt.hpp.

◆ UINT8_MAX

#define UINT8_MAX   UINT4_MAX

Definition at line 238 of file ncbiopt.hpp.

◆ Uint8Ptr

#define Uint8Ptr   Nlm_Uint8Ptr

Definition at line 248 of file ncbiopt.hpp.

◆ USING_CTRANSITION_SCOPE

#define USING_CTRANSITION_SCOPE   USING_SCOPE(CTRANSITION_NS)

Definition at line 51 of file ncbilcl.hpp.

◆ VoidPtr

#define VoidPtr   Nlm_VoidPtr

Definition at line 111 of file ncbistd.hpp.

◆ VPROTO

#define VPROTO (   x)    x

Definition at line 184 of file ncbilcl.hpp.

Typedef Documentation

◆ Nlm_Boolean

typedef unsigned char Nlm_Boolean

Definition at line 135 of file ncbistd.hpp.

◆ Nlm_BoolPtr

typedef unsigned char * Nlm_BoolPtr

Definition at line 135 of file ncbistd.hpp.

◆ Nlm_Byte

typedef unsigned char Nlm_Byte

Definition at line 141 of file ncbistd.hpp.

◆ Nlm_BytePtr

typedef unsigned char * Nlm_BytePtr

Definition at line 141 of file ncbistd.hpp.

◆ Nlm_Char

typedef char Nlm_Char

Definition at line 123 of file ncbistd.hpp.

◆ Nlm_CharPtr

typedef char * Nlm_CharPtr

Definition at line 123 of file ncbistd.hpp.

◆ Nlm_FloatHi

typedef double Nlm_FloatHi

Definition at line 203 of file ncbistd.hpp.

◆ Nlm_FloatHiPtr

typedef double * Nlm_FloatHiPtr

Definition at line 203 of file ncbistd.hpp.

◆ Nlm_FloatLo

typedef float Nlm_FloatLo

Definition at line 197 of file ncbistd.hpp.

◆ Nlm_FloatLoPtr

typedef float * Nlm_FloatLoPtr

Definition at line 197 of file ncbistd.hpp.

◆ Nlm_FnPtr

typedef int(* Nlm_FnPtr) (void)

Definition at line 105 of file ncbistd.hpp.

◆ Nlm_Handle

typedef void* Nlm_Handle

Definition at line 118 of file ncbistd.hpp.

◆ Nlm_Int1

typedef signed char Nlm_Int1

Definition at line 148 of file ncbistd.hpp.

◆ Nlm_Int1Ptr

typedef signed char * Nlm_Int1Ptr

Definition at line 148 of file ncbistd.hpp.

◆ Nlm_Int2

typedef short Nlm_Int2

Definition at line 163 of file ncbistd.hpp.

◆ Nlm_Int2Ptr

typedef short * Nlm_Int2Ptr

Definition at line 163 of file ncbistd.hpp.

◆ Nlm_Int4

typedef signed int Nlm_Int4

Definition at line 178 of file ncbistd.hpp.

◆ Nlm_Int4Ptr

typedef signed int * Nlm_Int4Ptr

Definition at line 178 of file ncbistd.hpp.

◆ Nlm_MemMap

typedef struct _nlm_mem_map Nlm_MemMap

◆ Nlm_MemMapPtr

typedef struct _nlm_mem_map Nlm_MemMapPtr

◆ Nlm_SubStringData

◆ Nlm_SubStringDataPtr

◆ Nlm_Uchar

typedef unsigned char Nlm_Uchar

Definition at line 129 of file ncbistd.hpp.

◆ Nlm_UcharPtr

typedef unsigned char * Nlm_UcharPtr

Definition at line 129 of file ncbistd.hpp.

◆ Nlm_Uint1

typedef unsigned char Nlm_Uint1

Definition at line 156 of file ncbistd.hpp.

◆ Nlm_Uint1Ptr

typedef unsigned char * Nlm_Uint1Ptr

Definition at line 156 of file ncbistd.hpp.

◆ Nlm_Uint2

typedef unsigned short Nlm_Uint2

Definition at line 171 of file ncbistd.hpp.

◆ Nlm_Uint2Ptr

typedef unsigned short * Nlm_Uint2Ptr

Definition at line 171 of file ncbistd.hpp.

◆ Nlm_Uint4

typedef unsigned int Nlm_Uint4

Definition at line 186 of file ncbistd.hpp.

◆ Nlm_Uint4Ptr

typedef unsigned int * Nlm_Uint4Ptr

Definition at line 186 of file ncbistd.hpp.

◆ Nlm_VoidPtr

typedef void* Nlm_VoidPtr

Definition at line 110 of file ncbistd.hpp.

Enumeration Type Documentation

◆ EMemMapAdvise

Enumerator
eMMA_Normal 
eMMA_Random 
eMMA_Sequential 
eMMA_WillNeed 
eMMA_DontNeed 

Definition at line 233 of file ncbimem.hpp.

◆ ErrSev

enum 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.

Function Documentation

◆ BytesToUint8()

NLM_EXTERN Nlm_Uint8 LIBCALL BytesToUint8 ( Nlm_Uint1Ptr  bytes)

Definition at line 864 of file ct_ncbistr.cpp.

References i, Nlm_Uint8, and rapidjson::value.

◆ cacher_open()

fci_t LIBCALL cacher_open ( fci_t  stream,
int  max_cache_size,
int  read 
)

◆ compressor_open()

fci_t LIBCALL compressor_open ( fci_t  stream,
int  max_buffer_size,
int  read 
)

◆ CT_CompressBuffer()

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.

Use specified method to.compress data.

Parameters
src_bufSource buffer.
src_lenSize of data in source buffer.
dst_bufDestination buffer.
dst_sizeSize 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_lenSize of compressed data in destination buffer.
methodCompression 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_bufSource buffer.
src_lenSize of data in source buffer.
dst_bufDestination buffer. It must be large enough to hold all of the uncompressed data for the operation to complete.
dst_sizeSize of destination buffer.
dst_lenSize 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()

EDiagSev CTOOLS_CToCxxSeverity ( int  c_severity)

◆ CTOOLS_CxxToCSeverity()

int CTOOLS_CxxToCSeverity ( EDiagSev  cxx_severity)

◆ ctransition_ErrMessage()

std::string ctransition_ErrMessage ( const char *  format,
  ... 
)

Definition at line 72 of file ct_ncbierr.cpp.

References _TROUBLE, buffer, format, kMax, n, string, and vsnprintf.

◆ ctransition_ErrSeverity()

NCBI_NS_NCBI::Severity ctransition_ErrSeverity ( ErrSev  sev)

◆ fci_open()

fci_t LIBCALL fci_open ( Pointer  data,
Int4(*)(Pointer ptr, CharPtr buf, Int4 count)  proc_buf,
Int4(*)(Pointer ptr, int commit)  pclose 
)

Definition at line 89 of file ct_nlmzip_streamprocs.cpp.

References fci_t::close, fci_t::data, data, Nlm_MemNew(), and fci_t::proc_buf.

Referenced by cacher_open(), and compressor_open().

◆ Int8ToString()

char* LIBCALL Int8ToString ( Nlm_Int8  value,
char *  str,
size_t  str_size 
)
inline

◆ Nlm_CallocViaMalloc()

NLM_EXTERN void* Nlm_CallocViaMalloc ( size_t  n_elem,
size_t  item_size 
)

Definition at line 94 of file ct_ncbimem.cpp.

References Nlm_Malloc, Nlm_MemSet, and ncbi::grid::netcache::search::fields::size.

◆ Nlm_Int8ToString()

NLM_EXTERN char* LIBCALL Nlm_Int8ToString ( Nlm_Int8  value,
char *  str,
size_t  str_size 
)

Definition at line 984 of file ct_ncbistr.cpp.

References Nlm_Uint8, NULL, s_Uint8ToString(), str(), val, and rapidjson::value.

Referenced by Int8ToString().

◆ Nlm_MemCopy()

NLM_EXTERN void* LIBCALL Nlm_MemCopy ( void *  dst,
const void *  src,
size_t  bytes 
)

Definition at line 330 of file ct_ncbimem.cpp.

References Nlm_MemCpy, and NULL.

◆ Nlm_MemDup()

NLM_EXTERN void* LIBCALL Nlm_MemDup ( const void *  orig,
size_t  size 
)

◆ Nlm_MemExtend()

NLM_EXTERN void* LIBCALL Nlm_MemExtend ( void *  ptr,
size_t  size,
size_t  oldsize 
)

◆ Nlm_MemFill()

NLM_EXTERN void* LIBCALL Nlm_MemFill ( void *  ptr,
int  value,
size_t  bytes 
)

Definition at line 391 of file ct_ncbimem.cpp.

References buf, Nlm_MemSet, NULL, and rapidjson::value.

◆ Nlm_MemFree()

NLM_EXTERN void* LIBCALL Nlm_MemFree ( void *  ptr)

◆ Nlm_MemGet()

NLM_EXTERN void* LIBCALL Nlm_MemGet ( size_t  size,
unsigned int  flags 
)

◆ Nlm_MemMapAdvise()

Nlm_Boolean Nlm_MemMapAdvise ( void *  addr,
size_t  len,
EMemMapAdvise  advise 
)

Definition at line 829 of file ct_ncbimem.cpp.

References eMMA_DontNeed, eMMA_Random, eMMA_Sequential, eMMA_WillNeed, FALSE, len, and TRUE.

Referenced by Nlm_MemMapAdvisePtr().

◆ Nlm_MemMapAdvisePtr()

Nlm_Boolean Nlm_MemMapAdvisePtr ( Nlm_MemMapPtr  ptr,
EMemMapAdvise  advise 
)

◆ Nlm_MemMapAvailable()

NLM_EXTERN Nlm_Boolean Nlm_MemMapAvailable ( void  )

Definition at line 732 of file ct_ncbimem.cpp.

References FALSE, and TRUE.

Referenced by Nlm_MemMapInit().

◆ Nlm_MemMapFini()

NLM_EXTERN void Nlm_MemMapFini ( Nlm_MemMapPtr  mem_mapp)

Definition at line 812 of file ct_ncbimem.cpp.

References _nlm_mem_map::file_size, _nlm_mem_map::mmp_begin, and Nlm_MemFree().

◆ Nlm_MemMapInit()

NLM_EXTERN Nlm_MemMapPtr Nlm_MemMapInit ( const Nlm_Char PNTR  name)

◆ Nlm_MemMore()

NLM_EXTERN void* LIBCALL Nlm_MemMore ( void *  ptr,
size_t  size 
)

◆ Nlm_MemMove()

NLM_EXTERN void* LIBCALL Nlm_MemMove ( void *  dst,
const void *  src,
size_t  bytes 
)

Definition at line 365 of file ct_ncbimem.cpp.

◆ Nlm_MemNew()

BEGIN_CTRANSITION_SCOPE NLM_EXTERN void* LIBCALL Nlm_MemNew ( size_t  size)

◆ Nlm_MemSearch()

NLM_EXTERN size_t LIBCALL Nlm_MemSearch ( const void *  where,
size_t  where_size,
const void *  what,
size_t  what_size 
)

Definition at line 404 of file ct_ncbimem.cpp.

References i.

◆ Nlm_SearchSubString()

NLM_EXTERN Nlm_CharPtr Nlm_SearchSubString ( const char FAR str,
Nlm_SubStringData PNTR  data 
)

Definition at line 730 of file ct_ncbistr.cpp.

References data, FAR, i, int, Nlm_StringLen(), NULL, str(), and TO_UPPER.

◆ Nlm_SetHeapLimit()

NLM_EXTERN Nlm_Boolean Nlm_SetHeapLimit ( size_t  curr,
size_t  add,
size_t  max 
)

Definition at line 139 of file ct_ncbimem.cpp.

References FALSE.

◆ Nlm_SetupSubString()

NLM_EXTERN Nlm_Boolean Nlm_SetupSubString ( const char FAR sub,
Nlm_Boolean  caseCounts,
Nlm_SubStringData PNTR  data 
)

Definition at line 695 of file ct_ncbistr.cpp.

References data, FALSE, int, MemSet(), Nlm_StringLen(), NULL, TO_UPPER, and TRUE.

◆ Nlm_StringToInt8()

NLM_EXTERN Nlm_Int8 LIBCALL Nlm_StringToInt8 ( const char *  str,
const char **  endptr 
)

Definition at line 940 of file ct_ncbistr.cpp.

References INT8_MAX, Nlm_Int8, Nlm_Uint8, result, s_StringToUint8(), and str().

Referenced by StringToInt8().

◆ Nlm_StringToUint8()

NLM_EXTERN Nlm_Uint8 LIBCALL Nlm_StringToUint8 ( const char *  str,
const char **  endptr 
)

Definition at line 933 of file ct_ncbistr.cpp.

References s_StringToUint8(), and str().

Referenced by StringToUint8().

◆ Nlm_Uint8ToString()

NLM_EXTERN char* LIBCALL Nlm_Uint8ToString ( Nlm_Uint8  value,
char *  str,
size_t  str_size 
)

Definition at line 978 of file ct_ncbistr.cpp.

References s_Uint8ToString(), str(), and rapidjson::value.

Referenced by Uint8ToString().

◆ Nlmzip_Compress()

Nlmzip_rc_t Nlmzip_Compress ( const void *  pInputData,
Int4  iInputSize,
void *  pOutputBuff,
Int4  iOutputSize,
Int4Ptr  ipCompressedSize 
)

◆ Nlmzip_CrcMode()

Boolean Nlmzip_CrcMode ( Boolean  bNewMode)

Definition at line 141 of file ct_nlmzip_util.cpp.

References isGenerateCrcEnable.

◆ Nlmzip_ErrMsg()

const char* Nlmzip_ErrMsg ( Int4  iCode)

Definition at line 520 of file ct_nlmzip_dcompr.cpp.

References CharPtr, int, and theComprErr.

◆ Nlmzip_Uncompress()

Nlmzip_rc_t Nlmzip_Uncompress ( const void *  pInputData,
Int4  iInputSize,
void *  pOutputBuff,
Int4  iOutputSize,
Int4Ptr  ipUncompressedSize 
)

◆ Nlmzip_UncompressedSize()

Int4 Nlmzip_UncompressedSize ( VoidPtr  pBuffer,
Int4  iSize 
)

Definition at line 536 of file ct_nlmzip_dcompr.cpp.

References LG.

◆ PROTO() [1/39]

NLM_EXTERN char *LIBCALL Nlm_StrLower PROTO ( (char *string )

◆ PROTO() [2/39]

NLM_EXTERN Nlm_CharPtr LIBCALL StrCpyPtr PROTO ( (char FAR *Dest, char FAR *Start, char FAR *Stop)  )

◆ PROTO() [3/39]

NLM_EXTERN void LIBCALL CleanSpaces PROTO ( (char FAR *Line )

◆ PROTO() [4/39]

NLM_EXTERN Nlm_CharPtr LIBCALL StrDupPtr PROTO ( (char FAR *Start, char FAR *Stop)  )

◆ PROTO() [5/39]

NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StringTok PROTO ( (char FAR *str1, const char FAR *str2)  )

◆ PROTO() [6/39]

NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StringTokMT PROTO ( (char FAR *str1, const char FAR *str2, char FAR **tmp )

◆ PROTO() [7/39]

NLM_EXTERN Nlm_CharPtr LIBCALL StringEnd PROTO ( (char FAR *String)  )

◆ PROTO() [8/39]

NLM_EXTERN Int4 LIBCALL CountChar PROTO ( (char FAR *String, char Char )

◆ PROTO() [9/39]

NLM_EXTERN void LIBCALL DeleteChar PROTO ( (char FAR *String, char Delete)  )

◆ PROTO() [10/39]

NLM_EXTERN Nlm_CharPtr LIBCALL SkipToSet PROTO ( (char FAR *String, char FAR *CharSet)  )

◆ PROTO() [11/39]

NLM_EXTERN Int4 LIBCALL CountStrings PROTO ( (char FAR *String, char FAR *Find)  )

◆ PROTO() [12/39]

NLM_EXTERN Nlm_Boolean LIBCALL StringSubString PROTO ( (char FAR *String, char FAR *Find, char FAR *Replace, Nlm_Int4 MaxLength)  )

◆ PROTO() [13/39]

NLM_EXTERN Nlm_Boolean LIBCALL StringSubSet PROTO ( (char FAR *String, char FAR *FindSet, char Replace)  )

◆ PROTO() [14/39]

NLM_EXTERN Nlm_Int4 LIBCALL CountSet PROTO ( (char FAR *String, char FAR *Set)  )

◆ PROTO() [15/39]

NLM_EXTERN Nlm_Boolean LIBCALL StringSub PROTO ( (char FAR *String, char Find, char Replace)  )

◆ PROTO() [16/39]

◆ PROTO() [17/39]

NLM_EXTERN Nlm_CharPtr LIBCALL TruncateStringCopy PROTO ( (char FAR *String, Nlm_Int4 Length)  )

◆ PROTO() [18/39]

NLM_EXTERN Nlm_Int4 LIBCALL StringDiff PROTO ( (char FAR *This, char FAR *That)  )

◆ PROTO() [19/39]

NLM_EXTERN Nlm_Int4 LIBCALL StringDiffNum PROTO ( (char FAR *This, char FAR *That, Nlm_Int4 NumChars)  )

◆ PROTO() [20/39]

NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StringMove PROTO ( (char FAR *to, const char FAR *from)  )

◆ PROTO() [21/39]

NLM_EXTERN Nlm_CharPtr LIBCALL Nlm_StringNCat PROTO ( (char FAR *to, const char FAR *from, size_t max )

◆ PROTO() [22/39]

NLM_EXTERN size_t LIBCALL Nlm_StringLen PROTO ( (const char *str )

◆ PROTO() [23/39]

NLM_EXTERN int LIBCALL Nlm_StringICmp PROTO ( (const char FAR *a, const char FAR *b )

◆ PROTO() [24/39]

NLM_EXTERN int LIBCALL Nlm_StringNICmp PROTO ( (const char FAR *a, const char FAR *b, size_t max )

◆ PROTO() [25/39]

◆ PROTO() [26/39]

◆ PROTO() [27/39]

◆ PROTO() [28/39]

NLM_EXTERN size_t LIBCALL Nlm_StringCnt PROTO ( (const char FAR *str, const char FAR *x_list)  )

◆ PROTO() [29/39]

◆ PROTO() [30/39]

NLM_EXTERN Nlm_Int2 LIBCALL Nlm_MeshStringICmp PROTO ( (const char FAR *str1, const char FAR *str2)  )

◆ PROTO() [31/39]

◆ PROTO() [32/39]

◆ PROTO() [33/39]

NLM_EXTERN size_t Nlm_stream2text PROTO ( (const Nlm_Char FAR PNTR str, size_t max_col, int PNTR dash)  )

◆ PROTO() [34/39]

◆ PROTO() [35/39]

◆ PROTO() [36/39]

◆ PROTO() [37/39]

◆ PROTO() [38/39]

◆ PROTO() [39/39]

◆ SetupCToolkitErrPost()

void SetupCToolkitErrPost ( void  )

Definition at line 146 of file ctools.cpp.

References s_c2cxxErrorHandler(), and TRUE.

◆ StringToInt8()

Nlm_Int8 LIBCALL StringToInt8 ( const char *  str,
const char **  endptr 
)
inline

◆ StringToUint8()

Nlm_Uint8 LIBCALL StringToUint8 ( const char *  str,
const char **  endptr 
)
inline

Definition at line 414 of file ncbistr.hpp.

References Nlm_StringToUint8(), and str().

◆ Uint8ToBytes()

NLM_EXTERN Nlm_Uint1Ptr LIBCALL Uint8ToBytes ( Nlm_Uint8  value)

Definition at line 849 of file ct_ncbistr.cpp.

References i, mask, MemNew, and rapidjson::value.

◆ Uint8ToString()

char* LIBCALL Uint8ToString ( Nlm_Uint8  value,
char *  str,
size_t  str_size 
)
inline

Definition at line 426 of file ncbistr.hpp.

References Nlm_Uint8ToString(), str(), and rapidjson::value.

Variable Documentation

◆ caseCounts

Nlm_Boolean substringdata::caseCounts

Definition at line 367 of file ncbistr.hpp.

◆ close

Int4(* fci_t::close) (Pointer ptr, int commit)

Definition at line 143 of file nlmzip.hpp.

Referenced by cacher_close(), compressor_close(), and fci_open().

◆ d

int substringdata::d[256]

Definition at line 365 of file ncbistr.hpp.

◆ data

Pointer fci_t::data

◆ file_size

Nlm_Int8 _nlm_mem_map::file_size

Definition at line 208 of file ncbimem.hpp.

Referenced by Nlm_MemMapAdvisePtr(), Nlm_MemMapFini(), and Nlm_MemMapInit().

◆ initialized

Nlm_Boolean substringdata::initialized

Definition at line 368 of file ncbistr.hpp.

◆ mmp_begin

Nlm_CharPtr _nlm_mem_map::mmp_begin

Definition at line 209 of file ncbimem.hpp.

Referenced by Nlm_MemMapAdvisePtr(), Nlm_MemMapFini(), and Nlm_MemMapInit().

◆ proc_buf

Int4(* fci_t::proc_buf) (Pointer ptr, CharPtr buf, Int4 count)

◆ sub

const char FAR* substringdata::sub

Definition at line 369 of file ncbistr.hpp.

◆ subLen

size_t substringdata::subLen

Definition at line 366 of file ncbistr.hpp.

◆ USING_NCBI_SCOPE

BEGIN_CTRANSITION_SCOPE USING_NCBI_SCOPE

Definition at line 121 of file nlmzip.hpp.

Modified on Sat Apr 13 11:48:26 2024 by modify_doxy.py rev. 669887