Home
last modified time | relevance | path

Searched refs:lenbytes (Results 1 - 9 of 9) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/
H A Dpacket.c27 unsigned char **allocbytes, size_t lenbytes) in WPACKET_sub_allocate_bytes__()
29 if (!WPACKET_start_sub_packet_len__(pkt, lenbytes) in WPACKET_sub_allocate_bytes__()
78 unsigned char **allocbytes, size_t lenbytes) in WPACKET_sub_reserve_bytes__()
80 if (pkt->endfirst && lenbytes > 0) in WPACKET_sub_reserve_bytes__()
83 if (!WPACKET_reserve_bytes(pkt, lenbytes + len, allocbytes)) in WPACKET_sub_reserve_bytes__()
87 *allocbytes += lenbytes; in WPACKET_sub_reserve_bytes__()
92 static size_t maxmaxsize(size_t lenbytes) in maxmaxsize() argument
94 if (lenbytes >= sizeof(size_t) || lenbytes == 0) in maxmaxsize()
97 return ((size_t)1 << (lenbytes * in maxmaxsize()
26 WPACKET_sub_allocate_bytes__(WPACKET *pkt, size_t len, unsigned char **allocbytes, size_t lenbytes) WPACKET_sub_allocate_bytes__() argument
77 WPACKET_sub_reserve_bytes__(WPACKET *pkt, size_t len, unsigned char **allocbytes, size_t lenbytes) WPACKET_sub_reserve_bytes__() argument
100 wpacket_intern_init_len(WPACKET *pkt, size_t lenbytes) wpacket_intern_init_len() argument
128 WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len, size_t lenbytes) WPACKET_init_static_len() argument
159 WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes) WPACKET_init_len() argument
178 WPACKET_init_null(WPACKET *pkt, size_t lenbytes) WPACKET_init_null() argument
341 WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes) WPACKET_start_sub_packet_len__() argument
398 size_t lenbytes; WPACKET_set_max_size() local
452 WPACKET_sub_memcpy__(WPACKET *pkt, const void *src, size_t len, size_t lenbytes) WPACKET_sub_memcpy__() argument
[all...]
/third_party/openssl/crypto/
H A Dpacket.c27 unsigned char **allocbytes, size_t lenbytes) in WPACKET_sub_allocate_bytes__()
29 if (!WPACKET_start_sub_packet_len__(pkt, lenbytes) in WPACKET_sub_allocate_bytes__()
78 unsigned char **allocbytes, size_t lenbytes) in WPACKET_sub_reserve_bytes__()
80 if (pkt->endfirst && lenbytes > 0) in WPACKET_sub_reserve_bytes__()
83 if (!WPACKET_reserve_bytes(pkt, lenbytes + len, allocbytes)) in WPACKET_sub_reserve_bytes__()
87 *allocbytes += lenbytes; in WPACKET_sub_reserve_bytes__()
92 static size_t maxmaxsize(size_t lenbytes) in maxmaxsize() argument
94 if (lenbytes >= sizeof(size_t) || lenbytes == 0) in maxmaxsize()
97 return ((size_t)1 << (lenbytes * in maxmaxsize()
26 WPACKET_sub_allocate_bytes__(WPACKET *pkt, size_t len, unsigned char **allocbytes, size_t lenbytes) WPACKET_sub_allocate_bytes__() argument
77 WPACKET_sub_reserve_bytes__(WPACKET *pkt, size_t len, unsigned char **allocbytes, size_t lenbytes) WPACKET_sub_reserve_bytes__() argument
100 wpacket_intern_init_len(WPACKET *pkt, size_t lenbytes) wpacket_intern_init_len() argument
128 WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len, size_t lenbytes) WPACKET_init_static_len() argument
159 WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes) WPACKET_init_len() argument
178 WPACKET_init_null(WPACKET *pkt, size_t lenbytes) WPACKET_init_null() argument
341 WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes) WPACKET_start_sub_packet_len__() argument
398 size_t lenbytes; WPACKET_set_max_size() local
452 WPACKET_sub_memcpy__(WPACKET *pkt, const void *src, size_t len, size_t lenbytes) WPACKET_sub_memcpy__() argument
[all...]
/third_party/node/deps/openssl/openssl/include/internal/
H A Dpacket.h644 size_t lenbytes; member
697 * for the whole time that the WPACKET is being used. Additionally |lenbytes| of
701 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes);
714 int WPACKET_init_null(WPACKET *pkt, size_t lenbytes);
728 size_t lenbytes);
731 * Same as WPACKET_init_static_len except lenbytes is always 0, and we set the
766 * Initialise a new sub-packet. Additionally |lenbytes| of data is preallocated
770 int WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes);
805 * number of length bytes for the sub-packet is in |lenbytes|. Don't call this
809 unsigned char **allocbytes, size_t lenbytes);
[all...]
/third_party/openssl/include/internal/
H A Dpacket.h644 size_t lenbytes; member
697 * for the whole time that the WPACKET is being used. Additionally |lenbytes| of
701 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes);
714 int WPACKET_init_null(WPACKET *pkt, size_t lenbytes);
728 size_t lenbytes);
731 * Same as WPACKET_init_static_len except lenbytes is always 0, and we set the
766 * Initialise a new sub-packet. Additionally |lenbytes| of data is preallocated
770 int WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes);
805 * number of length bytes for the sub-packet is in |lenbytes|. Don't call this
809 unsigned char **allocbytes, size_t lenbytes);
[all...]
/third_party/openssl/test/
H A Dasn1_encode_test.c568 size_t lenbytes; in der_encode_length() local
572 lenbytes = 3; in der_encode_length()
574 lenbytes = 2; in der_encode_length()
576 lenbytes = 1; in der_encode_length()
579 if (lenbytes == 1) { in der_encode_length()
582 *(*pp)++ = (unsigned char)(lenbytes - 1); in der_encode_length()
583 if (lenbytes == 2) { in der_encode_length()
591 return lenbytes; in der_encode_length()
H A Dbad_dtls_test.c283 unsigned char lenbytes[2]; in send_record() local
315 lenbytes[0] = (unsigned char)(len >> 8); in send_record()
316 lenbytes[1] = (unsigned char)(len); in send_record()
322 || !EVP_MAC_update(ctx, lenbytes, 2) /* Length */ in send_record()
346 lenbytes[0] = (unsigned char)((len + sizeof(iv)) >> 8); in send_record()
347 lenbytes[1] = (unsigned char)(len + sizeof(iv)); in send_record()
348 BIO_write(rbio, lenbytes, 2); in send_record()
/third_party/curl/tests/server/
H A Dmqttd.c371 size_t buflen, size_t *lenbytes) in decode_length()
384 if(lenbytes) in decode_length()
385 *lenbytes = i; in decode_length()
370 decode_length(unsigned char *buf, size_t buflen, size_t *lenbytes) decode_length() argument
/third_party/curl/lib/
H A Dmqtt.c569 size_t buflen, size_t *lenbytes) in mqtt_decode_len()
582 if(lenbytes) in mqtt_decode_len()
583 *lenbytes = i; in mqtt_decode_len()
568 mqtt_decode_len(unsigned char *buf, size_t buflen, size_t *lenbytes) mqtt_decode_len() argument
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.c8252 size_t lenbytes = upb_vencode64(s->msglen, buf); in end_delim() local
8253 putbuf(e, buf, lenbytes); in end_delim()

Completed in 33 milliseconds