Home
last modified time | relevance | path

Searched refs:PCRE2_SIZE (Results 1 – 22 of 22) sorted by relevance

/PHP-8.1/ext/pcre/pcre2lib/
H A Dpcre2.h650 *pcre2_compile(PCRE2_SPTR, PCRE2_SIZE, uint32_t, int *, PCRE2_SIZE *, \
679 pcre2_dfa_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \
682 pcre2_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \
703 PCRE2_SIZE *); \
706 PCRE2_SIZE *); \
711 PCRE2_SIZE *); \
714 PCRE2_SIZE *); \
748 pcre2_substitute(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \
750 PCRE2_SIZE, PCRE2_UCHAR *, PCRE2_SIZE *);
769 pcre2_jit_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \
[all …]
H A Dpcre2_substring.c74 PCRE2_UCHAR *buffer, PCRE2_SIZE *sizeptr) in pcre2_substring_copy_byname()
122 uint32_t stringnumber, PCRE2_UCHAR *buffer, PCRE2_SIZE *sizeptr) in pcre2_substring_copy_bynumber()
125 PCRE2_SIZE size; in pcre2_substring_copy_bynumber()
213 PCRE2_SIZE size; in pcre2_substring_get_bynumber()
269 PCRE2_SPTR stringname, PCRE2_SIZE *sizeptr) in pcre2_substring_length_byname()
316 uint32_t stringnumber, PCRE2_SIZE *sizeptr) in pcre2_substring_length_bynumber()
318 PCRE2_SIZE left, right; in pcre2_substring_length_bynumber()
373 PCRE2_SIZE **lengthsptr) in pcre2_substring_list_get()
376 PCRE2_SIZE size; in pcre2_substring_list_get()
377 PCRE2_SIZE *lensp; in pcre2_substring_list_get()
[all …]
H A Dpcre2_match_data.c62 offsetof(pcre2_match_data, ovector) + 2*oveccount*sizeof(PCRE2_SIZE), in pcre2_match_data_create()
123 PCRE2_EXP_DEFN PCRE2_SIZE * PCRE2_CALL_CONVENTION
147 PCRE2_EXP_DEFN PCRE2_SIZE PCRE2_CALL_CONVENTION
159 PCRE2_EXP_DEFN PCRE2_SIZE PCRE2_CALL_CONVENTION
163 2 * (match_data->oveccount) * sizeof(PCRE2_SIZE); in pcre2_get_match_data_size()
H A Dpcre2_valid_utf.c63 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in PRIV()
94 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in PRIV()
145 *erroroffset = (PCRE2_SIZE)(p - string); in PRIV()
151 *erroroffset = (PCRE2_SIZE)(p - string); in PRIV()
158 *erroroffset = (PCRE2_SIZE)(p - string); in PRIV()
H A Dpcre2_intmodedep.h570 PCRE2_SIZE max_pattern_length;
589 PCRE2_SIZE offset_limit;
726 PCRE2_SIZE workspace_size; /* Size of workspace */
727 PCRE2_SIZE small_ref_offset[10]; /* Offsets for \1 to \9 */
831 PCRE2_SIZE offset_top; /* Offset after highest capture */
839 ((sizeof(heapframe) % sizeof(PCRE2_SIZE)) == 0)? (+1):(-1)];
850 PCRE2_SIZE heap_limit; /* As it says */
860 PCRE2_SIZE start_offset; /* The start offset value */
902 PCRE2_SIZE start_offset; /* The start offset value */
903 PCRE2_SIZE heap_limit; /* As it says */
[all …]
H A Dpcre2_error.c297 pcre2_get_error_message(int enumber, PCRE2_UCHAR *buffer, PCRE2_SIZE size) in pcre2_get_error_message()
300 PCRE2_SIZE i; in pcre2_get_error_message()
H A Dpcre2_string_utils.c208 PCRE2_SIZE
211 PCRE2_SIZE c = 0; in PRIV()
228 PCRE2_SIZE
H A Dpcre2_substitute.c221 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_substitute()
223 PCRE2_UCHAR *buffer, PCRE2_SIZE *blength) in pcre2_substitute()
244 PCRE2_SIZE extra_needed = 0; in pcre2_substitute()
245 PCRE2_SIZE buff_offset, buff_length, lengthleft, fraglength; in pcre2_substitute()
246 PCRE2_SIZE *ovector; in pcre2_substitute()
247 PCRE2_SIZE ovecsave[3]; in pcre2_substitute()
299 + 2*pairs*sizeof(PCRE2_SIZE)); in pcre2_substitute()
381 PCRE2_SIZE save_start; in pcre2_substitute()
520 PCRE2_SIZE sublength; in pcre2_substitute()
909 PCRE2_SIZE oldlength = ovector[1] - ovector[0]; in pcre2_substitute()
[all …]
H A Dpcre2_convert.c125 convert_posix(uint32_t pattype, PCRE2_SPTR pattern, PCRE2_SIZE plength, in convert_posix()
126 BOOL utf, PCRE2_UCHAR *use_buffer, PCRE2_SIZE use_length, in convert_posix()
134 PCRE2_SIZE convlength = 0; in convert_posix()
372 PCRE2_SIZE output_size; /* size of the output */
402 convert_glob_write_str(pcre2_output_context *out, PCRE2_SIZE length) in convert_glob_write_str()
407 PCRE2_SIZE output_size = out->output_size; in convert_glob_write_str()
787 convert_glob(uint32_t options, PCRE2_SPTR pattern, PCRE2_SIZE plength, in convert_glob()
788 BOOL utf, PCRE2_UCHAR *use_buffer, PCRE2_SIZE use_length, in convert_glob()
1058 PCRE2_UCHAR **buffptr, PCRE2_SIZE *bufflenptr, in pcre2_pattern_convert()
1064 PCRE2_SIZE use_length = DUMMY_BUFFER_SIZE; in pcre2_pattern_convert()
[all …]
H A Dpcre2_serialize.c63 (sizeof(PCRE2_UCHAR) | ((sizeof(void*)) << 8) | ((sizeof(PCRE2_SIZE)) << 16))
73 uint8_t **serialized_bytes, PCRE2_SIZE *serialized_size, in pcre2_serialize_encode()
79 PCRE2_SIZE total_size; in pcre2_serialize_encode()
192 tables = memctl->malloc(TABLES_LENGTH + sizeof(PCRE2_SIZE), memctl->memory_data); in pcre2_serialize_decode()
196 *(PCRE2_SIZE *)(tables + TABLES_LENGTH) = number_of_codes; in pcre2_serialize_decode()
H A Dpcre2_dfa_match.c355 PCRE2_SIZE *lengthptr) in do_callout()
360 (PCRE2_SIZE)PRIV(OP_lengths)[OP_CALLOUT] : in do_callout()
526 PCRE2_SIZE start_offset, in internal_dfa_match()
527 PCRE2_SIZE *offsets, in internal_dfa_match()
2693 PCRE2_SIZE *local_offsets; in internal_dfa_match()
2744 PCRE2_SIZE callout_length; in internal_dfa_match()
2791 PCRE2_SIZE *local_offsets; in internal_dfa_match()
2838 PCRE2_SIZE *local_offsets; in internal_dfa_match()
2932 PCRE2_SIZE *local_offsets; in internal_dfa_match()
3034 PCRE2_SIZE *local_offsets; in internal_dfa_match()
[all …]
H A Dpcre2_jit_match.c85 pcre2_jit_match(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_jit_match()
86 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_jit_match()
H A Dpcre2_compile.c102 { s = ((PCRE2_SIZE)p[0] << 32) | (PCRE2_SIZE)p[1]; p += 2; }
104 { s = ((PCRE2_SIZE)p[1] << 32) | (PCRE2_SIZE)p[2]; p += 2; }
106 { s = ((PCRE2_SIZE)p[1] << 32) | (PCRE2_SIZE)p[2]; }
927 PCRE2_SIZE offset; in show_parsed()
1194 PCRE2_SIZE* ref_count; in pcre2_code_copy()
1228 PCRE2_SIZE* ref_count; in pcre2_code_copy_with_tables()
2611 PCRE2_SIZE offset; in parse_regex()
8020 PCRE2_SIZE length; in compile_regex()
9049 PCRE2_SIZE offset; in get_branchlength()
9456 PCRE2_SIZE offset; in set_lookbehind_lengths()
[all …]
H A Dpcre2_match.c269 PCRE2_SIZE save0, save1; in do_callout()
270 PCRE2_SIZE *callout_ovector; in do_callout()
288 callout_ovector = (PCRE2_SIZE *)(Fovector) - 2; in do_callout()
355 PCRE2_SIZE *lengthptr) in match_ref()
358 PCRE2_SIZE length; in match_ref()
4780 PCRE2_SIZE slength; in match()
4801 PCRE2_SIZE slength; in match()
4828 PCRE2_SIZE slength; in match()
4879 PCRE2_SIZE slength; in match()
6155 PCRE2_SIZE frame_size; in pcre2_match()
[all …]
H A Dpcre2_context.c348 pcre2_set_max_pattern_length(pcre2_compile_context *ccontext, PCRE2_SIZE length) in pcre2_set_max_pattern_length()
440 pcre2_set_offset_limit(pcre2_match_context *mcontext, PCRE2_SIZE limit) in pcre2_set_offset_limit()
H A Dpcre2_pattern_info.c169 re->top_bracket * 2 * sizeof(PCRE2_SIZE); in pcre2_pattern_info()
H A Dpcre2_internal.h1984 extern PCRE2_SIZE _pcre2_strcpy_c8(PCRE2_UCHAR *, const char *);
1985 extern PCRE2_SIZE _pcre2_strlen(PCRE2_SPTR);
1989 extern int _pcre2_valid_utf(PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE *);
H A Dpcre2_jit_compile.c3300 SLJIT_IMM, SLJIT_OFFSETOF(pcre2_match_data, ovector) - sizeof(PCRE2_SIZE)); in copy_ovector()
3330 OP2(SLJIT_ADD, SLJIT_R2, 0, SLJIT_R2, 0, SLJIT_IMM, sizeof(PCRE2_SIZE)); in copy_ovector()
3337 SLJIT_ASSERT(sizeof(PCRE2_SIZE) == 4 || sizeof(PCRE2_SIZE) == 8); in copy_ovector()
3338 OP1(((sizeof(PCRE2_SIZE) == 4) ? SLJIT_MOV_U32 : SLJIT_MOV), SLJIT_MEM1(SLJIT_R2), 0, SLJIT_S1, 0); in copy_ovector()
3397 mov_opcode = (sizeof(PCRE2_SIZE) == 4) ? SLJIT_MOV_U32 : SLJIT_MOV; in return_with_partial_match()
9464 PCRE2_SIZE *ovector; in do_callout()
9470 SLJIT_COMPILE_ASSERT(sizeof (PCRE2_SIZE) <= sizeof (sljit_sw), pcre2_size_must_be_lower_than_sljit_… in do_callout()
9473 ovector = (PCRE2_SIZE*)(callout_block + 1); in do_callout()
9502 ovector[0] = (PCRE2_SIZE)(jit_ovector[0] - begin); in do_callout()
9503 ovector[1] = (PCRE2_SIZE)(jit_ovector[1] - begin); in do_callout()
[all …]
/PHP-8.1/ext/pcre/
H A Dphp_pcre.c176 static void *php_pcre_malloc(PCRE2_SIZE size, void *data) in php_pcre_malloc()
186 static void *php_pcre_emalloc(PCRE2_SIZE size, void *data) in php_pcre_emalloc()
613 PCRE2_SIZE erroffset; in pcre_get_compiled_regex_cache_ex()
996 zval *val, const char *subject, PCRE2_SIZE start_offset, PCRE2_SIZE end_offset) { in populate_match_value_str()
1001 zval *val, const char *subject, PCRE2_SIZE start_offset, PCRE2_SIZE end_offset, in populate_match_value()
1030 zval *result, const char *subject, PCRE2_SIZE start_offset, PCRE2_SIZE end_offset, in add_offset_pair()
1162 zend_string *subject_str, PCRE2_SIZE start_offset) { in is_known_valid_utf8()
1187 PCRE2_SIZE *offsets; /* Array of subpattern offsets */ in php_pcre_match_impl()
1198 PCRE2_SIZE start_offset2, orig_start_offset; in php_pcre_match_impl()
1238 if ((PCRE2_SIZE)-start_offset <= subject_len) { in php_pcre_match_impl()
[all …]
/PHP-8.1/ext/opcache/
H A Dzend_accelerator_blacklist.c78 PCRE2_SIZE pcre_error_offset; in zend_accel_blacklist_update_regexp()
/PHP-8.1/ext/mbstring/
H A Dmbstring.c507 PCRE2_SIZE err_offset; in _php_mb_compile_regex()
/PHP-8.1/ext/pgsql/
H A Dpgsql.c4489 PCRE2_SIZE err_offset; in php_pgsql_convert_match()

Completed in 164 milliseconds