Lines Matching refs:len
35 int len; in ex_help() local
97 len = (int)STRLEN(matches[i]); in ex_help()
98 if (len > 3 && matches[i][len - 3] == '@' in ex_help()
99 && STRICMP(matches[i] + len - 2, lang) == 0) in ex_help()
231 int len = (int)STRLEN(arg); in check_help_lang() local
233 if (len >= 3 && arg[len - 3] == '@' && ASCII_ISALPHA(arg[len - 2]) in check_help_lang()
234 && ASCII_ISALPHA(arg[len - 1])) in check_help_lang()
236 arg[len - 3] = NUL; // remove the '@' in check_help_lang()
237 return arg + len - 2; in check_help_lang()
588 int len; in cleanup_help_tags() local
602 len = (int)STRLEN(file[i]) - 3; in cleanup_help_tags()
603 if (len <= 0) in cleanup_help_tags()
605 if (STRCMP(file[i] + len, "@en") == 0) in cleanup_help_tags()
610 if (j != i && (int)STRLEN(file[j]) == len + 3 in cleanup_help_tags()
611 && STRNCMP(file[i], file[j], len + 1) == 0) in cleanup_help_tags()
615 file[i][len] = NUL; in cleanup_help_tags()
622 len = (int)STRLEN(file[i]) - 3; in cleanup_help_tags()
623 if (len <= 0) in cleanup_help_tags()
625 if (STRCMP(file[i] + len, buf) == 0) in cleanup_help_tags()
628 file[i][len] = NUL; in cleanup_help_tags()
711 int len; in fix_help_buffer() local
732 len = (int)STRLEN(line); in fix_help_buffer()
733 if (in_example && len > 0 && !VIM_ISWHITE(line[0])) in fix_help_buffer()
744 if (!in_example && len > 0) in fix_help_buffer()
746 if (line[len - 1] == '>' && (len == 1 || line[len - 2] == ' ')) in fix_help_buffer()
750 line[len - 1] = ' '; in fix_help_buffer()
753 else if (line[len - 1] == '~') in fix_help_buffer()
757 line[len - 1] = ' '; in fix_help_buffer()
1191 int len; in do_helptags() local
1217 len = (int)STRLEN(files[i]); in do_helptags()
1218 if (len > 4) in do_helptags()
1220 if (STRICMP(files[i] + len - 4, ".txt") == 0) in do_helptags()
1226 else if (files[i][len - 4] == '.' in do_helptags()
1227 && ASCII_ISALPHA(files[i][len - 3]) in do_helptags()
1228 && ASCII_ISALPHA(files[i][len - 2]) in do_helptags()
1229 && TOLOWER_ASC(files[i][len - 1]) == 'x') in do_helptags()
1232 lang[0] = TOLOWER_ASC(files[i][len - 3]); in do_helptags()
1233 lang[1] = TOLOWER_ASC(files[i][len - 2]); in do_helptags()