Home
last modified time | relevance | path

Searched refs:sig_bytes (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/libpng/
Dpngpread.c136 size_t num_checked = png_ptr->sig_bytes; /* SAFE, does not exceed 8 */ in png_push_read_sig()
146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig()
159 if (png_ptr->sig_bytes >= 8) in png_push_read_sig()
Dpngstruct.h261 png_byte sig_bytes; /* magic bytes read/written from start of file */ member
Dpngwutil.c61 png_write_data(png_ptr, &png_signature[png_ptr->sig_bytes], in png_write_sig()
62 (size_t)(8 - png_ptr->sig_bytes)); in png_write_sig()
64 if (png_ptr->sig_bytes < 3) in png_write_sig()
Dpngrutil.c126 if (png_ptr->sig_bytes >= 8) in png_read_sig()
129 num_checked = png_ptr->sig_bytes; in png_read_sig()
138 png_ptr->sig_bytes = 8; in png_read_sig()
Dpng.c62 png_ptr->sig_bytes = (png_byte)nb; in png_set_sig_bytes()
/third_party/libpng/
Dpngpread.c136 size_t num_checked = png_ptr->sig_bytes; /* SAFE, does not exceed 8 */ in png_push_read_sig()
146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig()
159 if (png_ptr->sig_bytes >= 8) in png_push_read_sig()
Dpngstruct.h261 png_byte sig_bytes; /* magic bytes read/written from start of file */ member
Dpngwutil.c61 png_write_data(png_ptr, &png_signature[png_ptr->sig_bytes], in png_write_sig()
62 (size_t)(8 - png_ptr->sig_bytes)); in png_write_sig()
64 if (png_ptr->sig_bytes < 3) in png_write_sig()
Dpngrutil.c126 if (png_ptr->sig_bytes >= 8) in png_read_sig()
129 num_checked = png_ptr->sig_bytes; in png_read_sig()
138 png_ptr->sig_bytes = 8; in png_read_sig()
Dpng.c62 png_ptr->sig_bytes = (png_byte)nb; in png_set_sig_bytes()
/third_party/flutter/skia/third_party/externals/libpng/
Dpngpread.c136 size_t num_checked = png_ptr->sig_bytes; /* SAFE, does not exceed 8 */ in png_push_read_sig()
146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig()
159 if (png_ptr->sig_bytes >= 8) in png_push_read_sig()
Dpngstruct.h261 png_byte sig_bytes; /* magic bytes read/written from start of file */ member
Dpngwutil.c61 png_write_data(png_ptr, &png_signature[png_ptr->sig_bytes], in png_write_sig()
62 (size_t)(8 - png_ptr->sig_bytes)); in png_write_sig()
64 if (png_ptr->sig_bytes < 3) in png_write_sig()
Dpngrutil.c126 if (png_ptr->sig_bytes >= 8) in png_read_sig()
129 num_checked = png_ptr->sig_bytes; in png_read_sig()
138 png_ptr->sig_bytes = 8; in png_read_sig()
Dpng.c62 png_ptr->sig_bytes = (png_byte)nb; in png_set_sig_bytes()
/third_party/grpc/test/core/security/
Djwt_verifier_test.cc538 uint8_t* sig_bytes; in corrupt_jwt_sig() local
546 sig_bytes = GRPC_SLICE_START_PTR(sig); in corrupt_jwt_sig()
547 (*sig_bytes)++; /* Corrupt first byte. */ in corrupt_jwt_sig()
/third_party/node/src/
Dnode_crypto.cc5032 ByteSource sig_bytes = ByteSource::Foreign(sig.data(), sig.length()); in VerifyOneShot() local
5034 sig_bytes = ConvertSignatureToDER(key, sig); in VerifyOneShot()
5035 if (!sig_bytes) in VerifyOneShot()
5042 reinterpret_cast<const unsigned char*>(sig_bytes.get()), in VerifyOneShot()
5043 sig_bytes.size(), in VerifyOneShot()