Lines Matching refs:written
24 pkt->written += len; in WPACKET_allocate_bytes()
52 if (pkt->maxsize - pkt->written < len) in WPACKET_reserve_bytes()
55 if (pkt->buf != NULL && (pkt->buf->length - pkt->written < len)) { in WPACKET_reserve_bytes()
108 pkt->written = 0; in wpacket_intern_init_len()
252 size_t packlen = pkt->written - sub->pwritten; in wpacket_intern_close()
266 pkt->written -= sub->lenbytes; in wpacket_intern_close()
384 sub->pwritten = pkt->written + lenbytes; in WPACKET_start_sub_packet_len__()
392 sub->packet_len = pkt->written; in WPACKET_start_sub_packet_len__()
435 if (maxmaxsize(lenbytes) < maxsize || maxsize < pkt->written) in WPACKET_set_max_size()
486 int WPACKET_get_total_written(WPACKET *pkt, size_t *written) in WPACKET_get_total_written() argument
489 if (!ossl_assert(written != NULL)) in WPACKET_get_total_written()
492 *written = pkt->written; in WPACKET_get_total_written()
503 *len = pkt->written - pkt->subs->pwritten; in WPACKET_get_length()