Home
last modified time | relevance | path

Searched refs:kPngSignatureSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/androidfw/
DPngChunkFilter.cpp73 window_end_ = kPngSignatureSize; in PngChunkFilter()
173 window_end_ = kPngSignatureSize; in Rewind()
DPngCrunch.cpp159 if (buffer_size < kPngSignatureSize || png_sig_cmp(signature, 0, kPngSignatureSize) != 0) { in ReadPng()
165 in->BackUp(buffer_size - kPngSignatureSize); in ReadPng()
201 png_set_sig_bytes(read_ptr, kPngSignatureSize); in ReadPng()
DPng.cpp107 png_set_sig_bytes(readPtr, kPngSignatureSize); in readPng()
1176 png_byte signature[kPngSignatureSize]; in process()
1179 if (!input->read(reinterpret_cast<char*>(signature), kPngSignatureSize)) { in process()
1185 if (png_sig_cmp(signature, 0, kPngSignatureSize) != 0) { in process()
/frameworks/base/libs/androidfw/include/androidfw/
DPng.h30 constexpr size_t kPngSignatureSize = 8u; variable