Lines Matching refs:ptr
62 /* It is guaranteed that the initial value of ptr is less than the end of the
66 ptr pointer to possible newline
76 PRIV(is_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR endptr, int *lenptr,
84 GETCHAR(c, ptr);
88 c = *ptr;
95 case CHAR_CR: *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1;
112 *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1;
137 /* It is guaranteed that the initial value of ptr is greater than the start of
141 ptr pointer to possible newline
151 PRIV(was_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR startptr, int *lenptr,
156 ptr--;
160 BACKCHAR(ptr);
161 GETCHAR(c, ptr);
165 c = *ptr;
172 *lenptr = (ptr > startptr && ptr[-1] == CHAR_CR)? 2 : 1;
184 *lenptr = (ptr > startptr && ptr[-1] == CHAR_CR)? 2 : 1;