Lines Matching refs:p
44 char *p = map; in countlines() local
49 while (p < end && (p = memchr(p, '\n', end - p)) != NULL) { in countlines()
51 p++; in countlines()
53 if (p < end) in countlines()
62 char *p = map; in fill_lines() local
68 while (p < end && (p = memchr(p, '\n', end - p)) != NULL) { in fill_lines()
71 lines[l++] = ++p; in fill_lines()
73 if (p < end) in fill_lines()
74 lines[l] = p; in fill_lines()
158 char *l, *p; in find_sourceline() local
168 p = memchr(l, '\n', sf->map + sf->maplen - l); in find_sourceline()
169 *lenp = p - l; in find_sourceline()