Home | History | Annotate | Download | only in Common

Lines Matching full:operator

210   friend AString operator+(const AString &s, char c) { return AString(s, c); } ;

211 // friend AString operator+(char c, const AString &s); // is not supported
213 friend AString operator+(const AString &s1, const AString &s2);
214 friend AString operator+(const AString &s1, const char *s2);
215 friend AString operator+(const char *s1, const AString &s2);
218 AString &operator+=(wchar_t c);
219 AString &operator=(wchar_t c);
239 operator const char *() const { return _chars; }
275 AString &operator=(char c);
276 AString &operator=(const char *s);
277 AString &operator=(const AString &s);
281 AString &operator+=(char c)
296 void Add_PathSepar() { operator+=(CHAR_PATH_SEPARATOR); }
298 AString &operator+=(const char *s);
299 AString &operator+=(const AString &s);
300 void AddAscii(const char *s) { operator+=(s); }
304 // void SetFromAscii(const char *s) { operator+=(s); }
378 bool operator<(const AString &s1, const AString &s2);
379 bool operator>(const AString &s1, const AString &s2);
382 bool operator==(const AString &s1, const AString &s2);
383 bool operator==(const AString &s1, const char *s2);
384 bool operator==(const char *s1, const AString &s2);
386 bool operator!=(const AString &s1, const AString &s2);
387 bool operator!=(const AString &s1, const char *s2);
388 bool operator!=(const char *s1, const AString &s2);
391 inline bool operator==(const AString &s1, const AString &s2) { return s1.Len() == s2.Len() && strcmp(s1, s2) == 0; }
392 inline bool operator==(const AString &s1, const char *s2) { return strcmp(s1, s2) == 0; }
393 inline bool operator==(const char *s1, const AString &s2) { return strcmp(s1, s2) == 0; }
395 inline bool operator!=(const AString &s1, const AString &s2) { return s1.Len() != s2.Len() || strcmp(s1, s2) != 0; }
396 inline bool operator!=(const AString &s1, const char *s2) { return strcmp(s1, s2) != 0; }
397 inline bool operator!=(const char *s1, const AString &s2) { return strcmp(s1, s2) != 0; }
401 void operator==(char c1, const AString &s2);
402 void operator==(const AString &s1, char c2);
404 void operator+(char c, const AString &s); // this function can be OK, but we don't use it
406 void operator+(const AString &s, int c);
407 void operator+(const AString &s, unsigned c);
408 void operator+(int c, const AString &s);
409 void operator+(unsigned c, const AString &s);
410 void operator-(const AString &s, int c);
411 void operator-(const AString &s, unsigned c);
438 friend UString operator+(const UString &s, wchar_t c) { return UString(s, c); } ;
439 // friend UString operator+(wchar_t c, const UString &s); // is not supported
441 friend UString operator+(const UString &s1, const UString &s2);
442 friend UString operator+(const UString &s1, const wchar_t *s2);
443 friend UString operator+(const wchar_t *s1, const UString &s2);
447 UString &operator+=(char c);
448 UString &operator+=(unsigned char c);
449 UString &operator=(char c);
450 UString &operator=(unsigned char c);
477 operator const wchar_t *() const { return _chars; }
510 UString &operator=(wchar_t c);
511 UString &operator=(const wchar_t *s);
512 UString &operator=(const UString &s);
515 UString &operator+=(wchar_t c)
530 void Add_PathSepar() { operator+=(WCHAR_PATH_SEPARATOR); }
532 UString &operator+=(const wchar_t *s);
533 UString &operator+=(const UString &s);
614 bool operator<(const UString &s1, const UString &s2);
615 bool operator>(const UString &s1, const UString &s2);
617 inline bool operator==(const UString &s1, const UString &s2) { return s1.Len() == s2.Len() && wcscmp(s1, s2) == 0; }
618 inline bool operator==(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) == 0; }
619 inline bool operator==(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) == 0; }
621 inline bool operator!=(const UString &s1, const UString &s2) { return s1.Len() != s2.Len() || wcscmp(s1, s2) != 0; }
622 inline bool operator!=(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) != 0; }
623 inline bool operator!=(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) != 0; }
628 void operator==(wchar_t c1, const UString &s2);
629 void operator==(const UString &s1, wchar_t c2);
631 void operator+(wchar_t c, const UString &s); // this function can be OK, but we don't use it
633 void operator+(const UString &s, char c);
634 void operator+(const UString &s, unsigned char c);
635 void operator+(char c, const UString &s);
636 void operator+(unsigned char c, const UString &s);
637 void operator-(const UString &s1, wchar_t c);
641 void operator+(const UString &s, int c);
642 void operator+(const UString &s, unsigned c);
643 void operator+(int c, const UString &s);
644 void operator+(unsigned c, const UString &s);
645 void operator-(const UString &s1, int c);
646 void operator-(const UString &s1, unsigned c);
665 UString2 &operator=(char c);
666 UString2 &operator=(unsigned char c);
667 UString2 &operator=(wchar_t c);
682 // operator const wchar_t *() const { return _chars; }
693 UString2 &operator=(const wchar_t *s);
694 UString2 &operator=(const UString2 &s);
698 bool operator==(const UString2 &s1, const UString2 &s2);
699 bool operator==(const UString2 &s1, const wchar_t *s2);
700 bool operator==(const wchar_t *s1, const UString2 &s2);
702 inline bool operator!=(const UString2 &s1, const UString2 &s2) { return !(s1 == s2); }
703 inline bool operator!=(const UString2 &s1, const wchar_t *s2) { return !(s1 == s2); }
704 inline bool operator!=(const wchar_t *s1, const UString2 &s2) { return !(s1 == s2); }
709 void operator==(wchar_t c1, const UString2 &s2);
710 void operator==(const UString2 &s1, wchar_t c2);
711 bool operator<(const UString2 &s1, const UString2 &s2);
712 bool operator>(const UString2 &s1, const UString2 &s2);
714 void operator+(const UString2 &s1, const UString2 &s2);
715 void operator+(const UString2 &s1, const wchar_t *s2);
716 void operator+(const wchar_t *s1, const UString2 &s2);
717 void operator+(wchar_t c, const UString2 &s);
718 void operator+(const UString2 &s, wchar_t c);
719 void operator+(const UString2 &s, char c);
720 void operator+(const UString2 &s, unsigned char c);
721 void operator+(char c, const UString2 &s);
722 void operator+(unsigned char c, const UString2 &s);
723 void operator-(const UString2 &s1, wchar_t c);