Searched refs:CU2BYTES (Results 1 – 6 of 6) sorted by relevance
/external/pcre/dist2/src/ |
D | pcre2_substring.c | 130 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()
|
D | pcre2_compile.c | 5665 CU2BYTES(class_uchardata - code)); in compile_branch() 5714 *lengthptr += CU2BYTES(1) + IMM2_SIZE; in compile_branch() 5775 memcpy(code, mcbuffer, CU2BYTES(mclength)); in compile_branch() 6492 memcpy(mcbuffer, lastchar, CU2BYTES(mclength)); /* Save the char */ in compile_branch() 6596 memcpy(code, previous, CU2BYTES(1 + LINK_SIZE)); in compile_branch() 6611 (void)memmove(previous + 1 + LINK_SIZE, previous, CU2BYTES(1 + LINK_SIZE)); in compile_branch() 6691 (void)memmove(previous + 1, previous, CU2BYTES(len)); in compile_branch() 6712 (void)memmove(previous + 2 + LINK_SIZE, previous, CU2BYTES(len)); in compile_branch() 6768 memcpy(code, previous, CU2BYTES(len)); in compile_branch() 6826 memcpy(code, previous, CU2BYTES(len)); in compile_branch() [all …]
|
D | pcre2_convert.c | 219 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()
|
D | pcre2_intmodedep.h | 58 #undef CU2BYTES 546 #define CU2BYTES(x) ((x)*((PCRE2_CODE_UNIT_WIDTH/8))) macro
|
D | pcre2_substitute.c | 209 memcpy(buffer + buff_offset, from, CU2BYTES(length)); \
|
D | pcre2_match.c | 453 if (memcmp(p, eptr, CU2BYTES(length)) != 0) return -1; /* No match */ in match_ref() 1162 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) Feptr += Flength; in match() 1165 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match() 1184 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) Feptr += Flength; in match() 1187 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match() 1204 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) in match() 1208 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match()
|