Lines Matching refs:size_t

26     size_t remaining;
30 static ossl_inline void packet_forward(PACKET *pkt, size_t len) in packet_forward()
39 static ossl_inline size_t PACKET_remaining(const PACKET *pkt) in PACKET_remaining()
71 size_t len) in PACKET_buf_init()
74 if (len > (size_t)(SIZE_MAX / 2)) in PACKET_buf_init()
95 size_t num) in PACKET_equal()
108 PACKET *subpkt, size_t len) in PACKET_peek_sub_packet()
122 PACKET *subpkt, size_t len) in PACKET_get_sub_packet()
161 __owur static ossl_inline int PACKET_get_net_2_len(PACKET *pkt, size_t *data) in PACKET_get_net_2_len()
167 *data = (size_t)i; in PACKET_get_net_2_len()
202 __owur static ossl_inline int PACKET_get_net_3_len(PACKET *pkt, size_t *data) in PACKET_get_net_3_len()
208 *data = (size_t)i; in PACKET_get_net_3_len()
266 __owur static ossl_inline int PACKET_get_net_4_len(PACKET *pkt, size_t *data) in PACKET_get_net_4_len()
272 *data = (size_t)i; in PACKET_get_net_4_len()
312 __owur static ossl_inline int PACKET_get_1_len(PACKET *pkt, size_t *data) in PACKET_get_1_len()
318 *data = (size_t)i; in PACKET_get_1_len()
364 size_t len) in PACKET_peek_bytes()
382 size_t len) in PACKET_get_bytes()
395 size_t len) in PACKET_peek_copy_bytes()
410 unsigned char *data, size_t len) in PACKET_copy_bytes()
429 size_t dest_len, size_t *len) in PACKET_copy_all()
450 unsigned char **data, size_t *len) in PACKET_memdup()
452 size_t length; in PACKET_memdup()
497 __owur static ossl_inline int PACKET_forward(PACKET *pkt, size_t len) in PACKET_forward()
521 !PACKET_get_bytes(&tmp, &data, (size_t)length)) { in PACKET_get_length_prefixed_1()
543 !PACKET_get_bytes(&tmp, &data, (size_t)length) || in PACKET_as_length_prefixed_1()
570 !PACKET_get_bytes(&tmp, &data, (size_t)length)) { in PACKET_get_length_prefixed_2()
593 !PACKET_get_bytes(&tmp, &data, (size_t)length) || in PACKET_as_length_prefixed_2()
619 !PACKET_get_bytes(&tmp, &data, (size_t)length)) { in PACKET_get_length_prefixed_3()
641 size_t packet_len;
644 size_t lenbytes;
647 size_t pwritten;
665 size_t curr;
668 size_t written;
671 size_t maxsize;
703 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes);
716 int WPACKET_init_null(WPACKET *pkt, size_t lenbytes);
729 int WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len,
730 size_t lenbytes);
737 int WPACKET_init_der(WPACKET *pkt, unsigned char *buf, size_t len);
772 int WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes);
801 int WPACKET_allocate_bytes(WPACKET *pkt, size_t len,
810 int WPACKET_sub_allocate_bytes__(WPACKET *pkt, size_t len,
811 unsigned char **allocbytes, size_t lenbytes);
844 int WPACKET_reserve_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes);
849 int WPACKET_sub_reserve_bytes__(WPACKET *pkt, size_t len,
850 unsigned char **allocbytes, size_t lenbytes);
871 int WPACKET_put_bytes__(WPACKET *pkt, uint64_t val, size_t bytes);
889 int WPACKET_set_max_size(WPACKET *pkt, size_t maxsize);
892 int WPACKET_memcpy(WPACKET *pkt, const void *src, size_t len);
895 int WPACKET_memset(WPACKET *pkt, int ch, size_t len);
902 int WPACKET_sub_memcpy__(WPACKET *pkt, const void *src, size_t len,
903 size_t lenbytes);
919 int WPACKET_get_total_written(WPACKET *pkt, size_t *written);
925 int WPACKET_get_length(WPACKET *pkt, size_t *len);