#include "nsSubstring.h"#include "nsDependentSubstring.h"#include "nsReadableUtils.h"#include <new>#include "string-template-def-unichar.h"#include "nsTString.h"#include "string-template-undef.h"#include "string-template-def-char.h"#include "nsDependentString.h"#include "nsLiteralString.h"#include "nsPromiseFlatString.h"#include "nsMemory.h"#include <string.h>#include <stdio.h>#include "plhash.h"
Include dependency graph for nsString.h:Classes | |
| class | NS_LossyConvertUTF16toASCII |
| A helper class that converts a UTF-16 string to ASCII in a lossy manner. More... | |
| class | NS_ConvertASCIItoUTF16 |
| class | NS_ConvertUTF16toUTF8 |
| A helper class that converts a UTF-16 string to UTF-8. More... | |
| class | NS_ConvertUTF8toUTF16 |
Defines | |
| #define | MOZ_STRING_WITH_OBSOLETE_API 1 |
| #define | kRadix10 (10) |
| #define | kRadix16 (16) |
| #define | kAutoDetect (100) |
| #define | kRadixUnknown (kAutoDetect+1) |
| #define | IGNORE_CASE (PR_TRUE) |
Typedefs | |
| typedef nsAutoString | nsVoidableString |
Functions | |
| void | pr_static_assert (int arg[(sizeof(PRUnichar)==2)?1:-1]) |
| void | pr_static_assert (int arg[(sizeof(nsString::char_type)==2)?1:-1]) |
| void | pr_static_assert (int arg[(sizeof(nsCString::char_type)==1)?1:-1]) |
| PRInt32 | MinInt (PRInt32 x, PRInt32 y) |
| PRInt32 | MaxInt (PRInt32 x, PRInt32 y) |
| void | Recycle (char *aBuffer) |
| Deprecated: don't use |Recycle|, just call |nsMemoryFree| directly. | |
| void | Recycle (PRUnichar *aBuffer) |
| #define IGNORE_CASE (PR_TRUE) |
| #define kAutoDetect (100) |
| #define kRadix10 (10) |
| #define kRadix16 (16) |
| #define kRadixUnknown (kAutoDetect+1) |
| #define MOZ_STRING_WITH_OBSOLETE_API 1 |
| typedef nsAutoString nsVoidableString |
| PRInt32 MaxInt | ( | PRInt32 | x, | |
| PRInt32 | y | |||
| ) | [inline] |
| PRInt32 MinInt | ( | PRInt32 | x, | |
| PRInt32 | y | |||
| ) | [inline] |
| void pr_static_assert | ( | int | arg[(sizeof(nsString::char_type)==2)?1:-1] | ) |
| void pr_static_assert | ( | int | arg[(sizeof(PRUnichar)==2)?1:-1] | ) |
| void pr_static_assert | ( | int | arg[(sizeof(nsCString::char_type)==1)?1:-1] | ) |
| void Recycle | ( | PRUnichar * | aBuffer | ) | [inline] |
| void Recycle | ( | char * | aBuffer | ) | [inline] |
Deprecated: don't use |Recycle|, just call |nsMemoryFree| directly.
Return the given buffer to the heap manager. Calls allocator::Free()
1.7.1