Lines Matching refs:iMaxLength
32 int32_t iMaxLength,
62 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override;
86 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override;
113 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override;
144 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override;
174 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override { in ReadString() argument
217 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override;
255 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override;
480 int32_t iMaxLength, in ReadString() argument
483 ASSERT(pStr && iMaxLength > 0); in ReadString()
488 int32_t iLen = std::min((m_iLength - iPosition) / 2, iMaxLength); in ReadString()
595 int32_t iMaxLength, in ReadString() argument
598 ASSERT(pStr && iMaxLength > 0); in ReadString()
599 iMaxLength = ReadData((uint8_t*)pStr, iMaxLength * 2) / 2; in ReadString()
600 if (iMaxLength <= 0) { in ReadString()
604 while (i < iMaxLength && pStr[i] != L'\0') { in ReadString()
720 int32_t iMaxLength, in ReadString() argument
723 ASSERT(pStr && iMaxLength > 0); in ReadString()
724 iMaxLength = ReadData((uint8_t*)pStr, iMaxLength * 2) / 2; in ReadString()
725 if (iMaxLength <= 0) { in ReadString()
729 while (i < iMaxLength && pStr[i] != L'\0') { in ReadString()
855 int32_t iMaxLength, in ReadString() argument
858 ASSERT(pStr && iMaxLength > 0); in ReadString()
859 int32_t iLen = std::min((m_iLength - m_iPosition) / 2, iMaxLength); in ReadString()
1047 int32_t iMaxLength, in ReadString() argument
1049 ASSERT(pStr && iMaxLength > 0); in ReadString()
1056 int32_t iBytes = iMaxLength * 2; in ReadString()
1058 iMaxLength = iLen / 2; in ReadString()
1060 FX_UTF16ToWChar(pStr, iMaxLength); in ReadString()
1064 FX_SwapByteOrder(pStr, iMaxLength); in ReadString()
1068 FX_SwapByteOrder(pStr, iMaxLength); in ReadString()
1073 int32_t iBytes = iMaxLength; in ReadString()
1086 &iSrc, pStr, &iMaxLength, true); in ReadString()
1092 iMaxLength = 0; in ReadString()
1096 return iMaxLength; in ReadString()
1307 int32_t iMaxLength, in ReadString() argument
1309 ASSERT(pStr && iMaxLength > 0); in ReadString()
1315 iLen = std::min(iEnd / 2, iMaxLength); in ReadString()