Lines Matching full: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()
137 specify the size of a pointer. If sizeof(uint8_t *) is used (tables is a 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
189 /* Decode tables. The reference count for the tables is stored immediately in pcre2_serialize_decode()
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()