/external/pdfium/xfa/src/fgas/src/crt/ |
D | fx_memory.cpp | 35 FXSYS_assert(m_iDefChunkSize != 0); in CFX_StaticStore() 47 FXSYS_assert(size != 0); in AllocChunk() 62 FXSYS_assert(size != 0); in FindChunk() 70 FXSYS_assert(size != 0); in Alloc() 72 FXSYS_assert(pChunk != NULL && pChunk->iFreeSize >= size); in Alloc() 80 FXSYS_assert(size != 0); in SetDefChunkSize() 89 FXSYS_assert(m_iBlockSize != 0 && m_iDefChunkSize != 0); in CFX_FixedStore() 129 FXSYS_assert(pChunk != NULL); in Alloc() 136 FXSYS_assert(i < pChunk->iChunkSize); in Alloc() 142 FXSYS_assert(pBlock != NULL); in Free() [all …]
|
D | fx_utils.cpp | 36 FXSYS_assert(iGrowSize > 0 && iBlockSize > 0); in CFX_BaseArray() 50 FXSYS_assert(index > -1); in AddSpaceTo() 71 FXSYS_assert(index > -1 && index < m_pData->iBlockCount); in GetAt() 81 FXSYS_assert(iBlockSize == src.m_pData->iBlockSize); in Append() 84 FXSYS_assert(iStart > -1 && iStart < iAdded); in Append() 104 FXSYS_assert(iBlockSize == src.m_pData->iBlockSize); in Copy() 106 FXSYS_assert(iStart > -1 && iStart < iCopied); in Copy() 149 FXSYS_assert(m_iChunkSize > 0 && m_iBlockSize > 0); in CFX_BaseMassArrayImp() 158 FXSYS_assert(index > -1); in AddSpaceTo() 179 FXSYS_assert(pChunk != NULL); in AddSpaceTo() [all …]
|
D | fx_stream.cpp | 85 FXSYS_assert(m_hFile == NULL); in LoadFile() 86 FXSYS_assert(pszSrcFileName != NULL && FXSYS_wcslen(pszSrcFileName) > 0); in LoadFile() 179 FXSYS_assert(m_hFile != NULL); in GetLength() 183 FXSYS_assert(m_hFile != NULL); in Seek() 188 FXSYS_assert(m_hFile != NULL); in GetPosition() 192 FXSYS_assert(m_hFile != NULL); in IsEOF() 196 FXSYS_assert(m_hFile != NULL); in ReadData() 197 FXSYS_assert(pBuffer != NULL && iBufferSize > 0); in ReadData() 203 FXSYS_assert(m_hFile != NULL); in ReadString() 204 FXSYS_assert(pStr != NULL && iMaxLength > 0); in ReadString() [all …]
|
D | fx_system.cpp | 26 FXSYS_assert(dstStr != NULL && srcStr != NULL && count > 0); in FX_wcsncpy() 34 FXSYS_assert(s1 != NULL && s2 != NULL && count > 0); in FX_wcsnicmp() 46 FXSYS_assert(s1 != NULL && s2 != NULL && count > 0); in FX_strnicmp() 58 FXSYS_assert(file != NULL); in FX_filelength() 70 FXSYS_assert(file != NULL); in FX_fsetsize() 85 FXSYS_assert(pcsStr != NULL); in FX_strtof() 93 FXSYS_assert(pwsStr != NULL); in FX_wcstof() 137 FXSYS_assert(pBuf != NULL && size > 0 && (size & 0x03) == 0); in FX_memset() 138 FXSYS_assert((((size_t)pBuf) & 0x03) == 0); in FX_memset() 146 FXSYS_assert(pDst != NULL && pSrc != NULL && size > 0 && (size & 0x03) == 0); in FX_memcpy() [all …]
|
D | fx_encode.cpp | 9 FXSYS_assert(pStr != NULL); in FX_SwapByteOrder() 32 FXSYS_assert(pSrc != NULL && pDst != NULL); in FX_SwapByteOrderCopy() 53 FXSYS_assert(pBuffer != NULL && iLength > 0); in FX_UTF16ToWChar() 66 FXSYS_assert(pUTF16 != NULL && pWChar != NULL && iLength > 0); in FX_UTF16ToWCharCopy() 76 FXSYS_assert(pBuffer != NULL && iLength > 0); in FX_WCharToUTF16() 89 FXSYS_assert(pWChar != NULL && pUTF16 != NULL && iLength > 0); in FX_WCharToUTF16Copy()
|
D | fx_codepage.cpp | 19 FXSYS_assert(iEnd >= 0); in FX_GetCodePageFromCharset() 45 FXSYS_assert(iEnd >= 0); in FX_GetCharsetFromCodePage() 199 FXSYS_assert(iEnd >= 0); in FX_GetDefCodePageByLanguage() 302 FXSYS_assert(pStr != NULL); in FX_GetCodePageFromStringA() 312 FXSYS_assert(iEnd >= 0); in FX_GetCodePageFromStringA()
|
/external/pdfium/core/src/fxcrt/ |
D | fx_arabic.cpp | 317 FXSYS_assert(iStart > -1 && iStart < wsText.GetLength()); in FX_BidiReverseString() 318 FXSYS_assert(iCount >= 0 && iStart + iCount <= wsText.GetLength()); in FX_BidiReverseString() 333 FXSYS_assert(iStart > -1 && iStart <= values.GetSize()); in FX_BidiSetDeferredRun() 334 FXSYS_assert(iStart - iCount > -1); in FX_BidiSetDeferredRun() 349 FXSYS_assert(wsText.GetLength() == classes.GetSize()); in FX_BidiClassify() 379 FXSYS_assert(iBaseLevel >= 0 && iBaseLevel <= FX_BIDIMAXLEVEL && iNest >= 0); in FX_BidiResolveExplicit() 380 FXSYS_assert(classes.GetSize() == levels.GetSize()); in FX_BidiResolveExplicit() 381 FXSYS_assert(iStart >= 0 && iStart < classes.GetSize()); in FX_BidiResolveExplicit() 382 FXSYS_assert(iCount >= 0 && iStart + iCount <= classes.GetSize()); in FX_BidiResolveExplicit() 544 FXSYS_assert(iBaseLevel >= 0 && iBaseLevel <= FX_BIDIMAXLEVEL); in FX_BidiResolveWeak() [all …]
|
D | fx_extension.cpp | 132 FXSYS_assert(pcsStr); in FXSYS_strtof() 142 FXSYS_assert(pwsStr); in FXSYS_wcstof() 188 FXSYS_assert(dstStr && srcStr && count > 0); in FXSYS_wcsncpy() 196 FXSYS_assert(s1 && s2 && count > 0); in FXSYS_wcsnicmp() 208 FXSYS_assert(s1 && s2 && count > 0); in FXSYS_strnicmp() 222 FXSYS_assert(pStr); in FX_HashCode_String_GetA() 242 FXSYS_assert(pStr); in FX_HashCode_String_GetW() 272 FXSYS_assert(pContext); in FX_Random_MT_Generate() 303 FXSYS_assert(pContext); in FX_Random_MT_Close()
|
/external/pdfium/xfa/src/fee/src/fee/ |
D | fde_txtedtbuf.cpp | 32 FXSYS_assert(m_pBuf); in CFDE_TxtEdtBufIter() 43 FXSYS_assert(m_nCurChunk < m_pBuf->m_Chunks.GetSize()); in Next() 58 FXSYS_assert(m_nCurChunk >= 0); in Next() 65 FXSYS_assert(m_nCurChunk < m_pBuf->m_Chunks.GetSize()); in Next() 87 FXSYS_assert(nIndex >= 0 && nIndex < m_pBuf->m_nTotal); in SetAt() 98 FXSYS_assert(m_nIndex >= 0 && m_nIndex < m_pBuf->m_nTotal); in GetChar() 102 FXSYS_assert(m_nAliasCount >= 0 && m_nAliasCount <= 2); in GetChar() 149 FXSYS_assert(m_nChunkSize); in CFDE_TxtEdtBuf() 161 FXSYS_assert(nChunkSize); in SetChunkSize() 172 FXSYS_assert(!wsText.IsEmpty()); in SetText() [all …]
|
D | fde_txtedtparag.cpp | 20 FXSYS_assert(m_pEngine); in CFDE_TxtEdtParag() 93 FXSYS_assert(m_lpData != NULL); in UnloadParag() 95 FXSYS_assert(((int32_t*)m_lpData)[0] >= 0); in UnloadParag() 140 FXSYS_assert(nLineIndex < m_nLineCount); in GetLineRange()
|
D | fde_txtedtengine.cpp | 233 FXSYS_assert(nIndex >= 0 && nIndex <= GetTextBufLength()); in SetCaretPos() 562 FXSYS_assert(0); in Insert() 693 FXSYS_assert(0); in Delete() 843 FXSYS_assert(m_wsFixText.IsEmpty()); in SetFormatBlock() 1039 FXSYS_assert(pDoRecord); in Redo() 1055 FXSYS_assert(pDoRecord); in Undo() 1200 FXSYS_assert(nLength > 0); in Inner_Insert() 1264 FXSYS_assert(nLength > 0); in RawInsert() 1320 FXSYS_assert(nStart >= 0 && nEnd < m_pTxtBuf->GetTextLength()); in Inner_DeleteRange() 1373 FXSYS_assert(nStart >= 0); in DeleteRange_DoRecord() [all …]
|
D | fde_txtedtblock.cpp | 39 FXSYS_assert(pField); in CFDE_TxtEdtBlock() 51 FXSYS_assert(pField); in CFDE_TxtEdtBlock() 63 FXSYS_assert(pField); in CFDE_TxtEdtBlock() 236 FXSYS_assert(pBlock); in CFDE_TxtEdtField() 247 FXSYS_assert(nInnerIndex >= 0 && nInnerIndex <= nFieldLength); in Insert() 318 FXSYS_assert(nInnerIndex >= 0 && nInnerIndex <= nFieldLength); in Replace() 474 FXSYS_assert(0); in CFDE_TxtEdtField_Integer() 528 FXSYS_assert(0); in CFDE_TxtEdtField_Float() 599 FXSYS_assert(0); in CFDE_TxtEdtField_Password() 640 FXSYS_assert(0); in CFDE_TxtEdtField_String() [all …]
|
/external/pdfium/xfa/src/fdp/src/css/ |
D | fde_cssdatatable.h | 13 FXSYS_assert(pArgList != NULL); in CFDE_CSSFunction() 37 FXSYS_assert(m_pString != NULL); in CFDE_CSSPrimitiveValue() 45 FXSYS_assert(m_eType == FDE_CSSPRIMITIVETYPE_RGB); in GetRGBColor() 49 FXSYS_assert(m_eType >= FDE_CSSPRIMITIVETYPE_Number && in GetFloat() 54 FXSYS_assert(m_eType >= FDE_CSSPRIMITIVETYPE_String && in GetString() 60 FXSYS_assert(m_eType == FDE_CSSPRIMITIVETYPE_Enum); in GetEnum() 64 FXSYS_assert(m_eType == FDE_CSSPRIMITIVETYPE_Function); in GetFuncName() 68 FXSYS_assert(m_eType == FDE_CSSPRIMITIVETYPE_Function); in CountArgs() 72 FXSYS_assert(m_eType == FDE_CSSPRIMITIVETYPE_Function); in GetArgs() 104 FXSYS_assert(psz != NULL && iLen > 0); in CFDE_CSSValueListParser()
|
D | fde_csscache.cpp | 13 FXSYS_assert(pStylesheet); in _FDE_CSSCACHEITEM() 37 FXSYS_assert(pStyleSheet != NULL); in AddStyleSheet() 42 FXSYS_assert(m_pFixedStore != NULL); in AddStyleSheet() 106 FXSYS_assert(pTag != NULL); in _FDE_CSSTAGCACHE() 145 FXSYS_assert(pItem && pItem->GetTag() == pTag); in OnLeaveTag()
|
D | fde_cssstylesheet.cpp | 75 FXSYS_assert(m_dwMediaList > 0); in CFDE_CSSStyleSheet() 94 FXSYS_assert(FALSE); in Reset() 125 FXSYS_assert(pStream != NULL); in LoadFromStream() 143 FXSYS_assert(pBuffer != NULL && iBufSize > 0); in LoadFromBuffer() 361 FXSYS_assert(m_ppSelector == NULL); in SetSelector() 377 FXSYS_assert(FALSE); in ~CFDE_CSSMediaRule() 386 FXSYS_assert(*psz == ':'); in FDE_GetCSSPersudoLen() 414 FXSYS_assert(pStaticStore != NULL && psz != NULL && iLen > 0); in FromString() 442 FXSYS_assert(pLast != NULL); in FromString()
|
D | fde_csssyntax.cpp | 39 FXSYS_assert(pStream != NULL && iCSSPlaneSize > 0 && iTextDataSize > 0); in Init() 54 FXSYS_assert(pBuffer != NULL && iBufferSize > 0 && iTextDatSize > 0); in Init() 356 FXSYS_assert(FALSE); in DoSyntaxParse() 432 FXSYS_assert(iAllocSize > 0); in EstimateSize() 441 FXSYS_assert(iStreamOffset >= 0 && iMaxChars > 0); in LoadFromStream() 474 FXSYS_assert(iStart >= 0 && iLength > 0); in Subtract()
|
/external/pdfium/xfa/src/fwl/src/lightwidget/ |
D | theme.cpp | 35 FXSYS_assert(pTheme); in DrawBackground() 40 FXSYS_assert(pTheme); in DrawText() 45 FXSYS_assert(pTheme); in GetCapacity() 50 FXSYS_assert(pTheme); in IsCustomizedLayout() 55 FXSYS_assert(pTheme); in GetPartRect() 62 FXSYS_assert(pTheme); in IsInPart() 67 FXSYS_assert(pTheme); in CalcTextRect()
|
/external/pdfium/xfa/src/fdp/src/fde/ |
D | fde_iterator.cpp | 17 FXSYS_assert(pCanvas != NULL); in AttachCanvas() 40 FXSYS_assert(pCanvas != NULL && pCanvas->pCanvas != NULL); in FilterObjects() 52 FXSYS_assert(pCanvas != NULL && pCanvas->pCanvas != NULL); in GetNext() 63 FXSYS_assert(hObj != NULL); in GetNext()
|
D | fde_render.cpp | 14 FXSYS_assert(iRotate >= 0 && iRotate <= 3); in FDE_GetPageMatrix() 92 FXSYS_assert(m_pIterator != NULL); in StartRender() 145 FXSYS_assert(FALSE); in DoRender() 178 FXSYS_assert(m_pRenderDevice != NULL); in RenderText() 179 FXSYS_assert(pTextSet != NULL && hText != NULL); in RenderText() 216 FXSYS_assert(m_pRenderDevice != NULL); in RenderPath() 217 FXSYS_assert(pPathSet != NULL && hPath != NULL); in RenderPath()
|
/external/pdfium/xfa/src/fgas/src/font/ |
D | fx_gdifont.cpp | 31 FXSYS_assert(pOutline != NULL); in SetCachedGlyphOutline() 86 FXSYS_assert(FALSE); in LoadFont() 106 FXSYS_assert(m_hDC != NULL); in CFX_GdiFont() 164 FXSYS_assert(m_hFont == NULL); in LoadFont() 192 FXSYS_assert(m_hFont == NULL && pBuffer != NULL && iLength > 0); in LoadFont() 220 FXSYS_assert(m_hFont == NULL && pszFileName != NULL); in LoadFont() 248 FXSYS_assert(m_hFont == NULL && pFontStream != NULL); in LoadFont() 260 FXSYS_assert(m_hFont == NULL); in LoadFont() 289 FXSYS_assert(m_hFont != NULL); in RetrieveFontStyles() 295 FXSYS_assert(m_hFont != NULL); in GetFamilyName() [all …]
|
/external/pdfium/xfa/src/fgas/src/localization/ |
D | fx_datetime.cpp | 34 FXSYS_assert(iYear != 0); in FX_IsLeapYear() 38 FXSYS_assert(iYear != 0); in FX_DaysInYear() 42 FXSYS_assert(iYear != 0); in FX_DaysInMonth() 43 FXSYS_assert(iMonth >= 1 && iMonth <= 12); in FX_DaysInMonth() 49 FXSYS_assert(iYear != 0); in FX_DaysBeforeMonthInYear() 50 FXSYS_assert(iMonth >= 1 && iMonth <= 12); in FX_DaysBeforeMonthInYear() 59 FXSYS_assert(iYear != 0); in FX_DateToDays() 60 FXSYS_assert(iMonth >= 1 && iMonth <= 12); in FX_DateToDays() 61 FXSYS_assert(iDay >= 1 && iDay <= FX_DaysInMonth(iYear, iMonth)); in FX_DateToDays() 203 FXSYS_assert(hour <= 23); in Set() [all …]
|
/external/pdfium/xfa/src/fgas/src/xml/ |
D | fx_sax_imp.cpp | 32 FXSYS_assert(m_pFile == NULL && pFile != NULL); in StartFile() 56 FXSYS_assert(m_pFile != NULL); in ReadNextBlock() 562 FXSYS_assert(iLen > -1); in SkipNode() 623 FXSYS_assert(m_pHandler != NULL); in NotifyData() 631 FXSYS_assert(m_pHandler != NULL); in NotifyEnter() 640 FXSYS_assert(m_pHandler != NULL); in NotifyAttribute() 649 FXSYS_assert(m_pHandler != NULL); in NotifyBreak() 655 FXSYS_assert(m_pHandler != NULL); in NotifyClose() 662 FXSYS_assert(m_pHandler != NULL); in NotifyEnd() 670 FXSYS_assert(m_pHandler != NULL); in NotifyTargetData()
|
/external/pdfium/xfa/src/fxfa/src/parser/ |
D | xfa_document_datamerger_imp.cpp | 50 FXSYS_assert(pWidgetData); in XFA_DataMerge_FormValueNode_MatchNoneCreateChild() 60 FXSYS_assert(pValueNode->GetPacketID() == XFA_XDPPACKET_Form); in XFA_DataMerge_FormValueNode_SetChildContent() 94 FXSYS_assert(FALSE); in XFA_DataMerge_FormValueNode_SetChildContent() 109 FXSYS_assert(pWidgetData); in XFA_DataMerge_CreateDataBinding() 128 FXSYS_assert(pXMLDataElement); in XFA_DataMerge_CreateDataBinding() 154 FXSYS_assert(pXMLNode->GetType() == FDE_XMLNODE_Element); in XFA_DataMerge_CreateDataBinding() 269 FXSYS_assert(pXMLDataElement); in XFA_DataMerge_CreateDataBinding() 297 FXSYS_assert(exData != NULL); in XFA_DataMerge_CreateDataBinding() 596 FXSYS_assert(pNewNode); in XFA_NodeMerge_CloneOrMergeInstanceManager() 836 FXSYS_assert(pSubformNode); in XFA_DataMerge_CopyContainer_SubformSet() [all …]
|
D | xfa_document_datadescription_imp.cpp | 32 FXSYS_assert(pDataDescriptionNode); in XFA_DataDescription_UpdateDataRelation() 80 FXSYS_assert(pDataNode); in XFA_DataDescription_MaybeCreateDataNode() 110 FXSYS_assert(pDataNode); in XFA_DataDescription_MaybeCreateDataNode()
|
/external/pdfium/xfa/src/fgas/include/ |
D | fx_rbk.h | 110 FXSYS_assert(m_pChars != NULL); in AppendChar() 125 FXSYS_assert(index > -1 && index < m_iChars && m_pChars != NULL); in GetChar() 129 FXSYS_assert(index > -1 && index < m_iChars && m_pChars != NULL); in GetCharPtr() 133 FXSYS_assert(pText != NULL); in GetString() 147 FXSYS_assert(pWidths != NULL); in GetWidths()
|