HomeSort by relevance Sort by last modified time
    Searched refs:SkRefPtr (Results 1 - 22 of 22) sorted by null

  /external/skia/include/core/
SkRefCnt.h 134 template <typename T> class SkRefPtr {
136 SkRefPtr() : fObj(NULL) {}
137 SkRefPtr(T* obj) : fObj(obj) { SkSafeRef(fObj); }
138 SkRefPtr(const SkRefPtr& o) : fObj(o.fObj) { SkSafeRef(fObj); }
139 ~SkRefPtr() { SkSafeUnref(fObj); }
141 SkRefPtr& operator=(const SkRefPtr& rp) {
145 SkRefPtr& operator=(T* obj) {
154 typedef T* SkRefPtr::*unspecified_bool_type
    [all...]
  /external/skia/include/pdf/
SkPDFDocument.h 50 SK_API bool appendPage(const SkRefPtr<SkPDFDevice>& pdfDevice);
62 SkRefPtr<SkPDFDict> fDocCatalog;
66 SkRefPtr<SkPDFDict> fTrailerDict;
SkPDFPage.h 40 explicit SkPDFPage(const SkRefPtr<SkPDFDevice>& content);
95 SkRefPtr<SkPDFDevice> fDevice;
98 SkRefPtr<SkPDFStream> fContentStream;
SkPDFStream.h 49 SkRefPtr<SkStream> fPlainData;
SkPDFFont.h 80 SkRefPtr<SkTypeface> fTypeface;
93 SkRefPtr<SkAdvancedTypefaceMetrics> fFontInfo;
95 SkRefPtr<SkPDFDict> fDescriptor;
SkPDFFormXObject.h 69 SkRefPtr<SkPDFStream> fStream;
SkPDFDevice.h 123 SK_API const SkRefPtr<SkPDFDict>& getResourceDict();
136 SK_API SkRefPtr<SkPDFArray> getMediaBox() const;
162 SkRefPtr<SkPDFDict> fResourceDict;
178 void createFormXObjectFromDevice(SkRefPtr<SkPDFFormXObject>* xobject);
197 SkRefPtr<SkPDFFormXObject>* dst);
SkPDFImage.h 65 SkRefPtr<SkPDFStream> fStream;
SkPDFShader.h 80 SkRefPtr<SkPDFDict> fContent;
SkPDFTypes.h 98 SkRefPtr<SkPDFObject> fObj;
  /external/skia/tests/
PDFPrimitivesTest.cpp 68 SkRefPtr<SkPDFInt> int1 = new SkPDFInt(1);
69 int1->unref(); // SkRefPtr and new both took a reference.
70 SkRefPtr<SkPDFInt> int2 = new SkPDFInt(2);
71 int2->unref(); // SkRefPtr and new both took a reference.
72 SkRefPtr<SkPDFInt> int3 = new SkPDFInt(3);
73 int3->unref(); // SkRefPtr and new both took a reference.
74 SkRefPtr<SkPDFInt> int1Again(int1.get());
95 SkRefPtr<SkPDFInt> int1 = new SkPDFInt(1);
96 int1->unref(); // SkRefPtr and new both took a reference.
97 SkRefPtr<SkPDFInt> int2 = new SkPDFInt(2)
    [all...]
UtilsTest.cpp 20 SkRefPtr<RefClass> rc0;
24 SkRefPtr<RefClass> rc1;
  /external/skia/src/pdf/
SkPDFPage.cpp 22 SkPDFPage::SkPDFPage(const SkRefPtr<SkPDFDevice>& content)
35 SkRefPtr<SkStream> content = fDevice->content();
36 content->unref(); // SkRefPtr and content() both took a reference.
38 fContentStream->unref(); // SkRefPtr and new both took a reference.
70 SkRefPtr<SkPDFName> kidsName = new SkPDFName("Kids");
71 kidsName->unref(); // SkRefPtr and new both took a reference.
72 SkRefPtr<SkPDFName> countName = new SkPDFName("Count");
73 countName->unref(); // SkRefPtr and new both took a reference.
74 SkRefPtr<SkPDFName> parentName = new SkPDFName("Parent");
75 parentName->unref(); // SkRefPtr and new both took a reference
    [all...]
SkPDFFormXObject.cpp 32 SkRefPtr<SkStream> content = device->content();
33 content->unref(); // SkRefPtr and content() both took a reference.
35 fStream->unref(); // SkRefPtr and new both took a reference.
54 SkRefPtr<SkPDFDict> group = new SkPDFDict("Group");
55 group->unref(); // SkRefPtr and new both took a reference.
SkPDFFont.cpp 141 SkRefPtr<SkMemoryStream> staticStream;
146 staticStream->unref(); // new and SkRefPtr both took a ref.
299 SkRefPtr<SkPDFArray> advanceArray = new SkPDFArray();
300 advanceArray->unref(); // SkRefPtr and new both took a ref.
489 SkRefPtr<SkAdvancedTypefaceMetrics> fontInfo;
504 SkSafeUnref(fontInfo.get()); // SkRefPtr and Get both took a reference.
594 SkRefPtr<SkPDFArray> descendantFonts = new SkPDFArray();
595 descendantFonts->unref(); // SkRefPtr and new took a reference.
616 SkRefPtr<SkMemoryStream> cmapStream = new SkMemoryStream();
617 cmapStream->unref(); // SkRefPtr and new took a reference
    [all...]
SkPDFGraphicState.cpp 126 SkRefPtr<SkPDFArray> domainAndRange = new SkPDFArray;
127 domainAndRange->unref(); // SkRefPtr and new both took a reference.
133 SkRefPtr<SkMemoryStream> psInvertStream =
135 psInvertStream->unref(); // SkRefPtr and new both took a reference.
152 SkRefPtr<SkPDFDict> sMaskDict = new SkPDFDict("Mask");
153 sMaskDict->unref(); // SkRefPtr and new both took a reference.
213 SkRefPtr<SkPDFScalar> alpha =
215 alpha->unref(); // SkRefPtr and new both took a reference.
SkPDFDevice.cpp 463 SkRefPtr<SkPDFFormXObject> fDstFormXObject;
    [all...]
SkPDFImage.cpp 314 fStream->unref(); // SkRefPtr and new both took a reference.
326 SkRefPtr<SkPDFInt> one = new SkPDFInt(1);
327 one->unref(); // SkRefPtr and new both took a reference.
355 SkRefPtr<SkPDFInt> zeroVal = new SkPDFInt(0);
356 zeroVal->unref(); // SkRefPtr and new both took a reference.
357 SkRefPtr<SkPDFScalar> scale5Val =
359 scale5Val->unref(); // SkRefPtr and new both took a reference.
360 SkRefPtr<SkPDFScalar> scale6Val =
362 scale6Val->unref(); // SkRefPtr and new both took a reference.
363 SkRefPtr<SkPDFArray> decodeValue = new SkPDFArray()
    [all...]
SkPDFShader.cpp 325 SkRefPtr<SkPDFShader> pdfShader;
444 SkRefPtr<SkPDFArray> domain = new SkPDFArray;
445 domain->unref(); // SkRefPtr and new both took a reference.
470 SkRefPtr<SkPDFStream> function = makePSFunction(functionCode, domain.get());
471 // Pass one reference to fResources, SkRefPtr and new both took a reference.
474 SkRefPtr<SkPDFDict> pdfShader = new SkPDFDict;
475 pdfShader->unref(); // SkRefPtr and new both took a reference.
482 fContent->unref(); // SkRefPtr and new both took a reference.
655 SkRefPtr<SkPDFArray> patternBBoxArray = new SkPDFArray;
656 patternBBoxArray->unref(); // SkRefPtr and new both took a reference
    [all...]
SkPDFDocument.cpp 41 fDocCatalog->unref(); // SkRefPtr and new both took a reference.
68 SkRefPtr<SkPDFDict> outputIntent = new SkPDFDict("OutputIntent");
69 outputIntent->unref(); // SkRefPtr and new both took a reference.
73 SkRefPtr<SkPDFArray> intentArray = new SkPDFArray;
74 intentArray->unref(); // SkRefPtr and new both took a reference.
143 bool SkPDFDocument::appendPage(const SkRefPtr<SkPDFDevice>& pdfDevice) {
178 fTrailerDict->unref(); // SkRefPtr and new both took a reference.
SkPDFTypes.cpp 381 SkRefPtr<SkPDFName> keyName = new SkPDFName(key);
382 keyName->unref(); // SkRefPtr and new both took a reference.
  /external/skia/samplecode/
SampleTextureDomain.cpp 56 SkRefPtr<SkDevice> primaryDevice(canvas->getDevice());
57 SkRefPtr<SkDevice> secondDevice(canvas->createDevice(

Completed in 648 milliseconds