Home
last modified time | relevance | path

Searched refs:png_sig_cmp (Results 1 – 23 of 23) sorted by relevance

/external/oss-fuzz/projects/libpng-proto/
Dlibpng_transforms_fuzzer.cc65 if (png_sig_cmp(data, 0, kPngSignatureSize)) return 0; in LLVMFuzzerTestOneInput()
/external/libpng/scripts/
Dsymbols.def10 png_sig_cmp @3
/external/libpng/contrib/gregbook/
Dreadpng.c97 if (png_sig_cmp(sig, 0, 8)) in readpng_init()
Dreadpng2.c97 return !png_sig_cmp(sig, 0, num); in readpng2_check_sig()
/external/libpng/contrib/oss-fuzz/
Dlibpng_read_fuzzer.cc92 if (png_sig_cmp(v.data(), 0, kPngHeaderSize)) { in LLVMFuzzerTestOneInput()
/external/deqp/framework/common/
DtcuImageIO.cpp89 TCU_CHECK(png_sig_cmp((png_bytep)&header[0], 0, DE_LENGTH_OF_ARRAY(header)) == 0); in loadPNG()
/external/libpng/contrib/pngminus/
Dpng2pnm.c190 ret = png_sig_cmp (buf, 0, 8); in png2pnm()
/external/libpng/contrib/visupng/
DPngFile.c131 if (png_sig_cmp(pbSig, 0, 8))
/external/pdfium/third_party/libpng16/
Dpngpread.c148 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) in png_push_read_sig()
151 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_push_read_sig()
Dpngprefix.h412 #define png_sig_cmp PDFIUM_png_sig_cmp macro
Dpng.h913 PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start,
919 #define png_check_sig(sig, n) !png_sig_cmp((sig), 0, (n))
Dpngrutil.c140 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check) != 0) in png_read_sig()
143 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_read_sig()
Dpng.c74 png_sig_cmp(png_const_bytep sig, size_t start, size_t num_to_check) in png_sig_cmp() function
/external/libpng/
Dpngpread.c148 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) in png_push_read_sig()
151 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_push_read_sig()
Dexample.c263 return(!png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK));
Dpng.h913 PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start,
919 #define png_check_sig(sig, n) !png_sig_cmp((sig), 0, (n))
Dpngrutil.c140 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check) != 0) in png_read_sig()
143 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_read_sig()
Dpng.c74 png_sig_cmp(png_const_bytep sig, size_t start, size_t num_to_check) in png_sig_cmp() function
Dlibpng-manual.txt334 png_sig_cmp(), and it will return 0 (false) if the bytes match the
360 is_png = !png_sig_cmp(header, 0, number);
4695 !png_sig_cmp(sig, 0, num)
4759 png_memset_check() functions. Instead use !png_sig_cmp(), memcpy(),
DCHANGES440 Changed libpng.txt to demonstrate png_sig_cmp() instead of png_check_sig()
2498 Changed png_check_sig() to !png_sig_cmp() in contrib programs.
2500 Changed png_check_sig() to !png_sig_cmp() in contrib programs.
/external/pdfium/testing/image_diff/
Dimage_diff_png.cpp336 if (png_sig_cmp(const_cast<uint8_t*>(input.data()), 0, 8) != 0) in BuildPNGStruct()
/external/skqp/src/codec/
DSkPngCodec.cpp329 return !png_sig_cmp((png_bytep) buf, (png_size_t)0, bytesRead); in IsPng()
/external/skia/src/codec/
DSkPngCodec.cpp328 return !png_sig_cmp((png_bytep) buf, (png_size_t)0, bytesRead); in IsPng()