Lines Matching refs:NS_COM
61 NS_COM void LossyCopyUTF16toASCII( const nsAString& aSource, nsACString& aDest );
62 NS_COM void CopyASCIItoUTF16( const nsACString& aSource, nsAString& aDest );
64 NS_COM void LossyCopyUTF16toASCII( const PRUnichar* aSource, nsACString& aDest );
65 NS_COM void CopyASCIItoUTF16( const char* aSource, nsAString& aDest );
67 NS_COM void CopyUTF16toUTF8( const nsAString& aSource, nsACString& aDest );
68 NS_COM void CopyUTF8toUTF16( const nsACString& aSource, nsAString& aDest );
70 NS_COM void CopyUTF16toUTF8( const PRUnichar* aSource, nsACString& aDest );
71 NS_COM void CopyUTF8toUTF16( const char* aSource, nsAString& aDest );
73 NS_COM void LossyAppendUTF16toASCII( const nsAString& aSource, nsACString& aDest );
74 NS_COM void AppendASCIItoUTF16( const nsACString& aSource, nsAString& aDest );
76 NS_COM void LossyAppendUTF16toASCII( const PRUnichar* aSource, nsACString& aDest );
77 NS_COM void AppendASCIItoUTF16( const char* aSource, nsAString& aDest );
79 NS_COM void AppendUTF16toUTF8( const nsAString& aSource, nsACString& aDest );
80 NS_COM void AppendUTF8toUTF16( const nsACString& aSource, nsAString& aDest );
82 NS_COM void AppendUTF16toUTF8( const PRUnichar* aSource, nsACString& aDest );
83 NS_COM void AppendUTF8toUTF16( const char* aSource, nsAString& aDest );
87 NS_COM void CopyUCS2toASCII( const nsAString& aSource, nsACString& aDest )
90 NS_COM void CopyASCIItoUCS2( const nsACString& aSource, nsAString& aDest )
104 NS_COM char* ToNewCString( const nsAString& aSource );
116 NS_COM char* ToNewCString( const nsACString& aSource );
133 NS_COM char* ToNewUTF8String( const nsAString& aSource, PRUint32 *aUTF8Count = nsnull );
148 NS_COM PRUnichar* ToNewUnicode( const nsAString& aSource );
162 NS_COM PRUnichar* ToNewUnicode( const nsACString& aSource );
179 NS_COM PRUnichar* UTF8ToNewUnicode( const nsACString& aSource, PRUint32 *aUTF16Count = nsnull );
193 NS_COM PRUnichar* CopyUnicodeTo( const nsAString& aSource,
210 NS_COM void CopyUnicodeTo( const nsAString::const_iterator& aSrcStart,
224 NS_COM void AppendUnicodeTo( const nsAString::const_iterator& aSrcStart,
233 NS_COM PRBool IsASCII( const nsAString& aString );
240 NS_COM PRBool IsASCII( const nsACString& aString );
261 NS_COM PRBool IsUTF8( const nsACString& aString );
267 NS_COM void ToUpperCase( nsACString& );
269 NS_COM void ToLowerCase( nsACString& );
271 NS_COM void ToUpperCase( nsCSubstring& );
273 NS_COM void ToLowerCase( nsCSubstring& );
278 NS_COM void ToUpperCase( const nsACString& aSource, nsACString& aDest );
280 NS_COM void ToLowerCase( const nsACString& aSource, nsACString& aDest );
292 NS_COM PRBool FindInReadable( const nsAString& aPattern, nsAString::const_iterator&, nsAString::const_iterator&, const nsStringComparator& = nsDefaultStringComparator() );
293 NS_COM PRBool FindInReadable( const nsACString& aPattern, nsACString::const_iterator&, nsACString::const_iterator&, const nsCStringComparator& = nsDefaultCStringComparator() );
314 NS_COM PRBool CaseInsensitiveFindInReadable( const nsACString& aPattern, nsACString::const_iterator&, nsACString::const_iterator& );
324 NS_COM PRBool RFindInReadable( const nsAString& aPattern, nsAString::const_iterator&, nsAString::const_iterator&, const nsStringComparator& = nsDefaultStringComparator() );
325 NS_COM PRBool RFindInReadable( const nsACString& aPattern, nsACString::const_iterator&, nsACString::const_iterator&, const nsCStringComparator& = nsDefaultCStringComparator() );
335 NS_COM PRBool FindCharInReadable( PRUnichar aChar, nsAString::const_iterator& aSearchStart, const nsAString::const_iterator& aSearchEnd );
336 NS_COM PRBool FindCharInReadable( char aChar, nsACString::const_iterator& aSearchStart, const nsACString::const_iterator& aSearchEnd );
341 NS_COM PRUint32 CountCharInReadable( const nsAString& aStr,
343 NS_COM PRUint32 CountCharInReadable( const nsACString& aStr,
346 NS_COM PRBool
350 NS_COM PRBool
354 NS_COM PRBool
358 NS_COM PRBool
363 NS_COM PRUint32 HashString( const nsAString& aStr );
364 NS_COM PRUint32 HashString( const nsACString& aStr );
366 NS_COM const nsAFlatString& EmptyString();
367 NS_COM const nsAFlatCString& EmptyCString();