Lines Matching refs:lenptr
76 PRIV(is_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR endptr, int *lenptr, in PRIV()
94 case CHAR_LF: *lenptr = 1; return TRUE; in PRIV()
95 case CHAR_CR: *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1; in PRIV()
109 case CHAR_FF: *lenptr = 1; return TRUE; in PRIV()
112 *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1; in PRIV()
117 case CHAR_NEL: *lenptr = utf? 2 : 1; return TRUE; in PRIV()
119 case 0x2029: *lenptr = 3; return TRUE; /* PS */ in PRIV()
123 case 0x2029: *lenptr = 1; return TRUE; /* PS */ in PRIV()
151 PRIV(was_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR startptr, int *lenptr, in PRIV()
172 *lenptr = (ptr > startptr && ptr[-1] == CHAR_CR)? 2 : 1; in PRIV()
175 case CHAR_CR: *lenptr = 1; return TRUE; in PRIV()
184 *lenptr = (ptr > startptr && ptr[-1] == CHAR_CR)? 2 : 1; in PRIV()
192 case CHAR_CR: *lenptr = 1; return TRUE; in PRIV()
196 case CHAR_NEL: *lenptr = utf? 2 : 1; return TRUE; in PRIV()
198 case 0x2029: *lenptr = 3; return TRUE; /* PS */ in PRIV()
202 case 0x2029: *lenptr = 1; return TRUE; /* PS */ in PRIV()