Searched refs:TABLES_LENGTH (Results 1 – 6 of 6) sorted by relevance
/external/pcre/dist2/src/ |
D | pcre2_serialize.c | 93 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()
|
D | pcre2_maketables.c | 78 uint8_t *yield = (uint8_t *)malloc(TABLES_LENGTH); 85 gcontext->memctl.malloc(TABLES_LENGTH, gcontext->memctl.memory_data) : 86 malloc(TABLES_LENGTH));
|
D | pcre2_dftables.c | 160 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()
|
D | pcre2_config.c | 197 *((uint32_t *)where) = TABLES_LENGTH; in pcre2_config()
|
D | pcre2_compile.c | 1205 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()
|
D | pcre2_internal.h | 593 #define TABLES_LENGTH (ctypes_offset + 256) macro
|