Lines Matching defs:pathlen
123 static char *ef_expand_special(ExpandFile *ef, const char *path, int pathlen);
323 * pathlen int The length of the suffix of path[] that
330 * pathlen isn't mistakenly too long.
348 FileExpansion *ef_expand_file(ExpandFile *ef, const char *path, int pathlen)
369 if(pathlen < 0 || pathlen > strlen(path))
370 pathlen = strlen(path);
380 path = ef_expand_special(ef, path, pathlen);
505 int pathlen; /* The length of ef->pathname[] on entry to this */
511 pathlen = strlen(ef->path->name);
580 ef->path->name[pathlen] = '\0';
1037 * pathlen int The length of the prefix of path[] to be expanded.
1043 static char *ef_expand_special(ExpandFile *ef, const char *path, int pathlen)
1061 for(spos=ppos=0; ppos < pathlen; ppos++) {
1088 for(envlen=0; envlen<ENV_LEN && ppos < pathlen &&