Home
last modified time | relevance | path

Searched refs:TABLES_LENGTH (Results 1 – 6 of 6) 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.c78 uint8_t *yield = (uint8_t *)malloc(TABLES_LENGTH);
85 gcontext->memctl.malloc(TABLES_LENGTH, gcontext->memctl.memory_data) :
86 malloc(TABLES_LENGTH));
Dpcre2_dftables.c160 size_t len = fwrite(tables, 1, TABLES_LENGTH, f); in main()
161 if (len != TABLES_LENGTH) in main()
164 "instead of %d\n", (int)len, TABLES_LENGTH); in main()
Dpcre2_config.c197 *((uint32_t *)where) = TABLES_LENGTH; in pcre2_config()
Dpcre2_compile.c1205 ref_count = (PCRE2_SIZE *)(code->tables + TABLES_LENGTH); in pcre2_code_copy()
1235 newtables = code->memctl.malloc(TABLES_LENGTH + sizeof(PCRE2_SIZE), in pcre2_code_copy_with_tables()
1242 memcpy(newtables, code->tables, TABLES_LENGTH); in pcre2_code_copy_with_tables()
1243 ref_count = (PCRE2_SIZE *)(newtables + TABLES_LENGTH); in pcre2_code_copy_with_tables()
1273 ref_count = (PCRE2_SIZE *)(code->tables + TABLES_LENGTH); in pcre2_code_free()
Dpcre2_internal.h593 #define TABLES_LENGTH (ctypes_offset + 256) macro