Bitdefender Hypervisor Memory Introspection
conv.c File Reference
#include "introtypes.h"

Go to the source code of this file.

Macros

#define crt_tolower(c)   ((((c) >= 'A') && ((c) <= 'Z')) ? ((c) - 'A' + 'a') : (c))
 
#define crt_toupper(c)   ((((c) >= 'a') && ((c) <= 'z')) ? ((c) - 'a' + 'A') : (c))
 
#define isalpha(c)   (((((c) >= 'A') && ((c) <= 'Z')) || (((c) >= 'a') && ((c) <= 'z'))) ? 1 : 0)
 
#define isdigit(c)   ((((c) >= '0') && ((c) <= '9')) ? 1 : 0)
 
#define isxdigit(c)
 
#define isprint(c)   (((c) >= ' ' && (c) <= '~') ? 1 : 0)
 
#define isspace(c)   (((c) == ' ') || ((c) == '\t') || ((c) == '\n') || ((c) == '\v') || ((c) == '\f') || ((c) == '\r'))
 

Functions

int tolower (int c)
 
int toupper (int c)
 
static UINT64 quick_convert (const char *Ptr, const char **EndPtr)
 
INT32 __cdecl strtol (const INT8 *nptr, INT8 **endptr, INT32 ibase)
 
UINT32 __cdecl strtoul (const INT8 *nptr, INT8 **endptr, INT32 ibase)
 
INT64 __cdecl strtoll (const INT8 *nptr, INT8 **endptr, INT32 ibase)
 
UINT64 __cdecl strtoull (const INT8 *nptr, INT8 **endptr, INT32 ibase)
 

Macro Definition Documentation

◆ crt_tolower

#define crt_tolower (   c)    ((((c) >= 'A') && ((c) <= 'Z')) ? ((c) - 'A' + 'a') : (c))

Definition at line 10 of file conv.c.

Referenced by tolower().

◆ crt_toupper

#define crt_toupper (   c)    ((((c) >= 'a') && ((c) <= 'z')) ? ((c) - 'a' + 'A') : (c))

Definition at line 11 of file conv.c.

Referenced by toupper().

◆ isalpha

#define isalpha (   c)    (((((c) >= 'A') && ((c) <= 'Z')) || (((c) >= 'a') && ((c) <= 'z'))) ? 1 : 0)

Definition at line 25 of file conv.c.

◆ isdigit

#define isdigit (   c)    ((((c) >= '0') && ((c) <= '9')) ? 1 : 0)

Definition at line 27 of file conv.c.

◆ isprint

#define isprint (   c)    (((c) >= ' ' && (c) <= '~') ? 1 : 0)

Definition at line 32 of file conv.c.

◆ isspace

#define isspace (   c)    (((c) == ' ') || ((c) == '\t') || ((c) == '\n') || ((c) == '\v') || ((c) == '\f') || ((c) == '\r'))

Definition at line 33 of file conv.c.

◆ isxdigit

#define isxdigit (   c)
Value:
(((((c) >= 'A') && ((c) <= 'F')) || (((c) >= 'a') && \
((c) <= 'f')) || (((c) >= '0') && ((c) <= '9'))) ? 1 : 0)

Definition at line 29 of file conv.c.

Function Documentation

◆ quick_convert()

static UINT64 quick_convert ( const char *  Ptr,
const char **  EndPtr 
)
static

Definition at line 40 of file conv.c.

Referenced by strtol(), strtoll(), strtoul(), and strtoull().

◆ strtol()

INT32 __cdecl strtol ( const INT8 nptr,
INT8 **  endptr,
INT32  ibase 
)

Definition at line 106 of file conv.c.

Referenced by IntLixGuestParseVersion().

◆ strtoll()

INT64 __cdecl strtoll ( const INT8 nptr,
INT8 **  endptr,
INT32  ibase 
)

Definition at line 138 of file conv.c.

◆ strtoul()

UINT32 __cdecl strtoul ( const INT8 nptr,
INT8 **  endptr,
INT32  ibase 
)

◆ strtoull()

◆ tolower()

int tolower ( int  c)

Definition at line 14 of file conv.c.

Referenced by glob_match_utf16(), and glob_match_utf8().

◆ toupper()

int toupper ( int  c)

Definition at line 20 of file conv.c.