Lines Matching refs:bytes
76 uint8_t *bytes; in pcre2_serialize_encode() local
109 bytes = memctl->malloc(total_size + sizeof(pcre2_memctl), memctl->memory_data); in pcre2_serialize_encode()
110 if (bytes == NULL) return PCRE2_ERROR_NOMEMORY; in pcre2_serialize_encode()
113 memcpy(bytes, memctl, sizeof(pcre2_memctl)); in pcre2_serialize_encode()
114 bytes += sizeof(pcre2_memctl); in pcre2_serialize_encode()
116 data = (pcre2_serialized_data *)bytes; in pcre2_serialize_encode()
123 dst_bytes = bytes + sizeof(pcre2_serialized_data); in pcre2_serialize_encode()
152 *serialized_bytes = bytes; in pcre2_serialize_encode()
164 const uint8_t *bytes, pcre2_general_context *gcontext) in pcre2_serialize_decode() argument
166 const pcre2_serialized_data *data = (const pcre2_serialized_data *)bytes; in pcre2_serialize_decode()
187 src_bytes = bytes + sizeof(pcre2_serialized_data); in pcre2_serialize_decode()
259 pcre2_serialize_get_number_of_codes(const uint8_t *bytes) in pcre2_serialize_get_number_of_codes() argument
261 const pcre2_serialized_data *data = (const pcre2_serialized_data *)bytes; in pcre2_serialize_get_number_of_codes()
277 pcre2_serialize_free(uint8_t *bytes) in pcre2_serialize_free() argument
279 if (bytes != NULL) in pcre2_serialize_free()
281 pcre2_memctl *memctl = (pcre2_memctl *)(bytes - sizeof(pcre2_memctl)); in pcre2_serialize_free()