Lines Matching defs:sz
118 Averager(const wxChar *sz) { m_sz = sz; m_nTotal = m_nCount = 0; }
421 wxStringBase& wxStringBase::insert(size_t nPos, const wxChar *sz, size_t n)
425 if ( n == npos ) n = wxStrlen(sz);
434 memcpy(m_pchData + nPos, sz, n * sizeof(wxChar));
493 size_t wxStringBase::find(const wxChar* sz, size_t nStart, size_t n) const
495 return find(wxStringBase(sz, n), nStart);
540 size_t wxStringBase::rfind(const wxChar* sz, size_t nStart, size_t n) const
542 return rfind(wxStringBase(sz, n), nStart);
567 size_t wxStringBase::find_first_of(const wxChar* sz, size_t nStart) const
571 size_t len = wxStrlen(sz);
576 if (wxTmemchr(sz, *(c_str() + i), len))
586 size_t wxStringBase::find_first_of(const wxChar* sz, size_t nStart,
589 return find_first_of(wxStringBase(sz, n), nStart);
592 size_t wxStringBase::find_last_of(const wxChar* sz, size_t nStart) const
604 size_t len = wxStrlen(sz);
608 if ( wxTmemchr(sz, *p, len) )
615 size_t wxStringBase::find_last_of(const wxChar* sz, size_t nStart,
618 return find_last_of(wxStringBase(sz, n), nStart);
621 size_t wxStringBase::find_first_not_of(const wxChar* sz, size_t nStart) const
632 size_t len = wxStrlen(sz);
637 if (!wxTmemchr(sz, *(c_str() + i), len))
647 size_t wxStringBase::find_first_not_of(const wxChar* sz, size_t nStart,
650 return find_first_not_of(wxStringBase(sz, n), nStart);
666 size_t wxStringBase::find_last_not_of(const wxChar* sz, size_t nStart) const
677 size_t len = wxStrlen(sz);
681 if ( !wxTmemchr(sz, *p,len) )
688 size_t wxStringBase::find_last_not_of(const wxChar* sz, size_t nStart,
691 return find_last_not_of(wxStringBase(sz, n), nStart);
715 const wxChar *sz)
736 //sz must be a normal c string
737 strTmp.append(sz);
760 const wxChar* sz, size_t nCount)
762 return replace(nStart, nLen, wxStringBase(sz, nCount).c_str());
977 int STRINGCLASS::compare(const wxChar* sz) const
979 size_t nLen = wxStrlen(sz);
980 return ::wxDoCmp(data(), length(), sz, nLen);
984 const wxChar* sz, size_t nCount) const
990 nCount = wxStrlen(sz);
992 return ::wxDoCmp(data() + nStart, nLen, sz, nCount);
2159 wxArrayString::wxArrayString(size_t sz, const wxChar** a)
2164 for (size_t i=0; i < sz; i++)
2168 wxArrayString::wxArrayString(size_t sz, const wxString* a)
2173 for (size_t i=0; i < sz; i++)
2366 int wxArrayString::Index(const wxChar *sz, bool bCase, bool bFromEnd) const
2380 res = wxStrcmp(sz, m_pItems[i]);
2397 if ( STRING(m_pItems[--ui])->IsSameAs(sz, bCase) )
2405 if( STRING(m_pItems[ui])->IsSameAs(sz, bCase) )
2535 void wxArrayString::Remove(const wxChar *sz)
2537 int iIndex = Index(sz);