Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

string.h File Reference


Detailed Description

IPRT - String Manipluation.

Definition in file string.h.

#include <iprt/cdefs.h>
#include <iprt/types.h>
#include <iprt/stdarg.h>
#include <iprt/err.h>
#include <string.h>

Go to the source code of this file.

Classes

struct  RTSTRSPACECORE

Defines

#define RT_BZERO(pv, cb)   do { memset((pv), 0, cb); } while (0)
#define RT_ZERO(Obj)   RT_BZERO(&(Obj), sizeof(Obj))
#define RTSTR_GET_BIT_FLAG(type)
#define RTSTR_MAX   (~(size_t)0)
#define RTSTR_F_128BIT   0x8000
#define RTSTR_F_16BIT   0x1000
#define RTSTR_F_32BIT   0x2000
#define RTSTR_F_64BIT   0x4000
#define RTSTR_F_8BIT   0x0800
#define RTSTR_F_BIT_MASK   0xf800
#define RTSTR_F_BLANK   0x0040
#define RTSTR_F_CAPITAL   0x0001
#define RTSTR_F_LEFT   0x0002
#define RTSTR_F_PLUS   0x0020
#define RTSTR_F_PRECISION   0x0100
#define RTSTR_F_SPECIAL   0x0008
#define RTSTR_F_THOUSAND_SEP   0x0200
#define RTSTR_F_VALSIGNED   0x0010
#define RTSTR_F_WIDTH   0x0080
#define RTSTR_F_ZEROPAD   0x0004
Flags for RTStrValidateEncodingEx
#define RTSTR_VALIDATE_ENCODING_ZERO_TERMINATED   RT_BIT_32(0)

Typedefs

typedef const char size_t cbChars
typedef PFNRTSTROUTPUT void
const char va_list int int 
cchPrecision
typedef PFNRTSTROUTPUT void
const char va_list int 
cchWidth
typedef PFNRTSTROUTPUT void
const char va_list int int
unsigned char 
chArgSize
typedef const char * pachChars
typedef PFNRTSTROUTPUT void
const char va_list * 
pArgs
typedef PFNRTSTROUTPUT pfnOutput
typedef FNRTSTRFORMATTYPE * PFNRTSTRFORMATTYPE
typedef FNRTSTROUTPUT * PFNRTSTROUTPUT
typedef FNRTSTRSPACECALLBACK * PFNRTSTRSPACECALLBACK
typedef FNSTRFORMAT * PFNSTRFORMAT
typedef PRTSTRSPACECOREPPRTSTRSPACECORE
typedef PFNRTSTROUTPUT void
const char ** 
ppszFormat
typedef PPRTSTRSPACECORE PRTSTRSPACE
typedef struct RTSTRSPACECOREPRTSTRSPACECORE
typedef void const char * pszType
typedef PFNRTSTROUTPUT void * pvArgOutput
typedef void const char void
const int int unsigned void * 
pvUser
typedef void const char void
const * 
pvValue
typedef PRTSTRSPACECORE RTSTRSPACE

Functions

typedef DECLCALLBACK (int) FNRTSTRSPACECALLBACK(PRTSTRSPACECORE pStr
typedef DECLCALLBACK (size_t) FNRTSTROUTPUT(void *pvArg
 DECLINLINE (bool) RTUtf16IsHighSurrogate(RTUTF16 wc)
 DECLINLINE (int) RTStrGetCpEx(const char **ppsz
 DECLINLINE (RTUNICP) RTStrGetCp(const char *psz)
 RTDECL (PRTUTF16) RTUtf16Dup(PCRTUTF16 pwszString)
 RTDECL (PRTSTRSPACECORE) RTStrSpaceRemove(PRTSTRSPACE pStrSpace
 RTDECL (int8_t) RTStrToInt8(const char *pszValue)
 RTDECL (int16_t) RTStrToInt16(const char *pszValue)
 RTDECL (int32_t) RTStrToInt32(const char *pszValue)
 RTDECL (int64_t) RTStrToInt64(const char *pszValue)
 RTDECL (uint16_t) RTStrToUInt16(const char *pszValue)
 RTDECL (uint32_t) RTStrToUInt32(const char *pszValue)
 RTDECL (uint64_t) RTStrToUInt64(const char *pszValue)
 RTDECL (RTUNICP) RTStrGetCpInternal(const char *psz)
 RTDECL (size_t) RTStrUniLen(const char *psz)
 RTDECL (bool) RTStrIsValidEncoding(const char *psz)
 RTDECL (int) RTStrDupEx(char **ppszString
 RTDECL (char *) RTStrDup(const char *pszString)
 RTDECL (void) RTStrFree(char *pszString)

Variables

size_t const char va_list args
size_t cb
size_t cbDst
size_t cbNew
size_t cch
const char size_t cchAppend
size_t cchBuf
size_t cchBuffer
size_t cchMax
size_t size_t cchNew
size_t cchPattern
size_t cchPatterns
size_t const char size_t cchSrcMax
size_t cchString
size_t PRTUNICP size_t cCps
RTUNICP CodePoint
size_t cPairs
size_t PRTUTF16 size_t cwc
PCRTUTF16 size_t cwcExtra
size_t cwcString
size_t uint32_t fFlags
void PFNSTRFORMAT void const
char va_list 
InArgs
size_t * pcch
size_t PRTUNICP size_t size_t * pcCps
PRTUNICP pCp
size_t size_t * pcuc
size_t size_t * pcwc
PFNRTSTRSPACECALLBACK pfnCallback
void PFNSTRFORMAT pfnFormat
PFNRTSTRFORMATTYPE pfnHandler
char unsigned int16_t * pi16
char unsigned int32_t * pi32
char unsigned int64_t * pi64
char unsigned int8_t * pi8
size_t const char size_t size_t * poffPattern
size_t PRTUNICPppaCps
size_t char ** ppsz
char ** ppszNext
char ** ppszString
PRTUNICPppUniString
size_t PRTUTF16ppwsz
PRTUTF16ppwszString
PRTSTRSPACECORE pStr
const char * psz2
const char * pszAppend
size_t const char void char * pszBuffer
void PFNSTRFORMAT void const char * pszFormat
const char * pszNeedle
size_t const char * pszSrc
const char * pszString
const char * pszVer2
char unsigned uint16_t * pu16
char unsigned uint32_t * pu32
char unsigned uint64_t * pu64
char unsigned uint8_t * pu8
size_t void const * pv
size_t const char void * pvArg
void PFNSTRFORMAT void * pvArgFormat
register PCRTUTF16 pwsz2
PCRTUTF16 pwszString
char unsigned uBase
void PFNSTRFORMAT void const
char uint64_t unsigned int 
uiBase
size_t va_list va
Implicit Test Handle API Variation
The test handle is retrieved from the test TLS entry of the calling thread.

void PFNSTRFORMAT void const
char uint64_t 
u64Value


Generated by  Doxygen 1.6.0   Back to index