Home
last modified time | relevance | path

Searched refs:SkAutoDataUnref (Results 1 – 25 of 35) sorted by relevance

12

/external/skia/tests/
DAnnotationTest.cpp37 SkAutoDataUnref data(SkData::NewWithCString("http://www.gooogle.com")); in DEF_TEST()
58 SkAutoDataUnref data(SkData::NewWithCString("http://www.gooogle.com")); in DEF_TEST()
68 SkAutoDataUnref out(outStream.copyToData()); in DEF_TEST()
85 SkAutoDataUnref data(SkData::NewWithCString("example")); in DEF_TEST()
92 SkAutoDataUnref out(outStream.copyToData()); in DEF_TEST()
DPDFPrimitivesTest.cpp51 SkAutoDataUnref data(stream.copyToData()); in stream_equals()
60 SkAutoDataUnref data(stream.copyToData()); in stream_contains()
138 SkAutoDataUnref streamData2(SkData::NewWithCopy(streamBytes2, in TestPDFStream()
144 SkAutoDataUnref compressedData(compressedByteStream.copyToData()); in TestPDFStream()
151 SkAutoDataUnref expectedResultData1(expectedResult1.copyToData()); in TestPDFStream()
162 SkAutoDataUnref expectedResultData2(expectedResult2.copyToData()); in TestPDFStream()
DFlateTest.cpp63 SkAutoDataUnref data1(compressed.copyToData()); in TestFlate()
80 SkAutoDataUnref data2(uncompressed.copyToData()); in TestFlate()
DPictureTest.cpp195 SkAutoDataUnref data(SkPictureUtils::GatherPixelRefs(pic, r)); in test_gatherpixelrefs()
219 SkAutoDataUnref adu(data); in test_gatherpixelrefs()
381 SkAutoDataUnref data(wStream.copyToData()); in test_bitmap_with_encoded_data()
390 SkAutoDataUnref picture1(serialized_picture_from_bitmap(original)); in test_bitmap_with_encoded_data()
391 SkAutoDataUnref picture2(serialized_picture_from_bitmap(bm)); in test_bitmap_with_encoded_data()
DToUnicode.cpp17 SkAutoDataUnref data(stream.copyToData()); in stream_equals()
DStreamTest.cpp178 SkAutoDataUnref data(memStream->copyToData()); in TestDereferencingData()
DCachedDecodingPixelRefTest.cpp113 SkAutoDataUnref encoded(create_data_from_bitmap(original, type)); in test_three_encodings()
/external/chromium_org/printing/
Dpdf_metafile_skia.cc123 SkAutoDataUnref data(data_->pdf_stream_.copyToData()); in GetData()
130 SkAutoDataUnref data(data_->pdf_stream_.copyToData()); in SaveTo()
188 SkAutoDataUnref data(data_->pdf_stream_.copyToData()); in RenderPage()
205 SkAutoDataUnref data(data_->pdf_stream_.copyToData()); in SaveToFD()
238 SkAutoDataUnref data(pdf_stream.copyToData()); in GetMetafileForCurrentPage()
/external/skia/src/image/
DSkImage_Raster.cpp130 SkAutoDataUnref data(SkData::NewWithCopy(pixels, info.fHeight * rowBytes)); in NewRasterCopy()
153 SkAutoDataUnref data(pixelData); in NewRasterData()
/external/chromium_org/third_party/skia/src/image/
DSkImage_Raster.cpp130 SkAutoDataUnref data(SkData::NewWithCopy(pixels, info.fHeight * rowBytes)); in NewRasterCopy()
153 SkAutoDataUnref data(pixelData); in NewRasterData()
/external/skia/tools/
DLazyDecodeBitmap.cpp29 SkAutoDataUnref data(SkData::NewWithCopy(src, length)); in LazyDecodeBitmap()
Dskdiff_image.cpp39 SkAutoDataUnref baseFileBits(read_file(drp->fBase.fFullPath.c_str())); in create_diff_images()
43 SkAutoDataUnref comparisonFileBits(read_file(drp->fComparison.fFullPath.c_str())); in create_diff_images()
Dskhello.cpp40 SkAutoDataUnref data(image->encode()); in do_surface()
Dskdiff_main.cpp299 SkAutoDataUnref fileBits(read_file(resource.fFullPath.c_str())); in get_bounds()
405 SkAutoDataUnref baseFileBits(read_file(drp->fBase.fFullPath.c_str())); in create_diff_images()
409 SkAutoDataUnref comparisonFileBits(read_file(drp->fComparison.fFullPath.c_str())); in create_diff_images()
/external/skia/gm/
Dfactory.cpp32 SkAutoDataUnref data(SkData::NewFromFileName(filename.c_str())); in onOnceBeforeDraw()
Dgm_expectations.cpp263 SkAutoDataUnref dataRef(ReadFileIntoSkData(inFile)); in Parse()
Dimage.cpp33 SkAutoDataUnref data(fileToData("/Users/mike/Downloads/skia.google.jpeg")); in drawJpeg()
/external/skia/include/core/
DSkData.h146 typedef SkAutoTUnref<SkData> SkAutoDataUnref; typedef
/external/chromium_org/third_party/skia/include/core/
DSkData.h146 typedef SkAutoTUnref<SkData> SkAutoDataUnref; typedef
/external/skia/tools/lua/
Dlua_pictures.cpp99 SkAutoDataUnref data(read_into_data(FLAGS_luaFile[i])); in tool_main()
/external/chromium_org/third_party/skia/src/core/
DSkOrderedWriteBuffer.cpp185 SkAutoDataUnref data(fBitmapEncoder(&offset, bitmap)); in writeBitmap()
/external/skia/src/core/
DSkOrderedWriteBuffer.cpp185 SkAutoDataUnref data(fBitmapEncoder(&offset, bitmap)); in writeBitmap()
/external/skia/src/pdf/
DSkPDFFont.cpp199 SkAutoDataUnref aud(data); in handleType1Stream()
598 SkAutoDataUnref data(SkData::NewWithProc(subsetFont, in get_subset_font_stream()
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFFont.cpp199 SkAutoDataUnref aud(data); in handleType1Stream()
598 SkAutoDataUnref data(SkData::NewWithProc(subsetFont, in get_subset_font_stream()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp1608 SkAutoDataUnref url(SkData::NewWithCString(link.string().utf8().data())); in setURLForRect()
1617 SkAutoDataUnref skDestName(SkData::NewWithCString(destName.utf8().data())); in setURLFragmentForRect()
1626 SkAutoDataUnref nameData(SkData::NewWithCString(name.utf8().data())); in addURLTargetAtPoint()

12