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

nsCRT Class Reference

#include <nsCRT.h>

List of all members.

Detailed Description

This is a wrapper class around all the C runtime functions.

Definition at line 102 of file nsCRT.h.

Public Types

enum  {
  TAB = '\t', LF = '\n', VTAB = '\v', FF = '\f',
  CR = '\r'

Static Public Member Functions

static PRInt64 atoll (const char *str)
static PRUint32 BufferHashCode (const PRUnichar *str, PRUint32 strLen)
static PRUint32 BufferHashCode (const char *str, PRUint32 strLen)
static void free (PRUnichar *str)
static void free (char *str)
static PRUint32 HashCode (const PRUnichar *str, PRUint32 *resultingStrLen=nsnull)
static PRUint32 HashCode (const char *str, PRUint32 *resultingStrLen=nsnull)
static PRUint32 HashCodeAsUTF8 (const PRUnichar *str, PRUint32 *resultingStrLen=nsnull)
static PRBool IsAscii (const char *aString, PRUint32 aLength)
static PRBool IsAscii (const char *aString)
static PRBool IsAscii (const PRUnichar *aString)
static PRBool IsAscii (PRUnichar aChar)
static PRBool IsAsciiAlpha (PRUnichar aChar)
static PRBool IsAsciiDigit (PRUnichar aChar)
static PRBool IsAsciiSpace (PRUnichar aChar)
static PRBool IsLower (char aChar)
static PRBool IsUpper (char aChar)
static PRInt32 strcasecmp (const char *s1, const char *s2)
 Case-insensitive string comparison.
static PRInt32 strcmp (const PRUnichar *s1, const PRUnichar *s2)
 Like strcmp except for ucs2 strings.
static PRInt32 strcmp (const char *s1, const char *s2)
 Compare s1 and s2.
static PRUnichar * strdup (const PRUnichar *str)
static char * strdup (const char *str)
static PRUint32 strlen (const PRUnichar *s)
 Like strlen except for ucs2 strings.
static PRUint32 strlen (const char *s)
static PRInt32 strncasecmp (const char *s1, const char *s2, PRUint32 aMaxLen)
 Case-insensitive string comparison with length.
static PRInt32 strncmp (const PRUnichar *s1, const PRUnichar *s2, PRUint32 aMaxLen)
 Like strcmp except for ucs2 strings.
static PRInt32 strncmp (const char *s1, const char *s2, PRInt32 aMaxLen)
static PRInt32 strncmp (const char *s1, const char *s2, PRUint32 aMaxLen)
static PRUnichar * strndup (const PRUnichar *str, PRUint32 len)
static char * strndup (const char *str, PRUint32 len)
static char * strtok (char *str, const char *delims, char **newStr)
static char ToLower (char aChar)
static char ToUpper (char aChar)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index