Home
last modified time | relevance | path

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

/third_party/pcre2/pcre2/src/
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()
Dpcre2_compile.c6184 CU2BYTES(class_uchardata - code)); in compile_branch()
6239 *lengthptr += CU2BYTES(1) + IMM2_SIZE; in compile_branch()
6300 memcpy(code, mcbuffer, CU2BYTES(mclength)); in compile_branch()
7020 memcpy(mcbuffer, lastchar, CU2BYTES(mclength)); /* Save the char */ in compile_branch()
7132 memcpy(code, previous, CU2BYTES(1 + LINK_SIZE)); in compile_branch()
7147 (void)memmove(previous + 1 + LINK_SIZE, previous, CU2BYTES(1 + LINK_SIZE)); in compile_branch()
7236 (void)memmove(previous + 1, previous, CU2BYTES(len)); in compile_branch()
7257 (void)memmove(previous + 2 + LINK_SIZE, previous, CU2BYTES(len)); in compile_branch()
7313 memcpy(code, previous, CU2BYTES(len)); in compile_branch()
7371 memcpy(code, previous, CU2BYTES(len)); in compile_branch()
[all …]
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()
Dpcre2_intmodedep.h58 #undef CU2BYTES
545 #define CU2BYTES(x) ((x)*((PCRE2_CODE_UNIT_WIDTH/8))) macro
Dpcre2_match.c468 if (memcmp(p, eptr, CU2BYTES(length)) != 0) return -1; /* No match */ in match_ref()
1234 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) Feptr += Flength; in match()
1237 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match()
1256 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) Feptr += Flength; in match()
1259 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match()
1276 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) in match()
1280 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match()
6550 length = CU2BYTES(length + was_zero_terminated); in pcre2_match()
7492 length = CU2BYTES(length + was_zero_terminated); in pcre2_match()
Dpcre2_substitute.c211 memcpy(buffer + buff_offset, from, CU2BYTES(length)); \
Dpcre2_dfa_match.c4004 length = CU2BYTES(length + was_zero_terminated); in pcre2_dfa_match()