Searched defs:pTargets (Results 1 - 2 of 2) sorted by relevance

/external/pdfium/core/fxcrt/
H A Dfx_basic_bstring.cpp889 void CFX_ByteString::TrimRight(const CFX_ByteStringC& pTargets) { argument
890 if (!m_pData || pTargets.IsEmpty()) {
899 while (i < pTargets.GetLength() &&
900 pTargets[i] != m_pData->m_String[pos - 1]) {
903 if (i == pTargets.GetLength()) {
923 void CFX_ByteString::TrimLeft(const CFX_ByteStringC& pTargets) { argument
924 if (!m_pData || pTargets.IsEmpty())
934 while (i < pTargets.GetLength() && pTargets[i] != m_pData->m_String[pos]) {
937 if (i == pTargets
[all...]
H A Dfx_basic_wstring.cpp887 void CFX_WideString::TrimRight(const CFX_WideStringC& pTargets) { argument
888 if (IsEmpty() || pTargets.IsEmpty())
892 while (pos && pTargets.Find(m_pData->m_String[pos - 1]) != -1)
911 void CFX_WideString::TrimLeft(const CFX_WideStringC& pTargets) { argument
912 if (!m_pData || pTargets.IsEmpty())
922 while (i < pTargets.GetLength() &&
923 pTargets.CharAt(i) != m_pData->m_String[pos]) {
926 if (i == pTargets.GetLength()) {

Completed in 82 milliseconds