Home
last modified time | relevance | path

Searched refs:tables_length (Results 1 – 4 of 4) sorted by relevance

/external/pcre/dist2/src/
Dpcre2_serialize.c93 total_size = sizeof(pcre2_serialized_data) + tables_length; in pcre2_serialize_encode()
124 memcpy(dst_bytes, tables, tables_length); in pcre2_serialize_encode()
125 dst_bytes += tables_length; in pcre2_serialize_encode()
192 tables = memctl->malloc(tables_length + sizeof(PCRE2_SIZE), memctl->memory_data); 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()
197 src_bytes += tables_length; in pcre2_serialize_decode()
Dpcre2_maketables.c76 uint8_t *yield = (uint8_t *)malloc(tables_length);
83 gcontext->memctl.malloc(tables_length, gcontext->memctl.memory_data) :
84 malloc(tables_length));
Dpcre2_compile.c1129 ref_count = (PCRE2_SIZE *)(code->tables + tables_length); in pcre2_code_copy()
1159 newtables = code->memctl.malloc(tables_length + sizeof(PCRE2_SIZE), in pcre2_code_copy_with_tables()
1166 memcpy(newtables, code->tables, tables_length); in pcre2_code_copy_with_tables()
1167 ref_count = (PCRE2_SIZE *)(newtables + tables_length); in pcre2_code_copy_with_tables()
1197 ref_count = (PCRE2_SIZE *)(code->tables + tables_length); in pcre2_code_free()
Dpcre2_internal.h585 #define tables_length (ctypes_offset + 256) macro