/external/pdfium/xfa/src/fgas/src/crt/ |
D | fx_encode.cpp | 8 void FX_SwapByteOrder(FX_WCHAR* pStr, int32_t iLength) { in FX_SwapByteOrder() argument 10 if (iLength < 0) { in FX_SwapByteOrder() 11 iLength = FXSYS_wcslen(pStr); in FX_SwapByteOrder() 15 while (iLength-- > 0) { in FX_SwapByteOrder() 22 while (iLength-- > 0) { in FX_SwapByteOrder() 31 int32_t iLength) { in FX_SwapByteOrderCopy() argument 33 if (iLength < 0) { in FX_SwapByteOrderCopy() 34 iLength = FXSYS_wcslen(pSrc); in FX_SwapByteOrderCopy() 38 while (iLength-- > 0) { in FX_SwapByteOrderCopy() 45 while (iLength-- > 0) { in FX_SwapByteOrderCopy() [all …]
|
D | fx_codepage.cpp | 301 FX_WORD FX_GetCodePageFromStringA(const FX_CHAR* pStr, int32_t iLength) { in FX_GetCodePageFromStringA() argument 303 if (iLength < 0) { in FX_GetCodePageFromStringA() 304 iLength = FXSYS_strlen(pStr); in FX_GetCodePageFromStringA() 306 if (iLength == 0) { in FX_GetCodePageFromStringA() 309 uint32_t uHash = FX_HashCode_String_GetA(pStr, iLength, TRUE); in FX_GetCodePageFromStringA() 326 FX_WORD FX_GetCodePageFormStringW(const FX_WCHAR* pStr, int32_t iLength) { in FX_GetCodePageFormStringW() argument 327 if (iLength < 0) { in FX_GetCodePageFormStringW() 328 iLength = FXSYS_wcslen(pStr); in FX_GetCodePageFormStringW() 330 if (iLength == 0) { in FX_GetCodePageFormStringW() 334 FX_CHAR* pBuf = csStr.GetBuffer(iLength + 1); in FX_GetCodePageFormStringW() [all …]
|
D | fx_system.cpp | 84 FX_FLOAT FX_strtof(const FX_CHAR* pcsStr, int32_t iLength, int32_t* pUsedLen) { in FX_strtof() argument 86 if (iLength < 0) { in FX_strtof() 87 iLength = FXSYS_strlen(pcsStr); in FX_strtof() 89 return FX_wcstof(CFX_WideString::FromLocal(pcsStr, iLength), iLength, in FX_strtof() 92 FX_FLOAT FX_wcstof(const FX_WCHAR* pwsStr, int32_t iLength, int32_t* pUsedLen) { in FX_wcstof() argument 94 if (iLength < 0) { in FX_wcstof() 95 iLength = FXSYS_wcslen(pwsStr); in FX_wcstof() 97 if (iLength == 0) { in FX_wcstof() 110 while (iUsedLen < iLength) { in FX_wcstof() 119 if (iUsedLen < iLength && pwsStr[iUsedLen] == L'.') { in FX_wcstof() [all …]
|
D | fx_stream.h | 33 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) = 0; 35 virtual FX_BOOL SetLength(int32_t iLength) = 0; 54 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength); 56 virtual FX_BOOL SetLength(int32_t iLength); 74 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength); 76 virtual FX_BOOL SetLength(int32_t iLength) { return FALSE; } in SetLength() argument 99 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) { in WriteString() argument 103 virtual FX_BOOL SetLength(int32_t iLength) { return FALSE; } in SetLength() argument 129 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) { in WriteString() argument 133 virtual FX_BOOL SetLength(int32_t iLength) { return FALSE; } in SetLength() argument [all …]
|
D | fx_stream.cpp | 238 int32_t CFX_FileStreamImp::WriteString(const FX_WCHAR* pStr, int32_t iLength) { in WriteString() argument 240 FXSYS_assert(pStr != NULL && iLength > 0); in WriteString() 241 int32_t iRet = FXSYS_fwrite(pStr, 2, iLength, m_hFile); in WriteString() 254 FX_BOOL CFX_FileStreamImp::SetLength(int32_t iLength) { in SetLength() argument 256 FX_BOOL bRet = FX_fsetsize(m_hFile, iLength); in SetLength() 363 int32_t iLength = GetLength(); in Seek() local 372 m_iPosition = iLength + iOffset; in Seek() 377 } else if (m_iPosition >= iLength) { in Seek() 378 m_iPosition = iLength; in Seek() 389 int32_t iLength = GetLength(); in ReadData() local [all …]
|
/external/pdfium/xfa/src/fxfa/src/parser/ |
D | xfa_script_signaturepseudomodel.cpp | 26 int32_t iLength = pArguments->GetLength(); in Script_SignaturePseudoModel_Verify() local 27 if (iLength < 1 || iLength > 4) { in Script_SignaturePseudoModel_Verify() 37 if (iLength >= 1) { in Script_SignaturePseudoModel_Verify() 48 int32_t iLength = pArguments->GetLength(); in Script_SignaturePseudoModel_Sign() local 49 if (iLength < 3 || iLength > 7) { in Script_SignaturePseudoModel_Sign() 61 if (iLength >= 1) { in Script_SignaturePseudoModel_Sign() 64 if (iLength >= 2) { in Script_SignaturePseudoModel_Sign() 69 if (iLength >= 3) { in Script_SignaturePseudoModel_Sign() 82 int32_t iLength = pArguments->GetLength(); in Script_SignaturePseudoModel_Enumerate() local 83 if (iLength != 0) { in Script_SignaturePseudoModel_Enumerate() [all …]
|
D | xfa_script_hostpseudomodel.cpp | 273 int32_t iLength = pArguments->GetLength(); in Script_HostPseudoModel_GotoURL() local 274 if (iLength != 1) { in Script_HostPseudoModel_GotoURL() 284 if (iLength >= 1) { in Script_HostPseudoModel_GotoURL() 295 int32_t iLength = pArguments->GetLength(); in Script_HostPseudoModel_OpenList() local 296 if (iLength != 1) { in Script_HostPseudoModel_OpenList() 305 if (iLength >= 1) { in Script_HostPseudoModel_OpenList() 350 int32_t iLength = pArguments->GetLength(); in Script_HostPseudoModel_Response() local 351 if (iLength < 1 || iLength > 4) { in Script_HostPseudoModel_Response() 363 if (iLength >= 1) { in Script_HostPseudoModel_Response() 367 if (iLength >= 2) { in Script_HostPseudoModel_Response() [all …]
|
D | xfa_script_layoutpseudomodel.cpp | 43 int32_t iLength = pArguments->GetLength(); in Script_LayoutPseudoModel_HWXY() local 44 if (iLength < 1 || iLength > 3) { in Script_LayoutPseudoModel_HWXY() 66 if (iLength >= 1) { in Script_LayoutPseudoModel_HWXY() 69 if (iLength >= 2) { in Script_LayoutPseudoModel_HWXY() 75 if (iLength >= 3) { in Script_LayoutPseudoModel_HWXY() 172 int32_t iLength = pArguments->GetLength(); in Script_LayoutPseudoModel_PageSpan() local 173 if (iLength != 1) { in Script_LayoutPseudoModel_PageSpan() 178 if (iLength >= 1) { in Script_LayoutPseudoModel_PageSpan() 352 int32_t iLength = pArguments->GetLength(); in Script_LayoutPseudoModel_PageContent() local 353 if (iLength < 1 || iLength > 3) { in Script_LayoutPseudoModel_PageContent() [all …]
|
D | xfa_basic_imp.cpp | 40 int32_t iLength = wsName.GetLength(); in XFA_GetPacketByName() local 41 if (iLength == 0) { in XFA_GetPacketByName() 44 uint32_t uHash = FX_HashCode_String_GetW(wsName.GetPtr(), iLength); in XFA_GetPacketByName() 76 int32_t iLength = wsName.GetLength(); in XFA_GetAttributeEnumByName() local 77 if (iLength == 0) { in XFA_GetAttributeEnumByName() 80 uint32_t uHash = FX_HashCode_String_GetW(wsName.GetPtr(), iLength); in XFA_GetAttributeEnumByName() 102 int32_t iLength = wsName.GetLength(); in XFA_GetAttributeByName() local 103 if (iLength == 0) { in XFA_GetAttributeByName() 106 uint32_t uHash = FX_HashCode_String_GetW(wsName.GetPtr(), iLength); in XFA_GetAttributeByName() 203 int32_t iLength = wsName.GetLength(); in XFA_GetElementByName() local [all …]
|
D | xfa_basic_imp.h | 40 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) { in WriteString() argument 44 virtual FX_BOOL SetLength(int32_t iLength) { return FALSE; } in SetLength() argument 55 int32_t iLength) { in CreateSharedStream() argument
|
/external/pdfium/xfa/src/fdp/include/ |
D | fde_tto.h | 56 int32_t iLength, 59 int32_t iLength, 62 int32_t iLength, 65 int32_t iLength, 68 int32_t iLength, 72 int32_t iLength, 76 int32_t iLength, 79 int32_t iLength, 83 int32_t iLength, 86 int32_t iLength, [all …]
|
/external/pdfium/xfa/src/fdp/src/tto/ |
D | fde_textout.h | 56 int32_t iLength, 59 int32_t iLength, 62 int32_t iLength, 65 int32_t iLength, 69 int32_t iLength, 73 int32_t iLength, 77 int32_t iLength, 80 int32_t iLength, 85 int32_t iLength, 88 int32_t iLength, [all …]
|
D | fde_textout.cpp | 164 int32_t iLength, in CalcSize() argument 168 CalcSize(pwsStr, iLength, rtText); in CalcSize() 173 int32_t iLength, in CalcSize() argument 177 CalcSize(pwsStr, iLength, rtText); in CalcSize() 182 int32_t iLength, in CalcSize() argument 187 CalcSize(pwsStr, iLength, rtText); in CalcSize() 192 int32_t iLength, in CalcSize() argument 194 if (pwsStr == NULL || iLength < 1) { in CalcSize() 201 CalcTextSize(pwsStr, iLength, rect); in CalcSize() 206 int32_t iLength, in CalcLogicSize() argument [all …]
|
/external/pdfium/core/src/fxcrt/ |
D | fx_extension.cpp | 130 int32_t iLength, in FXSYS_strtof() argument 133 if (iLength < 0) { in FXSYS_strtof() 134 iLength = (int32_t)FXSYS_strlen(pcsStr); in FXSYS_strtof() 136 CFX_WideString ws = CFX_WideString::FromLocal(pcsStr, iLength); in FXSYS_strtof() 137 return FXSYS_wcstof(ws.c_str(), iLength, pUsedLen); in FXSYS_strtof() 140 int32_t iLength, in FXSYS_wcstof() argument 143 if (iLength < 0) { in FXSYS_wcstof() 144 iLength = (int32_t)FXSYS_wcslen(pwsStr); in FXSYS_wcstof() 146 if (iLength == 0) { in FXSYS_wcstof() 159 while (iUsedLen < iLength) { in FXSYS_wcstof() [all …]
|
/external/pdfium/xfa/src/fdp/src/css/ |
D | fde_cssdatatable.cpp | 557 int32_t iLength) { in FDE_GetCSSPropertyByName() argument 558 FXSYS_assert(pszName != NULL && iLength > 0); in FDE_GetCSSPropertyByName() 559 FX_DWORD dwHash = FX_HashCode_String_GetW(pszName, iLength, TRUE); in FDE_GetCSSPropertyByName() 581 int32_t iLength) { in FDE_GetCSSPropertyValueByName() argument 582 FXSYS_assert(pszName != NULL && iLength > 0); in FDE_GetCSSPropertyValueByName() 583 FX_DWORD dwHash = FX_HashCode_String_GetW(pszName, iLength, TRUE); in FDE_GetCSSPropertyValueByName() 606 int32_t iLength) { in FDE_GetCSSMediaTypeByName() argument 607 FXSYS_assert(pszName != NULL && iLength > 0); in FDE_GetCSSMediaTypeByName() 608 FX_WORD wHash = (FX_WORD)FX_HashCode_String_GetW(pszName, iLength, TRUE); in FDE_GetCSSMediaTypeByName() 627 int32_t iLength) { in FDE_GetCSSLengthUnitByName() argument [all …]
|
D | fde_cssdatatable.h | 53 virtual const FX_WCHAR* GetString(int32_t& iLength) const { in GetString() argument 56 iLength = FXSYS_wcslen(m_pString); in GetString() 108 int32_t& iLength); 136 int32_t iLength); 147 int32_t iLength); 156 int32_t iLength); 163 int32_t iLength); 170 int32_t iLength); 186 int32_t& iLength); 193 int32_t& iLength);
|
D | fde_csssyntax.cpp | 390 int32_t iLength = m_TextData.GetLength(); in SwitchToComment() local 393 return iLength; in SwitchToComment() 404 const FX_WCHAR* CFDE_CSSSyntaxParser::GetCurrentString(int32_t& iLength) const { in GetCurrentString() 405 iLength = m_iTextDatLen; in GetCurrentString() 473 void CFDE_CSSTextBuf::Subtract(int32_t iStart, int32_t iLength) { in Subtract() argument 474 FXSYS_assert(iStart >= 0 && iLength > 0); in Subtract() 475 if (iLength > m_iDatLen - iStart) { in Subtract() 476 iLength = m_iDatLen - iStart; in Subtract() 478 if (iLength < 0) { in Subtract() 479 iLength = 0; in Subtract() [all …]
|
/external/pdfium/xfa/src/fgas/include/ |
D | fx_cpg.h | 135 FX_WORD FX_GetCodePageFromStringA(const FX_CHAR* pStr, int32_t iLength); 136 FX_WORD FX_GetCodePageFormStringW(const FX_WCHAR* pStr, int32_t iLength); 138 void FX_SwapByteOrder(FX_WCHAR* pStr, int32_t iLength); 141 int32_t iLength); 142 void FX_UTF16ToWChar(void* pBuffer, int32_t iLength); 145 int32_t iLength); 146 void FX_WCharToUTF16(void* pBuffer, int32_t iLength); 149 int32_t iLength);
|
D | fx_stm.h | 60 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) = 0; 62 virtual FX_BOOL SetLength(int32_t iLength) = 0; 70 int32_t iLength) = 0;
|
/external/pdfium/xfa/src/fxfa/src/fm2js/ |
D | xfa_fm2jscontext.cpp | 274 int32_t iLength = FXJSE_Value_ToInteger(lengthValue); in Avg() local 276 if (iLength > 2) { in Avg() 281 for (int32_t j = 2; j < iLength; j++) { in Avg() 295 for (int32_t j = 2; j < iLength; j++) { in Avg() 359 int32_t iLength = FXJSE_Value_ToInteger(lengthValue); in Count() local 361 if (iLength > 2) { in Count() 368 for (int32_t i = 2; i < iLength; i++) { in Count() 378 for (int32_t i = 2; i < iLength; i++) { in Count() 443 int32_t iLength = FXJSE_Value_ToInteger(lengthValue); in Max() local 445 if (iLength > 2) { in Max() [all …]
|
/external/pdfium/xfa/src/fgas/src/layout/ |
D | fx_textbreak.cpp | 982 int32_t iLength = ca.GetSize() - 1; in GetBreakPos() local 983 if (iLength < 1) { in GetBreakPos() 984 return iLength; in GetBreakPos() 990 return iLength; in GetBreakPos() 992 iBreak = iLength; in GetBreakPos() 999 CFX_Char* pCur = ca.GetDataPtr(iLength--); in GetBreakPos() 1009 while (iLength >= 0) { in GetBreakPos() 1010 pCur = ca.GetDataPtr(iLength); in GetBreakPos() 1037 iBreak = iLength; in GetBreakPos() 1040 return iLength; in GetBreakPos() [all …]
|
D | fx_rtfbreak.cpp | 939 int32_t iLength = tca.GetSize() - 1; in GetBreakPos() local 940 if (iLength < 1) { in GetBreakPos() 941 return iLength; in GetBreakPos() 947 return iLength; in GetBreakPos() 949 iBreak = iLength; in GetBreakPos() 956 while (iLength > 0) { in GetBreakPos() 960 pChar = pCharArray + iLength--; in GetBreakPos() 966 return iLength; in GetBreakPos() 974 CFX_RTFChar* pCur = pCharArray + iLength--; in GetBreakPos() 984 while (iLength >= 0) { in GetBreakPos() [all …]
|
/external/pdfium/xfa/src/fgas/src/font/ |
D | fx_gdifont.cpp | 57 int32_t iLength, in LoadFont() argument 60 if (!pFont->LoadFont(pBuffer, iLength)) { in LoadFont() 191 FX_BOOL CFX_GdiFont::LoadFont(const uint8_t* pBuffer, int32_t iLength) { in LoadFont() argument 192 FXSYS_assert(m_hFont == NULL && pBuffer != NULL && iLength > 0); in LoadFont() 194 if (pfc.AddMemoryFont(pBuffer, iLength) != Gdiplus::Ok) { in LoadFont() 201 m_hRes = ::AddFontMemResourceEx((void*)pBuffer, iLength, 0, &dwCount); in LoadFont() 249 int32_t iLength = pFontStream->GetLength(); in LoadFont() local 250 if (iLength < 1) { in LoadFont() 253 uint8_t* pBuf = FX_Alloc(uint8_t, iLength); in LoadFont() 254 iLength = pFontStream->ReadData(pBuf, iLength); in LoadFont() [all …]
|
/external/pdfium/core/include/fxcrt/ |
D | fx_ext.h | 18 int32_t iLength = -1, 21 int32_t iLength = -1, 69 int32_t iLength, 72 int32_t iLength,
|
/external/pdfium/xfa/src/fxfa/src/app/ |
D | xfa_checksum.cpp | 105 int32_t iLength = m_SAXContext.m_TextBuf.GetLength(); in UpdateChecksum() local 106 if (iLength < 1) { in UpdateChecksum() 113 for (int32_t i = 0; i < iLength; i++) { in UpdateChecksum() 121 m_pContext->Update(CFX_ByteStringC(pBuffer, iLength)); in UpdateChecksum()
|