Home
last modified time | relevance | path

Searched refs:CU2BYTES (Results 1 – 7 of 7) sorted by relevance

/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_substring.c130 CU2BYTES(size)); in pcre2_substring_copy_bynumber()
222 CU2BYTES(size)); in pcre2_substring_get_bynumber()
393 size += sizeof(PCRE2_UCHAR *) + CU2BYTES(1); in pcre2_substring_list_get()
394 if (ovector[i+1] > ovector[i]) size += CU2BYTES(ovector[i+1] - ovector[i]); in pcre2_substring_list_get()
422 if (size != 0) memcpy(sp, match_data->subject + ovector[i], CU2BYTES(size)); in pcre2_substring_list_get()
H A Dpcre2_compile.c6075 CU2BYTES(class_uchardata - code)); in compile_branch()
6130 *lengthptr += CU2BYTES(1) + IMM2_SIZE; in compile_branch()
6191 memcpy(code, mcbuffer, CU2BYTES(mclength)); in compile_branch()
7198 memcpy(code, previous, CU2BYTES(len)); in compile_branch()
7256 memcpy(code, previous, CU2BYTES(len)); in compile_branch()
7516 memcpy(code, mcbuffer, CU2BYTES(mclength)); in compile_branch()
7868 memcpy(code, mcbuffer, CU2BYTES(mclength)); in compile_branch()
8788 memcpy(slot + IMM2_SIZE, name, CU2BYTES(length)); in add_name_to_table()
8795 CU2BYTES(cb->name_entry_size - length - IMM2_SIZE)); in add_name_to_table()
10122 CU2BYTES(length + in pcre2_compile()
[all …]
H A Dpcre2_convert.c219 memcpy(p, posix - clength, CU2BYTES(clength)); in convert_posix()
246 memcpy(p, posix, CU2BYTES(6)); in convert_posix()
347 memcpy(p, posix - clength, CU2BYTES(clength)); in convert_posix()
H A Dpcre2_intmodedep.h58 #undef CU2BYTES
545 #define CU2BYTES(x) ((x)*((PCRE2_CODE_UNIT_WIDTH/8))) macro
H A Dpcre2_match.c467 if (memcmp(p, eptr, CU2BYTES(length)) != 0) return -1; /* No match */ in match_ref()
1231 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) Feptr += Flength; in match()
1234 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match()
1253 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) Feptr += Flength; in match()
1256 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match()
1273 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) in match()
1277 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match()
6351 length = CU2BYTES(length + was_zero_terminated); in pcre2_match()
7261 length = CU2BYTES(length + was_zero_terminated); in pcre2_match()
H A Dpcre2_substitute.c211 memcpy(buffer + buff_offset, from, CU2BYTES(length)); \
H A Dpcre2_dfa_match.c3926 length = CU2BYTES(length + was_zero_terminated); in pcre2_dfa_match()

Completed in 63 milliseconds