Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcrt/
Dfx_basic_wstring.cpp419 CFX_WideString CFX_WideString::Mid(FX_STRSIZE nFirst) const { in Mid()
420 return Mid(nFirst, m_pData->m_nDataLength - nFirst); in Mid()
422 CFX_WideString CFX_WideString::Mid(FX_STRSIZE nFirst, FX_STRSIZE nCount) const { in Mid() argument
426 if (nFirst < 0) { in Mid()
427 nFirst = 0; in Mid()
432 if (nFirst + nCount > m_pData->m_nDataLength) { in Mid()
433 nCount = m_pData->m_nDataLength - nFirst; in Mid()
435 if (nFirst > m_pData->m_nDataLength) { in Mid()
438 if (nFirst == 0 && nFirst + nCount == m_pData->m_nDataLength) { in Mid()
442 AllocCopy(dest, nCount, nFirst); in Mid()
Dfx_basic_bstring.cpp422 CFX_ByteString CFX_ByteString::Mid(FX_STRSIZE nFirst) const { in Mid()
426 return Mid(nFirst, m_pData->m_nDataLength - nFirst); in Mid()
428 CFX_ByteString CFX_ByteString::Mid(FX_STRSIZE nFirst, FX_STRSIZE nCount) const { in Mid() argument
429 if (nFirst < 0) { in Mid()
430 nFirst = 0; in Mid()
435 if (nFirst + nCount > m_pData->m_nDataLength) { in Mid()
436 nCount = m_pData->m_nDataLength - nFirst; in Mid()
438 if (nFirst > m_pData->m_nDataLength) { in Mid()
441 if (nFirst == 0 && nFirst + nCount == m_pData->m_nDataLength) { in Mid()
445 AllocCopy(dest, nCount, nFirst); in Mid()