Home
last modified time | relevance | path

Searched refs:padsize (Results 1 – 6 of 6) sorted by relevance

/third_party/openssl/crypto/srp/
Dsrp_vfy.c48 size_t size, padsize; in t_fromb64() local
54 padsize = 4 - (size & 3); in t_fromb64()
55 padsize &= 3; in t_fromb64()
58 if (size > INT_MAX || ((size + padsize) / 4) * 3 > alen) in t_fromb64()
75 if (padsize == 3) { in t_fromb64()
86 if (padsize != 0 in t_fromb64()
87 && EVP_DecodeUpdate(ctx, a, &outl, pad, padsize) < 0) { in t_fromb64()
100 if (padsize != 0) { in t_fromb64()
101 if ((int)padsize >= outl) { in t_fromb64()
119 memmove(a, a + padsize, outl - padsize); in t_fromb64()
[all …]
/third_party/node/deps/openssl/openssl/crypto/srp/
Dsrp_vfy.c48 size_t size, padsize; in t_fromb64() local
54 padsize = 4 - (size & 3); in t_fromb64()
55 padsize &= 3; in t_fromb64()
58 if (size > INT_MAX || ((size + padsize) / 4) * 3 > alen) in t_fromb64()
75 if (padsize == 3) { in t_fromb64()
86 if (padsize != 0 in t_fromb64()
87 && EVP_DecodeUpdate(ctx, a, &outl, pad, padsize) < 0) { in t_fromb64()
100 if (padsize != 0) { in t_fromb64()
101 if ((int)padsize >= outl) { in t_fromb64()
119 memmove(a, a + padsize, outl - padsize); in t_fromb64()
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstregistrybinary.c365 int padsize = 0; in gst_registry_binary_write_chunk() local
369 padsize = ALIGNMENT - alignment (*file_position); in gst_registry_binary_write_chunk()
371 padder, padsize) != padsize) { in gst_registry_binary_write_chunk()
375 *file_position += padsize; in gst_registry_binary_write_chunk()
Dgstpluginloader.c746 guint padsize = 0; in put_chunk() local
752 padsize = ALIGNMENT - ((*pos) % ALIGNMENT); in put_chunk()
754 len = padsize + chunk->size; in put_chunk()
767 if (padsize) in put_chunk()
768 memset (out, 0, padsize); in put_chunk()
769 memcpy (out + padsize, chunk->data, chunk->size); in put_chunk()
/third_party/ffmpeg/libavformat/
Dasfenc.c831 int nb_payloads, int padsize) in put_payload_parsing_info() argument
840 padsize -= PACKET_HEADER_MIN_SIZE; in put_payload_parsing_info()
842 padsize--; in put_payload_parsing_info()
843 av_assert0(padsize >= 0); in put_payload_parsing_info()
852 if (padsize > 0) { in put_payload_parsing_info()
853 if (padsize < 256) in put_payload_parsing_info()
863 avio_wl16(pb, padsize - 2); in put_payload_parsing_info()
865 avio_w8(pb, padsize - 1); in put_payload_parsing_info()
Dasfdec_f.c984 uint32_t packet_length, padsize; in asf_get_packet() local
1055 DO_2BITS(asf->packet_flags >> 1, padsize, 0); // sequence ignored in asf_get_packet()
1056 DO_2BITS(asf->packet_flags >> 3, padsize, 0); // padding length in asf_get_packet()
1065 if (padsize >= packet_length) { in asf_get_packet()
1067 "invalid padsize %"PRIu32" at:%"PRId64"\n", padsize, avio_tell(pb)); in asf_get_packet()
1083 if (rsize > packet_length - padsize) { in asf_get_packet()
1087 rsize, packet_length, padsize, avio_tell(pb)); in asf_get_packet()
1090 asf->packet_size_left = packet_length - padsize - rsize; in asf_get_packet()
1092 padsize += asf->hdr.min_pktsize - packet_length; in asf_get_packet()
1093 asf->packet_padsize = padsize; in asf_get_packet()