Lines Matching refs:nPos
155 // takes nLength elements of psz starting at nPos
156 void wxStringBase::InitWith(const wxChar *psz, size_t nPos, size_t nLength)
162 wxASSERT_MSG( nPos <= wxStrlen(psz), _T("index out of bounds") );
164 nLength = wxStrlen(psz + nPos);
175 wxTmemcpy(m_pchData, psz + nPos, nLength);
421 wxStringBase& wxStringBase::insert(size_t nPos, const wxChar *sz, size_t n)
423 wxASSERT( nPos <= length() );
432 memmove(m_pchData + nPos + n, m_pchData + nPos,
433 (length() - nPos) * sizeof(wxChar));
434 memcpy(m_pchData + nPos, sz, n * sizeof(wxChar));