Lines Matching refs:tables
81 const uint8_t *tables; in pcre2_serialize_encode() local
94 tables = NULL; in pcre2_serialize_encode()
101 if (tables == NULL) in pcre2_serialize_encode()
102 tables = re->tables; in pcre2_serialize_encode()
103 else if (tables != re->tables) in pcre2_serialize_encode()
124 memcpy(dst_bytes, tables, TABLES_LENGTH); in pcre2_serialize_encode()
144 (void)memset(dst_bytes + offsetof(pcre2_real_code, tables), 0, in pcre2_serialize_encode()
172 uint8_t *tables; in pcre2_serialize_decode() local
192 tables = memctl->malloc(TABLES_LENGTH + sizeof(PCRE2_SIZE), memctl->memory_data); in pcre2_serialize_decode()
193 if (tables == NULL) return PCRE2_ERROR_NOMEMORY; in pcre2_serialize_decode()
195 memcpy(tables, src_bytes, TABLES_LENGTH); in pcre2_serialize_decode()
196 *(PCRE2_SIZE *)(tables + TABLES_LENGTH) = number_of_codes; in pcre2_serialize_decode()
219 memctl->free(tables, memctl->memory_data); in pcre2_serialize_decode()
242 dst_re->tables = tables; in pcre2_serialize_decode()