/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_document_unittest.cpp | 55 zeroToTwo->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 57 zeroToTwo->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 59 zeroToTwo->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 65 zeroToThree->AddNew<CPDF_Reference>(this, branch1->GetObjNum()); in CPDF_TestDocumentForPages() 66 zeroToThree->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 72 fourFive->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 74 fourFive->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 79 justSix->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 84 allPages->AddNew<CPDF_Reference>(this, branch2->GetObjNum()); in CPDF_TestDocumentForPages() 85 allPages->AddNew<CPDF_Reference>(this, branch3->GetObjNum()); in CPDF_TestDocumentForPages() [all …]
|
D | cpdf_dictionary.cpp | 224 pArray->AddNew<CPDF_Number>(rect.left); in SetRectFor() 225 pArray->AddNew<CPDF_Number>(rect.bottom); in SetRectFor() 226 pArray->AddNew<CPDF_Number>(rect.right); in SetRectFor() 227 pArray->AddNew<CPDF_Number>(rect.top); in SetRectFor() 233 pArray->AddNew<CPDF_Number>(matrix.a); in SetMatrixFor() 234 pArray->AddNew<CPDF_Number>(matrix.b); in SetMatrixFor() 235 pArray->AddNew<CPDF_Number>(matrix.c); in SetMatrixFor() 236 pArray->AddNew<CPDF_Number>(matrix.d); in SetMatrixFor() 237 pArray->AddNew<CPDF_Number>(matrix.e); in SetMatrixFor() 238 pArray->AddNew<CPDF_Number>(matrix.f); in SetMatrixFor()
|
D | cpdf_document.cpp | 202 pWidthArray->AddNew<CPDF_Number>(first + size - 1); in InsertWidthArrayImpl() 203 pWidthArray->AddNew<CPDF_Number>(*widths); in InsertWidthArrayImpl() 205 CPDF_Array* pWidthArray1 = pWidthArray->AddNew<CPDF_Array>(); in InsertWidthArrayImpl() 207 pWidthArray1->AddNew<CPDF_Number>(widths[i]); in InsertWidthArrayImpl() 742 pPagesList->AddNew<CPDF_Reference>(this, pPageDict->GetObjNum()); in InsertNewPage() 793 pArray->AddNew<CPDF_Number>(128); in CalculateEncodingDict() 798 pArray->AddNew<CPDF_Name>(name.IsEmpty() ? ".notdef" : name); in CalculateEncodingDict() 821 pWidthArray->AddNew<CPDF_Number>(1); in ProcessbCJK() 828 pWidthArray->AddNew<CPDF_Number>(7716); in ProcessbCJK() 830 pWidthArray->AddNew<CPDF_Number>(814); in ProcessbCJK() [all …]
|
D | cpdf_object_unittest.cpp | 402 arr->AddNew<CPDF_Number>(elems[i][j]); in TEST() 422 arr->AddNew<CPDF_Number>(elems[i][j]); in TEST() 537 vals[i] = arr->AddNew<CPDF_Array>(); in TEST() 559 vals[i] = arr->AddNew<CPDF_Dictionary>(); in TEST() 598 stream_vals[i] = arr->AddNew<CPDF_Stream>(std::move(data), data_size, in TEST() 628 arr_val->AddNew<CPDF_Number>(1); in TEST() 629 arr_val->AddNew<CPDF_Number>(2); in TEST() 681 arr->AddNew<CPDF_Number>(vals[i]); in TEST() 692 arr->AddNew<CPDF_Number>(vals[i]); in TEST() 706 string_array->AddNew<CPDF_String>(vals[i], false); in TEST() [all …]
|
D | cpdf_array_unittest.cpp | 20 arr->AddNew<CPDF_Number>(elems[i]); in TEST() 39 arr->AddNew<CPDF_Number>(elems[i]); in TEST() 50 arr->AddNew<CPDF_Number>(elems[i]); in TEST()
|
D | cpdf_object_walker_unittest.cpp | 106 root_array->AddNew<CPDF_Null>(); in TEST() 107 root_array->AddNew<CPDF_Null>(); in TEST()
|
D | cpdf_array.h | 62 typename std::enable_if<!CanInternStrings<T>::value, T*>::type AddNew( in AddNew() function 68 typename std::enable_if<CanInternStrings<T>::value, T*>::type AddNew( in AddNew() function
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_nametree_unittest.cpp | 15 pNames->AddNew<CPDF_String>(key, false); in AddNameKeyValue() 16 pNames->AddNew<CPDF_Number>(value); in AddNameKeyValue() 31 pLimits->AddNew<CPDF_String>(least, false); in AddLimitsArray() 32 pLimits->AddNew<CPDF_String>(greatest, false); in AddLimitsArray() 46 CPDF_Dictionary* pKid1 = pKids->AddNew<CPDF_Dictionary>(); in FillNameTreeDict() 51 CPDF_Dictionary* pKid2 = pKids->AddNew<CPDF_Dictionary>(); in FillNameTreeDict() 52 CPDF_Dictionary* pKid3 = pKids->AddNew<CPDF_Dictionary>(); in FillNameTreeDict() 56 CPDF_Dictionary* pKid4 = pKids->AddNew<CPDF_Dictionary>(); in FillNameTreeDict() 57 CPDF_Dictionary* pKid5 = pKids->AddNew<CPDF_Dictionary>(); in FillNameTreeDict() 87 pNames->AddNew<CPDF_String>(ByteString(buf), true); in TEST() [all …]
|
D | cpdf_dest_unittest.cpp | 24 array->AddNew<CPDF_Number>(0); // Page Index. in TEST() 25 array->AddNew<CPDF_Name>("XYZ"); in TEST() 26 array->AddNew<CPDF_Number>(4); // X in TEST() 36 array->AddNew<CPDF_Number>(5); // Y in TEST() 37 array->AddNew<CPDF_Number>(6); // Zoom. in TEST()
|
D | cpdf_formfield.cpp | 550 pArray->AddNew<CPDF_String>(PDF_EncodeText(opt_value), false); in SetItemSelection() 557 pI->AddNew<CPDF_Number>(index); in SetItemSelection() 572 pArray->AddNew<CPDF_String>(PDF_EncodeText(opt_value), false); in SetItemSelection() 673 pOpt->AddNew<CPDF_String>(csStr, false); in InsertOption() 871 pArray->AddNew<CPDF_Number>(iOptIndex); in SelectOption()
|
/external/pdfium/fpdfsdk/ |
D | fpdfedittext.cpp | 56 pBBox->AddNew<CPDF_Number>(bbox.left); in LoadFontDesc() 57 pBBox->AddNew<CPDF_Number>(bbox.top); in LoadFontDesc() 58 pBBox->AddNew<CPDF_Number>(bbox.right); in LoadFontDesc() 59 pBBox->AddNew<CPDF_Number>(bbox.bottom); in LoadFontDesc() 262 widthsArray->AddNew<CPDF_Number>(pFont->GetGlyphWidth(glyphIndex)); in LoadSimpleFont() 269 widthsArray->AddNew<CPDF_Number>(0); in LoadSimpleFont() 348 oneW->AddNew<CPDF_Number>(w); in LoadCompositeFont() 349 widthsArray->AddNew<CPDF_Number>(ch); in LoadCompositeFont() 359 widthsArray->AddNew<CPDF_Number>(ch); in LoadCompositeFont() 370 widthsArray->AddNew<CPDF_Number>(ch); in LoadCompositeFont() [all …]
|
D | fpdf_transformpage.cpp | 34 pBoundingBoxArray->AddNew<CPDF_Number>(left); in SetBoundingBox() 35 pBoundingBoxArray->AddNew<CPDF_Number>(bottom); in SetBoundingBox() 36 pBoundingBoxArray->AddNew<CPDF_Number>(right); in SetBoundingBox() 37 pBoundingBoxArray->AddNew<CPDF_Number>(top); in SetBoundingBox() 152 pContentArray->AddNew<CPDF_Reference>(pDoc, pEndStream->GetObjNum()); in FPDFPage_TransFormWithClip() 155 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip() 156 pContentArray->AddNew<CPDF_Reference>(pDoc, pContentObj->GetObjNum()); in FPDFPage_TransFormWithClip() 157 pContentArray->AddNew<CPDF_Reference>(pDoc, pEndStream->GetObjNum()); in FPDFPage_TransFormWithClip() 304 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in FPDFPage_InsertClipPath() 305 pContentArray->AddNew<CPDF_Reference>(pDoc, pContentObj->GetObjNum()); in FPDFPage_InsertClipPath()
|
D | fpdfeditpage.cpp | 146 pMediaBoxArray->AddNew<CPDF_Number>(0); in FPDFPage_New() 147 pMediaBoxArray->AddNew<CPDF_Number>(0); in FPDFPage_New() 148 pMediaBoxArray->AddNew<CPDF_Number>(static_cast<float>(width)); in FPDFPage_New() 149 pMediaBoxArray->AddNew<CPDF_Number>(static_cast<float>(height)); in FPDFPage_New() 317 pRectArray->AddNew<CPDF_Number>(rect.left); in FPDFPage_TransformAnnots() 318 pRectArray->AddNew<CPDF_Number>(rect.bottom); in FPDFPage_TransformAnnots() 319 pRectArray->AddNew<CPDF_Number>(rect.right); in FPDFPage_TransformAnnots() 320 pRectArray->AddNew<CPDF_Number>(rect.top); in FPDFPage_TransformAnnots()
|
D | fpdf_flatten.cpp | 207 pContentsArray->AddNew<CPDF_Reference>(pDocument, in SetPageContents() 213 pContentsArray->AddNew<CPDF_Reference>( in SetPageContents() 274 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.left); in FPDFPage_Flatten() 275 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.bottom); in FPDFPage_Flatten() 276 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.right); in FPDFPage_Flatten() 277 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.top); in FPDFPage_Flatten() 282 pCropBox->AddNew<CPDF_Number>(rcOriginalCB.left); in FPDFPage_Flatten() 283 pCropBox->AddNew<CPDF_Number>(rcOriginalCB.bottom); in FPDFPage_Flatten() 284 pCropBox->AddNew<CPDF_Number>(rcOriginalCB.right); in FPDFPage_Flatten() 285 pCropBox->AddNew<CPDF_Number>(rcOriginalCB.top); in FPDFPage_Flatten()
|
D | fpdfannot.cpp | 498 pColor->AddNew<CPDF_Number>(R / 255.f); in FPDFAnnot_SetColor() 499 pColor->AddNew<CPDF_Number>(G / 255.f); in FPDFAnnot_SetColor() 500 pColor->AddNew<CPDF_Number>(B / 255.f); in FPDFAnnot_SetColor() 600 pQuadPoints->AddNew<CPDF_Number>(quadPoints->x1); in FPDFAnnot_SetAttachmentPoints() 601 pQuadPoints->AddNew<CPDF_Number>(quadPoints->y1); in FPDFAnnot_SetAttachmentPoints() 602 pQuadPoints->AddNew<CPDF_Number>(quadPoints->x2); in FPDFAnnot_SetAttachmentPoints() 603 pQuadPoints->AddNew<CPDF_Number>(quadPoints->y2); in FPDFAnnot_SetAttachmentPoints() 604 pQuadPoints->AddNew<CPDF_Number>(quadPoints->x3); in FPDFAnnot_SetAttachmentPoints() 605 pQuadPoints->AddNew<CPDF_Number>(quadPoints->y3); in FPDFAnnot_SetAttachmentPoints() 606 pQuadPoints->AddNew<CPDF_Number>(quadPoints->x4); in FPDFAnnot_SetAttachmentPoints() [all …]
|
D | fpdfdoc_unittest.cpp | 237 array->AddNew<CPDF_Number>(0); // Page Index. in TEST_F() 238 array->AddNew<CPDF_Name>("XYZ"); in TEST_F() 239 array->AddNew<CPDF_Number>(4); // X in TEST_F() 240 array->AddNew<CPDF_Number>(5); // Y in TEST_F() 241 array->AddNew<CPDF_Number>(6); // Zoom. in TEST_F()
|
D | fpdfppo.cpp | 228 pArray->AddNew<CPDF_Number>(0); in ExportPage() 229 pArray->AddNew<CPDF_Number>(0); in ExportPage() 230 pArray->AddNew<CPDF_Number>(612); in ExportPage() 231 pArray->AddNew<CPDF_Number>(792); in ExportPage()
|
D | cpdfsdk_baannot.cpp | 255 pArray->AddNew<CPDF_Number>(static_cast<float>(FXSYS_GetRValue(color)) / in SetColor() 257 pArray->AddNew<CPDF_Number>(static_cast<float>(FXSYS_GetGValue(color)) / in SetColor() 259 pArray->AddNew<CPDF_Number>(static_cast<float>(FXSYS_GetBValue(color)) / in SetColor()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.cpp | 106 pDecode->AddNew<CPDF_Number>(1); in InitJPEG() 107 pDecode->AddNew<CPDF_Number>(0); in InitJPEG() 200 pArray->AddNew<CPDF_Number>(1); in SetImage() 201 pArray->AddNew<CPDF_Number>(0); in SetImage() 205 pCS->AddNew<CPDF_Name>("Indexed"); in SetImage() 206 pCS->AddNew<CPDF_Name>("DeviceRGB"); in SetImage() 207 pCS->AddNew<CPDF_Number>(1); in SetImage() 217 pCS->AddNew<CPDF_String>(ct, true); in SetImage() 225 pCS->AddNew<CPDF_Name>("Indexed"); in SetImage() 226 pCS->AddNew<CPDF_Name>("DeviceRGB"); in SetImage() [all …]
|
/external/pdfium/testing/libfuzzer/ |
D | pdf_hint_table_fuzzer.cc | 78 hint_info->AddNew<CPDF_Number>(GetData(&data32, &data, &size)); in LLVMFuzzerTestOneInput() 80 hint_info->AddNew<CPDF_Number>(GetData(&data32, &data, &size)); in LLVMFuzzerTestOneInput()
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_pagecontentgenerator.cpp | 91 pArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in GenerateContent() 108 pObjArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in GenerateContent() 113 pContentArray->AddNew<CPDF_Reference>(pDoc, pDirectObj->GetObjNum()); in GenerateContent() 114 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in GenerateContent()
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | CoderMixer2.cpp | 330 CCoderST &c2 = _coders.AddNew(); in AddCoder() 457 _binderStreams.AddNew(); in GetInStream() 562 _binderStreams.AddNew(); in GetOutStream() 922 RINOK(_streamBinders.AddNew().CreateEvents()); in SetBindInfo() 932 CCoderMT &c2 = _coders.AddNew(); in AddCoder() 990 coderInfo.InStreams.AddNew(); in Init() 994 coderInfo.OutStreams.AddNew(); in Init()
|
/external/lzma/CPP/7zip/Common/ |
D | UniqBlocks.cpp | 37 Bufs.AddNew().CopyFrom(data, size); in AddUniq()
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_fontencoding.cpp | 1709 pDiff->AddNew<CPDF_Number>(i); in Realize() 1710 pDiff->AddNew<CPDF_Name>(PDF_AdobeNameFromUnicode(m_Unicodes[i])); in Realize()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zHandlerOut.cpp | 68 CMethodFull &methodFull = headerMethod.Methods.AddNew(); in SetHeaderMethod() 92 COneMethodInfo &m = methods.AddNew(); in SetMainMethod() 127 CMethodFull &methodFull = methodMode.Methods.AddNew(); in SetMainMethod()
|