Lines Matching refs:curr
24 const unsigned char *curr; member
32 pkt->curr += len; in packet_forward()
52 return pkt->curr + pkt->remaining; in PACKET_end()
61 return pkt->curr; in PACKET_data()
77 pkt->curr = buf; in PACKET_buf_init()
85 pkt->curr = NULL; in PACKET_null_init()
99 return CRYPTO_memcmp(pkt->curr, ptr, num) == 0; in PACKET_equal()
113 return PACKET_buf_init(subpkt, pkt->curr, len); in PACKET_peek_sub_packet()
142 *data = ((unsigned int)(*pkt->curr)) << 8; in PACKET_peek_net_2()
143 *data |= *(pkt->curr + 1); in PACKET_peek_net_2()
182 *data = ((unsigned long)(*pkt->curr)) << 16; in PACKET_peek_net_3()
183 *data |= ((unsigned long)(*(pkt->curr + 1))) << 8; in PACKET_peek_net_3()
184 *data |= *(pkt->curr + 2); in PACKET_peek_net_3()
223 *data = ((unsigned long)(*pkt->curr)) << 24; in PACKET_peek_net_4()
224 *data |= ((unsigned long)(*(pkt->curr + 1))) << 16; in PACKET_peek_net_4()
225 *data |= ((unsigned long)(*(pkt->curr + 2))) << 8; in PACKET_peek_net_4()
226 *data |= *(pkt->curr + 3); in PACKET_peek_net_4()
241 *data = ((uint64_t)(*pkt->curr)) << 56; in PACKET_peek_net_8()
242 *data |= ((uint64_t)(*(pkt->curr + 1))) << 48; in PACKET_peek_net_8()
243 *data |= ((uint64_t)(*(pkt->curr + 2))) << 40; in PACKET_peek_net_8()
244 *data |= ((uint64_t)(*(pkt->curr + 3))) << 32; in PACKET_peek_net_8()
245 *data |= ((uint64_t)(*(pkt->curr + 4))) << 24; in PACKET_peek_net_8()
246 *data |= ((uint64_t)(*(pkt->curr + 5))) << 16; in PACKET_peek_net_8()
247 *data |= ((uint64_t)(*(pkt->curr + 6))) << 8; in PACKET_peek_net_8()
248 *data |= *(pkt->curr + 7); in PACKET_peek_net_8()
295 *data = *pkt->curr; in PACKET_peek_1()
333 *data = *pkt->curr; in PACKET_peek_4()
334 *data |= ((unsigned long)(*(pkt->curr + 1))) << 8; in PACKET_peek_4()
335 *data |= ((unsigned long)(*(pkt->curr + 2))) << 16; in PACKET_peek_4()
336 *data |= ((unsigned long)(*(pkt->curr + 3))) << 24; in PACKET_peek_4()
369 *data = pkt->curr; in PACKET_peek_bytes()
400 memcpy(data, pkt->curr, len); in PACKET_peek_copy_bytes()
436 memcpy(dest, pkt->curr, pkt->remaining); in PACKET_copy_all()
463 *data = OPENSSL_memdup(pkt->curr, length); in PACKET_memdup()
486 *data = OPENSSL_strndup((const char *)pkt->curr, PACKET_remaining(pkt)); in PACKET_strndup()
493 return memchr(pkt->curr, 0, pkt->remaining) != NULL; in PACKET_contains_zero_byte()
526 subpkt->curr = data; in PACKET_get_length_prefixed_1()
549 subpkt->curr = data; in PACKET_as_length_prefixed_1()
575 subpkt->curr = data; in PACKET_get_length_prefixed_2()
599 subpkt->curr = data; in PACKET_as_length_prefixed_2()
624 subpkt->curr = data; in PACKET_get_length_prefixed_3()
665 size_t curr; member