Home
last modified time | relevance | path

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

/external/pcre/dist2/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.c5949 CU2BYTES(class_uchardata - code)); in compile_branch()
6004 *lengthptr += CU2BYTES(1) + IMM2_SIZE; in compile_branch()
6065 memcpy(code, mcbuffer, CU2BYTES(mclength)); in compile_branch()
6786 memcpy(mcbuffer, lastchar, CU2BYTES(mclength)); /* Save the char */ in compile_branch()
6890 memcpy(code, previous, CU2BYTES(1 + LINK_SIZE)); in compile_branch()
6905 (void)memmove(previous + 1 + LINK_SIZE, previous, CU2BYTES(1 + LINK_SIZE)); in compile_branch()
6986 (void)memmove(previous + 1, previous, CU2BYTES(len)); in compile_branch()
7007 (void)memmove(previous + 2 + LINK_SIZE, previous, CU2BYTES(len)); in compile_branch()
7063 memcpy(code, previous, CU2BYTES(len)); in compile_branch()
7121 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
546 #define CU2BYTES(x) ((x)*((PCRE2_CODE_UNIT_WIDTH/8))) macro
Dpcre2_match.c454 if (memcmp(p, eptr, CU2BYTES(length)) != 0) return -1; /* No match */ in match_ref()
1163 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) Feptr += Flength; in match()
1166 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match()
1185 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) Feptr += Flength; in match()
1188 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match()
1205 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) in match()
1209 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match()
6203 length = CU2BYTES(length + was_zero_terminated); in pcre2_match()
6869 length = CU2BYTES(length + was_zero_terminated); in pcre2_match()
Dpcre2_substitute.c209 memcpy(buffer + buff_offset, from, CU2BYTES(length)); \
Dpcre2_dfa_match.c3845 length = CU2BYTES(length + was_zero_terminated); in pcre2_dfa_match()