Home
last modified time | relevance | path

Searched refs:nFirst (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/src/fxcrt/
Dfx_basic_bstring.cpp445 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() argument
454 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()
Dfx_basic_wstring.cpp431 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() argument
440 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()