Searched refs:peeker (Results 1 – 5 of 5) sorted by relevance
64 NinePatchPeeker peeker(decoder); in decodeAsset() local68 decoder->setPeeker(&peeker); in decodeAsset()76 if (!peeker.fPatch) { in decodeAsset()81 *data = malloc(peeker.fPatch->serializedSize()); in decodeAsset()82 peeker.fPatch->serialize(*data); in decodeAsset()
62 SkImageDecoder::Peeker* SkImageDecoder::setPeeker(Peeker* peeker) { in setPeeker() argument63 SkRefCnt_SafeAssign(fPeeker, peeker); in setPeeker()64 return peeker; in setPeeker()
107 SkImageDecoder::Peeker* peeker = in sk_read_user_chunk() local110 return peeker->peek((const char*)chunk->name, chunk->data, chunk->size) ? in sk_read_user_chunk()
66 SkImageDecoder::Peeker* SkImageDecoder::setPeeker(Peeker* peeker) { in setPeeker() argument67 SkRefCnt_SafeAssign(fPeeker, peeker); in setPeeker()68 return peeker; in setPeeker()
108 SkImageDecoder::Peeker* peeker = in sk_read_user_chunk() local111 return peeker->peek((const char*)chunk->name, chunk->data, chunk->size) ? in sk_read_user_chunk()