/external/skia/src/core/ |
SkData.cpp | 8 #include "SkData.h" 15 SkData::SkData(const void* ptr, size_t size, ReleaseProc proc, void* context) { 26 SkData::SkData(size_t size) { 33 SkData::~SkData() { 39 bool SkData::equals(const SkData* other) const { 47 size_t SkData::copyRange(size_t offset, size_t length, void* buffer) const [all...] |
SkFlattenableSerialization.cpp | 10 #include "SkData.h" 14 SkData* SkValidatingSerializeFlattenable(SkFlattenable* flattenable) { 18 SkData* data = SkData::NewUninitialized(size);
|
SkStreamPriv.h | 11 class SkData; 16 * Copy the provided stream to an SkData variable. 22 * @return SkData* The resulting SkData after the copy. This data 26 SkData* SkCopyStreamToData(SkStream* stream);
|
SkAnnotation.cpp | 9 #include "SkData.h" 15 SkAnnotation::SkAnnotation(const char key[], SkData* value) : fKey(key) { 17 value = SkData::NewEmpty(); 28 SkData* SkAnnotation::find(const char key[]) const { 58 static void annotate_paint(SkPaint& paint, const char* key, SkData* value) { 62 void SkAnnotateRectWithURL(SkCanvas* canvas, const SkRect& rect, SkData* value) { 71 void SkAnnotateNamedDestination(SkCanvas* canvas, const SkPoint& point, SkData* name) { 80 void SkAnnotateLinkToDestination(SkCanvas* canvas, const SkRect& rect, SkData* name) {
|
/external/skia/include/core/ |
SkFlattenableSerialization.h | 13 class SkData; 15 SK_API SkData* SkValidatingSerializeFlattenable(SkFlattenable*);
|
SkData.h | 18 * SkData holds an immutable data buffer. Not only is the data immutable, 22 class SK_API SkData : public SkRefCnt { 69 bool equals(const SkData* other) const; 72 * Function that, if provided, will be called when the SkData goes out 80 static SkData* NewWithCopy(const void* data, size_t length); 86 static SkData* NewUninitialized(size_t length); 90 * (a null-terminated array of bytes). The returned SkData will have size() 94 static SkData* NewWithCString(const char cstr[]); 100 static SkData* NewWithProc(const void* ptr, size_t length, ReleaseProc proc, void* context); 104 * SkData. Suitable for with const globals [all...] |
SkAnnotation.h | 15 class SkData; 28 static SkAnnotation* Create(const char key[], SkData* value) { 37 SkData* find(const char key[]) const; 42 SkAnnotation(const char key[], SkData* value); 46 SkData* fData; 90 * The caller is responsible for managing its ownership of the SkData. 92 SK_API void SkAnnotateRectWithURL(SkCanvas*, const SkRect&, SkData*); 102 * The caller is responsible for managing its ownership of the SkData. 104 SK_API void SkAnnotateNamedDestination(SkCanvas*, const SkPoint&, SkData*); 115 * The caller is responsible for managing its ownership of the SkData [all...] |
SkPixelSerializer.h | 14 class SkData; 35 SkData* encode(const SkPixmap& pixmap) { return this->onEncode(pixmap); } 45 * If you want to encode these pixels, return the encoded data as an SkData 48 virtual SkData* onEncode(const SkPixmap&) = 0;
|
/external/skia/src/ports/ |
SkImageGenerator_skia.cpp | 8 #include "SkData.h" 11 SkImageGenerator* SkImageGenerator::NewFromEncodedImpl(SkData* data) {
|
SkImageGenerator_none.cpp | 10 SkImageGenerator* SkImageGenerator::NewFromEncodedImpl(SkData*) {
|
/external/skia/src/pdf/ |
SkJpegInfo.h | 12 class SkData; 29 bool SkIsJFIF(const SkData* skdata, SkJFIFInfo* info);
|
SkJpegInfo.cpp | 8 #include "SkData.h" 14 JpegSegment(const SkData* skdata) 15 : fData(static_cast<const char*>(skdata->data())) 16 , fSize(skdata->size()) 78 bool SkIsJFIF(const SkData* skdata, SkJFIFInfo* info) { 81 JpegSegment segment(skdata);
|
/external/skia/tools/ |
UrlDataManager.h | 12 #include "SkData.h" 20 bool operator==(const SkData& a, const SkData& b); 31 SkString addData(SkData*, const char* contentType); 36 SkAutoTUnref<SkData> fData; 50 static const SkData& GetKey(const UrlData& data) { 54 static uint32_t Hash(const SkData& key) { 71 SkTDynamicHash<UrlData, SkData, LookupTrait> fCache;
|
skdiff_utils.h | 15 class SkData; 21 bool are_buffers_equal(SkData* skdata1, SkData* skdata2); 24 * SkData object (or returns nullptr on error). 26 SkData* read_file(const char* file_path); 29 bool get_bitmap(SkData* fileBits, DiffResource& resource, SkImageDecoder::Mode mode);
|
Resources.cpp | 11 #include "SkData.h" 30 SkAutoTUnref<SkData> resourceData(SkData::NewFromFileName(resourcePath.c_str())); 37 SkAutoTUnref<SkData> resourceData(SkData::NewFromFileName(path.c_str()));
|
UrlDataManager.cpp | 10 bool operator==(const SkData& a, const SkData& b) { 16 SkString UrlDataManager::addData(SkData* data, const char* contentType) { 36 SkTDynamicHash<UrlData, SkData, LookupTrait>::Iter iter(&fCache);
|
/external/skia/tools/lua/ |
lua_app.cpp | 11 #include "SkData.h" 22 static SkData* read_into_data(const char file[]) { 23 SkData* data = SkData::NewFromFileName(file); 25 data = SkData::NewEmpty(); 36 SkData* data = nullptr;
|
/external/skia/src/codec/ |
SkCodecImageGenerator.h | 9 #include "SkData.h" 21 static SkImageGenerator* NewFromEncodedCodec(SkData* data); 24 SkData* onRefEncodedData(SK_REFENCODEDDATA_CTXPARAM) override; 37 SkCodecImageGenerator(SkCodec* codec, SkData* data); 40 SkAutoTUnref<SkData> fData;
|
/external/skia/bench/ |
AndroidCodecBench.h | 12 #include "SkData.h" 23 AndroidCodecBench(SkString basename, SkData* encoded, int sampleSize); 33 SkAutoTUnref<SkData> fData;
|
CodecBench.h | 12 #include "SkData.h" 23 CodecBench(SkString basename, SkData* encoded, SkColorType colorType, SkAlphaType alphaType); 35 SkAutoTUnref<SkData> fData;
|
/external/skia/tools/skiaserve/ |
Response.h | 13 class SkData; 21 int SendData(MHD_Connection* connection, const SkData* data, const char* type,
|
/external/skia/tests/ |
PDFJpegEmbedTest.cpp | 11 #include "SkData.h" 18 static SkBitmap bitmap_from_data(SkData* data) { 25 static bool is_subset_of(SkData* smaller, SkData* larger) { 41 static SkData* load_resource( 44 SkData* data = SkData::NewFromFileName(path.c_str()); 59 SkAutoTUnref<SkData> mandrillData( 61 SkAutoTUnref<SkData> cmykData(load_resource(r, test, "CMYK.jpg")); 80 SkAutoTUnref<SkData> pdfData(pdf.copyToData()) [all...] |
DataRefTest.cpp | 8 #include "SkData.h" 152 static void assert_len(skiatest::Reporter* reporter, SkData* ref, size_t len) { 156 static void assert_data(skiatest::Reporter* reporter, SkData* ref, 166 SkAutoTUnref<SkData> r0(SkData::NewWithCopy(str, len + 1)); 167 SkAutoTUnref<SkData> r1(SkData::NewWithCString(str)); 171 SkAutoTUnref<SkData> r2(SkData::NewWithCString(nullptr)); 195 SkAutoTUnref<SkData> r1(SkData::NewFromFILE(file)) [all...] |
/external/skia/experimental/iOSSampleApp/Shared/ |
SkUIDetailViewController.h | 14 class SkData; 20 SkData* fData;
|
/external/skia/gm/ |
colorcube.cpp | 10 #include "SkData.h" 73 void make_3Dlut(SkData** data, int size, bool invR, bool invG, bool invB) { 74 *data = SkData::NewUninitialized(sizeof(SkColor) * size * size * size); 130 SkData* f3DLut4; 131 SkData* f3DLut8; 132 SkData* f3DLut16; 133 SkData* f3DLut32; 134 SkData* f3DLut64;
|