Lines Matching refs:p1
296 char *p1; in help_compare() local
300 p1 = *(char **)s1 + strlen(*(char **)s1) + 1; in help_compare()
304 cmp = strcmp(p1, p2); in help_compare()
965 char_u *p1, *p2; in helptags_one() local
1071 p1 = vim_strchr(IObuff, '*'); // find first '*' in helptags_one()
1072 while (p1 != NULL) in helptags_one()
1077 p2 = vim_strbyte(p1 + 1, '*'); // find second '*' in helptags_one()
1078 if (p2 != NULL && p2 > p1 + 1) // skip "*" and "**" in helptags_one()
1080 for (s = p1 + 1; s < p2; ++s) in helptags_one()
1088 && (p1 == IObuff || p1[-1] == ' ' || p1[-1] == '\t') in helptags_one()
1093 ++p1; in helptags_one()
1099 s = alloc(p2 - p1 + STRLEN(fname) + 2); in helptags_one()
1107 sprintf((char *)s, "%s\t%s", p1, fname); in helptags_one()
1113 p1 = p2; in helptags_one()
1132 p1 = ((char_u **)ga.ga_data)[i - 1]; in helptags_one()
1134 while (*p1 == *p2) in helptags_one()
1146 ++p1; in helptags_one()
1164 for (p1 = s; *p1 != '\t'; ++p1) in helptags_one()
1167 if (*p1 == '\\' || *p1 == '/') in helptags_one()
1169 putc(*p1, fd_tags); in helptags_one()