Searched refs:nFirst (Results 1 – 2 of 2) sorted by relevance
445 CFX_ByteString CFX_ByteString::Mid(FX_STRSIZE nFirst) const in Mid()450 return Mid(nFirst, m_pData->m_nDataLength - nFirst); in Mid()452 CFX_ByteString CFX_ByteString::Mid(FX_STRSIZE nFirst, FX_STRSIZE nCount) const in Mid() argument454 if (nFirst < 0) { in Mid()455 nFirst = 0; in Mid()460 if (nFirst + nCount > m_pData->m_nDataLength) { in Mid()461 nCount = m_pData->m_nDataLength - nFirst; in Mid()463 if (nFirst > m_pData->m_nDataLength) { in Mid()466 if (nFirst == 0 && nFirst + nCount == m_pData->m_nDataLength) { in Mid()470 AllocCopy(dest, nCount, nFirst); in Mid()
431 CFX_WideString CFX_WideString::Mid(FX_STRSIZE nFirst) const in Mid()433 return Mid(nFirst, m_pData->m_nDataLength - nFirst); in Mid()435 CFX_WideString CFX_WideString::Mid(FX_STRSIZE nFirst, FX_STRSIZE nCount) const in Mid() argument440 if (nFirst < 0) { in Mid()441 nFirst = 0; in Mid()446 if (nFirst + nCount > m_pData->m_nDataLength) { in Mid()447 nCount = m_pData->m_nDataLength - nFirst; in Mid()449 if (nFirst > m_pData->m_nDataLength) { in Mid()452 if (nFirst == 0 && nFirst + nCount == m_pData->m_nDataLength) { in Mid()456 AllocCopy(dest, nCount, nFirst); in Mid()