Searched refs:IsPng (Results 1 – 9 of 9) sorted by relevance
22 static bool IsPng(const void*, size_t);
161 if (SkPngCodec::IsPng(embeddedData->bytes(), embeddedData->size())) { in MakeFromStream()
136 if (SkPngCodec::IsPng(buffer, bytesRead)) { in MakeFromStream()
326 bool SkPngCodec::IsPng(const void* buf, size_t bytesRead) { in IsPng() function in SkPngCodec
22 static bool IsPng(const char*, size_t);
152 if (SkPngCodec::IsPng((const char*) data->bytes(), data->size())) { in MakeFromStream()
116 if (SkPngCodec::IsPng(buffer, bytesRead)) { in MakeFromStream()
328 bool SkPngCodec::IsPng(const char* buf, size_t bytesRead) { in IsPng() function in SkPngCodec
454 if (!SkPngCodec::IsPng(src, imageData->size())) { in AsDataUri()