Lines Matching defs:re
109 REAL_PCRE *re = (REAL_PCRE *)argument_re;
120 if (re == NULL) return PCRE_ERROR_NULL;
121 if (re->magic_number == MAGIC_NUMBER)
123 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
124 re->tables = tables;
128 if (re->magic_number != REVERSED_MAGIC_NUMBER) return PCRE_ERROR_BADMAGIC;
129 if ((swap_uint32(re->flags) & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
131 re->magic_number = MAGIC_NUMBER;
132 re->size = swap_uint32(re->size);
133 re->options = swap_uint32(re->options);
134 re->flags = swap_uint32(re->flags);
135 re->limit_match = swap_uint32(re->limit_match);
136 re->limit_recursion = swap_uint32(re->limit_recursion);
139 re->first_char = swap_uint16(re->first_char);
140 re->req_char = swap_uint16(re->req_char);
142 re->first_char = swap_uint32(re->first_char);
143 re->req_char = swap_uint32(re->req_char);
146 re->max_lookbehind = swap_uint16(re->max_lookbehind);
147 re->top_bracket = swap_uint16(re->top_bracket);
148 re->top_backref = swap_uint16(re->top_backref);
149 re->name_table_offset = swap_uint16(re->name_table_offset);
150 re->name_entry_size = swap_uint16(re->name_entry_size);
151 re->name_count = swap_uint16(re->name_count);
152 re->ref_count = swap_uint16(re->ref_count);
153 re->tables = tables;
164 ptr = (pcre_uchar *)re + re->name_table_offset;
165 length = re->name_count * re->name_entry_size;
167 utf = (re->options & PCRE_UTF16) != 0;