Home
last modified time | relevance | path

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

/external/pdfium/third_party/libpng16/
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()
/external/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()
/external/python/oauth2client/tests/contrib/
Dtest_appengine.py100 def __init__(self, key_name=None, sig_bytes=None, argument
105 self._sig_bytes = sig_bytes
213 sig_bytes = b'himom'
215 key_name=key_name, sig_bytes=sig_bytes)
223 self.assertEqual(result, (key_name, sig_bytes))
/external/grpc-grpc/test/core/security/
Djwt_verifier_test.cc520 uint8_t* sig_bytes; in corrupt_jwt_sig() local
528 sig_bytes = GRPC_SLICE_START_PTR(sig); in corrupt_jwt_sig()
529 (*sig_bytes)++; /* Corrupt first byte. */ in corrupt_jwt_sig()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Djwt_verifier_test.cc541 uint8_t* sig_bytes; in corrupt_jwt_sig() local
549 sig_bytes = GRPC_SLICE_START_PTR(sig); in corrupt_jwt_sig()
550 (*sig_bytes)++; /* Corrupt first byte. */ in corrupt_jwt_sig()
/external/rust/crates/ring/src/ec/suite_b/ecdsa/
Dsigning.rs276 return Ok(signature::Signature::new(|sig_bytes| { in sign_digest()
277 (self.alg.format_rs)(scalar_ops, &r, &s, sig_bytes) in sign_digest()