Home
last modified time | relevance | path

Searched refs:unref (Results 1 – 25 of 212) sorted by relevance

123456789

/external/skia/src/pdf/
DSkPDFFont.cpp146 staticStream->unref(); // new and SkRefPtr both took a ref. in handleType1Stream()
258 emSize)))->unref(); in makeFontBBox()
260 emSize)))->unref(); in makeFontBBox()
262 emSize)))->unref(); in makeFontBBox()
264 emSize)))->unref(); in makeFontBBox()
270 array->append(new SkPDFScalar(scaleFromFontUnits(width, emSize)))->unref(); in appendWidth()
300 advanceArray->unref(); // SkRefPtr and new both took a ref. in composeAdvanceData()
304 result->append(new SkPDFInt(advanceInfo->fStartId))->unref(); in composeAdvanceData()
310 result->append(new SkPDFInt(advanceInfo->fStartId))->unref(); in composeAdvanceData()
311 result->append(new SkPDFInt(advanceInfo->fEndId))->unref(); in composeAdvanceData()
[all …]
DSkPDFGraphicState.cpp127 domainAndRange->unref(); // SkRefPtr and new both took a reference. in GetInvertFunction()
129 domainAndRange->append(new SkPDFInt(0))->unref(); in GetInvertFunction()
130 domainAndRange->append(new SkPDFInt(1))->unref(); in GetInvertFunction()
135 psInvertStream->unref(); // SkRefPtr and new both took a reference. in GetInvertFunction()
138 invertFunction->insert("FunctionType", new SkPDFInt(4))->unref(); in GetInvertFunction()
153 sMaskDict->unref(); // SkRefPtr and new both took a reference. in getSMaskGraphicState()
154 sMaskDict->insert("S", new SkPDFName("Alpha"))->unref(); in getSMaskGraphicState()
155 sMaskDict->insert("G", new SkPDFObjRef(sMask))->unref(); in getSMaskGraphicState()
160 result->insert("Type", new SkPDFName("ExtGState"))->unref(); in getSMaskGraphicState()
169 sMaskDict->insert("TR", new SkPDFObjRef(invertFunction))->unref(); in getSMaskGraphicState()
[all …]
DSkPDFFormXObject.cpp33 content->unref(); // SkRefPtr and content() both took a reference. in SkPDFFormXObject()
35 fStream->unref(); // SkRefPtr and new both took a reference. in SkPDFFormXObject()
37 insert("Type", new SkPDFName("XObject"))->unref(); in SkPDFFormXObject()
38 insert("Subtype", new SkPDFName("Form"))->unref(); in SkPDFFormXObject()
49 insert("Matrix", SkPDFUtils::MatrixToArray(inverse))->unref(); in SkPDFFormXObject()
55 group->unref(); // SkRefPtr and new both took a reference. in SkPDFFormXObject()
56 group->insert("S", new SkPDFName("Transparency"))->unref(); in SkPDFFormXObject()
57 group->insert("I", new SkPDFBool(true))->unref(); // Isolated. in SkPDFFormXObject()
DSkPDFPage.cpp36 content->unref(); // SkRefPtr and content() both took a reference. in finalizePage()
38 fContentStream->unref(); // SkRefPtr and new both took a reference. in finalizePage()
39 insert("Contents", new SkPDFObjRef(fContentStream.get()))->unref(); in finalizePage()
71 kidsName->unref(); // SkRefPtr and new both took a reference. in generatePageTree()
73 countName->unref(); // SkRefPtr and new both took a reference. in generatePageTree()
75 parentName->unref(); // SkRefPtr and new both took a reference. in generatePageTree()
99 newNodeRef->unref(); // SkRefPtr and new both took a reference. in generatePageTree()
102 kids->unref(); // SkRefPtr and new both took a reference. in generatePageTree()
108 kids->append(new SkPDFObjRef(curNodes[i]))->unref(); in generatePageTree()
125 newNode->insert(countName.get(), new SkPDFInt(pageCount))->unref(); in generatePageTree()
DSkPDFImage.cpp225 result->append(new SkPDFName("Indexed"))->unref(); in makeIndexedColorSpace()
226 result->append(new SkPDFName("DeviceRGB"))->unref();; in makeIndexedColorSpace()
227 result->append(new SkPDFInt(table->count() - 1))->unref(); in makeIndexedColorSpace()
240 result->append(new SkPDFString(index))->unref(); in makeIndexedColorSpace()
268 paint))->unref(); in CreateImage()
280 insert("SMask", new SkPDFObjRef(mask))->unref(); in addSMask()
314 fStream->unref(); // SkRefPtr and new both took a reference. in SkPDFImage()
320 insert("Type", new SkPDFName("XObject"))->unref(); in SkPDFImage()
321 insert("Subtype", new SkPDFName("Image"))->unref(); in SkPDFImage()
327 one->unref(); // SkRefPtr and new both took a reference. in SkPDFImage()
[all …]
DSkPDFShader.cpp340 pdfShader->unref(); in getPDFShader()
371 range->append(new SkPDFInt(0))->unref(); in rangeObject()
372 range->append(new SkPDFInt(1))->unref(); in rangeObject()
373 range->append(new SkPDFInt(0))->unref(); in rangeObject()
374 range->append(new SkPDFInt(1))->unref(); in rangeObject()
375 range->append(new SkPDFInt(0))->unref(); in rangeObject()
376 range->append(new SkPDFInt(1))->unref(); in rangeObject()
445 domain->unref(); // SkRefPtr and new both took a reference. in doFunctionShader()
447 domain->append(new SkPDFScalar(bbox.fLeft))->unref(); in doFunctionShader()
448 domain->append(new SkPDFScalar(bbox.fRight))->unref(); in doFunctionShader()
[all …]
DSkPDFDocument.cpp30 (*resourceList)[i]->unref(); in addResourcesToCatalog()
41 fDocCatalog->unref(); // SkRefPtr and new both took a reference. in SkPDFDocument()
65 fDocCatalog->insert("Pages", new SkPDFObjRef(pageTreeRoot))->unref(); in emitPDF()
178 fTrailerDict->unref(); // SkRefPtr and new both took a reference. in emitFooter()
182 fTrailerDict->insert("Size", new SkPDFInt(objCount))->unref(); in emitFooter()
184 new SkPDFObjRef(fDocCatalog.get()))->unref(); in emitFooter()
/external/skia/tests/
DPDFPrimitivesTest.cpp69 int1->unref(); // SkRefPtr and new both took a reference. in TestCatalog()
71 int2->unref(); // SkRefPtr and new both took a reference. in TestCatalog()
73 int3->unref(); // SkRefPtr and new both took a reference. in TestCatalog()
96 int1->unref(); // SkRefPtr and new both took a reference. in TestObjectRef()
98 int2->unref(); // SkRefPtr and new both took a reference. in TestObjectRef()
100 int2ref->unref(); // SkRefPtr and new both took a reference. in TestObjectRef()
118 int42->unref(); // SkRefPtr and new both took a reference. in TestPDFPrimitives()
122 realHalf->unref(); // SkRefPtr and new both took a reference. in TestPDFPrimitives()
127 bigScalar->unref(); // SkRefPtr and new both took a reference. in TestPDFPrimitives()
134 biggerScalar->unref(); // SkRefPtr and new both took a reference. in TestPDFPrimitives()
[all …]
/external/skia/samplecode/
DSampleShaders.cpp36 shaderA->unref(); in make_bitmapfade()
37 shaderB->unref(); in make_bitmapfade()
38 mode->unref(); in make_bitmapfade()
69 shaderA->unref(); in ShaderView()
70 shaderB->unref(); in ShaderView()
71 mode->unref(); in ShaderView()
110 paint.setShader(make_bitmapfade(fBitmap))->unref(); in onDrawContent()
113 paint.setShader(new SkTransparentShader)->unref(); in onDrawContent()
DSamplePathEffects.cpp42 outer->unref(); in make_pe()
43 inner->unref(); in make_pe()
59 outer->unref(); in make_warp_pe()
60 inner->unref(); in make_warp_pe()
152 paint.setPathEffect(make_pe(1))->unref(); in onDrawContent()
159 paint.setPathEffect(make_pe(2))->unref(); in onDrawContent()
165 paint.setPathEffect(make_pe(3))->unref(); in onDrawContent()
171 paint.setPathEffect(make_warp_pe())->unref(); in onDrawContent()
172 paint.setRasterizer(new testrast)->unref(); in onDrawContent()
DSampleAll.cpp73 SkBlurMaskFilter::kNormal_BlurStyle))->unref(); in r0()
134 p.setPathEffect(new SkDiscretePathEffect(SK_Scalar1*4, SK_Scalar1*3))->unref(); in r5()
145 p.setRasterizer(rast2)->unref(); in r6()
184 p.setPathEffect(new Dot2DPathEffect(SK_Scalar1*4, lattice))->unref(); in r7()
194 p.setPathEffect(new Dot2DPathEffect(SK_Scalar1*2, lattice))->unref(); in r8()
257 p.setPathEffect(new Line2DPathEffect(SK_Scalar1*2, lattice))->unref(); in r9()
309 paint->setRasterizer(rast)->unref(); in apply_shader()
314 …kBlurMaskFilter::CreateEmboss(dir, SK_Scalar1/4, SkIntToScalar(4), SkIntToScalar(3)))->unref(); in apply_shader()
457 SkShader::kMirror_TileMode, SkShader::kRepeat_TileMode))->unref(); in drawPicture()
465 paint.setXfermode(xfermode)->unref(); in drawPicture()
[all …]
DSampleShapes.cpp55 fGroup.appendShape(make_shape0(false))->unref(); in ShapesView()
58 fGroup.appendShape(make_shape0(true), m)->unref(); in ShapesView()
61 fGroup.appendShape(make_shape1(), m)->unref(); in ShapesView()
63 fGroup.appendShape(make_shape2(), m)->unref(); in ShapesView()
96 newPict->unref(); in drawpicture()
143 pict->unref(); in onDrawContent()
DSampleAnimatedGradient.cpp53 paint.setShader(shader1)->unref(); in onDrawContent()
62 paint.setShader(shader2)->unref(); in onDrawContent()
69 paint.setShader(shader3)->unref(); in onDrawContent()
76 paint.setShader(shader4)->unref(); in onDrawContent()
DSampleTextEffects.cpp60 SkBlurMaskFilter::kNormal_BlurStyle))->unref(); in r0()
123 p.setPathEffect(new SkDiscretePathEffect(SK_Scalar1*4, SK_Scalar1*3))->unref(); in r5()
134 p.setRasterizer(rast2)->unref(); in r6()
175 p.setPathEffect(new Dot2DPathEffect(SK_Scalar1*4, lattice))->unref(); in r7()
185 p.setPathEffect(new Dot2DPathEffect(SK_Scalar1*2, lattice))->unref(); in r8()
251 p.setPathEffect(new Line2DPathEffect(SK_Scalar1*2, lattice))->unref(); in r9()
306 paint->setRasterizer(rast)->unref(); in apply_shader()
311 …er(SkBlurMaskFilter::CreateEmboss(dir, SK_Scalar1/4, SkIntToScalar(4), SkIntToScalar(3)))->unref(); in apply_shader()
367 gLightingColors[index].fAdd))->unref(); in onDrawContent()
DSampleImageDir.cpp35 paint.setShader(s)->unref(); in drawmarshmallow()
98 stream->unref(); in SetImageRef()
108 bitmap->setPixelRef(ref)->unref(); in SetImageRef()
143 stream->unref(); in ImageDirView()
166 stream->unref(); in ImageDirView()
254 p.setColorFilter(cf)->unref(); in onDraw()
DSampleEffects.cpp36 SkBlurMaskFilter::kNormal_BlurStyle))->unref(); in paint_proc1()
42 SkBlurMaskFilter::CreateEmboss(dir, 0.1f, 0.05f, 1))->unref(); in paint_proc2()
49 SkShader::kMirror_TileMode))->unref(); in paint_proc3()
/external/skia/gpu/include/
DGrRefCnt.h49 void unref() const { in unref() function
88 obj->unref(); in GrSafeUnref()
102 dst->unref(); in GrSafeAssign()
110 obj->unref(); in GrSafeSetNull()
/external/skia/gm/
Dshapes.cpp47 fGroup.appendShape(make_shape0(false))->unref(); in ShapesGM()
50 fGroup.appendShape(make_shape0(true), m)->unref(); in ShapesGM()
53 fGroup.appendShape(make_shape1(), m)->unref(); in ShapesGM()
55 fGroup.appendShape(make_shape2(), m)->unref(); in ShapesGM()
110 pict->unref(); in onDraw()
/external/chromium/chrome/browser/chromeos/login/
Dusername_view.cc150 gradient_shader->unref(); in PaintUsername()
151 solid_shader->unref(); in PaintUsername()
154 paint.setShader(composite_shader)->unref(); in PaintUsername()
179 gradient_shader->unref(); in PaintUsername()
180 image_shader->unref(); in PaintUsername()
183 paint.setShader(composite_shader)->unref(); in PaintUsername()
/external/skia/src/core/
DSkRefDict.cpp59 rec->fData->unref(); in set()
63 rec->fData->unref(); in set()
90 rec->fData->unref(); in removeAll()
/external/skia/include/core/
DSkRefCnt.h58 void unref() const { in unref() function
110 if (dst) dst->unref(); \
127 obj->unref(); in SkSafeUnref()
/external/skia/include/effects/
DSkGroupShape.h28 void unref() const { in unref() function
44 obj->unref(); in SafeUnref()
103 mr->unref(); in addShape()
/external/skia/src/gpu/
DSkGpuCanvas.cpp29 this->setDeviceFactory(factory)->unref(); in SkGpuCanvas()
40 fContext->unref(); in ~SkGpuCanvas()
/external/skia/src/views/
DSkViewPriv.h18 fLayout->unref(); in ~Layout_SkTagList()
33 fArtist->unref(); in ~Artist_SkTagList()
/external/webkit/Source/WebCore/platform/graphics/android/
DBitmapAllocatorAndroid.cpp54 fStream->unref(); in ~BitmapAllocatorAndroid()
67 bitmap->setPixelRef(ref)->unref(); in allocPixelRef()

123456789