Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFTypes.cpp126 const SkPDFObjNumMap& objNumMap, in emitObject() argument
155 stream->writeDecAsText(objNumMap.getObjectNumber( in emitObject()
160 fObject->emitObject(stream, objNumMap, substitutes); in emitObject()
167 void SkPDFUnion::addResources(SkPDFObjNumMap* objNumMap, in addResources() argument
180 objNumMap->addObjectRecursively(obj, substituteMap); in addResources()
184 fObject->addResources(objNumMap, substituteMap); in addResources()
254 const SkPDFObjNumMap& objNumMap,
256 fValue.emitObject(stream, objNumMap, substitutes);
279 const SkPDFObjNumMap& objNumMap, in emitObject() argument
283 fValues[i].emitObject(stream, objNumMap, substitutes); in emitObject()
[all …]
DSkPDFTypes.h44 const SkPDFObjNumMap& objNumMap,
174 const SkPDFObjNumMap& objNumMap,
202 const SkPDFObjNumMap& objNumMap,
255 const SkPDFObjNumMap& objNumMap,
294 const SkPDFObjNumMap& objNumMap,
DSkPDFBitmap.cpp334 const SkPDFObjNumMap& objNumMap, in emit_image_xobject() argument
372 pdfDict.emitObject(stream, objNumMap, substitutes); in emit_image_xobject()
388 const SkPDFObjNumMap& objNumMap, in emitObject() argument
390 emit_image_xobject(stream, fImage, true, nullptr, objNumMap, subs); in emitObject()
405 const SkPDFObjNumMap& objNumMap, in emitObject() argument
407 emit_image_xobject(stream, fImage, false, fSMask, objNumMap, subs); in emitObject()
447 const SkPDFObjNumMap& objNumMap, in emitObject() argument
462 pdfDict.emitObject(stream, objNumMap, substituteMap); in emitObject()
DSkPDFStream.cpp19 const SkPDFObjNumMap& objNumMap, in emitObject() argument
22 this->INHERITED::emitObject(stream, objNumMap, substitutes); in emitObject()
DSkPDFStream.h44 const SkPDFObjNumMap& objNumMap,
DSkPDFGraphicState.cpp187 const SkPDFObjNumMap& objNumMap, in emitObject() argument
218 dict->emitObject(stream, objNumMap, substitutes); in emitObject()
DSkPDFGraphicState.h36 const SkPDFObjNumMap& objNumMap,
DSkPDFFont.cpp1010 const SkPDFObjNumMap& objNumMap, in emitObject() argument
1013 return INHERITED::emitObject(stream, objNumMap, substitutes); in emitObject()
/external/skia/bench/
DPDFBench.cpp27 SkPDFObjNumMap objNumMap; in test_pdf_object_serialization() local
28 objNumMap.addObjectRecursively(object, substitutes); in test_pdf_object_serialization()
29 for (int i = 0; i < objNumMap.objects().count(); ++i) { in test_pdf_object_serialization()
30 SkPDFObject* object = objNumMap.objects()[i]; in test_pdf_object_serialization()
33 object->emitObject(&wStream, objNumMap, substitutes); in test_pdf_object_serialization()
/external/skia/src/doc/
DSkDocument_PDF.cpp29 const SkPDFObjNumMap& objNumMap, in emit_pdf_footer() argument
47 trailerDict.emitObject(stream, objNumMap, substitutes); in emit_pdf_footer()
231 SkPDFObjNumMap objNumMap; in emit_pdf_document() local
232 objNumMap.addObjectRecursively(infoDict, substitutes); in emit_pdf_document()
233 objNumMap.addObjectRecursively(docCatalog.get(), substitutes); in emit_pdf_document()
237 for (int i = 0; i < objNumMap.objects().count(); ++i) { in emit_pdf_document()
238 SkPDFObject* object = objNumMap.objects()[i]; in emit_pdf_document()
245 SkASSERT(objNumMap.getObjectNumber(object) == i + 1); in emit_pdf_document()
248 object->emitObject(stream, objNumMap, substitutes); in emit_pdf_document()
264 emit_pdf_footer(stream, objNumMap, substitutes, docCatalog.get(), objCount, in emit_pdf_document()
/external/skia/tests/
DPDFPrimitivesTest.cpp125 SkPDFObjNumMap objNumMap; in TestObjectNumberMap() local
130 objNumMap.addObject(a1.get()); in TestObjectNumberMap()
131 objNumMap.addObject(a2.get()); in TestObjectNumberMap()
132 objNumMap.addObject(a3.get()); in TestObjectNumberMap()
136 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a1.get()) == 1); in TestObjectNumberMap()
137 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a2.get()) == 2); in TestObjectNumberMap()
138 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a3.get()) == 3); in TestObjectNumberMap()
141 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a1.get()) == 1); in TestObjectNumberMap()