Home
last modified time | relevance | path

Searched refs:objNumMap (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/pdf/
DSkPDFTypes.cpp117 const SkPDFObjNumMap& objNumMap) const { in emitObject()
150 stream->writeDecAsText(objNumMap.getObjectNumber(fObject)); in emitObject()
154 fObject->emitObject(stream, objNumMap); in emitObject()
161 void SkPDFUnion::addResources(SkPDFObjNumMap* objNumMap) const { in addResources()
173 objNumMap->addObjectRecursively(fObject); in addResources()
176 fObject->addResources(objNumMap); in addResources()
252 const SkPDFObjNumMap& objNumMap) const {
253 fValue.emitObject(stream, objNumMap);
278 const SkPDFObjNumMap& objNumMap) const { in emitObject()
282 fValues[i].emitObject(stream, objNumMap); in emitObject()
[all …]
DSkPDFTypes.h43 const SkPDFObjNumMap& objNumMap) const = 0;
169 const SkPDFObjNumMap& objNumMap) final;
194 const SkPDFObjNumMap& objNumMap) const override;
242 const SkPDFObjNumMap& objNumMap) const override;
278 const SkPDFObjNumMap& objNumMap) const;
334 const SkPDFObjNumMap& objNumMap) const override;
DSkPDFBitmap.cpp279 const SkPDFObjNumMap& objNumMap) { in emit_image_xobject() argument
313 pdfDict.emitObject(stream, objNumMap); in emit_image_xobject()
328 const SkPDFObjNumMap& objNumMap) const override { in emitObject()
330 emit_image_xobject(stream, fImage.get(), true, nullptr, objNumMap); in emitObject()
346 const SkPDFObjNumMap& objNumMap) const override { in emitObject()
348 emit_image_xobject(stream, fImage.get(), false, fSMask, objNumMap); in emitObject()
383 const SkPDFObjNumMap& objNumMap) const { in emitObject()
398 pdfDict.emitObject(stream, objNumMap); in emitObject()
DSkPDFFont.cpp309 const SkPDFObjNumMap& objNumMap) const { in emitObject()
311 return INHERITED::emitObject(stream, objNumMap); in emitObject()
/external/skia/bench/
DPDFBench.cpp50 SkPDFObjNumMap objNumMap; in test_pdf_object_serialization() local
51 objNumMap.addObjectRecursively(object.get()); in test_pdf_object_serialization()
52 for (int i = 0; i < objNumMap.objects().count(); ++i) { in test_pdf_object_serialization()
53 SkPDFObject* object = objNumMap.objects()[i].get(); in test_pdf_object_serialization()
56 object->emitObject(&wStream, objNumMap); in test_pdf_object_serialization()
/external/skia/tests/
DPDFPrimitivesTest.cpp124 SkPDFObjNumMap objNumMap; in TestObjectNumberMap() local
129 objNumMap.addObject(a1.get()); in TestObjectNumberMap()
130 objNumMap.addObject(a2.get()); in TestObjectNumberMap()
131 objNumMap.addObject(a3.get()); in TestObjectNumberMap()
135 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a1.get()) == 1); in TestObjectNumberMap()
136 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a2.get()) == 2); in TestObjectNumberMap()
137 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a3.get()) == 3); in TestObjectNumberMap()
140 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a1.get()) == 1); in TestObjectNumberMap()